Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Re: Error on pg...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 4948 of 5407
Post > Topic >>

Re: Error on pg_dumpall

by bock@[EMAIL PROTECTED] (Julian v. Bock) Apr 29, 2008 at 04:37 PM

Hi

>>>>> "CW" =3D=3D Carol Walter <walterc@[EMAIL PROTECTED]
> writes:

CW> postgres@[EMAIL PROTECTED]
 /usr/local/pgsql/bin/pg_dumpall pg_dumpall:
CW> could not connect to database "template1": could not connect to
CW> server: No such file or directory Is the server running locally
CW> and accepting connections on Unix domain socket
CW> "/tmp/.s.PGSQL.5432"?

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

Debian uses /var/run/postgresql instead of /tmp as directory for unix
domain sockets. Try
/usr/local/pgsql/bin/pg_dumpall -h /var/run/postgresql

--=20
Julian v. Bock               Projektleitung Software-Entwicklung
OpenIT GmbH                  Tel +49 211 239 577-0
Jahnstr. 18                  Fax +49 211 239 577-10
D-40215 D=FCsseldorf           http://www.openit.de
________________________________________________________________
HRB 38815 Amtsgericht D=FCsseldorf    USt-Id DE 812951861
Gesch=E4ftsf=FChrer:
Susanne Schultz, Oliver Haakert, Maurice Kemmann

--=20
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
 




 4 Posts in Topic:
Error on pg_dumpall
walterc@[EMAIL PROTECTED]  2008-04-29 09:59:40 
Re: Error on pg_dumpall
tgl@[EMAIL PROTECTED] (T  2008-04-29 10:45:30 
Re: Error on pg_dumpall
walterc@[EMAIL PROTECTED]  2008-05-01 10:09:31 
Re: Error on pg_dumpall
bock@[EMAIL PROTECTED] (  2008-04-29 16:37:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 23:11:05 CDT 2008.