Re: Why can't I do this (setup question) - Mailing list pgsql-general

From Paul Tomblin
Subject Re: Why can't I do this (setup question)
Date
Msg-id 20010521194601.A5328@allhats.xcski.com
Whole thread Raw
In response to Re: Why can't I do this (setup question)  (Paul Tomblin <ptomblin@xcski.com>)
Responses Re: Why can't I do this (setup question)  (Paul Tomblin <ptomblin@xcski.com>)
List pgsql-general
Quoting Paul Tomblin (ptomblin@xcski.com):
> Quoting Tom Lane (tgl@sss.pgh.pa.us):
> > Yes, the postmaster's stderr output.  What is your startup script doing
> > with that?
>
> I'm using the one that comes with the 7.1 RPM, (from Lamar Owen) which
> redirects stderr to /dev/null.

I tried starting it with the following arguments:
    postmaster -d 5 -D /var/lib/pgsql/data
And with the mounted data dir, I don't get *anything* on stderr except for
the initial environ dump, and I can't connect.  But when I do it without
the mounted dir, after the environ dump, I get:
    invoking IpcMemoryCreate(size=1236992)
    FindExec: searching PATH ...
    ValidateBinary: can't stat "/bin/postmaster"
    FindExec: found "/usr/bin/postmaster" using PATH
    DEBUG:  database system was shut down at 2001-05-21 19:31:24 EDT
    DEBUG:  CheckPoint record at (0, 1808844868)
    DEBUG:  Redo record at (0, 1808844868); Undo record at (0, 0); Shutdown TRUE
    DEBUG:  NextTransactionId: 1870223; NextOid: 2060337
    DEBUG:  database system is in production state
    DEBUG:  proc_exit(0)
    DEBUG:  shmem_exit(0)
    DEBUG:  exit(0)
    postmaster: reaping dead processes...



--
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
If the automobile had followed the same development as the computer a
Rolls Royce would today cost $100, get a million miles per gallon and
explode once a year killing everybody inside. - Robert Cringeley (InfoWorld)

pgsql-general by date:

Previous
From: "Ian Harding"
Date:
Subject: Adding a date and an interval...
Next
From: Paul Tomblin
Date:
Subject: Re: Why can't I do this (setup question)