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-16 00:43:04 |
Message-ID: | 11607650.post@talk.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
That is all that the error contains. I try to start postgres and it returns
that error.
I had tried to set the perms to allow creation of files but for some reason
it didn't stick. Redid and all ok. I'm still curious as to why there is the
log in the etc/.../main dir (actually I see now that it's a link to a file
called postgresql-8.2-main.log), which seems to have been created by the
installer, and the new one that is being written to pg_log.
Thanks
Tom Lane-2 wrote:
>
> novnov <novnovice(at)gmail(dot)com> writes:
>> * 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?
>
> Wrong ownership or permissions of that directory, likely. You have left
> out the part of the message that said what was wrong.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>
--
View this message in context: http://www.nabble.com/Could-not-create-log-file-error--tf4083495.html#a11607650
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Lavoie | 2007-07-16 04:29:03 | How to make it work? (PL/Perl + Net::LDAP) |
Previous Message | Tom Lane | 2007-07-16 00:13:30 | Re: Could not create log file error? |