Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 85CAA6353D4 for ; Tue, 6 Apr 2010 15:56:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36509-02-8 for ; Tue, 6 Apr 2010 18:55:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 3AAD963344C for ; Tue, 6 Apr 2010 15:38:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o36IckwK024772; Tue, 6 Apr 2010 14:38:46 -0400 (EDT) To: Jordz cc: pgsql-admin@postgresql.org Subject: Re: Postgresql-8.4 won't boot at startup on 9.10 In-reply-to: References: Comments: In-reply-to Jordz message dated "Fri, 02 Apr 2010 15:53:29 +1300" Date: Tue, 06 Apr 2010 14:38:46 -0400 Message-ID: <24771.1270579126@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201004/53 X-Sequence-Number: 34147 Jordz writes: > I have just moved to rackspacecloud and created a Ubuntu 9.10 server. > Moved everything over all fine (7-10 wordpress sites). Now I have a > couple rails apps that need to move over and run on postgresql 8.4. > I installed postgresql via sudo apt-get as per usual. Usually at this > point the postgresql server starts up and I can forget about it. But > no luck. I booted it by running /etc/init.d/postgresql-8.4 start. When > I run that command it boots fine, I can connect via psql no trouble. Usually, just installing a package is not enough to make it autostart at boot --- if that were true then people could never safely "install everything". I think you missed a step. On Red Hat systems you'd need something like "sudo chkconfig postgresql on"; probably Ubuntu is similar. regards, tom lane