Received: from web1.nexusinternetsolutions.net (web1.nexusinternetsolutions.net [206.47.131.12]) by postgresql.org (Postfix) with SMTP id C4099474E4E for ; Sun, 10 Mar 2002 13:27:04 -0500 (EST) Received: (qmail 75577 invoked from network); 10 Mar 2002 18:34:15 -0000 Received: from unknown (HELO cr159591a) (24.102.18.54) by web1.nexusinternetsolutions.net with SMTP; 10 Mar 2002 18:34:15 -0000 From: "Dave" To: "Tom Lane" Cc: Subject: Re: Postgres not starting at boot(FreeBSD) - startup script not releasing Date: Sun, 10 Mar 2002 13:29:37 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: <27064.1015777336@sss.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Archive-Number: 200203/119 X-Sequence-Number: 3653 Sorry, should point out that the stop is resulting from executing a ^c after running the script manually. Since the script runs... postgres starts, but from reading the startup script, it is waiting for the pid file to appear before reporting suscess... and it isn't doing this. Or at least not exiting and leaving the postmaster running. It just sits there... thus the ^c to regain the terminal. opening two terminals, I can run the start script, and while the first terminal is sitting there waiting for the script to release control, move to the second terminal and view the results... postmaster running fine, pid file there, all normal. if I execute the script with the & behind it, it allows everything through after entering another which from what I can see suspends the session which then clears normally. (making sense?) Confused still as to the cause or how to rectify. Dave >-----Original Message----- >From: Tom Lane [mailto:tgl@sss.pgh.pa.us] >Sent: Sunday, March 10, 2002 11:22 AM >To: Dave >Cc: pgsql-admin@postgresql.org >Subject: Re: [ADMIN] Postgres not starting at boot(FreeBSD) - startup >script not releasing > > >"Dave" writes: >> DEBUG: Data Base System is starting up at Sat Mar 9 17:05:45 2002 >> DEBUG: Data Base System was shut down at Sat Mar 9 17:05:39 2002 >> DEBUG: Data Base System is in production state at Sat Mar 9 17:05:45 2002 >> Fast Shutdown request at Sat Mar 9 17:05:48 2002 >> DEBUG: Data Base System shutting down at Sat Mar 9 17:05:48 2002 >> DEBUG: Data Base System shut down at Sat Mar 9 17:05:48 2002 > >It looks like something is hitting the postmaster with a SIGINT signal >as soon as it starts. Got any idea what might be doing that? It's >not pg_ctl, for sure (unless the "something" is firing your init >script with a 'stop' option). In any case I think you should be looking >for outside agencies, not a problem directly in this init script. > > regards, tom lane >