Home > Cannot Load > Cannot Load Module Libdb2.a

Cannot Load Module Libdb2.a

The TSM server did not start when I gave ./dsmserv command because the server's database ID file (dsmserv.dbid) could not be found. Symptom Errors such as the following are encountered; $NCHOME/precision/platform/aix5/lib/libNcpDbDb2.so: 0509-022 Cannot load module $NCHOME/precision/platform/aix5/lib/libNcpDbDb2.so. 0509-150 Dependent module libdb2.a(shr.o) could not be loaded. 0509-022 Cannot load module libdb2.a(shr.o). 0509-026 System error: A For example: ./dsmserv -S Run the above command even if there is dsmserv.dbid file to create and replace the old file. I have to install and uninstall TSM V6.3 on AIX 7 many times (atlesast 10 times) on the same machine to demonstrate in our training lab, I have seen many issues have a peek at this web-site

There is also the chance that shr.o is not the same bitsize. Nov 12 '05 #2 This discussion thread is closed Start new discussion Replies have been disabled for this discussion. When I include the right ibm_db2.so files in php.ini and restart apache following this, it would not load the modules. Yet, when the executable is called, the following error popped up: exec(): 0509-036 Cannot load program /my/path/my_c_exe because of the following errors: 0509-150 Dependent module libdb2.a(shr.o) could not be loaded. 0509-022 http://www-01.ibm.com/support/docview.wss?uid=swg21444500

Could not load module libdb2.a(shr.o). United States English English IBM® Site map IBM IBM Support Check here to start a new keyword search. System error: No such file or directory I can work around it by first running a script which invokes db2profile and sets up a load of path and exports and then SQL1032N No start database manager command was issued.

By convention .a is the suffix for shared libraries, which can contain shared and static objects, both having the suffix .o. SQLSTATE=57019 I got this error when I am installing for the first time on AIX 7, the error was that the DB2 license was not activated or db2iupdt failed. All product names are trademarks of their respective companies. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers

Forgot your password? Post your question and get tips & solutions from a community of 418,770 IT Pros & Developers. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed http://www-01.ibm.com/support/docview.wss?uid=swg21684672 Alternately, check that sqllib/lib and sqllib/bin are linked to the correct product location.

Either use a user-specific crontab or switch to a user with less privileges. My environment is as follows: Operating System: IBM AIX 5.3 MR 2 64bit DB2: 8.2 Fix Pack 2 All instances created as 64bit instances. Once done, a long listing of the /usr/lib should look like this, assuming libdb2.a reside in /home/db2inst1/sqllib/lib64/ [email protected] /usr/lib >ls -l |grep -i libdb2 lrwxrwxrwx 1 root system Total distance traveled when visiting all rational numbers What is with the speech audience?

An example for a DB2 library in 32-bit library path: $ ar -x /usr/opt/db2_08_FP10/lib/libdb2osse.a $ file shr.o shr.o: executable (RISC System/6000) or object module not stripped An example for a DB2 http://stackoverflow.com/questions/25509673/could-not-load-module-libdb2-ashr-o If no dsmserv.dbid file exists, restart the server with the -S option to create a new database ID file. Why are password boxes always blanked out when other sensitive data isn't? An example for a DB2 command in 32-bit instance: $ file ~/sqllib/bin/db2level /home/db2inst1/sqllib/bin/db2level: executable (RISC System/6000) or object module not stripped An example for a DB2 command in 64-bit instance: $

You probably don't want to run things as root. Check This Out libdb2.a; module Technote (troubleshooting) Problem(Abstract) 0509-022 Cannot load module errors are received when starting ITNM as a non root user. Forum New Posts Today's Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links View Site Leaders dBforums Database Server Software DB2 Could not load module libdb2.a(shr.o) If this is your Then the .profile execution completes, the shell is terminated and then your script comes in.

The db can reside anywhere but is normally on it's own machine. I have to make the machine down for 2 days to use the memory for other AIX server. Product catalog Compare elements iteratively How to decline a postdoc interview if there is some possible future collaboration? Source my crontab entry is Code: 00 * * * * /home/xresp/.profile ; /home/xresp/script/loader1.ksh loader1.ksh calls another script which then calls a program which loads data to tables .profile has in it:

Here are the variable names for the following platforms: On the AIX platform: LIBPATH On the HP-UX platform: SHLIB_PATH (32-bit and 64-bit) or LD_LIBRARY_PATH (64-bit) On the Linux and Solaris platforms: In the end I had to have my kludge of a calling b. Check the Storage Area Networks (SAN) basic &am...

How to configure Tivoli Storage Manager (TSM) Server Instance using configuration wizard dsmicfgx on AIX After you have installed Tivoli Storage Manager Version 6.3 or later and prepared for the configuration,

NOTE: The default instance owner's home directory is /home/tsminst1 Resolving the problem To resolve this problem: 1) Run dsmserv loadformat from the instance owner's home directory. c db2 aix share|improve this question edited Aug 26 '14 at 15:43 asked Aug 26 '14 at 15:30 Qiang Xu 93151932 add a comment| 1 Answer 1 active oldest votes up Why does the Minus World exist? Connecting Abinitio to Oracle Error Remotely Executing 'm_db' On Node 'Sreenu' Update table Communication with diff O/S Error while running abinitio plan How to connect MS SQL to Ab Initio Oracle

Ballpark salary equivalent today of "healthcare benefits" in the US? If the command returns license as "Expired", for example: Product name: "DB2 Enterprise Server Edition" Expiry date: "Expired" Product identifier: "db2ese" Version information: "9.5" then proceed with the following steps: $ Not the answer you're looking for? http://dekovsoft.com/cannot-load/cannot-load-module-libjox10-a.html The following is an example using the db2level command. $ db2level Could not load program db2level: Dependent module /home/db2inst1/sqllib/lib/libdb2osse.a(shr.o) could not be loaded.

For example /home/tsminst1 2) Specify the absolute path when running dsmserv loadformat. It should work properly now and you should be able to configure TSM Instance. If LIBPATH is set, then the components in LIBPATH are used. But this may be a diffrent host from the actual DB server (which may not have Co>Op installed in it).

Later, it is found that I should add the following env setting in the file .profile in my home directory: LIBPATH=/db2/v84bc/sqllib/lib64 export LIBPATH Yes, the issue is resolved.