Fresh Install Nagios 4 "Error in configuration file"
Re: Fresh Install Nagios 4 "Error in configuration file"
Haven't even gotten step one done yet because I can't get the stupid centos server to connect to the internet even though IP Address information is configured correct and the network is enabled.
Not sure what the deal is but until I can sort that out I can't continue.
Not sure what the deal is but until I can sort that out I can't continue.
Re: Fresh Install Nagios 4 "Error in configuration file"
I ran into problems when I tried to run the command below
which resulted in
Code: Select all
service nagios start
Code: Select all
# service nagios start
Reloading systemd: [ OK ]
Starting nagios (via systemctl): Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details.
[FAILED]
Re: Fresh Install Nagios 4 "Error in configuration file"
Please run the following command as root from the Nagios server command line and post the results:
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Former Nagios employee
Re: Fresh Install Nagios 4 "Error in configuration file"
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
nets in this error
-bash: /usr/local/nagios/bin/nagios: No such file or directory
nets in this error
-bash: /usr/local/nagios/bin/nagios: No such file or directory
Re: Fresh Install Nagios 4 "Error in configuration file"
Odd, this is after you followed @rkennedy's post? What do you have under /usr/local/nagios/ at this point?
Former Nagios employee
Re: Fresh Install Nagios 4 "Error in configuration file"
that was after i followed his instructions..
Code: Select all
]# cd /usr/local/nagios/
[root@localhost nagios]# dir
etc var
Re: Fresh Install Nagios 4 "Error in configuration file"
Definitely keep us posted, hopefully we can get this resolved for you quickly.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Fresh Install Nagios 4 "Error in configuration file"
wondering if i should do a fresh install of centos again and start over or what is the best method going forward from here.
Re: Fresh Install Nagios 4 "Error in configuration file"
Starting over would probably be the quickest route to take. I can vouch for the instructions that rkennedy posted, as I ran through them exactly and did not encounter any errors during (or after) the install. I installed Nagios Core on a clean, minimal CentOs 7. The only thing I did to CentOs 7 prior to installing Core was running "yum install wget" - that's it.
Be sure to check out the Knowledgebase for helpful articles and solutions!