hidekazu@ubuntu804desktop:~$ sudo /etc/init.d/postgresql-8.3 restart
* Restarting PostgreSQL 8.3 database server * The PostgreSQL server failed to start. Please check the log output:
2008-12-23 03:26:08 GMT FATAL: data directory “/var/lib/postgresql/8.3/main” has group or world access
2008-12-23 03:26:08 GMT DETAIL: Permissions should be u=rwx (0700).
[fail]
hidekazu@ubuntu804desktop:~$ sudo chmod 700 /var/lib/postgresql/8.3/main/
hidekazu@ubuntu804desktop:~$ sudo /etc/init.d/postgresql-8.3 restart
* Restarting PostgreSQL 8.3 database server [ OK ]
hidekazu@ubuntu804desktop:~$
突然PostgreSQLが起動しなくなったので対処した
コメントを残す