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 over and over
ERROR: relation "xi_notifications" does not exist
STATEMENT: VACUUM ANALYZE xi_notifications;
LOG: database system was interrupted; last known up at 2011-12-08 00:38:41 EST
LOG: database system was not properly shut down; automatic recovery in progress
LOG: redo starts at 0/8F69ACE8
LOG: record with zero length at 0/8F6C2EA0
LOG: redo done at 0/8F6C2E70
LOG: last completed transaction was at log time 2011-12-08 00:43:02.649566-05
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
ERROR: relation "xi_notifications" does not exist
STATEMENT: VACUUM ANALYZE xi_notifications;
LOG: database system was interrupted; last known up at 2011-12-08 01:39:17 EST
LOG: database system was not properly shut down; automatic recovery in progress
LOG: redo starts at 0/8F8C5E90
LOG: record with zero length at 0/8F8EA0F8
LOG: redo done at 0/8F8EA0C8
LOG: last completed transaction was at log time 2011-12-08 01:43:38.181575-05
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
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.
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"?
LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
Have you made any recent firewall changes or system changes recently that might point to a cause of this? Is this machine able to correctly resolve to localhost? It looks like it might not be...
32" to address: Name or service not known
WARNING: could not create listen socket for "localhost"
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.