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 3 of 4 Topic 4948 of 5408
Post > Topic >>

Re: Error on pg_dumpall

by walterc@[EMAIL PROTECTED] (Carol Walter) May 1, 2008 at 10:09 AM

This turned out to be a wrapper versus binary issue.  psql was  
running under the wrapper.  It ran fine.  pg_dump wasn't but when we  
corrected this it worked fine too.
This is the first time I've run into this and it's the first time  
I've dealt with PostgreSQL on any but a Sparc running Solaris.  I  
don't know if the same thing happens with Solaris, but I'm going to  
investigate just for interest.

Carol

On Apr 29, 2008, at 10:45 AM, Tom Lane wrote:

> Carol Walter <walterc@[EMAIL PROTECTED]
> writes:
>> 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@[EMAIL PROTECTED]
 /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.
>
> Does "which psql" say that you're using the psql in
> /usr/local/pgsql/bin?
>
> It sounds to me a bit like you have two sets of PG programs with
> different default ****t numbers compiled into them.  Which ****t is
> the server actually listening on?
>
>> This is a new installation of postgresql 8.3 on a Debian Linux
>> machine.
>
> Debian is a rather nasty environment for custom-built PG  
> installations,
> because they have their own ideas of where to put the PG programs
> and what ****t numbers they should run on.  I'm thinking you are
> connecting to a Debian-supplied postmaster on a non-standard ****t,
> and not to your own installation at all.
>
> 			regards, tom lane


-- 
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 Sat Oct 11 21:23:15 CDT 2008.