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
Nagios XI install
Re: Nagios XI install
Is the firewall still open to allow access?
Is nagios running smoothly?
Is your interface set up?
Code: Select all
iptables -LCode: Select all
service nagios statusCode: Select all
ifconfigFormer Nagios employee
-
anoop_bhargava
- Posts: 2
- Joined: Wed Dec 18, 2013 12:45 am
Re: Nagios XI install
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios XI install
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":
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 startRe: Nagios XI install
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 ?
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 ?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios XI install
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:
Let us know if you can get in now.
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