Receiving an error trying to restart Nagios after modifying a cfg file
I am in the dir ETC/INIT.D and use the command "Nagios restart"
Get the following error:
Error; Cannot open main configuration file '/etc/init.d/restart' for reading
warning: Cannot open log file '/var/lib/Nagios/Nagios.log' for writing
Nagios 3.0.6 starting...
Warning: Cannot open log file '/var/lib/Nagios/Nagios.log' for writing
Bailing out due to one or more errors encountered in the configuration files.
error restarting nagios
Re: error restarting nagios
Was able to resolve
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: error restarting nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!