求助---双机碰到的怪问题

求助于各位: 我用两台PC SERVER连一台EDI 的 磁盘阵列,装的REDHAT AS3 U4操作系统和 RHEL3-RHCS集群软件.在阵列上装ORACLE,在两台服务器上装TOMCAT应用,两台服务器上配置相同.


单加入ORACLE包后,双机可以切换,当加入TOMCAT应用的包后,无论是否有ORACLE的
包加在集群软件中,当启动双机软件时,LINUX  都会自动重启,从而双机软件启动失败.


TOMCAT应用装在/usr/ismg目录下,/usr是/dev/hda5设备的挂载点.


集群软件配置TOMCAT包时,设备是/dev/hda5  挂载点是/usr  文件系统是ext3  ip 地址是
192.168.189.127  255.255.255.0  192.168.189.255


脚本文件是/usr/ismg/support/tomcat5028/bin/tomcat5028.sh
#!/bin/sh
#
#Cluster service script to start stop and check status of tomcat
#
cd /usr/ismg/support/tomcat5028/bin
case $1 in
start)
     su - ismg -c /usr/ismg/support/tomcat5028/bin/startup.sh
     ;;
stop)
     su - ismg -c /usr/ismg/support/tomcat5028/bin/shutdown.sh
     ;;
esac




启动脚本是/usr/ismg/support/tomcat5028/bin/startup.sh
#!/bin/sh
# -----------------------------------------------------------------------------
# Start Script for the CATALINA Server
#
# $Id: startup.sh,v 1.3 2002/08/04 18:19:43 patrickl Exp $
# -----------------------------------------------------------------------------

# resolve links - $0 may be a softlink
PRG="$0"

while [ -h "$PRG" ] ; do
  ls=`ls -ld "$PRG"`
  link=`expr "$ls" : '.*-> \(.*\)$'`
  if expr "$link" : '.*/.*' > /dev/null; then
    PRG="$link"
  else
    PRG=`dirname "$PRG"`/"$link"
  fi
done

PRGDIR=`dirname "$PRG"`
EXECUTABLE=catalina.sh

# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
  echo "Cannot find $PRGDIR/$EXECUTABLE"
  echo "This file is needed to run this program"
  exit 1
fi

exec "$PRGDIR"/"$EXECUTABLE" start "$@"



日志信息是