From: Jason Tishler <jason@tishler.net>
To: cygwin@cygwin.com
Subject: Re: Postgres - more questions (was: Re: [Postgres] initdb - does it ever finish?!?)
Date: Sat, 07 Sep 2002 12:57:00 -0000 [thread overview]
Message-ID: <20020907194741.GQ1964@tishler.net> (raw)
In-Reply-To: <02Sep7.022547-0700_pdt.290634-25802+89@lmg.ahnet.net>
On Sat, Sep 07, 2002 at 11:21:49AM +0200, news@garydjones.mailshell.com wrote:
> On 06 Sep 2002, news@garydjones.mailshell.com wrote:
> > Thanks for the advice, it works fine now (as far as I have taken
> > it).
>
> From pg_ctl I get output like this:
> $ pg_ctl stop
> pg_ctl: no database directory or environment variable $PGDATA is
> specified
> Try 'pg_ctl --help' for more information.
>
> and yet:
> $ echo $PGDATA
> /cygdrive/k/pgsql/data
>
> Huh?!?
Did you export PGDATA?
> More worryingly:
> $ 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:
$ pg_ctl stop -D /usr/share/postgresql/data
waiting for postmaster to shut down......done
postmaster successfully shut down
> I had to use
> kill -9 `head -1 /usr/local/pgsql/data/postmaster.pid`
> in the end (/usr/local/pgsql being a symlink to my data area).
Never "kill -9" the postmaster -- use "kill 15" instead.
> I see a similar report to the latter problem in the archives
> (http://sources.redhat.com/ml/cygwin/2001-05/msg00499.html) but
The above is unrelated...
> http://sources.redhat.com/ml/cygwin/2001-05/msg00774.html
> suggests it was fixed (over a year ago).
and has been fixed.
> I forgot to ask before, btw - is there a recommended method of
> running it on W9x? The docs generally recommend starting it as
> user "postgres". Is it best to just add an entry to /etc/passwd
> (AIUI "mkpasswd" is not supported on W9x)? I am thinking of
> something like "postgres::42:99:::".
Sorry, I don't do the 9x/Me thing. I suggest trying
pgsql-cygwin@postgresql.org -- someone there may be able to help.
Jason
--
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/
next prev parent reply other threads:[~2002-09-07 19:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <02Sep6.101215-0700_pdt.292221-5504+21@lmg.ahnet.net>
2002-09-06 10:28 ` [Postgres] initdb - does it ever finish?!? Jason Tishler
2002-09-07 2:20 ` news
[not found] ` <E17nZmd-00083T-00@quimby.gnus.org>
2002-09-07 3:45 ` Postgres - more questions (was: Re: [Postgres] initdb - does it ever finish?!?) news
[not found] ` <02Sep7.022547-0700_pdt.290634-25802+89@lmg.ahnet.net>
2002-09-07 12:57 ` Jason Tishler [this message]
2002-09-11 9:22 ` Postgres - more questions news
[not found] ` <02Sep6.233728-0700_pdt.297018-2018+106@lmg.ahnet.net>
2002-09-07 12:44 ` [Postgres] initdb - does it ever finish?!? Jason Tishler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020907194741.GQ1964@tishler.net \
--to=jason@tishler.net \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).