Hi Andreas!

Andreas Pakulat [2005-08-23 23:59 +0200]:
> Tue Aug 23 22:18:12 2005: Starting PostgreSQL 8.0 database server: mainThe 
> PostgreSQL
> server failed to start. Please check the log output:
> Tue Aug 23 22:18:18 2005:  ^[[31mfailed!^[[39;49m

Hmm, very odd... I cannot reproduce it here, but I just committed an
improvement which could help

  * pg_ctlcluster:
    - Increase the timeout for the started postmaster to 20 seconds to cope
      with slow startup.
    - Immediately fail if the postmaster produced log output and does not run
      any more. This avoids unnecessary timeouts on configuration errors and
      the like.

For testing this, could you please edit /usr/bin/pg_ctlcluster, search the line

      for (my $attempt = 0; $attempt < 10; $attempt++) {

and replace the "10" by a "40"? This will increase the timeout to 20 seconds.

Thanks in advance,

Martin

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

Attachment: signature.asc
Description: Digital signature

Reply via email to