postgresql log file:
* Starting PostgreSQL 9.1 database server * The PostgreSQL server failed to start. Please check the log output: 2012-02-24 04:26:07 GMT FATAL: "/var/lib/postgresql/9.1/main" is not a valid data directory 2012-02-24 04:26:07 GMT DETAIL: File "/var/lib/postgresql/9.1/main/PG_VERSION" does not contain valid data. 2012-02-24 04:26:07 GMT HINT: You might need to initdb.
this happened when my ubuntu oneiric crashed. What to do now? Thank you.