Error on pg_dumpall - Mailing list pgsql-admin

From Carol Walter
Subject Error on pg_dumpall
Date
Msg-id 88728013-4F8D-4A5D-AE5F-8DB2B73D6D7A@indiana.edu
Whole thread Raw
Responses Re: Error on pg_dumpall
Re: Error on pg_dumpall
List pgsql-admin
Greetings,

I'm having a problem that I hope you can help me with.  I am getting
the following error when I try to run pg_dumpall.

postgres@machine1:~$ /usr/local/pgsql/bin/pg_dumpall
pg_dumpall: could not connect to database "template1": 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"?

If I run the command "psql template1", I can connect to template1
just fine.  It looks like pg_dumpall may be looking for template1 in
the wrong place.

This is a new installation of postgresql 8.3 on a Debian Linux
machine.  All my other machines are Solaris 10 running PostgreSQL 8.2.

Thanks,

Carol Walter

pgsql-admin by date:

Previous
From: Pietro
Date:
Subject: Re: Resolved - LAN connection to server only after restart server
Next
From: Tom Lane
Date:
Subject: Re: Error on pg_dumpall