Comment 10 for bug 391119

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

Hello
Don Bessinger [2009-07-19 16:23 -0000]:
> For the sake of clarity, I changed the group ownership of the
> /var/log/postgresql directory per the instructions in your first post.
> I had not changed the ownership before that, so the ownership that
> showed up in the log is how it got created in either an install or an
> update.

Indeed, sorry. The real problem was that the log file disappeared
entirely for some reason. It's created by pg_createcluster or when
installed. Any idea why/when it disappeared?

I reopen this bug to improve handling of this case.

 status triaged
 importance low
 title recreate missing log file in pg_ctlcluster

> ~:ls -l /etc/ssl/private/ssl-cert-snakeoil.key
> -rw-r----- 1 root ssl-cert 887 2008-09-12 16:55 /etc/ssl/private/ssl-cert-snakeoil.key

OK, that looks fine. What's the output of "id postgres", does it match
the "should be" output I mentioned in the previous comment?

Thanks,

Martin

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