Please turn on debug mode:set -xchown db2admin:db2grp1 /dev/rdb2* | tee -a /tmp/ha.logchmod 777 /dev/rdb2* | tee -a /tmp/ha.logchown db2admin:db2grp1 /dev/rtp*k | tee -a /tmp/ha.logchmod 777 /dev/rtp*k | tee -a /tmp/ha.logchown db2admin:db2grp1 /dev/...
显示全部Please turn on debug mode:
set -x
chown db2admin:db2grp1 /dev/rdb2* | tee -a /tmp/ha.log
chmod 777 /dev/rdb2* | tee -a /tmp/ha.log
chown db2admin:db2grp1 /dev/rtp*k | tee -a /tmp/ha.log
chmod 777 /dev/rtp*k | tee -a /tmp/ha.log
chown db2admin:db2grp1 /dev/rpsdata2 | tee -a /tmp/ha.log
chmod 777 /dev/rpsdata2 | tee -a /tmp/ha.log
su - db2admin -c 'db2start | tee -a /tmp/ha.log'
echo "dbstart completed" | tee -a /tmp/ha.log
. /home/db2inst1/sqllib/db2profile | tee -a /tmp/ha.log
su - root -c '/usr/WebSphere/DeploymentManager/bin/startManager.sh | tee -a /tmp/ha.log'
su - root -c '/usr/WebSphere/AppServer/bin/startNode.sh | tee -a /tmp/ha.log'
su - root -c '/usr/WebSphere/AppServer/bin/startServer.sh yw_server | tee -a /tmp/ha.log'
su - root -c '/usr/WebSphere/AppServer/bin/startServer.sh dc_server | tee -a /tmp/ha.log'
su - root -c '/usr/IBMHttpServer/bin/apachectl start | tee -a /tmp/ha.log'
su - mqm -c 'strmqm QM_FY | tee -a /tmp/ha.log'
su - mqm -c 'strmqcsv QM_FY | tee -a /tmp/ha.log '
su - mqm -c 'runmqlsr -t tcp -m QM_FY -p 1414 & | tee -a /tmp/ha.log'
sleep 50
/tsm/bin/dsmc_sched | tee -a /tmp/ha.log
Hopefully it helps.
收起