Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A29CE64FC51 for ; Thu, 25 Sep 2008 16:47:53 -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 91852-07 for ; Thu, 25 Sep 2008 16:47:45 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.224]) by postgresql.org (Postfix) with ESMTP id C6D1664FCC0 for ; Thu, 25 Sep 2008 16:46:58 -0300 (ADT) Received: by qb-out-0506.google.com with SMTP id d8so418892qbc.23 for ; Thu, 25 Sep 2008 12:46:57 -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=pbW3b3KPmRx1QeFxLbQN6EP+ZcWM7TyHwOGX78b//gQ=; b=FgIunGCPhfmdhrjKz2bZMTcCQF0X1RojffvJj8d8lxal5f9AJqEMgjPfdrvs+KU+Gl o6Brx2QDF6KpbzY27JilpB5Eli5r6UgEL+LdalHhwVDj4/LlnMcDQRex1v1IybVwf28s qcdWoZZv9FogSODKqK1xnIk8D8bvw2F1+LxLg= 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=MeQqRVOywN1TJQ4ksD+ysNMprfUfZawCMusEIJLyMJmgNUrxG5/tpyapMPb31BHF6w M5YAKg+rUoYSD2MefsfqJpAPR0F9pEJgvB/ovggljGJPPDG5qNs1CmfVrn5hpdmiilaR cdMLEUzyB9qVQPsiQ/Fq9TouP8BCSEcvhiR4I= Received: by 10.141.62.15 with SMTP id p15mr94011rvk.144.1222372016459; Thu, 25 Sep 2008 12:46:56 -0700 (PDT) Received: by 10.141.74.11 with HTTP; Thu, 25 Sep 2008 12:46:56 -0700 (PDT) Message-ID: Date: Thu, 25 Sep 2008 13:46:56 -0600 From: "Scott Marlowe" To: "Tena Sakai" Subject: Re: postgres at reboot 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/312 X-Sequence-Number: 30405 On Thu, Sep 25, 2008 at 1:42 PM, Tena Sakai wrote: > Hi Everybody, > > About 1.5 month ago, my machine (which runs redhat linux > 2.6.9-78.0.1.ELsmp on Dell hardware with postgres 8.3.3) > had a terrible crash. I am mostly recovered, but there > is at least one more thing that's not right. > > Namely, when the machine gets rebooted, postgres doesn't > start automatically. Before the crash, there was no such > problem. In RH, you use chkconfig to see what's set to start: chkconfig --list will show you all the services and what run levels they come up in. chkconfig servicename on|off -- will turn a service on or off at boot. service servicename start -- will start a service.