pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_ctl start hangs
2+ messages / 2 participants
[nested] [flat]

* pg_ctl start hangs
@ 2001-08-17 08:22 Christophe Labouisse <christophe@labouisse.org>
  2001-08-20 17:58 ` Re: pg_ctl start hangs Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Christophe Labouisse @ 2001-08-17 08:22 UTC (permalink / raw)
  To: pgsql-sql

When restarting postgres this morning I notice the pg_ctl start hangs
forever while the database seems to be up and working. Eventually I
found out that the start process involves a "psql -l" which waits
for me to enter a password since I have "local all password" in my
pg_hba.conf. I change back to trust but since I have users with shell
access on the server I'd would like to switch back to "password".

I used the following command to start the database:

/usr/local/bin/pg_ctl start -s -w -l /usr/local/pgsql/errlog -o "-i"

My configuration:

FreeBSD 4.3, Postgresql 7.1.2

-- 
Le cinéma en Lumière : http://www.lumiere.org/
Fingerprint : 4721 651D D309 B302 93E4  5D73 CC52 DF3A E7C7 86CF



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

* Re: pg_ctl start hangs
  2001-08-17 08:22 pg_ctl start hangs Christophe Labouisse <christophe@labouisse.org>
@ 2001-08-20 17:58 ` Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2001-08-20 17:58 UTC (permalink / raw)
  To: Christophe Labouisse <christophe@labouisse.org>; +Cc: pgsql-sql

Christophe Labouisse writes:

> /usr/local/bin/pg_ctl start -s -w -l /usr/local/pgsql/errlog -o "-i"

Don't use the -w option.  Read the man page.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter




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


end of thread, other threads:[~2001-08-20 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-08-17 08:22 pg_ctl start hangs Christophe Labouisse <christophe@labouisse.org>
2001-08-20 17:58 ` Peter Eisentraut <peter_e@gmx.net>

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