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 > db2cc

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-09, 03:39
tomy tomy is offline
Registered User
 
Join Date: Mar 2009
Posts: 10
db2cc

hi,

i've installed db2 9.5 on ubuntu 8.10. After i've been through some step, finally i can start my db2. But , the problem here is, when i issued the command db2cc , seems like the control center doesn't appear at all, and the message is like this :


bash: db2cc: command not found

and also, when i issued the command db2set -all, only these thing will appear

[i] DB2PROCESSORS=0
[i] DB2COMM=tcpip
[g] DB2SYSTEM=f-desktop
[g] DB2INSTDEF=f

can anyone here help me ..
Reply With Quote
  #2 (permalink)  
Old 05-13-09, 07:08
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
on some platforms the gui tools are not available
a remote station (eg windows ) with db2 admin client is needed and on this db2cc catalog the remote db to maintain
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 05-13-09, 08:46
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Quote:
Originally Posted by przytula_guy
on some platforms the gui tools are not available
Oh? But on ubuntu it should work.
Are you logged on as "instance owner"? If not, try that please, it'll probable work.
As normal user, you must import the db2profiles in your bash shell. Do not know by heart, why don't you peek in the .bashrc of the instance owner.
...
O googled for you, read this DB2 Linux Installation Notes
The 1st few lines of "Part 3" (describing ".profile") is bugging you now.
Reply With Quote
  #4 (permalink)  
Old 05-13-09, 09:00
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
if db2set is executed, it means the path was found to this executable
try db2level
if db2cc is the only utility not found - means not available for this distribution
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #5 (permalink)  
Old 05-13-09, 09:01
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
according the doc
The Control Center component is only available on Linux® (x86 and AMD64/EM64T only)
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #6 (permalink)  
Old 05-14-09, 02:56
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Hello topicstarter,
Would you please open a terminal in your ubuntu desktop and type
Code:
uname -a
Code:
db2 connect to sample
and post the result here on this forum?
Reply With Quote
  #7 (permalink)  
Old 05-20-09, 22:52
tomy tomy is offline
Registered User
 
Join Date: Mar 2009
Posts: 10
continue

sory man, out of office , just come back,

uname -a:

Linux f47hul-desktop 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux

db2 connect to sample :

Database Connection Information

Database server = DB2/LINUX 9.5.2
SQL authorization ID = F47HUL
Local database alias = SAMPLE

i can connect , i can get dbm, db or whatever i want, i just cannot open the control center.
i also try to run the db2profile, but it didn't work.
Reply With Quote
  #8 (permalink)  
Old 05-21-09, 06:24
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
I also use DB2 on Ubuntu. You probably created user F47HUL using command in terminal. So by default Ubuntu does not uses Bourne shell that DB2 expects.

I suggest you to read "Applications" section of first post of the following URL: developerWorks : Information Management : IBM DB2 Express Forum : Ubuntu 6.10 and DB2 Express-C ... This info is for older version of Ubuntu and DB2, but should solve the problem.
Regards
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