Skip site navigation (1) Skip section navigation (2)

pg_dumpall failed

From: Le Gourou qui fait le support <flo(at)mnc(dot)ch>
To: pgsql-ports(at)postgresql(dot)org
Subject: pg_dumpall failed
Date: 2001-06-14 18:31:49
Message-ID: 3B290315.C0EFB5C3@mnc.ch (view raw or flat)
Thread:
Lists: pgsql-ports
Hi,

I'm currently using PostgreSQL v7.0.3 and I have tried to upgrade to
v7.1.2.

The installation (./configure, gmake, gmake install) of v7.0.3 doesn't
provide any error message,
but I'm not able to use the pg_dumpall binary, even with -p option it
says it's not able to connect to postmaster (see message bellow).

Command line: pg_dumpall -p6947 > /home/postgres/data/postgres.out

Error message:  

psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?


I have checked and the daemon is running accepting connections on
TCP/IP. I'm also able to use pg_dump (I use it to backup the database
every night).

It's a makor problem for me because I'm not able to "migrate" the DB to
the new version.

I provide you bellow the configure option I have used:

Configure line: ./configure --prefix=$PGDIR --with-pgport=6947
--without-CXX (where $PGDIR=/usr/local/pgsql)

Thanks for your help

Florian Gossin

pgsql-ports by date

Next:From: Ulrich NeumannDate: 2001-06-14 21:19:37
Subject: definition of PortalBuffer
Previous:From: guardDate: 2001-06-14 14:32:35
Subject: install on cygwin error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group