Re: Debugging PG 7.2 installation

From: Chris <csmith(at)squiz(dot)net>
To: "Gary Hoffman" <ghoffman(at)ucsd(dot)edu>, pgsql-php(at)postgresql(dot)org
Subject: Re: Debugging PG 7.2 installation
Date: 2002-02-24 22:08:38
Message-ID: 5.1.0.14.0.20020225090324.00ab48a0@cooee.cybersydney.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hi,

It looks like you're running postmaster in "interactive" mode (ie not
backgrounding the process).

have a look at the pg_ctl command, I think this is what you're after:

pg_ctl start -D /usr/local/pgsql/data -l /path/to/log/file

This will automatically background the postmaster process for you.

>I've successfully compiled PostGreSQL 7.2 on my MacOS X v. 10.1.3 machine,
>but it doesn't seem to run. When I start the postmaster, sometimes nothing
>happens. Other times, I get the following debug messages.
>
>
>[irpsws16:/usr/local/pgsql] postgres% /usr/local/pgsql/bin/postmaster -D
>/usr/local/pgsql/data
>DEBUG: database system was shut down at 2002-02-23 21:50:10 PST
>DEBUG: checkpoint record is at 0/109734
>DEBUG: redo record is at 0/109734; undo record is at 0/0; shutdown TRUE
>DEBUG: next transaction id: 89; next oid: 16556
>DEBUG: database system is ready
><I press Enter here>
>^CDEBUG: fast shutdown request
>DEBUG: shutting down
>DEBUG: database system is shut down
>[irpsws16:/usr/local/pgsql] postgres%

-----------------
Chris Smith
http://www.squiz.net/

Tel: 02 9568 6866
Fax: 02 9568 6733

Browse pgsql-php by date

  From Date Subject
Next Message Josh Berkus 2002-02-25 04:26:29 Re: help
Previous Message Gary Hoffman 2002-02-24 06:07:33 Debugging PG 7.2 installation