-
百度文库
-
让每个人平等地提升自我
系统默认选项值取自于:
E:
PCC-F-02101,
无法打开输入文件
:
一种情况是你
COMILE
之
前
,
没有保存
解决办法是先保存
另一种情况可能是
你的
PC
文件可能不能用了
,
解决办法是
'
删除重新生成
< br>
除此之外有可能是你的
PC
文
件放的位置不正确哈
1
、在
ORACLE 10g
安装准备的过程中:缺少
上网搜过不少文章,但是都不是很好的解决
我自己摸索出一个解决方法:
在
p>
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
中添加
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
在
p>
$$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
p>
)
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
open include fileError at line 34,
column 11
in file /usr/include/stdio.h#
include
open include file
但
是
在
p>
RHEL4
上
都
是
好
的
,
检
p>
查
后
发
现
/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>
,
相关的头文件路径也发生了变化,所以这里配置的头文件是
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