Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1311064FCD5 for ; Thu, 11 Sep 2008 15:17:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 41594-08 for ; Thu, 11 Sep 2008 15:17:31 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by postgresql.org (Postfix) with ESMTP id 0513064FCD2 for ; Thu, 11 Sep 2008 15:17:30 -0300 (ADT) Received: by rv-out-0506.google.com with SMTP id b25so558239rvf.43 for ; Thu, 11 Sep 2008 11:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EHZnqpcDZNKMj+gOt94K+VSz55mLjszPyYhw6lpwwOE=; b=dr/mcAJkGGAfsdU8c2yVEpYZef+uLNOEAu72QgBYDoMwY/0GMat/MhN8jL9MocjqlT jOEvbS4BCY3LaxwRCAUwTpyAFqRTLcedDdHDi6WGGNXWZIx7fSJ6SZCYmi5FAvDhI4bN krEndLog/sK9a6yWGmugfX3Q7KOVhB0wHbJ+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uQ6Cqz4OZdhVaegeSQzQH5Fn/WVhoowQef4A5i2B+ZKw2nJxURgMH4upJq07TMRDQ3 LpZvmy5hOUvFBxCvvvQdqjJpquD29S7BkeFgzKxm8UnvSXiAEJRcz4TKiadvFiF0D2C5 iDfJLE4ljNK9DRp1FW4kri38wS5Vz8DKPlCr8= Received: by 10.141.136.8 with SMTP id o8mr1964875rvn.278.1221157049986; Thu, 11 Sep 2008 11:17:29 -0700 (PDT) Received: by 10.141.74.11 with HTTP; Thu, 11 Sep 2008 11:17:29 -0700 (PDT) Message-ID: Date: Thu, 11 Sep 2008 12:17:29 -0600 From: "Scott Marlowe" To: "Marc Fromm" Subject: Re: starting postgres on red hat Cc: "pgsql-admin@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/105 X-Sequence-Number: 30198 On Thu, Sep 11, 2008 at 11:35 AM, Marc Fromm wrote: > Thanks for your reply. > I was following the instructions a listed in the 8.1 docs at postgresql.org, which worked great on fedora. I'm using the PGDG 8.3.3 rpms on Centos 5.2 mysql. Those do have initdb. On older pgsql init scripts, it would automagically initdb when needed, which was deemed (right so) to be a dangerous way of doing things. I'd highly suggest downloading and installing the pgsql 8.3.3 PGDG rpms, or pointing your server at a repo that has them. > How do I restart the process? > Running "/etc/init.d/postgresql initdb" as root diplays this: > Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|condstop|reload|force-reload} yep. older init script / not PGDG one for 8.3.3. that one likely does the automagic initdb for you first time you run it.