Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: the script to start listener in /etc/rc3.d/ failed...

Re: the script to start listener in /etc/rc3.d/ failed...

From: Carlos <miotromailcarlos_at_netscape.net>
Date: 19 Dec 2006 01:30:55 -0800
Message-ID: <1166520655.362619.270750@48g2000cwx.googlegroups.com>


zdk ha escrito:

> Exactly,I don't really sure if it does work well with you.
>
> But for my case,I just change this:
>
> su - oracle -c "/export/home/oracle/product/9i/bin/lsnrctl start "
>
> to
>
> su oracle -c "/export/home/oracle/product/9i/bin/lsnrctl start "
>
> and it's done.
>
>
>
> Bartlomiej Syryjczyk wrote:
> > zdk napisal(a):
> > > OK , Thanks everyone.
> > >
> > > I figure out how to solve it now.
> > How?
> >
> > guzik

It's got nothing to do with ORACLE, It is because 'su -' is a login shell, and therefore you lose all environment variables (of course you lose ORACLE_HOME) except a few.

Cheers.

Carlos. Received on Tue Dec 19 2006 - 03:30:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US