Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UqToO-0004TR-TK for pgsql-admin@arkaria.postgresql.org; Sat, 22 Jun 2013 19:49:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UqToO-0003lK-7Q for pgsql-admin@arkaria.postgresql.org; Sat, 22 Jun 2013 19:49:28 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UqToN-0003lD-2E for pgsql-admin@postgresql.org; Sat, 22 Jun 2013 19:49:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UqToL-0000M0-9H for pgsql-admin@postgresql.org; Sat, 22 Jun 2013 19:49:26 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r5MJnMS6023768; Sat, 22 Jun 2013 15:49:22 -0400 (EDT) From: Tom Lane To: Tony Dare cc: pgsql-admin@postgresql.org Subject: Re: Ubuntu Precise and auto startup of pg databases In-reply-to: <51C50E33.1020109@comcast.net> References: <51C50E33.1020109@comcast.net> Comments: In-reply-to Tony Dare message dated "Fri, 21 Jun 2013 19:38:43 -0700" Date: Sat, 22 Jun 2013 15:49:22 -0400 Message-ID: <23767.1371930562@sss.pgh.pa.us> X-Pg-Spam-Score: -0.5 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Tony Dare writes: > I don't know if anyone else has had this problem but i found that the > /etc/init.d/postgresql script simply would not start up my databases > after a reboot. though it worked fine just after creating the database > and getting all the config files in the expected places. Was able to > down and up the dbs all day long, if I wished. Then I rebooted and there > was no databases started. Executing /etc/init.d/postgresql start 9.2 > resulted in "No database clusters on the system" or suchlike. > I tracked the problem down to the script calling on pg_lsclusters, which > in turn looks for a /var/run/postgresql directory. All well and good, > except that /var/run/postgresql is on a tempfs filesystem and is wiped > out after a reboot. (Q: should that even be on a tempfs?) You should complain about that to the Ubuntu packager (ie, file an Ubuntu bug). It's unlikely that that person reads this list ... regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin