Comment 4 for bug 391119

Revision history for this message
Martin Pitt (pitti) wrote : Re: package postgresql-8.3 8.3.7-0ubuntu8.04.1 failed to install/upgrade: could not create log file

> drwxrwxr-t 2 root adm 4096 2009-03-08 12:00 /var/log/postgresql

That would be it then. It needs to be

drwxrwxr-t 2 root postgres 4096 5. Jul 06:27 /var/log/postgresql

(group "postgres"), and this is how it is created by default. postgresql doesn't run as root, and thus needs this directory to be writable.