All;
I'm trying to install nsca-ng version 1.5 on an Ubuntu 16 server and I am able to manually start it at the command line like so:
/usr/local/nagios/bin/nsca-ng -c /usr/local/nagios/etc/nsca-ng.cfg -P /var/run/nsca-ng/nsca-ng.pid -s
However, when I try to start it using the systemd command, I am getting the following error message.
nsca-ng: [FATAL] Cannot set up group list for user nagios: Operation not permitted
I am using the following for the nsca-ng.service file:
[Unit]
Description=Monitoring Command Acceptor
Documentation=man:nsca-ng(8) man:nsca-ng.cfg(5)
Requires=nsca-ng.socket
[Service]
ExecStart=/usr/local/nagios/bin/nsca-ng -c /usr/local/nagios/etc/nsca-ng.cfg -P /var/run/nsca-ng/nsca-ng.pid -s
Type=notify
User=nagios
StandardError=syslog
NonBlocking=true
Restart=on-failure
# Don't use this with systemd < 207 (see Red Hat bug #982379):
WatchdogSec=30
[Install]
Also=nsca-ng.socket
Any insight at all would be greatly appreciated.
Thanks;
nsca-ng won't start on ubuntu 16 server
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nsca-ng won't start on ubuntu 16 server
We are not the authors of nsca-ng, I would suggest opening an issue on the projects Github page
https://github.com/weiss/nsca-ng/issues
https://github.com/weiss/nsca-ng/issues