dssagentlistener - DSS 6 | Data Source Solutions Documentation
Documentation: dssagentlistener - DSS 6 | Data Source Solutions Documentation
dssagentlistener
Usage
<b>dssagentlistener</b> [<em>-options</em>]... <em>portnum</em>
Description
Command dssagentlistener allows to start, stop, and manage the DSS Agent Listener service. When the DSS Agent Listener service is started, it will listen for a connection request on the supplied <em>portnum</em>. The mechanism is the same as that of the Linux/Unix daemon (systemd, xinetd, or inetd).
- On Windows, the DSS Agent Listener is a Windows service which is administered with option
<b>-a</b>. The account under which it is installed must be a member of the administrator group and must be granted the privilege to act as part of the operating system (SeTcbPrivilege). The service can either run as the default system account or (if option<b>-P</b>is used) it can run under the Data Source Solutions account which created the Windows Service. - On Unix and Linux, the DSS Agent Listener runs as a daemon which can be started with option
<b>-d</b>and killed with option<b>-k</b>.
-
For DSS Agent Listener on Linux and Unix, it is more common to start DSS executables using the system process (systemd, xinetd, or inetd). For more information, see System Configuration for Agent on Linux or System Configuration for Agent on Unix.
-
When the DSS Agent Listener is executed as a Windows Service, the errors are written to the Windows Event Log (Control Panel ▶ Adminitrative Tools ▶ Event Viewer ▶ Windows Logs ▶ Application).
Options
This section describes the options available for command dssagentlistener.
| Parameter | Description |
|---|---|
-axWindows
|
Administration operations for the DSS Agent Listener service on Windows. Values of
Several
DSS Agent Listener service can also be started and halted from the Windows Services console (accessible from Control Panel ▶ Administrative Tools ▶ Computer Management ▶ Services and Applications ▶ Services). The shortcut command to access this console is services.msc. |
-d
Unix & Linux
|
Start DSS Agent Listener as a daemon process. |
|
Set environment variable name to value for the DSS processes started by the service. |
|
Interactive invocation. DSS Agent Listener stays attached to the terminal instead of redirecting its output to a log file. |
-k
Unix & Linux
|
Stop a running DSS Agent Listener daemon process. |
Windows
|
Configure DSS Agent Listener service to run under the current login Data Source Solutions account using password |
Examples
This section provides examples of using the dssagentlistener command.
Example 1. Run DSS Agent Listener interactively
Command to run dssagentlistener interactively in the terminal and listen on port number 4343.
dssagentlistener -i 4343
In this method, exiting the shell/terminal will terminate the DSS Agent Listener.
Example 2. Run DSS Agent Listener as daemon process in Linux/Unix
Command to run the dssagentlistener as daemon process in Linux/Unix and listen on port number 4343.
dssagentlistener -d 4343
Example 3. Stop/kill DSS Agent Listener running as daemon process in Linux/Unix
Command to stop/kill the dssagentlistener that is running as daemon process and listening on port 4343.
dssagentlistener -k 4343
Example 4. Create and start the DSS Agent Listener as a Windows service
Command to create and run/start the dssagentlistener as a Windows service and listen on port number 4343.
dssagentlistener -acs 4343
Example 5. Stop and destroy the DSS Agent Listener service in Windows
Command to halt and destroy the dssagentlistener that is running as a Windows service and listening on port number 4343.
dssagentlistener -ahd 4343