<2012-3-2 下午05时08分34秒 CST>
<2012-3-2 下午05时08分44秒 CST>
解决办法
一.删掉Domain下的*.lok文件
1. 删除edit.lok
进入到domain_home下:
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain
将edit.lok文件删掉
rm edit.lok
2.删除config.lok
进入到domain_home/config下:
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain/config/
将config.lok文件删掉
rm config.lok
3.删除AdminServer.lok
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain/servers/AdminServer/tmp
rm AdminServer.lok
4.删除EmbeddedLDAP.lok
/u01/Oracle/Middleware/user_projects/domains/idm_domain/servers/AdminServer/data/ldap/ldapfiles
rm EmbeddedLDAP.lok
二.删掉Domain下的*.DAT文件:
进入到domain_home当中
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain
找到文件被删掉
[oracle@idm idm_domain]$ find servers/ -name "*.DAT"
servers/AdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT
servers/AdminServer/data/store/default/_WLS_ADMINSERVER000000.DAT
*********************************************************解决示例*****************************************************************
weblogic域地址:
/root/weblogic11/middleware/user_projects/domains/xoa
find -name "*.lok" //查找域下所有.lok文件
find -name "*.DAT" //查找域下所有.DAT文件
下面是查出的结果:(对照地址删除相应的文件)
/config/config.lok
/servers/AdminServer/data/ldap/ldapfiles/EmbeddedLDAP.lok
/servers/AdminServer/tmp/AdminServer.lok
/servers/AdminServer/data/store/default/_WLS_ADMINSERVER000000.DAT
/servers/AdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT
*********************************************************解决示例*****************************************************************
weblogic启动和关闭进程脚本:
启动脚本:(weblogic_startup.startup)
# Get the aliases and functions
# User specific environment and startup programs
export LANG=zh_CN.GB2312
dd=`date +%Y%m%d`
nohup sh ./startWebLogic.sh 2>&1 > nohup.out.${dd} &
tail -f ./nohup.out.${dd}
关闭脚本:(weblogic_stopup.stopup)
# Get the aliases and functions
# User specific environment and startup programs
#export LANG=zh_CN.GB2312
#dk=`8888`
#nohup sh ./startWebLogic.sh 2>&1 > nohup.out.${dd} &
#tail -f ./nohup.out.${dd}
lsof -i:80 | cut -c 8-13 | xargs kill -9
lsof -i:80 | cut -c 8-13 | xargs kill -9