Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UidVQ-0004GP-Al for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 01 Jun 2013 04:33:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UidVP-00027X-NM for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 01 Jun 2013 04:33:27 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UidVO-00027R-Ug for pgsql-pkg-debian@postgresql.org; Sat, 01 Jun 2013 04:33:27 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UidVG-0000km-PW for pgsql-pkg-debian@postgresql.org; Sat, 01 Jun 2013 04:33:26 +0000 Received: from msgid.df7cb.de (lehmann.df7cb.de [IPv6:2001:6f8:10ee:e:136::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 586B9696F9; Sat, 1 Jun 2013 06:33:13 +0200 (CEST) Date: Fri, 31 May 2013 21:33:08 -0700 From: Christoph Berg To: stronny red Cc: Peter Eisentraut , pgsql-pkg-debian@postgresql.org Subject: Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql Message-ID: <20130601043307.GB20800@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , stronny red , Peter Eisentraut , pgsql-pkg-debian@postgresql.org References: <1369880567.2517.2.camel@vanquo.pezone.net> <20130530025835.GB974@msgid.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: 0.8 (/) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org Re: stronny red 2013-05-30 > 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