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
licondam
Posts: 1
Joined: Thu Mar 28, 2019 3:59 am

nsca-ng won't start on ubuntu 16 server

Post by licondam »

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;
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 »

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