emctl无法启动

安装完以后,emctl无法启动,试验了多种办法也未解决,最后才发现是hostname的问题。
这台机器的hostname和hosts名称不一样,导致出现怪异的问题。
修改/etc/hostname,/etc/hosts,使二者一致。
修改$ORACLE_HOME/sysman/config/emd.properties,修正其中和hostname相关的部分。
修正network/admin/*.ora文件,注意hostname和port。(我用了1521 port)
重建数据库:
emca -config dbcontrol db -repos recreate

This entry was posted in Oracle and tagged , , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string MyMAhS to the field below:

以新浪微博帐号登录