Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wilon opened this issue Mar 16, 2017 · 0 comments
Open

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

wilon opened this issue Mar 16, 2017 · 0 comments
Labels

Comments

@wilon
Copy link
Owner

wilon commented Mar 16, 2017

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服务重启

@wilon wilon added the oracle label Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant