Re: Oracle Instant Client on Linux and ldconfig

  • From: Rich J <rjoralist3@xxxxxxxxxxxxxxxxxxxxx>
  • To: Oracle L <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 16 Oct 2019 13:32:49 -0500

On 2019/10/15 09:29, Rich J wrote:

So one of my OL7.4 x86-64 VMs running EM13 and other Oraclishness started 
swapping heavily, and I was generously granted more RAM (and CPU!).  But the 
VM never came back up on reboot, complaining of "Failed to start Login 
Service", among other things.  I eventually tracked it down to a file in 
/etc/ld.so.conf.d containing "/opt/oracle/12.2.0/lib".  Once I removed that 
file and did an "ldconfig" (in rescue mode), the server was able to start 
normally. 

While this particular system change was not explicitly documented (by a 
particular solo DBA who shall remain nameless), I suspect it's from something 
similar to the instructions on 
https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html
 (but for v12.2, obviously). 

I am hoping to find time to experiment with VirtualBox to duplicate this 
issue.  But as we're planning on moving all of our Production to OL7 soon, 
has anyone run into this before?  Can that change co-exist with dbus or 
whoever is preventing system startup?

I tested a new OL7.6 VM with installs of both 12.2 and 19 EE, freshly
downloaded from www.oracle.com/downloads [1].  When I added a file to
/etc/ls.so.conf.d with "/opt/oracle/19/lib" in it, ran "ldconfig" and
then rebooted, there was no issue.  Replacing the contents of the file
with "/opt/oracle/12.2/lib" however, caused the reboot to loop trying to
start the Login Service (among other things). 

I did some rudimentary troubleshooting with the 12.2 libraries, but lack
of time tells me to use a custom setting of the LD_LIBRARY_PATH for the
oracle user instead. 

Rich 

 

Links:
------
[1] http://www.oracle.com/downloads

Other related posts: