Page 1 of 1

nsca-ng won't start on ubuntu 16 server

Posted: Thu Aug 31, 2017 10:45 am
by cbbs70a
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;
Frank

Re: nsca-ng won't start on ubuntu 16 server

Posted: Fri Sep 01, 2017 9:49 am
by scottwilkerson
Unfortunately this project isn't created by Nagios and at present I cannot even access their website to look at the software.

You may be able to contact the developer at the address listed here
https://exchange.nagios.org/directory/A ... ng/details