Re: Why can't I do this (setup question)

From: Paul Tomblin <ptomblin(at)xcski(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Why can't I do this (setup question)
Date: 2001-05-21 23:46:01
Message-ID: 20010521194601.A5328@allhats.xcski.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Quoting Paul Tomblin (ptomblin(at)xcski(dot)com):
> Quoting Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)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(at)xcski(dot)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)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Tomblin 2001-05-22 00:26:51 Re: Why can't I do this (setup question)
Previous Message Lee Harr 2001-05-21 22:28:03 Re: Select statement