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 01031619240608.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  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: problems with startup script on upgrade  (Alexander Klimov <ask@wisdom.weizmann.ac.il>)
List 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
-----------------------------------------------------------------


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: beta6 packaged ...