Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B54E7475CBC for ; Tue, 19 Nov 2002 17:13:10 -0500 (EST) Received: from ECIEXCHANGE.ecinet.com (smtp.eldocomp.com [205.159.99.4]) by postgresql.org (Postfix) with ESMTP id 1FE47475BF9 for ; Tue, 19 Nov 2002 17:13:10 -0500 (EST) Received: from CHAD-WIN (chad-win.ecinet.com [172.20.128.234]) by ECIEXCHANGE.ecinet.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id W0NP439M; Tue, 19 Nov 2002 15:13:05 -0700 Message-Id: <4.2.2.20021119150746.00b4a640@imap.eldocomp.com> X-Sender: clarson@imap.eldocomp.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 19 Nov 2002 15:10:50 -0700 To: Hugh Esco , From: "Chad R. Larson" Subject: Re: Troubles at Startup In-Reply-To: <5.1.0.14.0.20021113132750.02e5be50@petra.cagreens.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/179 X-Sequence-Number: 6367 At 12:07 PM 11/13/02 , Hugh Esco wrote: >Although /etc/init.d/postgresql script is listed in each run level startup >script at /etc/rc#.d, for some reason completely beyond me, postmaster >must be manually started each time I boot up. Any help getting the >database server to automatically start at boot up would be appreciated. The problem we had turned out to have nothing to do with the startup, it was the shutdown. If you have a crash or other hurried shutdown, sometimes the ${PGDATA}/postmaster.pid file doesn't get removed. Then the startup will fail. Check you're getting clean shutdowns of the postmaster. You could also check to see if the PID in the postmaster pid file actually exists by using a "kill 0 " in the startup script. -crl -- Chad R. Larson (CRL22) chad@eldocomp.com Eldorado Computing, Inc. 602-604-3100 5353 North 16th Street, Suite 400 Phoenix, Arizona 85016-3228