Postgresql - Error: Could not create log file /var/log/postgresql/...
- by nicefinly
Every time I try to start postgresql, I get this error:
* Starting PostgreSQL 9.2 database server
* Error: Could not create log file /var/log/postgresql/postgresql-9.2-main.log
To start the server, I have to sudo mkdir the postgresql folder in /var/log/
How can I start postgresql automatically every time I boot up? I already have a postgres user on the Ubuntu 12.10 system.