This is a discussion on problem for db2cc : db2javit not found within the DB2 forums, part of the Database Server Software category; --> Hi, i have a pb of configuer db2 express-C with ubuntu6.10 version desktop. In fact, i had installed db2 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, i have a pb of configuer db2 express-C with ubuntu6.10 version desktop. In fact, i had installed db2 9.1Express-C and i can't start the control center and everytime it shows: ./db2cc 27 : db2javit not found. but i had checked that there is the file db2javit, so i can't understand why. In addtion, i also check the variable JDK_PATH, and it points to the path of SDK ibm. somebody can help me? regards |
| |||
| xiaoning.sunx@gmail.com wrote: > Hi, > i have a pb of configuer db2 express-C with ubuntu6.10 version > desktop. In fact, i had installed db2 9.1Express-C and i can't start > the control center and everytime it shows: ./db2cc 27 : db2javit not > found. but i had checked that there is the file db2javit, so i can't > understand why. In addtion, i also check the variable JDK_PATH, and it > points to the path of SDK ibm. Is "db2javit" in the PATH of your DB2 instance? I believe Ubuntu is not an officially supported distribution. Hence the question: what exactly have you done during install up to the point where you create and start the DB2 instance? -- Knut Stolze DB2 z/OS Utilities Development IBM Germany |
| |||
| xiaoning.sunx@gmail.com wrote: > Hi, > i have a pb of configuer db2 express-C with ubuntu6.10 version > desktop. In fact, i had installed db2 9.1Express-C and i can't start > the control center and everytime it shows: ./db2cc 27 : db2javit not > found. but i had checked that there is the file db2javit, so i can't > understand why. In addtion, i also check the variable JDK_PATH, and it > points to the path of SDK ibm. > somebody can help me? > regards You shouldn't need the "./" prefix on db2cc - that tells me you don't have the environment set up properly. Did you create an instance? Log in as that instance owner and run db2cc. Or, if the instance is "db2inst1" (the default), just run ". ~db2inst1/sqllib/db2profile" and then "db2cc" (no leading "./") should work fine. |
| |||
| at first thanks for your reponse i have chosen ubuntu for the test because this is a free version , and i knew that it is not a version recommanded. But all of these versions in the list IBM are not free and they are the versions for entreprise. I have not choice. In addtion, i can create user and start DB2. And i log in db2inst1, i can use the commands to do the requests of sample, for ex, select * from employee. But i hope to use control center. in fact, the intallation is done automatic by db2setup, i log in with db2inst1, use db2admin start, and error for db2cc thanks for another time Knut Stolze wrote: > xiaoning.sunx@gmail.com wrote: > > > Hi, > > i have a pb of configuer db2 express-C with ubuntu6.10 version > > desktop. In fact, i had installed db2 9.1Express-C and i can't start > > the control center and everytime it shows: ./db2cc 27 : db2javit not > > found. but i had checked that there is the file db2javit, so i can't > > understand why. In addtion, i also check the variable JDK_PATH, and it > > points to the path of SDK ibm. > > Is "db2javit" in the PATH of your DB2 instance? > > I believe Ubuntu is not an officially supported distribution. Hence the > question: what exactly have you done during install up to the point where > you create and start the DB2 instance? > > -- > Knut Stolze > DB2 z/OS Utilities Development > IBM Germany |
| |||
| xiaoning.sunx@gmail.com wrote: > at first thanks for your reponse > i have chosen ubuntu for the test because this is a free version , and > i knew that it is not a version recommanded. But all of these versions > in the list IBM are not free and they are the versions for entreprise. What makes you think that? For example, you can download SLES here: http://download.novell.com/Download?...d=ABUnQ9759c0~ > I have not choice. In addtion, i can create user and start DB2. And i > log in db2inst1, i can use the commands to do the requests of sample, > for ex, select * from employee. But i hope to use control center. > in fact, the intallation is done automatic by db2setup, i log in with > db2inst1, use db2admin start, and error for db2cc We are back to the original question: what exactly have you done during installation and what was the output produced by DB2? -- Knut Stolze DB2 z/OS Utilities Development IBM Germany |
| |||
| Knut Stolze wrote: > xiaoning.sunx@gmail.com wrote: > > > at first thanks for your reponse > > i have chosen ubuntu for the test because this is a free version , and > > i knew that it is not a version recommanded. But all of these versions > > in the list IBM are not free and they are the versions for entreprise. > > What makes you think that? For example, you can download SLES here: > http://download.novell.com/Download?...d=ABUnQ9759c0~ > > > I have not choice. In addtion, i can create user and start DB2. And i > > log in db2inst1, i can use the commands to do the requests of sample, > > for ex, select * from employee. But i hope to use control center. > > in fact, the intallation is done automatic by db2setup, i log in with > > db2inst1, use db2admin start, and error for db2cc > > We are back to the original question: what exactly have you done during > installation and what was the output produced by DB2? > after download and gzip, tar, i had used ./db2setup to lauch the procedure of installation, no problem. During this time, i had created the dasusr, db2inst,etc(using the value default). After this, in the path opt, there is package ibm/db2/V9.1. In this path, there are bin, admin, etc. Moreover, there are three repertories: dasusr1, db2inst1, db2fencl1. And i had logged in db2inst to start db2. that's all. thanks > -- > Knut Stolze > DB2 z/OS Utilities Development > IBM Germany |
| |||
| xiaoning.sunx@gmail.com wrote: > after download and gzip, tar, i had used ./db2setup to lauch the > procedure of installation, no problem. What exactly does the installation log show? > During this time, i had created > the dasusr, db2inst,etc(using the value default). After this, in the > path opt, there is package ibm/db2/V9.1. In this path, there are bin, > admin, etc. You mean that DB2 is installed in the path /opt/ibm/db2/V9.1? > Moreover, there are three repertories: dasusr1, db2inst1, > db2fencl1. Do you mean that you created 3 user accounts? Were they also created under /opt/ibm/db2/V9.1?!? > And i had logged in db2inst to start db2. Have you set up the profile for db2inst1? How exactly did you start DB2? p.s: If you don't provide the details, you won't get many answers. -- Knut Stolze DB2 z/OS Utilities Development IBM Germany |
| |||
| Knut Stolze wrote: > xiaoning.sunx@gmail.com wrote: > > > after download and gzip, tar, i had used ./db2setup to lauch the > > procedure of installation, no problem. > > What exactly does the installation log show? There were not problems with the procedure of installation. > > > During this time, i had created > > the dasusr, db2inst,etc(using the value default). After this, in the > > path opt, there is package ibm/db2/V9.1. In this path, there are bin, > > admin, etc. > > You mean that DB2 is installed in the path /opt/ibm/db2/V9.1? Yes > > > Moreover, there are three repertories: dasusr1, db2inst1, > > db2fencl1. > > Do you mean that you created 3 user accounts? Were they also created > under /opt/ibm/db2/V9.1?!? it has been created automaticaly with the setup and they are under /home/ > > > And i had logged in db2inst to start db2. > > Have you set up the profile for db2inst1? > How exactly did you start DB2? I have done: db2iupdt db2istrt with the db2inst1: ./db2admin start and I have created the base sample and I can see it on SQL: ./db2 but the probleme is: when I try to start ./db2cc with db2inst1 I got an error: db2javit not found Thank you in advance for your help. Bsrt rgrds > > p.s: If you don't provide the details, you won't get many answers. > > -- > Knut Stolze > DB2 z/OS Utilities Development > IBM Germany |
| |||
| xiaoning.s...@gmail.com wrote: > I have done: db2iupdt > db2istrt > with the db2inst1: ./db2admin start > and I have created the base sample > and I can see it on SQL: ./db2 > > but the probleme is: when I try to start ./db2cc with db2inst1 I got an > error: db2javit not found > > Thank you in advance for your help. > Bsrt rgrds Check the JDK_PATH of the admin server: db2 get admin cfg |
| ||||
| set JAVA_HOME swami On Jan 11, 7:17 pm, "Mark A" <m00...@yahoo.com> wrote: > xiaoning.s...@gmail.com wrote: > > I have done: db2iupdt > > db2istrt > > with the db2inst1: ./db2admin start > > and I have created the base sample > > and I can see it on SQL: ./db2 > > > but the probleme is: when I try to start ./db2cc with db2inst1 I got an > > error: db2javit not found > > > Thank you in advance for your help. > > Bsrt rgrdsCheck the JDK_PATH of the admin server: > > db2 get admin cfg |