pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: stronny red <stronny@celestia.ru>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql
Date: Fri, 31 May 2013 21:33:08 -0700
Message-ID: <20130601043307.GB20800@msgid.df7cb.de> (raw)
In-Reply-To: <CALOvDf7fpScGUJBai69S3=Mr5wC-Xj5BZEqnV4qQBjOHXcj+Zg@mail.gmail.com>
References: <E1Ugthl-0001QE-Pg@wrigleys.postgresql.org>
	<1369880567.2517.2.camel@vanquo.pezone.net>
	<20130530025835.GB974@msgid.df7cb.de>
	<CALOvDf7fpScGUJBai69S3=Mr5wC-Xj5BZEqnV4qQBjOHXcj+Zg@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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/


-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (7+ messages)  latest in thread

Message-ID: <20130601043307.GB20800@msgid.df7cb.de>
Permalink:  ../20130601043307.GB20800@msgid.df7cb.de/
Also on:    postgresql.org/message-id/20130601043307.GB20800@msgid.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: myon@debian.org, stronny@celestia.ru, peter_e@gmx.net
  Subject: Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql
  In-Reply-To: <20130601043307.GB20800@msgid.df7cb.de>
  References: <E1Ugthl-0001QE-Pg@wrigleys.postgresql.org> <1369880567.2517.2.camel@vanquo.pezone.net> <20130530025835.GB974@msgid.df7cb.de> <CALOvDf7fpScGUJBai69S3=Mr5wC-Xj5BZEqnV4qQBjOHXcj+Zg@mail.gmail.com> <20130601043307.GB20800@msgid.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox