Re: problems with startup script on upgrade - Mailing list pgsql-hackers

From Martin A. Marques
Subject Re: problems with startup script on upgrade
Date
Msg-id 01031618491605.20898@math.unl.edu.ar
Whole thread Raw
In response to Re: problems with startup script on upgrade  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: problems with startup script on upgrade
List pgsql-hackers
El Vie 16 Mar 2001 17:46, Tom Lane escribió:
> "Martin A. Marques" <martin@math.unl.edu.ar> writes:
> > ... my startup scripts don't work anymore.
> > What the script has, works if I try to do it as postgres, but with a
> > su -l postgres -c 'command' as root it doesn't work.
>
> Please define "doesn't work".  What happens exactly?  What messages
> are produced?

root@ultra31 /space/pruebas/postgres-cvs # su postgres -c 
'/dbs/postgres/bin/pg_ctl -o "-i" -D /dbs/postgres/data/ start -l 
/dbs/postgres/sql.log'
19054 Killed
postmaster successfully started
root@ultra31 /space/pruebas/postgres-cvs #

No postmaster after that!


-- 
System Administration: It's a dirty job, 
but someone told me I had to do it.
-----------------------------------------------------------------
Martín Marqués            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------


pgsql-hackers by date:

Previous
From: Giles Lean
Date:
Subject: Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open
Next
From: Tom Lane
Date:
Subject: Re: AW: Re[4]: Allowing WAL fsync to be done via O_SYNC