Hello everyone, I write because I can not find a solution to the problem.
I have ubuntu server 16.04 with nagios installed and it works without problem, but when restarting the server does not start the service, I have to do it manually with the following command:
systemctl start nagios
I have reinstalled nagios 3-4 times and I always have the same problem. When I reach the last step:
update-rc.d nagios defaults
I get the following error:
insserv: script nagios is not an executable regular file, skipped!
I don´t know if we can find a solution.
Greetings and thank you.
Nagios not starting at reboot
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios not starting at reboot
Can you show the output of the following
Code: Select all
ls -l /etc/init.d/nagios
Re: Nagios not starting at reboot
Yes.scottwilkerson wrote:Can you show the output of the following
Code: Select all
ls -l /etc/init.d/nagios
Edit:
I just solved the problem thanks to a user of the forum who left me the link of the official tutorial to install nagios.
I was not using the official tutorial and something had to be wrong.
Thank you.
I leave the tutorial here in case someone needs it:
https://support.nagios.com/kb/article/n ... tml#Ubuntu
- Attachments
-
- nagios.PNG (2.33 KiB) Viewed 1566 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios not starting at reboot
Great! and thanks for adding the link!