Skip to content

ORACLE如何成功启动并连接? #6

@wilon

Description

@wilon

ORACLE

正确安装ORACLE -> 给IP添加正确监听 -> 给监听添加正确配置文件

管理连接:http://localhost:1158/em/
控制面板\系统和安全\管理工具\服务


Q:配置监听

Net Manager 配置IP
配置文件:$ORACLE_HOME\db_1\network\ADMIN对应上

Q:ORACLE_SID not defined

set oracle_sid=数据库名
1.确认oracle sid 和数据库实例的sid一致
2.确认tnsnames.ora已经配置了oracle sid 对应的连接信息。

Q:Oracle 状态暂挂 Status pending

$ORACLE_HOME\db_1\$HOSTNAME\sysman\config\emd.properties 其中的agentTZRegion缺省是GMT,改为你所在的时区即可,例如: agentTZRegion=Asia/Shanghai
再cmd执行

emctl stop dbconsole  
emctl resetTZ agent 
emctl config agent getTZ
emctl start dbconsole

改完后别忘了ORACLE服务重启

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions