Re: problems with startup script on upgrade

From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: problems with startup script on upgrade
Date: 2001-03-16 21:49:16
Message-ID: 01031618491605.20898@math.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

El Vie 16 Mar 2001 17:46, Tom Lane escribió:
> "Martin A. Marques" <martin(at)math(dot)unl(dot)edu(dot)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(at)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(at)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(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Giles Lean 2001-03-16 21:50:58 Re: ["Stephen C. Tweedie" <sct@redhat.com>] Re: O_DSYNC flag for open
Previous Message Jan Wieck 2001-03-16 21:18:13 Re: Performance monitor signal handler