Thread: Postgresql and Postmaster response

Postgresql and Postmaster response

From
AVU Makerere
Date:
>Hi,
>
>I think I am having a similar problem. I used the advice given but when
>I
>start the database server in the background using
>
>nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data \
></dev/null >>server.log 2>>1 &
>
>and then I ps -aux |grep post, I find that it is not running. What did I
>do
>wrong?
>Below are the details.
>
>Thanx
>
>Ronald
>
>[root@orion src]# nohup /usr/local/pgsql/bin/postmaster -D
>/usr/local/pgsql/dat
>a \
>  >     </dev/null >>server.log 2>>1 &
>[1] 1141
>[root@orion src]# ps -aux |grep post
>root      1145  0.0  1.8  1240  500 pts/0    S    10:46   0:00 grep post
>[1]+  Exit 1                  nohup /usr/local/pgsql/bin/postmaster -D
>/usr/loca
>l/pgsql/data </dev/null >>server.log 2>>1
>[root@orion src]# ps -aux |grep post
>root      1147  2.0  1.8  1240  500 pts/0    S    10:46   0:00 grep post
>[root@orion src]#


RE: Postgresql and Postmaster response

From
"Craig L. Ching"
Date:
Maybe you should check out the text in server.log.  That'll probably tell
you what's wrong.

Craig

> -----Original Message-----
> From: AVU Makerere [mailto:avumuk@kla1.afsat.com]
> Sent: Sunday, July 18, 1999 3:21 AM
> To: pgsql-general@postgresql.org
> Subject: [GENERAL] Postgresql and Postmaster response
>
>
>
> >Hi,
> >
> >I think I am having a similar problem. I used the advice
> given but when
> >I
> >start the database server in the background using
> >
> >nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data \
> ></dev/null >>server.log 2>>1 &
> >
> >and then I ps -aux |grep post, I find that it is not
> running. What did I
> >do
> >wrong?
> >Below are the details.
> >
> >Thanx
> >
> >Ronald
> >
> >[root@orion src]# nohup /usr/local/pgsql/bin/postmaster -D
> >/usr/local/pgsql/dat
> >a \
> >  >     </dev/null >>server.log 2>>1 &
> >[1] 1141
> >[root@orion src]# ps -aux |grep post
> >root      1145  0.0  1.8  1240  500 pts/0    S    10:46
> 0:00 grep post
> >[1]+  Exit 1                  nohup
> /usr/local/pgsql/bin/postmaster -D
> >/usr/loca
> >l/pgsql/data </dev/null >>server.log 2>>1
> >[root@orion src]# ps -aux |grep post
> >root      1147  2.0  1.8  1240  500 pts/0    S    10:46
> 0:00 grep post
> >[root@orion src]#
>

Re: Postgresql and Postmaster response

From
Holger Klawitter
Date:
> > >nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data \
> > ></dev/null >>server.log 2>>1 &

Perhaps you should look into the file named "1" to which you've
added your stderr output.

Regards,
Mit freundlichem Gruß,
    Holger Klawitter
--
Holger Klawitter                                    +49 (0)251 484 0637
holger@klawitter.de                            http://www.klawitter.de/