某一天发现网站和后台都无法登陆,重启服务器后,ias后台能进入,但是发现ias后台的几个服务无法正常启动导致外网网站无法正常启动。
异常如下图:
再次选中以上的几个服务启动服务,发现home和CXSERVER无法启动错误提示为无法正常启动,已经超过重试限制,查看日志信息发现提示的error信息是关于servlet的信息。
远程进入unix服务器进行调试,发现以oracle的用户身份可以启动以上的服务,启动后一切正常。unix下的调试信息如下:
[cxias@cxwebserver app]$ cd OraHome_1/
[cxias@cxwebserver OraHome_1]$ ll
总用量 492
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 Apache
drwxr-x--- 4 cxias oinstall 4096 2008-11-14 assistants
drwxr-x--- 4 cxias oinstall 4096 2008-11-14 backup_restore
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 BC4J
drwxr-x--- 2 cxias oinstall 4096 6月 24 16:08 bin
drwxr-x--- 2 cxias oinstall 4096 2008-11-14 cfgtoollogs
drwxr-x--- 7 cxias oinstall 4096 2008-11-14 chgip
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 clone
drwxr-x--- 2 cxias oinstall 4096 2008-11-14 config
drwxr-x--- 7 cxias oinstall 4096 2008-11-14 dcm
drwxr-x--- 2 cxias oinstall 4096 2008-11-14 deconfig
drwxr-x--- 9 cxias oinstall 4096 2008-11-14 diagnostics
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 dsa
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 has
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 iaspt
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 install
-rw-r----- 1 cxias oinstall 37 2008-11-14 install.platform
drwxr-x--- 13 cxias oinstall 4096 2008-11-14 inventory
drwxr-x--- 5 cxias oinstall 4096 2009-12-09 j2ee
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 javacache
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 javavm
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 jdbc
drwxr-xr-x 9 cxias oinstall 4096 2008-11-14 jdk
drwxr-x--- 2 cxias oinstall 4096 2008-11-14 jlib
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 jre
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 jsp
drwxr-x--- 8 cxias oinstall 4096 2008-11-14 ldap
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 lib
drwxr-x--- 2 cxias oinstall 4096 2008-11-14 mesg
drwxr-x--- 11 cxias oinstall 4096 2008-11-14 network
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 nls
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 OPatch
drwxr-x--- 7 cxias oinstall 4096 2008-11-14 opmn
drwxr-x--- 4 cxias oinstall 4096 2008-11-14 oracore
-rw-r----- 1 cxias oinstall 55 2008-11-14 oraInst.loc
drwxr-x--- 4 cxias oinstall 4096 2008-11-14 ord
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 oui
drwxr-x--- 4 cxias oinstall 4096 2008-11-14 owm
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 perl
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 plsql
drwxr-x--- 4 cxias oinstall 4096 2008-11-14 portal
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 precomp
drwxr-x--- 9 cxias oinstall 4096 2008-11-14 rdbms
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 relnotes
-rwxr-x--- 1 cxias oinstall 7262 2008-11-14 root.sh
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 slax
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 soap
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 sqlj
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 sqlplus
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 srvm
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 sso
drwxr-x--- 3 cxias oinstall 4096 2008-11-14 syndication
drwxr-x--- 12 cxias oinstall 4096 2008-11-14 sysman
drwxr-x--- 7 cxias oinstall 4096 2008-11-14 uddi
drwxr-x--- 4 cxias oinstall 4096 2009-12-09 uix
drwxr-x--- 5 cxias oinstall 4096 2008-11-14 upgrade
drwxr-x--- 4 cxias oinstall 4096 2008-11-14 wcs
drwxr-x--- 16 cxias oinstall 4096 3月 18 14:20 webcache
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 webservices
drwxr-x--- 4 cxias oinstall 4096 2008-11-14 wireless
drwxr-x--- 6 cxias oinstall 4096 2008-11-14 xdk
[cxias@cxwebserver OraHome_1]$ cd opmn
[cxias@cxwebserver opmn]$ ll
总用量 40
drwxr-x--- 2 cxias oinstall 4096 2008-11-14 bin
drwxr-x--- 3 cxias oinstall 4096 6月 30 11:25 conf
drwxr-x--- 2 cxias oinstall 4096 2008-11-14 lib
drwxr-x--- 3 cxias oinstall 4096 6月 30 22:07 logs
drwxr-x--- 2 cxias oinstall 4096 2008-11-14 mesg
[cxias@cxwebserver opmn]$ cd bin
[cxias@cxwebserver bin]$ ll
总用量 1540
-rwx------ 1 cxias oinstall 26245 2004-12-20 argus
-rwx------ 1 cxias oinstall 1413616 2004-12-21 opmn
-rwx------ 1 cxias oinstall 17153 2004-12-20 opmnconfig
-rwx------ 1 cxias oinstall 23189 2008-11-14 opmnctl
-rwx------ 1 cxias oinstall 23136 2004-09-14 opmnctl.tmp
-rwx------ 1 cxias oinstall 30932 2004-12-20 opmndep
[cxias@cxwebserver bin]$ ./opmnctl status
Processes in Instance: cxweb.cxwebserver.cxwebdomain
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
LogLoader | logloaderd | N/A | Down
DSA | DSA | N/A | Down
dcm-daemon | dcm-daemon | 3123 | Alive
HTTP_Server | HTTP_Server | 12863 | Alive
OC4J | home | N/A | Down
OC4J | CXSERVER | N/A | Down
WebCache | WebCache | 12901 | Alive
WebCache | WebCacheAdmin | 12900 | Alive
[cxias@cxwebserver bin]$ ./opmnctl startproc process-type=home
opmnctl: starting opmn managed processes...
[cxias@cxwebserver bin]$ ./opmnctl startproc process-type=CXSERVER
opmnctl: starting opmn managed processes...
[cxias@cxwebserver bin]$ ./opmnctl status
Processes in Instance: cxweb.cxwebserver.cxwebdomain
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
LogLoader | logloaderd | N/A | Down
DSA | DSA | N/A | Down
dcm-daemon | dcm-daemon | 3123 | Alive
HTTP_Server | HTTP_Server | 12863 | Alive
OC4J | home | 4278 | Alive
OC4J | CXSERVER | 4344 | Alive
WebCache | WebCache | 12901 | Alive
WebCache | WebCacheAdmin | 12900 | Alive