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-16T22:24:06Z
Lists: pgsql-hackers
El Vie 16 Mar 2001 19:05, Tom Lane escribió:
> "Martin A. Marques" <martin@math.unl.edu.ar> writes:
> >> Hm, that 'Killed' looks suspicious.  What shows up in the
> >> /dbs/postgres/sql.log file?
> >
> > Nothing at all.
>
> That's no help :-(.  Please alter the command to trace the shell script,
> ie
>
> su postgres -c 'sh -x /dbs/postgres/bin/pg_ctl -o ... 2>tracefile'
>
> and send the tracefile.

Found something, but just can't get why it started happening. There was some 
log to the sql.log:

ld.so.1: /dbs/postgres/bin/postmaster: fatal: libz.so: open failed: No such 
file or directory

Now, libz.so is in the LD_LIBRARY_PATH of the postgres user, so why is it 
that Solaris doesn't load the .profile in the postgres directory.

I'm astonished!

-- 
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
-----------------------------------------------------------------