Page 2 of 7
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 12:47 pm
by lamin
I am not using a proxy and I have to our security guys if it is ok to remote control to that machine because it is in production. Also under /usr/local/ there are 2 folders nagios and nagiosxi
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 1:49 pm
by mguthrie
Ok. In the meantime, you might try the following solutions.
Restart the DB servers.
service mysqld restart
service postgresql restart
Output should look like this:
Code: Select all
[root@localhost tmp]# service mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[root@localhost tmp]# service postgresql restart
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
[root@localhost tmp]#
I might also attempt to run through the install scripts again. I would pay close attention to any error message on the following scripts:
B-installxi
E-importnagiosql
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 1:53 pm
by lamin
Can I send you a webex invitation if it is possible?
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 1:55 pm
by mguthrie
Yes, you can either email it to us or use a PM
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 2:03 pm
by lamin
It seems like postgresql is not running in my machine.
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 2:17 pm
by mguthrie
Ok, you may need to run through the install scripts again, but I'd like to make sure postgresql will install ok before going through that whole process. I want to make sure there wasn't a problem with the yum repos.
Try installing the following packages with yum:
yum install postgresql postgresql-libs postgresql-server php-pgsql postgresql-devel
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 2:22 pm
by lamin
Also I want to check my nagios.cfg file if my configuration is correct. As you see I have added a directory objects and AI am running some cfg file in that directory.
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 2:30 pm
by mguthrie
I highly recommend getting the install up and running first before attempting any importing of configurations.
I recommend checking our documentation on importing config files to make sure it's done in a way that won't be overwritten by NagiosQL.
http://library.nagios.com/library/produ ... -prep-tool
http://library.nagios.com/library/produ ... es-into-xi
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 2:40 pm
by lamin
Authentication failed
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 3:00 pm
by mguthrie
Did you run this script independently, or did you run through the install process from the beginning? The scripts need to be run in the correct order so that permissions will be handled correctly. From here the best move will be to just run through the install scripts from the beginning, otherwise I think we'll keep hitting snags like this.