473,386 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

cannot run db2imigr even if LIBPATH set

I have all the library already in path:

$ ls -l /opt/IBM/db2/lib64 | grep libdb2o
-r-xr-xr-x 1 bin bin 7757295 Jul 12 2006 libdb2osse.a*
-r--r--r-- 1 bin bin 227313 Jul 12 2006 libdb2osse_db2.a

$ env | grep LIBPATH
LIBPATH=/opt/IBM/db2/lib64:/home/perfpol2/sqllib/lib64:/usr/lib:/lib

However, when I call db2imigr, I still get the following error, what can be
the cause of the problem? thanks.

$db2imigr
exec(): 0509-036 Cannot load program /opt/IBM/db2/bin/db2greg because of the
following errors:
0509-150 Dependent module /(/libdb2osse.a) could not be loaded.
0509-022 Cannot load module /(/libdb2osse.a).
0509-026 System error: A file or path name is too long.
exec(): 0509-036 Cannot load program /opt/IBM/db2/bin/db2greg because of the
following errors:
0509-150 Dependent module /(/libdb2osse.a) could not be loaded.
0509-022 Cannot load module /(/libdb2osse.a).
0509-026 System error: A file or path name is too long.
exec(): 0509-036 Cannot load program /opt/IBM/db2/bin/db2langdir because of
the following errors:
0509-150 Dependent module /(/libdb2locale.a) could not be loaded.
0509-022 Cannot load module /(/libdb2locale.a).
0509-026 System error: A file or path name is too long.
exec(): 0509-036 Cannot load program /opt/IBM/db2/bin/db2langdir because of
the following errors:
0509-150 Dependent module /(/libdb2locale.a) could not be loaded.
0509-022 Cannot load module /(/libdb2locale.a).
0509-026 System error: A file or path name is too long.
DBI1055E The message file db2install.cat cannot be found.

Jul 22 '08 #1
1 4660
kw.housing wrote:
I have all the library already in path:
$ ls -l /opt/IBM/db2/lib64 | grep libdb2o
-r-xr-xr-x 1 bin bin 7757295 Jul 12 2006 libdb2osse.a*
-r--r--r-- 1 bin bin 227313 Jul 12 2006 libdb2osse_db2.a

$ env | grep LIBPATH
LIBPATH=/opt/IBM/db2/lib64:/home/perfpol2/sqllib/lib64:/usr/lib:/lib

However, when I call db2imigr, I still get the following error, what can
be
the cause of the problem? thanks.

$db2imigr
You should be calling db2imigr as root, not as the instance owner. I'm not
even sure how you're calling db2imigr at all - it shouldn't be in your
PATH.
exec(): 0509-036 Cannot load program /opt/IBM/db2/bin/db2greg because of
the following errors:
0509-150 Dependent module /(/libdb2osse.a) could not be loaded.
0509-022 Cannot load module /(/libdb2osse.a).
0509-026 System error: A file or path name is too long.
exec(): 0509-036 Cannot load program /opt/IBM/db2/bin/db2greg because of
the following errors:
0509-150 Dependent module /(/libdb2osse.a) could not be loaded.
0509-022 Cannot load module /(/libdb2osse.a).
0509-026 System error: A file or path name is too long.
exec(): 0509-036 Cannot load program /opt/IBM/db2/bin/db2langdir because
of the following errors:
0509-150 Dependent module /(/libdb2locale.a) could not be
loaded. 0509-022 Cannot load module /(/libdb2locale.a).
0509-026 System error: A file or path name is too long.
exec(): 0509-036 Cannot load program /opt/IBM/db2/bin/db2langdir because
of the following errors:
0509-150 Dependent module /(/libdb2locale.a) could not be
loaded. 0509-022 Cannot load module /(/libdb2locale.a).
0509-026 System error: A file or path name is too long.
DBI1055E The message file db2install.cat cannot be found.
Jul 22 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bb | last post by:
Hello In my Session_OnStart in Global.asa, I am setting some cookies. One of them, I set as follows: dim UserID UserID = Request.ServerVariables("LOGON_USER") Response.Cookies("User")("ID")...
7
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm"...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
8
by: Dev | last post by:
Hello, Why an Abstract Base Class cannot be instantiated ? Does anybody know of the object construction internals ? What is the missing information that prevents the construction ? TIA....
1
by: Philip K | last post by:
I was trying to use an XML file to save some program settings. But cannot serialise the settings object if it contains a Font object (even though Font is maked in the MS documentation. Dies in...
0
by: Jean-Marc Blaise | last post by:
Dear all, I would like to signal an inconvenience with the db2imigr, if root's environment points to a DB2 instance (Aix). We did a /usr/opt/db2_08_01/db2ckmig .... worked ok saying db(s) can...
9
by: mac | last post by:
when a c program is compiled using 'gcc test.c' 'cannot create c executables is thrown' I cannot able to figure out the problem could anyone help me. Thanks.
4
by: ThunderMusic | last post by:
Hi, I have a custom form that works fine when I debug it or run it in release mode but cannot be loaded in the designer... Actually, it can be loaded in the designer when no control is on it, but...
1
by: Laszlo Nagy | last post by:
Hi All, I'm using a simple program that uploads a file on a remote ftp server. This is an example (not the whole program): def store(self,hostname,username,password,destdir,srcpath):...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.