By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,924 Members | 1,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,924 IT Pros & Developers. It's quick & easy.

db2fs failed to start

P: n/a
Hi,

I am unable to start the 'db2fs' after successful installation of Db2
Express-C software on `fedora Core 5`. Before that I installed Java
JRE from Sun in "/usr/java/jre1.5.0_11/". I also issued below commands
as instance owner...

db2 UPDATE DBM CFG USING JDK_PATH /usr/java/jre1.5.0_11/
db2 UPDATE ADMIN CFG USING JDK_PATH /usr/java/jre1.5.0_11/

Still having the problem.. please find the below errors...

""""""""""""""

sh: /usr/java/jre1.5.0_11//jre/bin/java: No such file or directory
DB2JAVIT : RC = 127

""""""""""""""

I tried to find information on here and there, but nothing really
helped. below is the current environment:

DB2INSTANCE=db2inst1
HOSTNAME=oraclegrid1
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
OLDPWD=/home/db2inst1
USER=db2inst1
LD_LIBRARY_PATH=/home/db2inst1/sqllib/lib32
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:s o=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi= 01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com =00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00 ;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;3 1:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz =00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00; 31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
JAVA_PATH=/usr/java/jre1.5.0_11/
MAIL=/var/spool/mail/db2inst1
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/db2inst1/
sqllib/bin:/home/db2inst1/sqllib/adm:/home/db2inst1/sqllib/misc:/home/
db2inst1/bin:/usr/java/jre1.5.0_11/
INPUTRC=/etc/inputrc
PWD=/home/db2inst1
JAVA_HOME=/usr/java/jre1.5.0_11/
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/db2inst1
LOGNAME=db2inst1
CVS_RSH=ssh
CLASSPATH=/home/db2inst1/sqllib/java/db2java.zip:/home/db2inst1/sqllib/
java/db2jcc.jar:/home/db2inst1/sqllib/java/sqlj.zip:/home/db2inst1/
sqllib/function:/home/db2inst1/sqllib/java/db2jcc_license_cu.jar:.
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=localhost:12.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/db2inst1/.xauthFVWSBV
_=/bin/env
I appreciate your help !!

Madhu

Mar 27 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Madhu wrote:
Hi,

I am unable to start the 'db2fs' after successful installation of Db2
Express-C software on `fedora Core 5`. Before that I installed Java
JRE from Sun in "/usr/java/jre1.5.0_11/". I also issued below commands
as instance owner...

db2 UPDATE DBM CFG USING JDK_PATH /usr/java/jre1.5.0_11/
db2 UPDATE ADMIN CFG USING JDK_PATH /usr/java/jre1.5.0_11/

Still having the problem.. please find the below errors...

""""""""""""""

sh: /usr/java/jre1.5.0_11//jre/bin/java: No such file or directory
DB2JAVIT : RC = 127

""""""""""""""
Are you sure that /usr/java/jre1.5.0_11//jre/bin/java exists, and is
accessible to whichever user you're using to access it? e.g., if /usr/java
(or any other directory in that hierarchy) were marked "dr-x------", then
you would get that error message.
Mar 27 '07 #2

P: n/a
On Mar 27, 4:20 pm, Darin McBride
<dmcbr...@tower.to.org.no.spam.for.mewrote:
Madhu wrote:
Hi,
I am unable to start the 'db2fs' after successful installation of Db2
Express-C software on `fedora Core 5`. Before that I installed Java
JRE from Sun in "/usr/java/jre1.5.0_11/". I also issued below commands
as instance owner...
db2 UPDATE DBM CFG USING JDK_PATH /usr/java/jre1.5.0_11/
db2 UPDATE ADMIN CFG USING JDK_PATH /usr/java/jre1.5.0_11/
Still having the problem.. please find the below errors...
""""""""""""""
sh: /usr/java/jre1.5.0_11//jre/bin/java: No such file or directory
DB2JAVIT : RC = 127
""""""""""""""

Are you sure that /usr/java/jre1.5.0_11//jre/bin/java exists, and is
accessible to whichever user you're using to access it? e.g., if /usr/java
(or any other directory in that hierarchy) were marked "dr-x------", then
you would get that error message.- Hide quoted text -

- Show quoted text -
Darin,

There is no "jre" folder under "/usr/java/jre1.5.0_11" aand
permissions is not a problem as you see below.

[root@oraclegrid1 ~]# rpm -ivh jre-1_5_0_11-linux-i586.rpm
Preparing...
########################################### [100%]
1:jre
########################################### [100%]

[root@oraclegrid1 ~]# cd /usr/java/jre*
[root@oraclegrid1 jre1.5.0_11]# ls -rlt
total 132
-r--r--r-- 1 root root 969 Dec 15 07:01 Welcome.html
-r--r--r-- 1 root root 66673 Dec 15 07:01 THIRDPARTYLICENSEREADME.txt
-r--r--r-- 1 root root 13936 Dec 15 07:01 README
-r--r--r-- 1 root root 12285 Dec 15 07:01 LICENSE
-r--r--r-- 1 root root 2487 Dec 15 07:01 COPYRIGHT
-r--r--r-- 1 root root 969 Dec 15 07:01 CHANGES
drwxr-xr-x 2 root root 4096 Mar 29 10:06 javaws
drwxr-xr-x 2 root root 4096 Mar 29 10:06 bin
drwxr-xr-x 4 root root 4096 Mar 29 10:06 plugin
drwxr-xr-x 4 root root 4096 Mar 29 10:06 man
drwxr-xr-x 16 root root 4096 Mar 29 10:06 lib
[root@oraclegrid1 jre1.5.0_11]# cd ..
[root@oraclegrid1 java]# ls -rlt
total 4
drwxr-xr-x 7 root root 4096 Mar 29 10:06 jre1.5.0_11

Regards,
Madhu

Mar 29 '07 #3

P: n/a
On Mar 29, 10:16 am, "Madhu" <madhu.vajr...@gmail.comwrote:
On Mar 27, 4:20 pm, Darin McBride

<dmcbr...@tower.to.org.no.spam.for.mewrote:
Madhu wrote:
Hi,
I am unable to start the 'db2fs' after successful installation of Db2
Express-C software on `fedora Core 5`. Before that I installed Java
JRE from Sun in "/usr/java/jre1.5.0_11/". I also issued below commands
as instance owner...
db2 UPDATE DBM CFG USING JDK_PATH /usr/java/jre1.5.0_11/
db2 UPDATE ADMIN CFG USING JDK_PATH /usr/java/jre1.5.0_11/
Still having the problem.. please find the below errors...
""""""""""""""
sh: /usr/java/jre1.5.0_11//jre/bin/java: No such file or directory
DB2JAVIT : RC = 127
""""""""""""""
Are you sure that /usr/java/jre1.5.0_11//jre/bin/java exists, and is
accessible to whichever user you're using to access it? e.g., if /usr/java
(or any other directory in that hierarchy) were marked "dr-x------", then
you would get that error message.- Hide quoted text -
- Show quoted text -

Darin,

There is no "jre" folder under "/usr/java/jre1.5.0_11" aand
permissions is not a problem as you see below.

[root@oraclegrid1 ~]# rpm -ivh jre-1_5_0_11-linux-i586.rpm
Preparing...
########################################### [100%]
1:jre
########################################### [100%]

[root@oraclegrid1 ~]# cd /usr/java/jre*
[root@oraclegrid1 jre1.5.0_11]# ls -rlt
total 132
-r--r--r-- 1 root root 969 Dec 15 07:01 Welcome.html
-r--r--r-- 1 root root 66673 Dec 15 07:01 THIRDPARTYLICENSEREADME.txt
-r--r--r-- 1 root root 13936 Dec 15 07:01 README
-r--r--r-- 1 root root 12285 Dec 15 07:01 LICENSE
-r--r--r-- 1 root root 2487 Dec 15 07:01 COPYRIGHT
-r--r--r-- 1 root root 969 Dec 15 07:01 CHANGES
drwxr-xr-x 2 root root 4096 Mar 29 10:06 javaws
drwxr-xr-x 2 root root 4096 Mar 29 10:06 bin
drwxr-xr-x 4 root root 4096 Mar 29 10:06 plugin
drwxr-xr-x 4 root root 4096 Mar 29 10:06 man
drwxr-xr-x 16 root root 4096 Mar 29 10:06 lib
[root@oraclegrid1 jre1.5.0_11]# cd ..
[root@oraclegrid1 java]# ls -rlt
total 4
drwxr-xr-x 7 root root 4096 Mar 29 10:06 jre1.5.0_11

Regards,
Madhu- Hide quoted text -

- Show quoted text -
I just created another Sym-link under /usr/java/jre pointing to the
same folder...and now i am able to use "db2fs" and it is starting
firefox browser as desired. seem like its working now...

[root@oraclegrid1 jre]# pwd
/usr/java/jre
[root@oraclegrid1 jre]# ln -s /usr/java/jre jre
<<<<<<<<<<<<<<<<<<<<<<<< Sym-Link
[root@oraclegrid1 jre]# ls -rlt
total 132
-r--r--r-- 1 root root 969 Dec 15 07:01 Welcome.html
-r--r--r-- 1 root root 66673 Dec 15 07:01 THIRDPARTYLICENSEREADME.txt
-r--r--r-- 1 root root 13936 Dec 15 07:01 README
-r--r--r-- 1 root root 12285 Dec 15 07:01 LICENSE
-r--r--r-- 1 root root 2487 Dec 15 07:01 COPYRIGHT
-r--r--r-- 1 root root 969 Dec 15 07:01 CHANGES
drwxr-xr-x 2 root root 4096 Mar 29 10:06 javaws
drwxr-xr-x 2 root root 4096 Mar 29 10:06 bin
drwxr-xr-x 4 root root 4096 Mar 29 10:06 plugin
drwxr-xr-x 4 root root 4096 Mar 29 10:06 man
drwxr-xr-x 16 root root 4096 Mar 29 10:06 lib
lrwxrwxrwx 1 root root 13 Mar 29 10:25 jre -/usr/java/jre

Thanks
Madhu

Mar 29 '07 #4

P: n/a
Madhu wrote:
There is no "jre" folder under "/usr/java/jre1.5.0_11"
Then that would probably be labelled "a bug" - you should open a PMR with
IBM on that.
Mar 29 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.