GC安装中出现oracle gc pm state file does not exit opmndat
2014-10-20 09:15
316 查看
安装进度在96%左右时,会出现opmn启动错误。
查看日志:/oracle/OracleHomes/oms10g/opmn/logs
[oracle@grid logs]$ ls -lrt
total 12
drwx------ 2 oracle oinstall 4096 Jul 10 15:16 states
-rw-rw---- 1 oracle oinstall 0 Jul 10 15:16 opmn.log
-rw-rw---- 1 oracle oinstall 43 Jul 10 15:16 ons.log
-rw-rw---- 1 oracle oinstall 266 Jul 10 15:16 ipm.log
[oracle@grid logs]$ vi ipm.log
13/07/08 15:42:51 [4] Create pm state directory: /oracle/OracleHomes/oms10g/opmn/logs/states
13/07/08 15:42:51 [4] PM state file does not exist: /oracle/OracleHomes/oms10g/opmn/logs/states/.opmndat
13/07/08 15:42:51 [4] OPMN server ready. Request handling enabled.
手工创建 .opmndat 文件
[oracle@grid states]$ cd /oracle/OracleHomes/oms10g/opmn/logs/states
[oracle@grid states]$ touch .opmndat
[oracle@grid states]$ ls -la
total 8
drwx------ 2 oracle oinstall 4096 Jul 8 16:22 .
drwxr-xr-x 3 oracle oinstall 4096 Jul 8 16:13 ..
-rw-r--r-- 1 oracle oinstall 0 Jul 8 16:22 .opmndat
[oracle@grid opmn]$ cd bin
[oracle@grid bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.grid.oracle.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | N/A | Down
WebCache | WebCache | N/A | Down
WebCache | WebCacheAdmin | N/A | Down
[oracle@grid bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=grid.oracle.com:6200
3 of 4 processes started.
ias-instance id=EnterpriseManager0.grid.oracle.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=29638)
failed to start a managed process after the maximum retry limit
Log:
/oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
查看错误日志:
[oracle@grid bin]$ vi /oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
--------
13/07/10 15:19:20 Start process
--------
/oracle/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd
/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
--------
13/07/10 15:19:20 Start process
--------
/oracle/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd
/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
使用root用户创建连接:
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
再次执行startall操作:
[oracle@grid bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
查看进程的启动状态:
[oracle@grid bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.grid.oracle.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 29701 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 29631 | Alive
WebCache | WebCache | 29643 | Alive
WebCache | WebCacheAdmin | 29637 | Alive
点击继续按钮,而不是retry按钮。进行安装的完成。
来自:http://recyclebin.blog.51cto.com/805498/1246211
查看日志:/oracle/OracleHomes/oms10g/opmn/logs
[oracle@grid logs]$ ls -lrt
total 12
drwx------ 2 oracle oinstall 4096 Jul 10 15:16 states
-rw-rw---- 1 oracle oinstall 0 Jul 10 15:16 opmn.log
-rw-rw---- 1 oracle oinstall 43 Jul 10 15:16 ons.log
-rw-rw---- 1 oracle oinstall 266 Jul 10 15:16 ipm.log
[oracle@grid logs]$ vi ipm.log
13/07/08 15:42:51 [4] Create pm state directory: /oracle/OracleHomes/oms10g/opmn/logs/states
13/07/08 15:42:51 [4] PM state file does not exist: /oracle/OracleHomes/oms10g/opmn/logs/states/.opmndat
13/07/08 15:42:51 [4] OPMN server ready. Request handling enabled.
手工创建 .opmndat 文件
[oracle@grid states]$ cd /oracle/OracleHomes/oms10g/opmn/logs/states
[oracle@grid states]$ touch .opmndat
[oracle@grid states]$ ls -la
total 8
drwx------ 2 oracle oinstall 4096 Jul 8 16:22 .
drwxr-xr-x 3 oracle oinstall 4096 Jul 8 16:13 ..
-rw-r--r-- 1 oracle oinstall 0 Jul 8 16:22 .opmndat
[oracle@grid opmn]$ cd bin
[oracle@grid bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.grid.oracle.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | N/A | Down
WebCache | WebCache | N/A | Down
WebCache | WebCacheAdmin | N/A | Down
[oracle@grid bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=grid.oracle.com:6200
3 of 4 processes started.
ias-instance id=EnterpriseManager0.grid.oracle.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=29638)
failed to start a managed process after the maximum retry limit
Log:
/oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
查看错误日志:
[oracle@grid bin]$ vi /oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
--------
13/07/10 15:19:20 Start process
--------
/oracle/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd
/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
--------
13/07/10 15:19:20 Start process
--------
/oracle/OracleHomes/oms10g/Apache/Apache/bin/apachectl start: execing httpd
/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
使用root用户创建连接:
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
再次执行startall操作:
[oracle@grid bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
查看进程的启动状态:
[oracle@grid bin]$ ./opmnctl status
Processes in Instance: EnterpriseManager0.grid.oracle.com
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 29701 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 29631 | Alive
WebCache | WebCache | 29643 | Alive
WebCache | WebCacheAdmin | 29637 | Alive
点击继续按钮,而不是retry按钮。进行安装的完成。
来自:http://recyclebin.blog.51cto.com/805498/1246211
相关文章推荐
- 安装出现 /dev/root does not exits 导致无法安装的问题。
- linux下安装PHP的CI框架,出现Your view folder path does not appear to be set correctly. Please open the following file and correct this: i
- CentOS 7 安装出现 /dev/root does not exits 导致无法安装的问题
- oracle for linux安装报错 file /home/oracle/.Xauthority does not exist
- 安装CentOS 7出现 /dev/root does not exits 导致无法安装的问题
- JSP中出现According to TLD or attribute directive in tag file, attribute value does not accept any expre
- pid.txt CATALINA_PID was set but the specified file does not exit
- GC安装错误1:安装agent出现:Hostname is not FQDN
- win7用easybcd从硬盘安装ubuntu 11.10重启出现error 15 file not found错误
- (转)64bit上安装32位oracle 10 g出现错误:无法定位承诺工序输入点 getprocessimagifilenamew 于动态链接库PSAPI.DLL
- 安装MDK4.7后编译出现Warning: L6373W: libattrs.map file not found in System Library directory
- 使用JSTL tag时出现错误:According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exit
- ODP安装完后,Oracle连接工具出现错误(Could not locate OCI dll)
- 借鉴自“连接orcl时出现ERROR:ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist 的解决”
- linux安装时出现your cpu does not support long mode的解决方法
- 【不积跬步,无以致千里】安装roundcube 时出现 “DSN (write): NOT OK(SQLSTATE[HY000] [2002] No such file or directory)”
- Linux 安装*src.rpm的时候出现:warning: user mandrake does not exist - using root warning
- 安装VisualDSP++出现Install cannot proceed.Could not find XML file or the XML file may be corrupted!
- JSP中出现According to TLD or attribute directive in tag file, attribute value does not accept any expressions