Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can't start lsnrctl
Libraries of your listener are in $ORACLE_HOME/lib.
Specifying /usr/lib/oracle/10.1.0.2/client/lib in your ld.so.conf makes
ldconfig generate a ld.so.cache which is read before LD_LIBRARY_PATH.
So you are forcing your listener to work with libraries in
/usr/lib/oracle/10.1.0.2/client/lib instead of the ones in $ORACLE_HOME/lib.
A solution could be to have two different users, one which starts the listnere and the other for apache. In this case keep ld.so.config without the line you added and have two different LD_LIBRARY_PATH for user.
Another way is to modify listener.ora adding something like:
(ENVS="LD_LIBRARY_PATH=/u01/app/oracle/product/9.2/lib:/u01/app/oracle/product/9.2/ctx/lib"))
but in this case you could have problems with others oracle binaries who
have been compiled dynamically.
(By the way: what's the PATH for your oracle user? Which bynary are you
using as lsnrctl? Try with the command "which lsnrctl").
Hopying it will help you
Fabrizio Magni
Can wrote:
> "Dusan Bolek" <pagesflames_at_usa.net> schrieb im Newsbeitrag
> news:1e8276d6.0406180105.382dcb5c_at_posting.google.com...
>
>>"Can" <no_at_spam.net> wrote in message
>>>Hi, >>> >>>When I try to start the command line interface of lsnrctl, it says: >>>"Message 850 not found; No message file for product=network,
>>>It's a Linux (Fedora Core 2) system, and listener control was working as >>>usual until I added an entry in /etc/ld.so.conf. >>>I added a /usr/lib/oracle/.... path (not $ORACLE_HOME/lib), because >>>otherwise apache with php & oracle support wouldn't start. That >>>/usr/lib/ora... directory has some file copies of the standard >>>$ORACLE_HOME/lib directory which were created automatically during a php >>>installation. >>> >>>Well, now that Apache/PHP starts up, the listener control won't work >>>anymore. >>> >>>Any advice would be greatly appreciated. >>>Thanks in advance, >> >>Are you sure, you didn't messed up your Oracle enviromnent variables? >>Errors like this occur usually when Oracle is not able to find the >>placement of error messages. >> >>-- >>Dusan Bolek >>http://www.db-support.com >> >>Email: spambin_at_seznam.cz >>Pls add "Not Guilty" to the subject, otherwise your email will face an >>unpleasant end as SPAM.
-- Fabrizio Magni fabrizio.magni_at_mycontinent.com replace mycontinent with europeReceived on Fri Jun 18 2004 - 12:48:41 CDT