Starting SyslogDefender as a service
After editing the configuration file, you must start or restart the service. You can also configure Windows to automatically start SyslogDefender as a service upon starting or restarting the machine.
To start SyslogDefender as a service
- Open a command prompt with Administrator privileges.
- At the command prompt, enter the following command:
net start CO-SyslogDefender
A message confirms that SyslogDefender stated successfully. SyslogDefender is ready to forward syslog messages.
If you see an error message, respond as required:
Message | Description and user response |
|---|---|
System error 5 has occurred. Access is denied. | Description: You are not logged on as an Administrator. User response: Close the command window and open it again with Administrator privileges. |
The service is not responding to the control function. More help is available by typing NET HELPMSG 2186. | Description: A fatal error occurred in the configuration file. User response: In a text editor, examine the SyslogDefender log file, CO-SyslogDefender.log, located in the installation folder (by default, C:\Program Files\BMC Software\BMC Defender\SyslogDefender). Correct errors as required. |
To start the service automatically with machine start
You can change the Windows configuration in the Windows Service Management Console or through a command prompt, as described in the following steps:
- Open a command prompt with Administrator privileges.
- At the command prompt, enter the following command:
sc config CO-SyslogDefender start= auto
A message, [SC] ChangeServiceConfig SUCCESS, confirms the change.