service nagios start failed
Posted: Wed Jun 14, 2017 9:09 am
Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... =7&t=21721
In the future, please create a new thread and link to the old one instead of adding on.
I have done the the following script in the following /etc/systemd/system/nagios.service
[Unit]
Description=Nagios Core Monitoring Daemon
After=network.target
[Service]
User=nagios
Group=nagios
Type=forking
ExecStart=/usr/lib/systemd/scripts/nagios start
ExecStop=/usr/lib/systemd/scripts/nagios stop
ExecReload=/usr/lib/systemd/scripts/nagios reload
[Install]
WantedBy=multi-user.target
Then did the following:
[root@nag nagios]# systemctl stop nagios
[root@nag nagios]# systemctl start nagios
Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details.
Can you please assist me with this? I am running CentOS Linux release 7.0.1406 (Core) and nagios 4.3.2 core.
In the future, please create a new thread and link to the old one instead of adding on.
I have done the the following script in the following /etc/systemd/system/nagios.service
[Unit]
Description=Nagios Core Monitoring Daemon
After=network.target
[Service]
User=nagios
Group=nagios
Type=forking
ExecStart=/usr/lib/systemd/scripts/nagios start
ExecStop=/usr/lib/systemd/scripts/nagios stop
ExecReload=/usr/lib/systemd/scripts/nagios reload
[Install]
WantedBy=multi-user.target
Then did the following:
[root@nag nagios]# systemctl stop nagios
[root@nag nagios]# systemctl start nagios
Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details.
Can you please assist me with this? I am running CentOS Linux release 7.0.1406 (Core) and nagios 4.3.2 core.