Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 37726CBE9C4 for ; Thu, 15 Dec 2011 14:12:35 -0400 (AST) Received: from [213.9.93.70] (helo=mail.piware.de) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RbFnD-00073v-Ac for pgsql-bugs@postgresql.org; Thu, 15 Dec 2011 18:12:36 +0000 Received: from localhost.localdomain (p549B5888.dip.t-dialin.net [84.155.88.136]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Martin Pitt (ThinkPad)", Issuer "piware CA" (verified OK)) by mail.piware.de (Postfix) with ESMTPS id 512841517A62; Thu, 15 Dec 2011 19:11:53 +0100 (CET) Received: by localhost.localdomain (Postfix, from userid 1000) id 42430200E1; Thu, 15 Dec 2011 19:12:17 +0100 (CET) Date: Thu, 15 Dec 2011 19:12:17 +0100 From: Martin Pitt To: gabriel.martinez@greencore.co.cr Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6337: Startup Script Message-ID: <20111215181217.GA3017@piware.de> Mail-Followup-To: gabriel.martinez@greencore.co.cr, pgsql-bugs@postgresql.org References: 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-Host-Lookup-Failed: Reverse DNS lookup failed for 213.9.93.70 (failed) X-Pg-Spam-Score: -1.1 (-) X-Archive-Number: 201112/116 X-Sequence-Number: 31927 Hello Gabriel, gabriel.martinez@greencore.co.cr [2011-12-15 15:02 +0000]: > After the installation of postgresql (sudo apt-get install postgresql) isn't > possible to start the service (sudo /etc/init.d/postgresql-8.4 start), > simply doesn't happen anything and there is nothing in the logs. I suppose the package installation did not create a default "8.4/main" cluster. I guess "pg_lsclusters" is empty? Please create one with "sudo pg_createcluster 8.4 main --start". (See /usr/share/doc/postgresql-common/README.Debian.gz) This happens if there is an already existing configuration for 8.4, or the package was installed before. The default cluster only gets created if this is more or less a "clean" install. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)