Shane Ambler wrote:
>
>>> I am getting only this much...
>>>
>>> [root@KLC2 init.d]# ./postgresql restart
>>> Stopping postgresql service: [FAILED]
>>> Starting postgresql service: [FAILED]
>>> [root@KLC2 init.d]#
>>> How to enable log in postgres...Please help
>>>
>
> Unless you have turned it off logging is on by default (with minimum
> setting)
>
> Your prob may be knowing where the log is. By default you will find it
> in your data directory along with postgresql.conf and it will be called
> serverlog
>
> tail that file (as root) and see what shows up there
likely /var/log/postgresql
What linux is this?
>
>
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/