Page 2 of 2
Re: Nagios Core 3.2.3 Error: Could not read object configura
Posted: Thu Apr 07, 2016 5:02 pm
by ssax
Do you have a nagios.conf file in this directory?
If so, try this:
Code: Select all
sudo ln -s /etc/apache2/sites-available/nagios.conf /etc/apache2/sites-enabled/nagios.conf
sudo service apache2 restart
Then try it again.
Re: Nagios Core 3.2.3 Error: Could not read object configura
Posted: Fri Apr 08, 2016 9:03 am
by Mvasquez
Code: Select all
root@Nagios:/etc/apache2/sites-available# ln -s /etc/apache2/sites-available/nagios.conf /etc/apache2/sites-enabled/nagios.conf
root@Nagios:/etc/apache2/sites-available# sudo service apache2 restart
bash: sudo: no se encontrĂ³ la orden
root@Nagios:/etc/apache2/sites-available# service apache2 restart
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
root@Nagios:/etc/apache2/sites-available# /etc/init.d/apache2 restart
[....] Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!
Code: Select all
root@Nagios:/etc/apache2/sites-available# /etc/init.d/apache2 stop
[ ok ] Stopping apache2 (via systemctl): apache2.service.
root@Nagios:/etc/apache2/sites-available# /etc/init.d/apache2 start
[....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!
Re: Nagios Core 3.2.3 Error: Could not read object configura
Posted: Fri Apr 08, 2016 1:58 pm
by rkennedy
What is the output from both of the commands listed?
Code: Select all
systemctl status apache2.service
journalctl -xn
Re: Nagios Core 3.2.3 Error: Could not read object configura
Posted: Fri Apr 08, 2016 1:59 pm
by hsmith
What's the output of this command?