nsca-ng won't start on ubuntu 16 server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cbbs70a
Posts: 11
Joined: Sat May 17, 2014 10:26 am

nsca-ng won't start on ubuntu 16 server

Post 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
scottwilkerson
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

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked