问题描述:
一个在windows下解压的oracle10 for linux安装文件,传到rhel 5安装遭遇 database/install/.oui: Permission denied 权限问题
过程:
[oracle@anbob database]$ ./runInstaller
./runInstaller: line 54: /oracle10g/oracle10/database/install/.oui: Permission denied
-bash: ./runInstaller:: No such file or directory
[oracle@anbob database]$ vi runInstaller
...
:53 else
:54 $CMDDIR/install/.oui -oneclick
...
--检查54行内容,表明也是在执行.oui时权限问题
[oracle@anbob database]$ ls
doc install response runInstaller stage welcome.html
[oracle@anbob database]$ cd install/
[oracle@anbob install]$ ll -a
total 352
drwxr-xr-x 5 oracle oinstall 4096 Dec 8 09:27 .
drwxr-xr-x 6 oracle oinstall 4096 Dec 8 18:49 ..
-rw-r--r-- 1 oracle oinstall 28 Jul 2 2005 addLangs.sh
-rw-r--r-- 1 oracle oinstall 76 Jul 2 2005 addNode.sh
drwxr-xr-x 2 oracle oinstall 4096 Dec 8 09:27 images
-rw-r--r-- 1 oracle oinstall 35634 Jul 2 2005 lsnodes
-rw-r--r-- 1 oracle oinstall 2268 Jul 2 2005 oneclick.properties
-rw-r--r-- 1 oracle oinstall 2387 Jul 2 2005 oraparam.ini
-rw-r--r-- 1 oracle oinstall 6428 Jul 2 2005 oraparamsilent.ini
-rw-r--r-- 1 oracle oinstall 163185 Jul 2 2005 .oui
drwxr-xr-x 2 oracle oinstall 4096 Dec 8 09:27 resource
drwxr-xr-x 2 oracle oinstall 4096 Dec 8 09:27 response
-rw-r--r-- 1 oracle oinstall 102612 Jul 2 2005 unzip
[oracle@anbob install]$ chmod u+x .oui
[oracle@anbob install]$ chmod u+x unzip
[oracle@anbob install]$ ll -a
total 352
drwxr-xr-x 5 oracle oinstall 4096 Dec 8 09:27 .
drwxr-xr-x 6 oracle oinstall 4096 Dec 8 18:49 ..
-rw-r--r-- 1 oracle oinstall 28 Jul 2 2005 addLangs.sh
-rw-r--r-- 1 oracle oinstall 76 Jul 2 2005 addNode.sh
drwxr-xr-x 2 oracle oinstall 4096 Dec 8 09:27 images
-rw-r--r-- 1 oracle oinstall 35634 Jul 2 2005 lsnodes
-rw-r--r-- 1 oracle oinstall 2268 Jul 2 2005 oneclick.properties
-rw-r--r-- 1 oracle oinstall 2387 Jul 2 2005 oraparam.ini
-rw-r--r-- 1 oracle oinstall 6428 Jul 2 2005 oraparamsilent.ini
-rwxr--r-- 1 oracle oinstall 163185 Jul 2 2005 .oui
drwxr-xr-x 2 oracle oinstall 4096 Dec 8 09:27 resource
drwxr-xr-x 2 oracle oinstall 4096 Dec 8 09:27 response
-rwxr--r-- 1 oracle oinstall 102612 Jul 2 2005 unzip
[oracle@anbob install]$ cd ..
[oracle@anbob database]$ ls
doc install response runInstaller stage welcome.html
[oracle@anbob 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/OraInstall2011-12-08_06-50-47PM. Please wait ...[oracle@anbob database]$
--问题解决
note:
linux上的安装文件最好不要在windows下解压
The pannick of a “steroid-sparing” [u][/u] has silently oversulfated ultimatly compiled to date.