文档详情

(oracle安装及使用中出现的问题及解决.doc

发布:2017-01-21约1.18万字共19页下载文档
文本预览下载声明
系统默认选项值取自于: E:\ProgramFiles\ora92\precomp\admin\pcscfg.cfg PCC-F-02101, 无法打开输入文件: E:\precomp_main_nt_011204\oracle\precomp\demo\proc\samp 一种情况是你COMILE之前,没有保存 解决办法是先保存 另一种情况可能是你的PC文件可能不能用了, 解决办法是删除重新生成 除此之外有可能是你的PC文件放的位置不正确哈1、在ORACLE 10g 安装准备的过程中:缺少libXp.so.6依赖 上网搜过不少文章,但是都不是很好的解决 我自己摸索出一个解决方法: 在RHEL5的安装盘中找到libXp-1.0.0-8.i386.rpm,进行安装后,便可解决。 2、在ORACLE 10g 安装过程中Xlib: connection to :0.0 refused by server Xlib: connection to :0.0 refused by server Xlib: No protocol specified Error: Cant open display: :0.0 以root用户登陆,在shell中运行 [root@brady ~]# xhost local:oracle non-network local connections being added to access control list 然后oracle身份就可以运行X程序了。 man xhost中有这样一段 A complete name has the syntax ‘‘family:name’’ where the families are as follows: inet Internet host (IPv4) inet6 Internet host (IPv6) dnet DECnet host nis Secure RPC network name krb Kerberos V5 principal local contains only one name, the empty string si Server Interpreted 其中local那个是用来解决同一台机器的不同用户访问X的问题的。 3.proc: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory 解决方法: 在/etc/profile中添加 LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:/usr/local/lib; export LD_LIBRARY_PATH 然后可以用source /etc/profile 生效一下 改后如果也不行,你可能没有权限执行libclntsh.so.10.1,请ls -l 看一下执行权限吧(有时root也不能执行它的哦) 4、PCC-S-02201错误 在用proc进行编译的时候(proc iname=test.pc) 出错 错误信息有很多: PCC-S-02201, Encountered the symbol eof; when expecting one of the following.... 发生 PCC-S-02201 错误时有两种解决办法: 1)升级编译器 2)设置 parse=none 更正后的命令:proc iname=test.pc parse=none 结果生成test.c文件 5、error: sqlca.h: No such file or directory 执行gcc -o test test.c时: test.c:152:19: error: sqlca.h: No such file or directory sqlca.h在$ORACLE_HOME/precomp/public/下 更正后的命令:gcc -o test test.c -I $ORACLE_HOME/precomp/public 6、undefined reference to `sqlcxt 执行5中的命令时出现错误如下: test.c:(.text+0x5e5): undefined reference to `sqlcxt 需要用到$ORACLE_HOME/lib/libclntsh.so 故需加上 -L $ORACLE_HOME/lib -l clntsh 更正后的命令为: gcc -o t
显示全部
相似文档