linux安装oracle-创新互联
注意事项:
成都地区优秀IDC服务器托管提供商(成都创新互联公司).为客户提供专业的成都服务器托管,四川各地服务器托管,成都服务器托管、多线服务器托管.托管咨询专线:028-86922220hostname 一定要保持一致
不然还有各种报错:
例如:
[oracle@C1 j2ee]$ emctl start dbconsole The following exception occurred: java.net.UnknownHostException: C1.zongxuan.onlien: C1.zongxuan.onlien at java.net.InetAddress.getLocalHost(InetAddress.java:1346) at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getLocalHost(AgentTargetInstaller.java:4282) at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.printLocalHost(AgentTargetInstaller.java:4252) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at oracle.sysman.emd.targetIntg.Util$DefaultIntegrationMethod.execute(Util.java:598) at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:167) at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:155) at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2364) at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3290) Although there was an exception it might be possible for the program to continue. OC4J Configuration issue. /usr/oracle/app/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_null_zx not found.这个就是hostname 设置的问题
下面的这个问题是没有设定好 环境变量
export ORACLE_UNQNAME=sid(oracle的sid)[oracle@C1 ~]$ emctl start dbconsole The following exception occurred: java.net.UnknownHostException: C1.zongxuan.onlien: C1.zongxuan.onlien at java.net.InetAddress.getLocalHost(InetAddress.java:1346) at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getLocalHost(AgentTargetInstaller.java:4282) at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.printLocalHost(AgentTargetInstaller.java:4252) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at oracle.sysman.emd.targetIntg.Util$DefaultIntegrationMethod.execute(Util.java:598) at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:167) at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:155) at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2364) at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3290) Although there was an exception it might be possible for the program to continue. Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
文章题目:linux安装oracle-创新互联
标题URL:http://ybzwz.com/article/dpigdj.html