Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can't start lsnrctl
> From a poster on OTN I found somebody who messed with php and two
> installation of oracle. He compiled PHP with the OCI header but it could
> be useful for your issue as well.
> He copied libclntsh.so.10.1, libnnz10.so and libociei.so form the second
> installation to the first one (so from your client installation to
> $ORACLE_HOME/lib).
> Set LD_LIBRARY_PATH of the oracle user to $ORACLE_HOME/lib and delete
> the usual entry in ld.so.conf (and run ldconfig).
> Then try again.
If I untertake these steps, neither apache nor lsnrctl works. The
interesting thing is:
Even if I *only* copy libociei.so to the $ORACLE_HOME/lib directory, lsnrctl
can't start. Initially there was no libociei.so in the $ORACLE_HOME/lib
directory. So I didn't even overwrite anything. I just copied one file, and
lsnrctl stopped to work.
If I copy all of the 3 files, it still doesn't work. (2 files have been
overwritten during this process).
I just restored the 2 files from a backup, and deleted libociei.so from $ORACLE_HOME/lib - now lsnrctl is able to start again. (But apache still isn't *gg* because of ld.so.conf)
> And here another quotation:
>
> "For PHP you only need libociei.so, libnnz10.so and libclnts.so.10.1
> from the Instant Client package. If re-compiling won't be needed, you
> can copy these libs to a directory of your choice and deinstall Oracle
> to save disk space."
> Bet libclnts.so.10.1 was libclntsh.so.10.1
>
Yeah, I read that too...and I believe it's true. But the problem is how to tell apache where to find those files. ;)
kind regards,
Can Received on Fri Jun 18 2004 - 16:44:39 CDT