I've always the same problem: The libobk.a link is well; LIBPATH and LD_LIBRARY_PATH include first the $ORACLE_HOME/lib directory. but the sbttest command give the following errors
[EMAIL PROTECTED]:/ > sbttest a -libname /usr/tivoli/tsm/client/oracle/bin64/libobk64.a /usr/tivoli/tsm/client/oracle/bin64/libobk64.a could not be loaded. Check that it is installed properly, and that LD_LIBRARY_PATH environment variable (or its equivalent on your platform) includes the directory where this file can be found. Here is some additional information on the cause of this error: 0509-022 Cannot load module /usr/tivoli/tsm/client/oracle/bin64/libobk64 .a. 0509-124 The program is a discontinued 64-bit object file. with a simple test file TOTO sbttest give [EMAIL PROTECTED]:/ > [EMAIL PROTECTED]:/ > sbttest TOTO -dbname pcard The sbt function pointers are loaded from libobk.a(shr.o) library. Return code -1 from sbtinit, bsercoer = 7011, bsercerrno = 2507 sbtopen: System error - eg. malloc, fork errors do you have any idea ? thank you! youssef -----Message d'origine----- De : Steve S Lafrance [mailto:[EMAIL PROTECTED] Envoyé : vendredi 30 avril 2004 18:44 À : [EMAIL PROTECTED] Objet : Re: problem with tdp oracle 5.2 with oracle RMAN 9.2.0.4 Importance : Faible Hi Youssef ! 1) I know that 9i is only available is 64 bit. Did we install the TSM API 64 bit version ? TDP for Oracle 64 bit version ? After installing the 64-bit version, you should have .../client/oracle/bin64 and .../client/api/bin64 directories. You can also verify with : lslpp -l | grep tivoli . 2) Search for all instances of libobk.a and libobk64.a. The only link should be: $ORACLE_HOME/lib/libobk.a -> /usr/tivoli/tsm/client/oracle/bin64/libobk64.a . 3) You can test sbbtest with : . sbttest a -libname /usr/tivoli/tsm/client/oracle/bin64/libobk64.a . 4) The error we received indicates there are problems getting the correct sbt library loaded. As i mentionned before, look on your system for all the files starting with libobk. "If attempting to load the TDP for Oracle libobk.X library file, do not use the SBT_LIBRARY parm as this has been seen to cause a failure for the library to load. Oracle 9i will load the media management libraries (libobk.X) dynamically when a channel is allocated with the a type of 'SBT_TAPE". Ensure that the libobk.a exists in the $ORACLE_HOME/lib directory and that the $ORACLE_HOME/lib directory is first in the LIBPATH (or LD_LIBRARY_PATH)." . 8) Please make sure you have the license file for the tdp..i've seen in the past the same error...and it was caused by the missing license file. Best Regards, Steve -------------------------------------------------- Steve Lafrance IBM Tivoli Storage Manager Level II Support - Tivoli Certified Consultant International Business Machines (514) 938-6422 FAX: (514)938-6366 Visit our new IBM Tivoli Storage Manager support page: http://www-3.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManag er.html AMHOUCHE Youssef <[EMAIL PROTECTED]>@VM.MARIST.EDU> on 2004-04-30 14:26:10 Please respond to "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: problem with tdp oracle 5.2 with oracle RMAN 9.2.0.4 Hi every one we have a problem when RMAN 9.2.0.4 invoke tdp oracle 5.2 for backup of database on TSM 5.1 server some idea about this ?(urgent)!!!!!! this the error message : RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of allocate command on t1 channel at 04/30/2004 17:01:51 ORA-19554: error allocating device, device type: SBT_TAPE, device name: ORA-27211: Failed to load Media Management Library Additional information: 2 thanks joseph ======================================================= Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. ======================================================= This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorized use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. =======================================================