Martin Pitt <[EMAIL PROTECTED]> writes:

> Roger Leigh [2005-07-17  9:35 +0100]:
>> hardknott:/home/rleigh# /etc/init.d/postgresql-8.0 start
>>  * Starting PostgreSQL 8.0 database server: main
>> Use of uninitialized value in -r at /usr/bin/pg_ctlcluster line 112.
>> The PostgreSQL autovacuum daemon failed to start. Please check the log 
>> output:
>> Use of uninitialized value in open at /usr/bin/pg_ctlcluster line 127.
>> Use of uninitialized value in concatenation (.) or string at 
>> /usr/bin/pg_ctlcluster line 127.
>>   *ror: Could not open log file                                              
>>  [fail]
>
> That's odd... /etc/postgresql/8.0/main/autovacuum_log should be
> automatically created and point to
> /var/log/postgresql/pg_autovacuum-8.0-main.log. Does any of the files
> not exist on your system?

Apparently not:

$ ls -l /etc/postgresql/8.0/main
total 17
lrwxrwxrwx  1 root     root        43 2005-03-31 11:41 log -> 
/var/log/postgresql/postgresql-8.0-main.log
lrwxrwxrwx  1 root     root        28 2005-03-31 11:41 pgdata -> 
/var/lib/postgresql/8.0/main/
-rw-r-----  1 postgres postgres  3191 2005-03-31 11:41 pg_hba.conf
-rw-r-----  1 postgres postgres  1460 2005-03-31 11:41 pg_ident.conf
-rw-r--r--  1 postgres postgres 11040 2005-03-31 11:41 postgresql.conf

$ ls -l /var/log/postgresql
total 248
-rw-r--r--  1 postgres postgres 127208 2005-03-31 08:19 autovacuum_log
-rw-rw----  1 postgres postgres 112013 2005-07-20 20:02 postgresql-8.0-main.log

> Did you manually remove the file?

No.  I've not touched anything since I initially installed it.  I
initially built your sources from experimental, and they then got
upgraded when it entered unstable.

Perhaps something was changed while still in experimental?  I can dump
the databases, purge and reinstall from scratch if needed.

> If the symlink is not present or dangling, no log file will be used.
> However, currently I don't check for the presence of the log file when
> trying to output the last part of the log if startup fails.

OK.  Perhaps it needs to be a little more robust here (to cope with
people like me who break their systems ;-) ?


Thanks,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to