安装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.

解决方案 »

  1.   

    1.查看系统版本,必须为redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-22.在/tmp/OraInstall2010-09-02_01-13-12PM是否有写的权限
      

  2.   

    版本检查是果了的, 那个文件夹是动态创建的,有写的权限啊,我用oracle用户去到那个目录确实可以写
    google了一上午啦,找不到是啥原因,着急死了
      

  3.   

    安装的时候需要
    xhost +
    su - oracle
    ./runInstaller -ignoreSysPrereqs另外需要把你安装的步骤贴一下,这个不是权限的问题
    是不是system的配置有问题啊linux上安装oracle单机版是完全没有问题的,基本上跟windows的安装差不多,一路到底即可,出错的可能性很少
    如果有问题,欢迎继续提问
      

  4.   

    我的安装过程如下:
    创建组和用户
    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   #报错
      

  5.   


    请问你是在哪里做这个xhost+的,应该是在用root登录图形界面后才能这样做
    能在本地做的话直接在本地做,如果不能的话用xmanager连接后需要export DISPLAY=192.168.1.X:0.0 到你的IP上
      

  6.   

    su - oracle
    之后应该是到oracle的目录下面,你是否在这个目录下面解压了安装文件,安装目录权限要对
    用root执行
    chown -R oracle:dba database
    这个database就是解压zip出来的文件夹
    然后cd database
    ./runInstaller -ignoreSysPrereqs
      

  7.   

    这些都没有问题的,xhost是在root用户下执行的
    安装文件的owner是oracle,安装的执行用户也是oracle
    之前我在linux上成功安装过oracle10g的,上次安装也有一些问题,但都解决了
    这个是昨天新装的系统,没有什么特殊的配置,和前一部服务器都一样的配置,所以实在不知道问题出在了哪里
      

  8.   

    [oracle@localhost database]$ ./runInstaller -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_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
      

  9.   

    全贴过来了
    debug选项好像也不好使,没啥信息
      

  10.   

    [oracle@localhost database]$ ./runInstaller 
    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]$ 
      

  11.   

    试试看这个chmod u+rwxt,g+rwx,o+rwx /tmp然后ls -l /
    drwxrwxrwt  4 root root  4096 Sep  2 15:09 tmp
      

  12.   

    检查
    su - oracle
    pwd
    看看是不是你设置的目录,如果没有设置,看是不是/home/oracle还可以试试,把安装的zip包重新解压一下看看cp 1020*.zip /home/oracle
    cd /home/oracle
    unzip -q 1020*.zip
      

  13.   

    应该不需要重装os,重装oracle就可以了,你前面做的都是在os上面打交道,都是可以改的
      

  14.   

    我装了一遍,
    5.4的红帽子企业版兼容的Scientific Linux SL release 5.4 (Boron)
    数据库用的是10201_database_linux32.zip
    安装过程很快就完成了,没有出现这个问题
    楼主可以联系我,把每一步操作和返回的内容直接贴出来
    我感觉有可能还是前面设置造成的
      

  15.   

    谢谢您了,我已经重装了OS,oracle也装上了
      

  16.   

    正好我也遇到这个问题,希望能给和我出一样问题的朋友些帮助。
    我的错误情况 也是这样的。
    回去反查后,发现在cp安装文件的时候,没有把隐藏文件cp 上。
    出这样问题的朋友查查看,复制oracle 安装文件夹时候,有没有把隐藏文件漏掉了。
    我当时用的是cp *,没有把隐藏文件 复制出来才出现这样的问题的。
      

  17.   

    我在xp上安装也出现这个问题,好郁闷  , 点击setup.exe就出现error in writing to directory c:\DOCU~1\ADMIN~1\LOCALS~1\Temp\OraInstall...  
      

  18.   

    遇上的同样的问题.GOOGLE BAIDU了半天.也没发现怎么解决的.