Re: problems with startup script on upgrade
Martin A. Marques <martin@math.unl.edu.ar>
From: "Martin A. Marques" <martin@math.unl.edu.ar>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2001-03-16T21:49:16Z
Lists: 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 -----------------------------------------------------------------