pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Update linux from 7.1 to 7.3 and couldn't get Psql7.0.3 back to work
2+ messages / 2 participants
[nested] [flat]

* Update linux from 7.1 to 7.3 and couldn't get Psql7.0.3 back to work
@ 2002-08-07 01:29  Rami A. Kishek <ramiak@ipr.umd.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Rami A. Kishek @ 2002-08-07 01:29 UTC (permalink / raw)
  To: pgsql-admin

%psql
psql: 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"?

> It doesn't work  The very first command gives me the error:
> ==========
> [root@...]# /etc/rc.d/init.d/postgresql start
>
> An old version of the database format was found.
> You need to upgrade the data format before using PostgreSQL.
> See (Your System's documentation directory)/postgresql-7.2/README.rpm-dist fo$
> more information.
> ===========
>
> It seems before that, I need to type the following as user postgres:
> =============
> The basic sequence is:
> (as user postgres):
> postgresql-dump -t /var/lib/pgsql/backup/db.bak -p /var/lib/pgsql/backup/old -d
> (you can abort the ASCII dump with 'Q', as it uses more) Then, (as user root):
> =================
>
> However, it seems there is no command postgresql-dump.  I found a command
> called pg_dump in the /usr/lib/pgsql/backup directory.  However when It 
> substitute that for the other command, I get another error:
> =============
> bash-2.05a$ ./pg_dump -t /var/lib/pgsql/backup/db.bak -p
> /var/lib/pgsql/backup/old -d
> pg_dump: no database name specified
  =============

 Does any one has any clue? Any comments are greatly appriciated.

Thank you,

Xueying Ni



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Update linux from 7.1 to 7.3 and couldn't get Psql7.0.3 back to work
@ 2002-08-08 17:36  Andrew Sullivan <andrew@libertyrms.info>
  parent: Rami A. Kishek <ramiak@ipr.umd.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Sullivan @ 2002-08-08 17:36 UTC (permalink / raw)
  To: pgsql-admin

On Tue, Aug 06, 2002 at 09:29:13PM -0400, Rami A. Kishek wrote:
> %psql
> psql: 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"?

I assume you're using Red Hat?  I think there are different versions
of Postgres installed.  You'll need to start the old postmaster,
dump, and then restore with the new postmaster.  I don't know how to
do that with the RPMs, though.

A

-- 
----
Andrew Sullivan                               87 Mowat Avenue 
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-08-08 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-08-07 01:29 Update linux from 7.1 to 7.3 and couldn't get Psql7.0.3 back to work Rami A. Kishek <ramiak@ipr.umd.edu>
2002-08-08 17:36 ` Andrew Sullivan <andrew@libertyrms.info>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox