pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Tuohy <pablo_100@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: pg_restore : ident authentication problem
Date: Tue, 10 Sep 2002 17:29:26 +0000
Message-ID: <F67TvhL1MfvqFJb9n5V000011f9@hotmail.com> (raw)

i am running postgres 7.2.1 on two machines running debian. i create a dump 
file from one using basic options like:

pg_dump -C -F c -f <<filename>> <<database>>

copy this file to my other machine and run:

pg_restore -C -F c -d template1 <<filename>>

during restoration i get an error message that reads

pg_restore: [archiver (db)] could not reconnect to database FATAL 1: IDENT 
authentication failed for user <<username>>

i have at least tried most of the pg_restore options, as well relaxing all 
permissions in pg_hba.conf and pg_ident.conf. tried running pg_restore as 
different users (i.e. postgres or the future restored database owner). tried 
the -W option to manually authenticate. tried -O to override permissions 
altogether. tried various combinations using -S <<superuser>>, -r and -X. 
the second system is practically a mirror image of the first as lists all 
the same users. nevertheless, keep receiving this authentication error 
message.

can work around it but would rather understand the problem.
does anyone have the answer?

pablo


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




view thread (2+ messages)  latest in thread

Message-ID: <F67TvhL1MfvqFJb9n5V000011f9@hotmail.com>
Permalink:  ../F67TvhL1MfvqFJb9n5V000011f9@hotmail.com/
Also on:    postgresql.org/message-id/F67TvhL1MfvqFJb9n5V000011f9@hotmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pablo_100@hotmail.com
  Subject: Re: pg_restore : ident authentication problem
  In-Reply-To: <F67TvhL1MfvqFJb9n5V000011f9@hotmail.com>
  References: <F67TvhL1MfvqFJb9n5V000011f9@hotmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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