error restarting nagios

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
jrapps
Posts: 2
Joined: Mon May 04, 2020 10:58 am

error restarting nagios

Post by jrapps »

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.
jrapps
Posts: 2
Joined: Mon May 04, 2020 10:58 am

Re: error restarting nagios

Post by jrapps »

Was able to resolve
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: error restarting nagios

Post by benjaminsmith »

Hi @jrapps,

Thanks for posting and glad you got it fixed!
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!
Locked