Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can't start lsnrctl
More complex than I thought ;)
Ok... from your answers I have a couple of doubts.
What's the user who starts apache? the command? Once the process is
running what's is owned user?
A ls -l of the executable and a ps whould be useful.
If you run it as oracle but then it is a root process than the command
has the suitid bit set so LD_LIBRARY_PATH is useless.
May you post the value of the following variables
LD_LIBRARY_PATH
PATH
ORACLE_HOME
of all the users involved?
Can wrote:
> "FM" <fabrizio.magni_at_mycontinent.com> schrieb im Newsbeitrag
> news:ZVFAc.493326$rM4.20317339_at_news4.tin.it...
>
>
> If I keep ld.so.config without the additional line, and write path names in
> the LD_LIBRARY_PATH env variable, apache refuses to start. The only way
> until now, to get apache to start was the ld.so.config file.
> I just tried it as root: I set the env variable with the command:
>
> LD_LIBRARY_PATH=/usr/lib/oracle/10.1.0.2/client/lib; export LD_LIBRARY_PATH
>
> but still apache wouldn't start.
> Only if I write the same path in ld.so.config...
>
LD_LIBRARY_PATH has to be set for the oracle user (if it has to be evaluated by the listener).
>
>
>>Another way is to modify listener.ora adding something like: >> >>
>>but in this case you could have problems with others oracle binaries who >>have been compiled dynamically.
This was a stupi suggest from me. That parameters works only for child processes.
>
>>(By the way: what's the PATH for your oracle user? Which bynary are you >>using as lsnrctl? Try with the command "which lsnrctl").
It seems your ORACLE_HOME _is_ /usr/local/oracle/product/10.1.0 Are you sure you are not confusing users or variables?
>
> Thanks for your suggestions ;)
>
> kind regards,
> Can Oezdemir
>
>
I have some time to spare before my friends are taking me at some
elektro-house party...
(if you are still online)
Fabrizio
-- Fabrizio Magni fabrizio.magni_at_mycontinent.com replace mycontinent with europeReceived on Fri Jun 18 2004 - 14:40:54 CDT