Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / March 2007

Tip: Looking for answers? Try searching our database.

db2fs failed to start

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Madhu - 27 Mar 2007 17:17 GMT
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:so=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;31:*.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;35:*.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
Darin McBride - 27 Mar 2007 22:20 GMT
> Hi,
>
[quoted text clipped - 14 lines]
>
> """"""""""""""

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.
Madhu - 29 Mar 2007 16:16 GMT
On Mar 27, 4:20 pm, Darin McBride
<dmcbr...@tower.to.org.no.spam.for.me> wrote:
> > Hi,
>
[quoted text clipped - 21 lines]
>
> - 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
Madhu - 29 Mar 2007 16:41 GMT
> On Mar 27, 4:20 pm, Darin McBride
>
[quoted text clipped - 59 lines]
>
> - 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
Darin McBride - 30 Mar 2007 00:20 GMT
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.