Oracle 安裝 Error in writing to directory /tmp/OraInstall 錯(cuò)

安裝oracle,提示如下錯(cuò)誤: [Oracle@ora10g database]$ ./runInstaller Starting Oracle Universal Installer… Checking installer requirements… – Checking operating system version: must beRedHat-3, SUSE-9, redhat-4, UnitedLinux-1.0, asianux-1

安裝Oracle,提示如下錯(cuò)誤:

[Oracle@ora10g database]$ ./runInstaller

Starting Oracle Universal Installer…

Checking installer requirements…

Checking operating system version: must beRedHat-3, SUSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2

????????????????????????????????????? Passed

All installer requirements met.

Preparing to launch Oracle UniversalInstaller from /tmp/OraInstall2012-09-16_01-54-05AM. Please wait …

Error in writing to directory/tmp/OraInstall2012-09-16_01-54-05AM. Please ensure that this directory iswritable and has atleast 60 MB of disk space. Installation cannot continue.

: Success

提示是/tmp 空間不夠,不過(guò)我這里不是這個(gè)原因,后來(lái)檢查了一下環(huán)境變量。也沒(méi)有問(wèn)題。

最終還是安裝文件的權(quán)限問(wèn)題導(dǎo)致:

[Oracle@ora10g database]$ ll

total 67

drwxr-xr-x 1 root root? 4096 Oct 20? 2005 doc

drwxr-xr-x 1 root root? 4096 Oct 23 2005 install

drwxr-xr-x 1 root root? 4096 Oct 23 2005 response

-rwxr-xr-x 1 root root? 1326 Oct 23 2005 runInstaller

drwxr-xr-x 1 root root 49152 Oct 23? 2005 stage

-rwxr-xr-x 1 root root? 5416 Oct 20 2005 welcome.html

修改成:

[Oracle@ora10g software]$ ll

total 36

drwxr-xr-x 9 Oracle oinstall? 4096 Sep 1602:07 doc

drwxr-xr-x 5 Oracle oinstall? 4096 Sep 16 02:07 install

drwxr-xr-x 2 Oracle oinstall? 4096 Sep 16 02:07 response

-rwxr-xr-x 1 Oracle oinstall? 1326 Sep 16 02:07 runInstaller

drwxr-xr-x 9 Oracle oinstall 12288 Sep 1602:09 stage

-rwxr-xr-x 1 Oracle oinstall? 5416 Sep 16 02:09 welcome.html

安裝文件改成Oracle用戶后,成功安裝。

根據(jù)MOS的說(shuō)明,導(dǎo)致這個(gè)錯(cuò)誤可能有如下原因:

a) Insufficient free space in the temporarydirectory.
b) Insufficient access rights on the temporary directory.
c) On Oracle 9.2.0.5 to 9.2.0.8, a bug like bug: 5614628.
d) Not using a (local) console.
e) Corrupted software set.
f) Setup of the Oracle software in the stage area on disk.
g) Wrong Unzip utility is used.
h) No execute permission on Unzip utility
? i)Free space => 2Tb
? j)During ftp from a Windows mounted DVD to an Unix system (unzipped directories),the new directories in the stage area on Unix are all in lowercase.

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點(diǎn)贊14 分享