安装 Oracle 10.2.0.1 grid control在Configuration Assistants(配置检测)时Web Cache Configuration Assistant检查失败,提示
安装 Oracle 10.2.0.1 grid control在Configuration Assistants(配置检测)时Web Cache Configuration Assistant检查失败,提示OUI-25031错误,解决方法如下:
报错如下:
由此可以判断我们默认的web站点 http server是否出问题了,输入命令./opmnctl status查看如下:
Processes in Instance: EnterpriseManager0.xupeng.localdomain
-------------------+--------------------+---------+---------
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 | 18846 | Alive
WebCache | WebCache | 18857 | Alive
WebCache | WebCacheAdmin | 18848 | Alive
http_server没有启动,正常是在安装gc时我们会运行一个./opmnctl start的命令把这几个关键的服务给启动起来,在这里我们没有看到,问题可以从此开始分析,感觉找到了问题所在了,激动一下。
接下来我们查看一下http_server的日志,在/u01/app/oracle/OracleHomes/oms10g/opmn/logs/HTTP_Server~1
果然出现错误:/u01/app/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 这个报错就是Apache没有找到本地OS上的 libdb.so.2的库文件,我们给他生成一个,选择一个库文件即可 命令:ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2 生成软链接,,ok!
回到安装界面,点retry后检测通过,激动。。。。
http_server服务Alive状态
./opmnctl status
Processes in Instance: EnterpriseManager0.xupeng.localdomain
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 7129 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 7130 | Alive
OC4J | OC4J_EMPROV | 7131 | Alive
OC4J | OC4J_EM | 7133 | Alive
WebCache | WebCache | 25662 | Alive
WebCache | WebCacheAdmin | 7134 | Alive
--end--