写入目录 /tmp/OraInstall2015-05-20_03-35-53PM 时出错


做足准备工作之后进行安装oracle,运行runInstall的时候别的时候输出如下错误

写入目录 /tmp/OraInstall2015-05-20_03-35-53PM 时出错。请确保此目录是可写的, 并且至少有 60 MB 的磁盘空间。无法继续安装。

: 没有那个文件或目录

用sh -x runInstall

发现执行/usr/src/database/install/.oui 这个可执行文件的时候报出

: 没有那个文件或目录

然后再研究这个可执行文件


[oracle@ES1 ~]$ file /usr/src/database/install/.oui
/usr/src/database/install/.oui: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

32位的可执行文件

搜索一下错误发现有大牛门已经找到问题了

---------------------------------------------------------------------------------------------------------------------------------------------------------

tmp所在文件系统剩余空间超过2TB,会导致安装失败,提示信息如下
Error in writing to directory /tmp/OraInstall......。Please ensure that this directory is writable and has atlesast 60MB of disk space.

OUI will not continue, even with -ignoresysprereqs option.

1)、/tmp may be either a partition, or a simple sub-directory

2)、/tmp has LOTS of free space, over 2Tb available, and only a small amount is used.

3)、/tmp is write-able by the Oracle account

 

32-bit Oracle process that is checking /tmp is failing since it is only capable of addressing 2Tb.

看情况是32位下存在的问题。由于我使用LVM并且没有手工分区,考虑到收缩/分区存在的风险,还是重新做了系统并分了10G给/tmp,记住这个教训了,很早之前就遇到过一次了。

来自http://blog.csdn.net/gtlions/article/details/9997101


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM