Re: stronny red 2013-05-30 <CALOvDf7fpScGUJBai69S3=Mr5wC-Xj5BZEqnV4qQBjOHXcj+Zg@mail.gmail.com>
> I was able to reproduce the problem.
>
> Package versions
> -----------------
> ii postgresql-9.2 9.2.4-1.pgdg60+1
> object-relational SQL database, version 9.2 server
> ii postgresql-common 142.pgdg60+1
> PostgreSQL database-cluster manager
>
> The failure
> -----------------
> # /etc/init.d/postgresql stop
> # rm -rf /var/run/postgresql
> # /etc/init.d/postgresql start
> Error: Cannot stat /var/run/postgresql
Can you try "sh -x /etc/init.d/postgresql start" there and send us the
output?
Here it does:
+ [ -d /var/run/postgresql ]
+ install -d -m 2775 -o postgres -g postgres /var/run/postgresql
> No PostgreSQL clusters exist; see "man pg_createcluster" ... (warning).
Btw, this seems to be the actual problem here.
> The config file
> -----------------
> # ls -lA /etc/postgresql/9.2
> total 0
> lrwxrwxrwx 1 root root 23 May 22 20:36 main -> /var/lib/postgresql/etc
That's a non-standard setup. Could it be the case that this partition
wasn't mounted during your tests, or something like that?
Christoph
--
cb@df7cb.de | http://www.df7cb.de/