如何启用EM-Grid/Cloud Control的HTTP而非HTTPS协议登陆
原创maclean_007 ©著作权
©著作权归作者所有:来自51CTO博客作者maclean_007的原创作品,请联系作者获取转载授权,否则将追究法律责任
默认EM Grid/Cloud Control的HTTPS协议登陆端口是7799,而HTTP协议的端口是7788,但是请注意默认不会启用HTTP协议登陆EM。准确地说Oracle更prefer 安全的HTTPS协议。
如果你使用HTTP登陆EM,如http://hostname:7788/em时可能遇到403错误(HTTP 403 Forbidden),这是由于默认不启用HTTP协议登陆EM。
该问题可以通过emctl secure unlock -console解锁console,并重启OMS来解决:
Enterprise Manager Grid Control - Version: 11.1.0.1 and later [Release: 11.1 and later ]
Information in this document applies to any platform.
Symptoms
Trying to access the 11g Grid Console using the URL: http://omsmachine.domain:7788/em resulted in the error:
The website declined to show this webpage
Using the https URL: https://omsmachine.domain:7799/em works fine.
Unlocked the Console access from Secure mode using:
cd <OMS_HOME>/bin
emctl secure unlock -console
The command completes successfully and the 'emctl status oms -details' command returns the output:
HTTP Console Port : 7788
HTTPS Console Port : 7799
HTTP Upload Port : 4889
HTTPS Upload Port : 4900
OMS is not configured with SLB or virtual hostname
Agent Upload is unlocked.
OMS Console is unlocked.
But, trying to accessing the 11g Grid Console using the HTTP Console port still fails.
Internet explorer returns:
'HTTP 403 Forbidden' message
and Mozilla Firefox returns:
Forbidden
You are not authorised to access this resource on the server.
Changes
Access to the 11g Grid Console in Secure mode has been unlocked.
Cause
The OMS has to be restarted after unlocking the Console access in secure mode. Without this, the Console will not be accessible using the http protocol.
Solution
- After executing:
cd <OMS_HOME>/bin
emctl secure unlock -console
- Stop and re-start the OMS:
cd <OMS_HOME>/bin
emctl stop oms
emctl start oms
- After the above, the 11g Grid Console will be accessible using the http protocol and port.
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
如何在Spring Boot中启用HTTPS?
Spring Boot中的HTTPS设置:一步步教程!
HTTPS HTTP SSL java springboot -
HTTP、HTTPS协议
简要介绍应用层的协议、状态码等
HTTP、HTTPS -
sqlserver启用登陆审计
客户端管理工具进入后:安全性—.
审计 管理工具 文件大小 客户端