gtpc1m4yTransmission Control Protocol/Internet Protocol

Adding the Syslog Daemon Server

To add the syslog daemon server to the Internet Daemon Configuration File (IDCF), enter the following from the basic subsystem (BSS):

ZINET ADD S-SYSLOGD PGM-CSYL MODEL-DAEMON ACT-acttype STATE-state USER-ROOT XPARM-args

Where:

acttype
is how you want to start the Internet server application. Specify OPER if you want to start and stop the syslog daemon server manually. Specify AUTO if you want the syslog daemon to be started automatically when the Internet daemon is started.

state
is the lowest TPF system state in which the syslog daemon can be started. Specify CRAS or NORM.

args
is a string of parameter data that will be passed to the argv parameter of the main function defined in the specified Internet server application program. Specify one or more of the following:

-f path
specifies the configuration file, where path is the path name of the configuration file. If you do not specify this value, the default syslog daemon configuration file name of /etc/syslog.conf is used.

-d
runs the syslog daemon in debugging mode. See Diagnosing Syslog Daemon Configuration Problems for more information about this option.

-m time
specifies a time interval that you want to log mark messages, where time is the time interval in minutes. A mark message is a time stamp labeled with MARK. These messages can be used to verify that the syslog daemon was operational during a specific time interval. If you do not specify this option, mark messages will not be logged.

-p pidpath
specifies the file that contains the process ID of the syslog daemon server, where pidpath is the path name of the process ID file. If you do not specify this value, the default syslog daemon process ID file name of /etc/syslog.pid is used.
Note:
The XPARM parameter is optional. If you specify this parameter, it must be the last parameter in the command entry and you must specify a string of parameter data; specifying a NULL string will cause problems when starting the syslog daemon.

See TPF Operations for more information about the ZINET ADD command.