当前位置:文档之家› linux安装oracle10g问题解析

linux安装oracle10g问题解析

有安装程序要求均已满足。

准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2012-02-27_05-13-29PM. 请稍候...写入目录 /tmp/OraInstall2012-02-27_05-13-29PM 时出错。

请确保此目录是可写的, 并且至少有 60 MB 的磁盘空间。

无法继续安装。

: 没有那个文件或目录
[oracle@standby database]$ df -h
文件系统容量已用可用已用% 挂载点
/dev/sda1 38G 3.5G 33G 10% /
/dev/sda5 37G 950M 35G 3% /home
/dev/sda3 996M 907M 38M 97% /tmp ---------可以看到还有 38M可用了
tmpfs 538M 0 538M 0% /dev/shm
[oracle@standby database]$ cd /tmp
[oracle@standby database]$ rm -rf /tmp/*
------------------------------------------------------------------------------------------------------
删除后再安装就可以了
在linux系统中用Oracle帐号执行DBCA或其他JAVA图形界面程序时,报错:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0
解决办法:用root登陆,在#提示符后输入:
xhost local:oracle non-network local connections being added to access control list
敲回车运行后出现:
non-network local connections being added to access control list xhost: bad hostname "non-network"
xhost: bad hostname "local"
xhost: bad hostname "connections"
xhost: bad hostname "being"
xhost: bad hostname "added"
xhost: bad hostname "to"
xhost: bad hostname "access"
xhost: bad hostname "control"
xhost: bad hostname "list"
此时再 su - oracle 切换到Oracle用户执行图形界面任务就可以了
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的问题的。

相关主题