Unix Technical Forum

Postgres 8.1 hangs at boot time due to password authentication foruser postgres.

This is a discussion on Postgres 8.1 hangs at boot time due to password authentication foruser postgres. within the pgsql Bugs forums, part of the PostgreSQL category; --> Dear PostgreSQL Team, after upgrading from PostgreSQL 7.4 to 8.1 on my Debian PC (Testing Release) PostgreSQL hangs at ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:34 AM
Rolf Gross
 
Posts: n/a
Default Postgres 8.1 hangs at boot time due to password authentication foruser postgres.

Dear PostgreSQL Team,

after upgrading from PostgreSQL 7.4 to 8.1 on my Debian PC (Testing Release)
PostgreSQL hangs at boot time.
This is because user "postgres" was set to password authentication in my
database.
The function "/usr/bin/pg_ctlcluster - cluster_port_ready" tries to
connect to
the database using "psql" which prompts for the password then. But the
password
cannot be entered at boot time.
Changing user "postgres" to "ident" authentification removes the
problem. But
in my opinion it should be possible to use password authentication.

Regards
Rolf


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 09:34 AM
Alvaro Herrera
 
Posts: n/a
Default Re: Postgres 8.1 hangs at boot time due to password authentication for user postgres.

Rolf Gross wrote:

> after upgrading from PostgreSQL 7.4 to 8.1 on my Debian PC (Testing
> Release) PostgreSQL hangs at boot time. This is because user
> "postgres" was set to password authentication in my database. The
> function "/usr/bin/pg_ctlcluster - cluster_port_ready" tries to
> connect to the database using "psql" which prompts for the password
> then. But the password cannot be entered at boot time. Changing user
> "postgres" to "ident" authentification removes the problem. But in my
> opinion it should be possible to use password authentication.


This pg_ctlcluster program seems to be Debian-specific, so please report
issues with it to the Debian team. (I don't even know what it's
supposed to do.)

Anyway, with password authentication there's no way to connect without a
password. I don't think there's a way around that. You could set the
authentication to ident for the specific database and user that
pg_ctlcluster is using; or you could set a .pgpass file.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:07 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com