Page 1 of 1
Nagios XI install
Posted: Wed Dec 18, 2013 12:52 am
by anoop_bhargava
I comepleted the Nagios XI install successfully on centOS as per instructions.
I was able to set nagaiosadmin password etc and could see the Dash Board once.
Once I rebooted the machine. I can not see to get to
http://<ip address>/nagiosxi screen (it just keeps waiting)
I am sure it is something very simple and perhaps stupid (:-)
excuse my ignorance.
Thanks in advance
Re: Nagios XI install
Posted: Wed Dec 18, 2013 9:54 am
by tmcdonald
Is the firewall still open to allow access?
Is nagios running smoothly?
Is your interface set up?
Re: Nagios XI install
Posted: Wed Dec 18, 2013 7:24 pm
by anoop_bhargava
Thanks tmcdonald
In response to your questions
1. Is the firewall still open to allow access?
I haven't changed anything on the firewall. I am trying to access it from the same machine. When I just put http://<ip address> in the browser, I am able to get to get to the Welcome screen.
--------------
Welcome
Click the link below to get started using Nagios XI.
Access Nagios XI
----------
Only when I click to Access Nagios Screen, It takes me to
http://192.168.1.5/nagiosxi/
and I get a blank screen
__________________________________________________________________________________________
2. Is nagios running smoothly?
CODE: SELECT ALL
service nagios status
The above command returnns the message that
"nagios (pid xxxxx) is running)
_______________________________________________________________________________________________
Is your interface set up?
CODE: SELECT ALL
ifconfig
Above command returns the IP address that I am using. Can you tell me what else to check in the output of the ifconfig command
_______________________________________________________
Thanks again.
Anoop Bhargava
+1 732-407-5788
Re: Nagios XI install
Posted: Thu Dec 19, 2013 10:50 am
by slansing
Can you run the following as well, try to access the webUI and then run:
tail -40 /var/log/httpd/error_log
And show us the output. Did you set up SSL on the system? Did you shut XI down with a hard shut down instead of a proper one? Lets do this "in the below order":
Code: Select all
service nagios stop
service httpd stop
service mysqld stop
service postgresql stop
service postgresql start
service mysqld start
service httpd start
service nagios start
Re: Nagios XI install
Posted: Tue Apr 15, 2014 7:13 am
by Nagtest
Hello, I am facing the same problem.
I just took the VMWare VM, and connected to it.
I got the welcome message, and click "acces NAgios XI" and get a white page.
service is up : "nagios (pid xxxxxxxxx) is running"
And on the log, I got a 192.168.111.1 PHP warning : mysql_pconnect() Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /usr/loca/nagiosxi/html/db/adodb/drivers/adodb-mysql.inc.php on line 383.
I launched the commands in the order you give, everything waas [ OK ] except "service mysqld start" which displays that MySQL deamon already running with the same unix socket.
And I still get a white page...
Can you help me ?
Re: Nagios XI install
Posted: Tue Apr 15, 2014 9:14 am
by slansing
Nagtest,
Create your own thread on this, we can't allow others to take over a user's thread as it can lead to chaos in troubleshooting.
@anoop:
Please run the following:
Code: Select all
service mysqld stop
rm -f /var/lib/mysql/mysql.sock
service mysqld start
Let us know if you can get in now.