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 10:09:05 GMT
Message-ID: <5bzAc.92848$vP.54522@news.chello.at>

"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

news:<MvoAc.88802$vP.1617_at_news.chello.at>...
> > Hi,
> >
> > When I try to start the command line interface of lsnrctl, it says:
> > "Message 850 not found; No message file for product=network,
facility=NL"
> >
> > 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.

My etc/ld.so.conf looked like this in its original form:

include ld.so.conf.d/*.conf
/usr/lib/mysql
/usr/X11R6/lib

All I did, was adding a path (/usr/lib/oracle/10.1.0.2/client/lib). This path has been created by a php installation script. Then I deleted /etc/ld.so.cache and executed ldconfig.

After this step, apache would start (with the warning: [warn] module php4_module is already loaded, skipping) - before this step it didn't start at all.

But the lsnrctl utility doesn't work anymore. If I undo my changes (delete last line in ld.so.conf, delete ld.so.cache and execute ldconfig), lsnrctl utility is working again. But then apache won't start - "Syntax error on line 198 of ...../httpd.conf:
Cannot load /usr/lib/httpd/modules/libphp4.so into server: libclntsh.so.10.1: cannot open shared object file: No such file or directory"

Alas I don't have deep insight into this ld stuff, but obviously it has something to do with that... Received on Fri Jun 18 2004 - 05:09:05 CDT

Original text of this message

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