EDIT: I reverted to the snapshot I took prior so this is no longer an issue for now. This arose trying to get my hostname set in all the proper places. I got it to where I was seeing the desired outputs outlined here: http://cbl.abuseat.org/hostname.html but caused the DB connection error.
[root@localhost ~]# psql nagiosxi nagiosxi
psql (8.4.12)
Type "help" for help.
nagiosxi=> VACUUM ANALYZE;
WARNING: skipping "pg_database" --- only superuser can vacuum it
WARNING: skipping "pg_authid" --- only superuser can vacuum it
WARNING: skipping "pg_tablespace" --- only superuser can vacuum it
WARNING: skipping "pg_pltemplate" --- only superuser can vacuum it
WARNING: skipping "pg_shdepend" --- only superuser can vacuum it
WARNING: skipping "pg_shdescription" --- only superuser can vacuum it
WARNING: skipping "pg_auth_members" --- only superuser can vacuum it
VACUUM
nagiosxi=> su
nagiosxi-> VACUUM ANALYZE;
ERROR: syntax error at or near "su"
LINE 1: su
^
nagiosxi=> VACUUM FULL;
WARNING: skipping "pg_database" --- only superuser can vacuum it
WARNING: skipping "pg_authid" --- only superuser can vacuum it
WARNING: skipping "pg_tablespace" --- only superuser can vacuum it
WARNING: skipping "pg_pltemplate" --- only superuser can vacuum it
WARNING: skipping "pg_shdepend" --- only superuser can vacuum it
WARNING: skipping "pg_shdescription" --- only superuser can vacuum it
WARNING: skipping "pg_auth_members" --- only superuser can vacuum it
VACUUM
Last edited by mobiledataforce on Thu Apr 25, 2013 12:54 pm, edited 2 times in total.
The "skipping" errors are WAI. They can be ignored. Just proceed with the rest of the commands for the full vacuum.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.