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: Can't start lsnrctl

Re: Can't start lsnrctl

From: FM <fabrizio.magni_at_mycontinent.com>
Date: Fri, 18 Jun 2004 19:40:54 GMT
Message-ID: <azHAc.349420$hc5.15044400@news3.tin.it>


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

>
> (ENVS="LD_LIBRARY_PATH=/u01/app/oracle/product/9.2/lib:/u01/app/oracle/produ
> ct/9.2/ctx/lib"))
>
>>but in this case you could have problems with others oracle binaries who
>>have been compiled dynamically.

>
>
> I've tried this right now. Embedded in the SID_DESC entries, I added the
> right library path, but oracle lsnrctl gave the same error message. These
> env. variables are only taken into consideration if the listener control
> utilty tries to start a specific listener. If it just tries to start the
> binary, they don't seem to influence anything. :-(
>
>

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").

>
>
> which lsnrctl says:
> /usr/local/oracle/product/10.1.0/bin/lsnrctl
> (It's an Oracle 10g Database)
>
> The PATH env. variable for the oracle user is set to:
>
> PATH=/usr/local/oracle/product/10.1.0/bin:/usr/sbin:/usr/kerberos/bin:/usr/l
> ocal/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
>
>

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 europe
Received on Fri Jun 18 2004 - 14:40:54 CDT

Original text of this message

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