Weiping He <[EMAIL PROTECTED]> writes:Ok, I'll test it. But needs more time, cause I can't access that box now, it's in office.
Later I use:
pg_ctl start >pgrun.log 2>&1
to start the program, and it runs ok. but, then the pmdie 2...
Hm. My first thought was that you needed a </dev/null in there too, but it looks like pg_ctl does that for you. The other likely possibility is that you need a "nohup" in front of all of this.
We should check the theory though. After you start the postmaster using the above command, if you type control-C (or whatever your favorite interrupt character is) on the same terminal, does the postmaster shut down?
regards, tom lane
report back later.
Thanks
Laser
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings