关键词不能为空

当前您在: 主页 > 英语 >

oracle安装及使用中出现的问题及解决 (1)

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-13 11:11
tags:

-

2021年2月13日发(作者:tachi)


百度文库



-


让每个人平等地提升自我




系统默认选项值取自于:



E:


PCC-F-02101,


无法打开输入文件


:




一种情况是你


COMILE


之 前


,


没有保存



解决办法是先保存



另一种情况可能是 你的


PC


文件可能不能用了


,


解决办法是


'


删除重新生成

< br>


除此之外有可能是你的


PC


文 件放的位置不正确哈



1


、在


ORACLE 10g


安装准备的过程中:缺少



上网搜过不少文章,但是都不是很好的解决



我自己摸索出一个解决方法:




RHEL5


的安装盘中找到


libXp-< /p>


,进行安装后,便可解决。




2




ORACLE 10g


安装过程中


Xlib: connection to


server



Xlib: connection to


Xlib: No protocol specified


Error: Can't open display: :0.0




root


用户登陆,在


shell


中运行


[root@brady ~]# xhost local:oracle


non-network local connections being added to access control list


1


百度文库



-


让每个人平等地提升自我




然后


oracle


身份就可以运行


X


程序了。




man xhost


中有这样一段



A complete name has the syntax

< br>‘‘


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


< br>其中


local


那个是用来解决同一台机器的不同用户访 问


X


的问题的。




: error while loading shared libraries:




cannot open shared object file: No such file or directory


解决方法:




/etc/profile


中添加

< p>


LD_LIBRARY_PATH=$$ORACLE_HOME/lib :/usr/lib:/usr/local/lib;


export LD_LIBRARY_PATH


然后可以用


source /etc/profile


生效一下



2


百度文库



-


让每个人平等地提升自我




改后如果也不行


,

< br>你可能没有权限执行


,



ls -l


看一下执行权限吧


(




root


也不能执行它的哦

< br>)



4


PCC-S-02201


错误




在用


proc


进行编译的时候(


proc iname=




出错



错误信息有很多:



PCC-S-02201, Encountered the symbol


one of the following....


发生



PCC-S-02201


错误时有两种解决办法:



1)


升级编译器



2)


设置



parse=none



更正后的命令:


proc iname= 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/


下< /p>



更正后的命令:


gcc -o test test.c -I


3


百度文库



-


让每个人平等地提升自我




$$ORACLE_HOME/precomp/public



6



undefined reference to `sqlcxt'



执行


5


中的命令时出现错误如下:



test.c:(.text+0x5e5): undefined reference to `sqlcxt'


需要用到


$$ORACLE_HOME/lib/



故需加上



-L $$ORACLE_HOME/lib -l clntsh


更正后的命令为:



gcc -o test test.c -I /home/oracle/oracle/product/ -L


$$ORACLE_HOME/lib -l clntsh


OK!


至此编译成功


!



但是这样写太麻烦




7



error while loading shared libraries:


$$ORACLE_HOME/lib/:



cannot restore segment prot after reloc: Permission denied



执行 程序(


./test


)时提示错误:



error while loading shared libraries:


4


百度文库



-


让每个人平等地提升自我




$$ORACLE_HOME/lib/:


cannot restore segment prot after reloc: Permission denied


相关的文章:



Topic:


Some Linux distributions with SELinux enabled may prevent IDL


from running under the default security context. This TechTip is a


workaround for CR#41937



Discussion:


Newer Linux distributions have enabled new kernel security


extensions from the SELinux project at the NSA. These extensions


allow finer-grained control over system security. However, SELinux


also changes some default system behaviors, such as shared


library loading, that can be problematic to third party


you receive the error message


reloc: Permission denied


configuration is preventing IDL from launching.



To rectify this issue, you can either:



1



Change the default security context for IDL by issuing the


command:


chcon -t texrel_shlib_t /usr/local/rsi/idl_6.1/bin/


5


百度文库



-


让每个人平等地提升自我






2



Disabling SELinux altogether by setting the line


SELINUX=disabled


in your /etc/sysconfig/selinux file.



我使用的解决办法:


chcon -t texrel_shlib_t


$$ORACLE_HOME/lib/*.so


PCC-S-02015


错误



1


、配置好



$$ORACLE_HOME/precomp/admin/


文件






根据你的系统不同,大概像这样



Error at line 33, column 10 in file


/usr/include/string.h#include


.........1PCC-S-02015, unable to


open include fileError at line 34, column 11


in file /usr/include/stdio.h# include


..........1PCC-S-02015, unable to


open include file







RHEL4














/u01/app/oracle/product/


文件中指定的搜索路径有


问题,



[oracle@rzgh


~]$$


less


/u01/app/oracle/product/



6


百度文库



-


让每个人平等地提升自我




sys_include=(/ade/aime_rdbm s_9819/oracle/pr


ecomp/public,/usr/inclu de,/usr/lib/gcc-lib/


i486-suse- linux/,/usr/lib/gcc-lib/i386-redh


at- linux/,/usr/lib/gcc-lib/i386-redhat-linu


x7/2.96/include)ltype=short/u01/app/oracle/


product/ (END)



由于


CentOS 5.5


升级后,


gcc


的版本已经到了


4.1.2< /p>



相关的头文件路径也发生了变化,所以这里配置的头文件是


找不到的。





按照上面的报错,逐个解决,添加头文件:



[handsome@rzgh ~]$$ find /usr -name stddef.h


-print/usr/src/kernels/


Permission


denied/usr/lib/gcc/i386-redhat- linux/



选择使用



,添加到



/u01/app/oracle/product/


中,


重新进行编译,不再报错了。





/usr/lib/audit:


sys_include=(/usr/lib/gcclib/i386redhat linux/,/u01/oracle/produc


t/,/usr/includ e,/usr/include/sys)



include=(/u01/oracle/product/


7


百度文库



-


让每个人平等地提升自我





include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/



include=/u01/oracle/product/


8

-


-


-


-


-


-


-


-



本文更新与2021-02-13 11:11,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/649665.html

oracle安装及使用中出现的问题及解决 (1)的相关文章

  • 余华爱情经典语录,余华爱情句子

    余华的经典语录——余华《第七天》40、我不怕死,一点都不怕,只怕再也不能看见你——余华《第七天》4可是我再也没遇到一个像福贵这样令我难忘的人了,对自己的经历如此清楚,

    语文
  • 心情低落的图片压抑,心情低落的图片发朋友圈

    心情压抑的图片(心太累没人理解的说说带图片)1、有时候很想找个人倾诉一下,却又不知从何说起,最终是什么也不说,只想快点睡过去,告诉自己,明天就好了。有时候,突然会觉得

    语文
  • 经典古训100句图片大全,古训名言警句

    古代经典励志名言100句译:好的药物味苦但对治病有利;忠言劝诫的话听起来不顺耳却对人的行为有利。3良言一句三冬暖,恶语伤人六月寒。喷泉的高度不会超过它的源头;一个人的事

    语文
  • 关于青春奋斗的名人名言鲁迅,关于青年奋斗的名言鲁迅

    鲁迅名言名句大全励志1、世上本没有路,走的人多了自然便成了路。下面是我整理的鲁迅先生的名言名句大全,希望对你有所帮助!当生存时,还是将遭践踏,将遭删刈,直至于死亡而

    语文
  • 三国群英单机版手游礼包码,三国群英手机单机版攻略

    三国群英传7五神兽洞有什么用那是多一个武将技能。青龙飞升召唤出东方的守护兽,神兽之一的青龙。玄武怒流召唤出北方的守护兽,神兽之一的玄武。白虎傲啸召唤出西方的守护兽,

    语文
  • 不收费的情感挽回专家电话,情感挽回免费咨询

    免费的情感挽回机构(揭秘情感挽回机构骗局)1、牛牛(化名)向上海市公安局金山分局报案,称自己为了挽回与女友的感情,被一家名为“实花教育咨询”的情感咨询机构诈骗4万余元。

    语文