Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 2129

BR*Tools 7.40 weird issue on AIX 6.1

$
0
0

Hi All

 

Me yet again.

 

I have just installed BR*Tools 7.40 as per my previous posting and correcting an issue with it not running for ora<SID> user.

 

Unbeknown until this morning that as a result of correcting that issue, sqlplus now doesn't work for either <SID>adm or ora<SID> users.

 

Error is :-

 

sqlplus -version

SP2-1503: Unable to initialize Oracle call interface

SP2-0152: ORACLE may not be functioning properly

 

Now for the life of me I couldn't figure this out.  For <SID>adm user no environment settings were changed when I patched Oracle from 10.2.0.4 to 10.2.0.5 for prep to 12c and so I was confused as to why it stopped working.  The only thing I changed for ora<SID> user was to add /oracle/client/11x_64/instantclient to the LIBPATH environment variable to get it to work.  Otherwise you get the error I posted before as below.

 

brspace -p init<SID>.sap -s 20 -l E -u / -f dbshow -c dbstate

exec(): 0509-036 Cannot load program brspace because of the following errors:

rtld: 0712-001 Symbol modf was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol strcat was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol strcpy was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol strcmp was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol strncat was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol strncpy was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol fsav was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol fres was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol floor was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-001 Symbol ceil was referenced

      from module brspace(), but a runtime definition

      of the symbol was not found.

rtld: 0712-002 fatal error: exiting.

So this is a change to the way BR*Tools used to work it seems.

 

Now for the problem encountered.

 

With /oracle/client/11x_64/instantclient added to LIBPATH at the end you still get the above error.  Moving it before /oracle/<SID>/102_64/lib fixes it for user ora<SID>

However the side affect to this is that sqlplus now no longer functions and you get the error at the start of this thread!


Now what's strange is that if you unsetenv LIBPATH and replace it with LD_LIBRARY_PATH both programs work.  I know that with AIX 5.3 onwards they use LD_LIBRARY_PATH by default but will also use LIBPATH if set IBM Managing LIBPATH and LD_LIBRARY_PATH environment variables for LSF jobs on AIX5.3 - United States


However that's not how the .dbenv scripts are written, they explicitly set LIBPATH if it detects AIX.


Also strange is that I can't run sqlplus any more as the user <SID>adm without again changing LIBPATH and adding in /oracle/<SID>/102_64/lib which again isn't part of the logon scripts.


So do I replace LIBPATH in those logon scripts with LD_LIBRARY_PATH or what?  What's the consequence of doing that?


Thanks

Craig


Viewing all articles
Browse latest Browse all 2129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>