Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql
Дата
Msg-id 20130601043307.GB20800@msgid.df7cb.de
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql  (stronny red <stronny@celestia.ru>)
Список pgsql-pkg-debian
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/


В списке pgsql-pkg-debian по дате отправления:

Предыдущее
От: stronny red
Дата:
Сообщение: Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql
Следующее
От: "Colin 't Hart"
Дата:
Сообщение: No etags?