starting nagios service error

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
DOkuwa
Posts: 114
Joined: Tue Aug 15, 2017 3:54 pm

starting nagios service error

Post by DOkuwa »

sudo systemctl start nagios.service
Failed to start nagios.service: Unit nagios.service not found.
root@ukldn-ixhs-nms02:/# sudo update-rc.d nagios defaults
update-rc.d: error: initscript does not exist: /etc/init.d/nagios
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: starting nagios service error

Post by scottwilkerson »

Is this a new install?
What version?
How was it installed?

If from source did you run the following?

Code: Select all

make install-init
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
DOkuwa
Posts: 114
Joined: Tue Aug 15, 2017 3:54 pm

Re: starting nagios service error

Post by DOkuwa »

thanks

I have sorted it out
I just have to reinstall it
I think I missed some steps
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: starting nagios service error

Post by scottwilkerson »

Excellent, glad you got it working.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked