安装oracle报如下的错误:Error in writing to directory /tmp/OraInstall2010-09-02_01-13-12PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
: No such file or directory检查了一下,log文件夹是动态建的,都是owner都是oinstall.oracle, 磁盘空间也够,不知道为什么会报这个错误?
是xhost的问题? 我有export DISPLAY啊, 贴出/tmp/下面log文件的内容cat installActions2010-09-02_01-13-12PM.log
Using paramFil : /home/oracle/database/install/oraparam.ini Checking installer requirements... Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met. The number of files bootstrapped for the jre is 0.
The number of files bootstrapped for the oui is 0.
: No such file or directory检查了一下,log文件夹是动态建的,都是owner都是oinstall.oracle, 磁盘空间也够,不知道为什么会报这个错误?
是xhost的问题? 我有export DISPLAY啊, 贴出/tmp/下面log文件的内容cat installActions2010-09-02_01-13-12PM.log
Using paramFil : /home/oracle/database/install/oraparam.ini Checking installer requirements... Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met. The number of files bootstrapped for the jre is 0.
The number of files bootstrapped for the oui is 0.
google了一上午啦,找不到是啥原因,着急死了
xhost +
su - oracle
./runInstaller -ignoreSysPrereqs另外需要把你安装的步骤贴一下,这个不是权限的问题
是不是system的配置有问题啊linux上安装oracle单机版是完全没有问题的,基本上跟windows的安装差不多,一路到底即可,出错的可能性很少
如果有问题,欢迎继续提问
创建组和用户
groupadd -g 96 oinstall
groupadd -g 97 dba
useradd -m -g oinstall -G dba -u 98 oracle创建oracle目录,export ORACLE_HOME等环境变量
修改oracle用
按照oracle 10g内核要求修改内核参数
使用yum安装需要的rpm包root下xhost +
[root@localhost ~]# xhost +
xhost: unable to open display ""
不知道跟这个有关系吗?su - oracle
./runInstaller #报错
请问你是在哪里做这个xhost+的,应该是在用root登录图形界面后才能这样做
能在本地做的话直接在本地做,如果不能的话用xmanager连接后需要export DISPLAY=192.168.1.X:0.0 到你的IP上
之后应该是到oracle的目录下面,你是否在这个目录下面解压了安装文件,安装目录权限要对
用root执行
chown -R oracle:dba database
这个database就是解压zip出来的文件夹
然后cd database
./runInstaller -ignoreSysPrereqs
安装文件的owner是oracle,安装的执行用户也是oracle
之前我在linux上成功安装过oracle10g的,上次安装也有一些问题,但都解决了
这个是昨天新装的系统,没有什么特殊的配置,和前一部服务器都一样的配置,所以实在不知道问题出在了哪里
Starting Oracle Universal Installer...Checking installer requirements...Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-09-02_03-52-07PM. Please wait ...
Error in writing to directory /tmp/OraInstall2010-09-02_03-52-07PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
: No such file or directory
debug选项好像也不好使,没啥信息
Starting Oracle Universal Installer...Checking installer requirements...Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-09-02_04-10-14PM. Please wait ...
Error in writing to directory /tmp/OraInstall2010-09-02_04-10-14PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
: No such file or directory
[oracle@localhost database]$
drwxrwxrwt 4 root root 4096 Sep 2 15:09 tmp
su - oracle
pwd
看看是不是你设置的目录,如果没有设置,看是不是/home/oracle还可以试试,把安装的zip包重新解压一下看看cp 1020*.zip /home/oracle
cd /home/oracle
unzip -q 1020*.zip
5.4的红帽子企业版兼容的Scientific Linux SL release 5.4 (Boron)
数据库用的是10201_database_linux32.zip
安装过程很快就完成了,没有出现这个问题
楼主可以联系我,把每一步操作和返回的内容直接贴出来
我感觉有可能还是前面设置造成的
我的错误情况 也是这样的。
回去反查后,发现在cp安装文件的时候,没有把隐藏文件cp 上。
出这样问题的朋友查查看,复制oracle 安装文件夹时候,有没有把隐藏文件漏掉了。
我当时用的是cp *,没有把隐藏文件 复制出来才出现这样的问题的。