Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: the script to start listener in /etc/rc3.d/ failed...
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