If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Install DB2 9.5 on Mac OS X but db2ilist problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-08-12, 15:54
rockycj rockycj is offline
Registered User
 
Join Date: Feb 2007
Posts: 73
Install DB2 9.5 on Mac OS X but db2ilist problem

I have installed DB2 9.5 on a Mac OS X and can connect to a database that I created etc...but when I run "db2ilist" it gives me this error:

MacBook-Pro:~ db2inst1$ db2ilist
File db2idefs not found

Then I ran db2 get instance and got this, which is correct:

MacBook-Pro:~ db2inst1$ db2 get instance
The current database manager instance is: db2inst1

I noticed that the "db2ilist" file at both /opt/IBM/db2/V9.5_01/bin/ and /Usrs/db2inst1/sqllib/bin/ are empty. I have no clue how to fix this. Could someone help me out? I really appreciate it.

Thank you.

CC
Reply With Quote
  #2 (permalink)  
Old 02-08-12, 16:27
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
If the installation file is empty, I suspect it could be an installation problem. Try reinstalling/repairing db2.

Actually they are not two separate files. The file in sqllib/bin is a shortcut to the installation path.

If db2ilist is empty, not sure how/why it complains about db2idefs. Is the environment [ path, lib etc ] set properly?



Quote:
Originally Posted by rockycj View Post
I have installed DB2 9.5 on a Mac OS X and can connect to a database that I created etc...but when I run "db2ilist" it gives me this error:

MacBook-Pro:~ db2inst1$ db2ilist
File db2idefs not found

Then I ran db2 get instance and got this, which is correct:

MacBook-Pro:~ db2inst1$ db2 get instance
The current database manager instance is: db2inst1

I noticed that the "db2ilist" file at both /opt/IBM/db2/V9.5_01/bin/ and /Usrs/db2inst1/sqllib/bin/ are empty. I have no clue how to fix this. Could someone help me out? I really appreciate it.

Thank you.

CC
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On