Re: Could not create log file error?

From: novnov <novnovice(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Could not create log file error?
Date: 2007-07-15 22:29:45
Message-ID: 11606752.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


And the other thing that I have found puzzling is that there *is* already a
log file in the main postgres dir, right next to postgresql.cong
(/etc/postgresql/8.2/main). In postgresql.cong all logging was rem'd; but
that log file was being updated. What's the difference between the log file
that was already there and the one that I'm trying to create via the conf
file mods?

novnov wrote:
>
> I am rather unsure of postgres logging, but I think the way to go is to
> unrem some of the lines in postgresql.conf, restart the db. Now I get
> this:
>
> * Starting PostgreSQL 8.2 database server
> * Error: Could not create log file
> /var/lib/postgresql/8.2/main/pg_log/postgresql-2007-07-15_143020.log
>
> I manually created a dir called pg_log, since it wasn't already there.
> What am I missing?
>

--
View this message in context: http://www.nabble.com/Could-not-create-log-file-error--tf4083495.html#a11606752
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ragnar 2007-07-15 23:20:09 Re: count the number of bits set to 1 in a bit string field
Previous Message Sébastien Boutté 2007-07-15 21:57:50 pg_dump without blobs