Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

cannot run db2imigr even if LIBPATH set

Question posted by: kw.housing (Guest) on July 22nd, 2008 03:48 PM
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.



Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Darin McBride's Avatar
Darin McBride
Guest
n/a Posts
July 22nd, 2008
05:35 PM
#2

Re: cannot run db2imigr even if LIBPATH set
kw.housing wrote:
Quote:
Originally Posted by
I have all the library already in path:

Quote:
Originally Posted by
$ 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.
Quote:
Originally Posted by
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.



 
Not the answer you were looking for? Post your question . . .
182,316 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors