d drwxr-x--- 7 oracle oinstall 4096 Aug 22 16:32 oui drwxr-x--- 4 oracle oinstall 4096 Aug 22 16:24 owm drwxr-x--- 6 oracle oinstall 4096 Aug 22 16:24 perl drwxr-x--- 7 oracle oinstall 4096 Aug 22 16:25 plsql drwxr-x--- 7 oracle oinstall 4096 Aug 22 16:24 precomp drwxr-x--- 7 oracle oinstall 4096 Aug 22 16:33 racg drwxr-x--- 13 oracle oinstall 4096 Aug 22 16:42 rdbms drwxr-x--- 4 oracle oinstall 4096 Aug 22 16:31 relnotes -rwxr-xr-x 1 oracle oinstall 9522 Aug 22 16:42 root.sh -rwxr-xr-x 1 oracle oinstall 0 Jun 7 2005 root.sh.old drwxr-x--- 3 oracle oinstall 4096 Aug 22 16:24 slax drwxr-x--- 3 oracle oinstall 4096 Aug 22 16:24 sqlj -rw-r----- 1 oracle oinstall 9338 Aug 25 11:42 sqlnet.log drwxr-x--- 9 oracle oinstall 4096 Aug 22 16:33 sqlplus drwxr-x--- 12 oracle oinstall 4096 Aug 22 16:33 srvm drwxr-x--- 12 oracle oinstall 4096 Aug 22 16:33 sysman drwxr-x--- 4 oracle oinstall 4096 Aug 22 16:24 uix drwxr-x--- 3 oracle oinstall 4096 Aug 22 16:24 wwg drwxr-x--- 6 oracle oinstall 4096 Aug 22 16:30 xdk drwxr----- 3 oracle oinstall 4096 Aug 25 11:25 zlm_ora10g
这次是找不到zlm_ora10g目录,同样的,也mv为bak_ora10g
[oracle@bak db_1]$ mv zlm_ora10g bak_ora10g [oracle@bak db_1]$ emctl status dbconsole TZ set to PRC Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. http://zlm:1158/em/console/aboutApplication Oracle Enterprise Manager 10g is not running. ------------------------------------------------------------------ Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/bak_ora10g/sysman/log [oracle@bak j2ee]$ emctl start dbconsole
TZ set to PRC Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. http://zlm:1158/em/console/aboutApplication Starting Oracle Enterprise Manager 10g Database Control .................................. started. ------------------------------------------------------------------ Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/bak_ora10g/sysman/log
无法启动,看到url里的信息是原主机zlm,分析一下提示的错误日志
[oracle@bak j2ee]$ cd /u01/app/oracle/product/10.2.0/db_1/bak_ora10g/sysman/log
[oracle@bak log]$ ll total 1656 -rw-r----- 1 oracle oinstall 180 Aug 25 11:28 emagentfetchlet.log -rw-r----- 1 oracle oinstall 180 Aug 25 11:28 emagentfetchlet.trc -rw-r----- 1 oracle oinstall 500 Oct 20 11:06 emagent.log -rw-r----- 1 oracle oinstall 42010 Oct 20 11:14 emagent.trc -rw-r----- 1 oracle oinstall 9816 Oct 20 11:05 emdb.nohup -rw-r----- 1 oracle oinstall 4096 Oct 20 11:05 emdb.nohup.lr -rw-r----- 1 oracle oinstall 0 Aug 25 11:25 emdctl.log -rw-r----- 1 oracle oinstall 7330 Oct 20 11:14 emdctl.trc -rw-r----- 1 oracle oinstall 802261 Aug 25 11:45 emoms.log -rw-r----- 1 oracle oinstall 802261 Aug 25 11:45 emoms.trc [oracle@bak log]$ cat emoms.log
2014-08-25 11:26:23,952 [Orion Launcher] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying 2014-08-25 11:26:23,991 [Orion Launcher] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111) at oracle.jdbc.driver.DatabaseError.throwSqlException(Dat |