tag 311368 unreproducible
thanks

Hi Aart!

Aart Koelewijn [2005-05-31 16:33 +0200]:
> After upgrading from version 7.4.7 to version 7.4.7sarge1 I got the
> following error in autovacuum_log:
> [2005-05-31 03:48:21 PM] Failed connection to database template1 with
> error: FATAL:  the database system is starting up.
> [2005-05-31 03:48:21 PM] Error: Cannot connect to template1, exiting.
> 
> and I was not able to connect to any database anymore

Was the server running at this time? Can you reconstruct this
situation and try to strace the postmaster if it hangs? Or try to
provide a stack trace if it crashes? If you need help with this,
I'd be glad to assist you.

> creating template1 database in /var/lib/postgres/data/base/1...
> 
> and here it hangs.

This is especially frightening, the two sarge1 patches did not touch
the initdb code. Can you please (as your normal user) do

  strace /usr/lib/postgresql/bin/initdb /tmp/testdb 2>/tmp/initdb-trace.txt

press Control-C after it hangs and send me /tmp/initdb-trace.txt?

Thanks,

Martin

-- 
Martin Pitt              http://www.piware.de
Ubuntu Developer   http://www.ubuntulinux.org
Debian Developer        http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to