由于数据库服务器磁盘损坏进行了数据库准备恢复,对EM打了补丁,查看EM状态已经正常启动,但是访问
http://IP:1158/em/console 报错:
503 Service Unavailable
Service is not initialized correctly. The Em Key is not configured properly. Run "emctl status emkey" for more details.
解决方法:
1、按提示执行命令
$emctl status emkey
提示输入数据库密码(SYS用户密码)
2、按提示执行命令
$emctl config emkey -repos
提示输入数据库密码(SYS用户密码)
最后提示EM Key已经配置成功。
再次访问WEB Enterprise Manager页面成功打开。