Message-Id: <200209111622.g8BGMFx09217@delorie.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Sent: 11 Sep 2002 16:21:48 GMT X-Newsgroups: gmane.os.cygwin Subject: Re: Postgres - more questions From: news AT garydjones DOT mailshell DOT com References: <02Sep6.101215-0700_pdt.292221-5504+21 AT lmg DOT ahnet DOT net> <20020906172515 DOT GI1964 AT tishler DOT net> <02Sep7.022547-0700_pdt.290634-25802+89 AT lmg DOT ahnet DOT net> <20020907194741 DOT GQ1964 AT tishler DOT net> User-Agent: Xnews/4.11.09 X-No-Archive: yes To: cygwin AT cygwin DOT com X-Gate: Hamster/1.3.23.185 NewsToMail-Gate Date: Wed, 11 Sep 2002 18:13:22 +0200 On 07 Sep 2002, Jason Tishler wrote: > On Sat, Sep 07, 2002 at 11:21:49AM +0200, > news AT garydjones DOT mailshell DOT com wrote: >> $ pg_ctl stop >> pg_ctl: no database directory or environment variable >> $PGDATA is specified [..] > Did you export PGDATA? Agh! Sh8! I thought I had, but just checked and the "export" is missing, which I guess is kind of important. Sorry. >> $ pg_ctl stop -D /cygdrive/k/pgsql/data >> waiting for postmaster to shut >> down........................................................ >> .... .... failed pg_ctl: postmaster does not shut down > > Works for me And me, now. Because I wanted to know what was going on I removed the export of PGDATA, restarted bash, and tried again. No probelm, it still shut down fine. I really don't know what was causing this but for now it has "gone away". I haven't changed anything else in the meantime, afair, so I've really no idea what the difference is. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/