突然PostgreSQLが起動しなくなったので対処した

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:~$

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください