Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed PostgreSQL 9.0 on Ubuntu 10.04 using this guide.

However, when I try to start the service, I get this back, with no error or message shown.

root@srv1:/etc/init.d# ./postgresql start
* Starting PostgreSQL 9.0 database server
* The     PostgreSQL server failed to start. Please check the log output.

I don't know where the log file is to see this error. It's definitely not in /var/log/* or /var/log/postgresql

share|improve this question
Can you check your postgresql.conf file and look for the logging options? I see PG output logs in /var/log/postgresql/postgresql-8.4-main.log and I've left my logging options at default on Ubuntu 10.10. – growse Mar 24 '11 at 13:13
Weird! I looked into the config file and found all logging was disabled. I turned on logging and now the service starts ok!!! - THANKS! – Samuurai Mar 24 '11 at 13:25
ahh.. it was to do with rights of the log file.. :((( – Samuurai Mar 24 '11 at 13:26
up vote 0 down vote accepted

The issue was to do with not having write access to the log file for the 'postgres' user.

IMO, the startup script should echo an error to the screen instead of telling you to check the log that it can't even write to.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.