Search found 70 matches

by jladd
Wed Dec 14, 2011 11:20 am
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

Re: DB Connect Error [nagiosxi]: Database connection failed

Ok there was one other table that was not showing errors before it was the nagios_hoststatus table. Logging in today it showed the error then I ran the myisamchk -r -f nagios_hoststatus and now everything is working again. Thank you all for your support :D
by jladd
Tue Dec 13, 2011 5:44 pm
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

Re: DB Connect Error [nagiosxi]: Database connection failed

Tried all of that still having the same issues now. No hosts or services are showing up in nagiosxi but they are showing up in nagioscore. Even if I add something through the configuration wizards they will add fine to nagios core but not show up in nagiosxi.
by jladd
Tue Dec 13, 2011 4:12 pm
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

Re: DB Connect Error [nagiosxi]: Database connection failed

[root@nagios libexec]# tail -f /var/log/httpd/error_log [Tue Dec 13 16:10:54 2011] [error] [client 192.168.101.27] PHP Notice: Undefined index: avg_latency in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 107, referer: http://192.168.101.200/nagiosxi/admin/ [Tue Dec 13 16:10:54...
by jladd
Tue Dec 13, 2011 3:28 pm
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

Re: DB Connect Error [nagiosxi]: Database connection failed

ok so I fixed the hosts/fqdn issue I was having which allows me to log back in and use nagios. But all of the hosts and services are gone from nagiosxi but everything seems to still be intact in nagioscore.
by jladd
Tue Dec 13, 2011 1:00 pm
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

Re: DB Connect Error [nagiosxi]: Database connection failed

I was having issues with FQDNS before and I tried to modify /etc/hosts changed it to

127.0.0.1 nagios.localdomain.com
::1

other than that nothing.
by jladd
Mon Dec 12, 2011 5:45 pm
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

Re: DB Connect Error [nagiosxi]: Database connection failed

[root@nagios ~]# service postgresql restart Stopping postgresql service: [ OK ] Starting postgresql service: [FAILED] [root@nagios ~]# I don't know if this helps but in the /var/lib/pgsql/pgstartup.log LOG: could not translate host name "localhost", service "5432" to address: Nam...
by jladd
Mon Dec 12, 2011 2:58 pm
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

Re: DB Connect Error [nagiosxi]: Database connection failed

when trying to login to psql

Code: Select all

 psql nagiosxi nagiosxi
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
by jladd
Sat Dec 10, 2011 8:04 am
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

Re: DB Connect Error [nagiosxi]: Database connection failed

Also I am straight command line on this install no GUI so I don't have gnome installed and am definitely not out of drive space I have 2x 1TB drives in raid -1 and have a lot of free space. df output. [root@nagios ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_nagios-lv_ro...
by jladd
Fri Dec 09, 2011 4:35 pm
Forum: Nagios XI
Topic: DB Connect Error [nagiosxi]: Database connection failed
Replies: 13
Views: 3553

DB Connect Error [nagiosxi]: Database connection failed

Nagios XI manual install Centos6 32bit So far I have read the posts on this error and tried the fixes and so far nothing seems to fix my issue. Also when i try to restart the postgresql service it fails to start. httpd restarts without issues though. looking in /var/lib/pgsql/data/pg_log I am seeing...
by jladd
Sat Oct 29, 2011 11:00 am
Forum: Nagios XI
Topic: NagiosXI Re-installation.
Replies: 1
Views: 653

NagiosXI Re-installation.

Centos 5.5(old) Centos 6(new) 64bit Manual Install Software raid.(new) --------------------- Ok so first off my issue I am asking about is a license activation issue but I would like to explain everything up to this point. First off I was running version r1.6 and updated to version r1.8 everything w...