0

I installed PostgreSQL on ubuntu 12.04, using apt-get install postgresql

Everything worked fine. I made database, inserted data etc.

Then I rebooted my computer, and postgres did not start. There is nothing in /etc/postgresql. service postgresql start / stop /restart do nothing.

pg_lsclusters displays nothing.

What on earth has gone wrong? How do I start postgresql?

Where on earth are the database tables stored?

3
  • Did you create a cluster with pg_createcluster? Jun 3, 2014 at 1:50
  • No. I use installed postgresl, then connected to it and created tables/users etc. I have no idea about any cluster.
    – Myforwik
    Jun 3, 2014 at 1:56
  • That ... doesn't make a ton of sense. What's in /etc/postgresql? What about /var/lib/pgsql (might be /var/lib/postgresql/) Jun 3, 2014 at 4:42

1 Answer 1

0

The problem was harddisk corruption.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .