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: Can <no_at_spam.net>
Date: Fri, 18 Jun 2004 22:08:47 GMT
Message-ID: <PJJAc.95252$vP.78892@news.chello.at>

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

I'm starting apache2, logged in as root, by typing: service httpd start

ls -l /usr/sbin/httpd gave me, after starting apache2:

.... 1 root root 263640 6. Mai 13:17 /usr/sbin/httpd

ps -A printed, after a bunch of other stuff:

 3560 ?        00:00:00 httpd
 3563 ?        00:00:00 httpd
 3564 ?        00:00:00 httpd
 3565 ?        00:00:00 httpd
 3566 ?        00:00:00 httpd
 3567 ?        00:00:00 httpd
 3568 ?        00:00:00 httpd
 3569 ?        00:00:00 httpd
 3570 ?        00:00:00 httpd



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

I only run oracle processes as user oracle (listener, emca, database, sqlplus...)

> May you post the value of the following variables
> LD_LIBRARY_PATH
> PATH
> ORACLE_HOME
>
> of all the users involved?
>

user root:
LD_LIBRARY_PATH=/usr/lib/oracle/10.1.0.2/client/lib PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sb in:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin no ORACLE_HOME (but even if I set it, apache doesn't start)

user oracle:
LD_LIBRARY_PATH=/usr/local/oracle/product/10.1.0/lib:/lib:/usr/lib 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 ORACLE_HOME=/usr/local/oracle/product/10.1.0

ld.so.conf does right now not contain /usr/lib/oracle/10.1.0.2/client/lib, so apache does not start. If I change it, lsnrctl (run as user oracle) doesn't start, although all variables are always set.

I even tried to set LD_CONFIG_PATH for user root...with no success. But I don't know the difference between LD_CONFIG_PATH an ...library_path anyway...

>
> I have some time to spare before my friends are taking me at some
> elektro-house party...
> (if you are still online)
>

Your name sounds italian...so you did not watch the football game? *g*

greetings from Vienna,

        Can Received on Fri Jun 18 2004 - 17:08:47 CDT

Original text of this message

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