oracle 问题整理

1.如何在win7下安装oracle

在win7下安装oracle,遇到了麻烦问题,下载的Oracle数据库10g客户端,居然不支持win7,检查安装条件时报错,无法支持6.1版本的windows。

 

解决办法是:在oracle解压出来的目录下,查找refhost.xml文件,修改或者添加一个6.1版本的windows就ok了。

<!--Microsoft Windows 7-->

<OPERATING_SYSTEM>

    <VERSION VALUE="6.1"/>

</OPERATING_SYSTEM>

这样可以在检查操作系统的时候绕过检查。无论是oracle client for Windows , vista ,2k8 server 的X32或者X64版本都可以通过这个方法正常安装。

 

PS:refhost.xml有两个,两个都要修改,还有就是进入install文件夹,编辑oraparam.ini文件,找到[Certified Versions]位置,在其下的

#You can customise error message shown for failure, provide value for CERTIFIED_VERSION_FAILURE_MESSAGE    

Windows=5.0,5.1,5.2,6.0,6.1  

中添加6.1,并在接下来各版本定义中添加:

[Windows-6.1-required]    

#Minimum display colours for OUI to run    

MIN_DISPLAY_COLORS=256   

#Minimum CPU speed required for OUI    

#CPU=300   

[Windows-6.1-optional] 

2.解决oracle与tomcat8080端口冲突问题

  dba用户登录Oracle,利用dbms_xdb修改端口设置 

  SQL>connect /as sysdba; 

  SQL> -- Change the HTTP/WEBDAV port from 8080 to 8081 

  SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get() , '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()' , 8081))  

3.TNSlistener服务无法启动

  使用net configration assistant或者net manager删除监听器,再新建监听器,重启数据库

4.ora-01033:oracle initialization or shutdown in progress

  http://hi.baidu.com/nknow/blog/item/c33db8002f5d178de950cdd8.html

posted @ 2009-12-31 16:11  因是因非  阅读(214)  评论(0编辑  收藏  举报