Hi Adam! Adam Majer [2005-06-16 17:54 -0500]: > Package: postgresql-common > Version: 17 > Severity: normal > > [EMAIL PROTECTED]:/$ sudo /etc/init.d/postgre* start > Starting PostgreSQL 8.0 database server: main(FAILED) > > The PostgreSQL server failed to start. Please check the log output: > LOG: database system was shut down at 2005-06-16 17:50:36 CDT > LOG: checkpoint record is at 0/5EC6A24 > LOG: redo record is at 0/5EC6A24; undo record is at 0/0; shutdown TRUE > LOG: next transaction ID: 25244; next OID: 61232 > LOG: database system is ready > > But, the database is running.
Hmm, this usually happens if the postmaster did not accept client
connections after 5 seconds. Does the startup really take so long on
your system?
Can you please try to edit /usr/bin/pg_ctlcluster and change the
following code:
for (my $attempt = 0; $attempt < 10; $attempt++) {
select (undef, undef, undef, 0.5);
[...]
Please replace the "10" with a "20", this will increase the timeout to
10 seconds. Does that help?
> Also, if I try to execute the script from a directory not accessible to
> postgres user, I get messages like "count not change to directory foo".
Hm, that doesn't happen for me. Can you give me a recipe how to
reproduce that?
Thanks,
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
signature.asc
Description: Digital signature

