Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error in writing to directory /tmp on installing Oracle 10G

RocketdogJan 22 2015 — edited Jan 26 2015

Hi there, I expect this is  going to be simple, but have not found anything yet on a quick search.

I'm trying to install Oracle 10G on a new server loaded with Red Hat Enterprise Linux Server release 6.6 (Santiago)

As far as I can see the mount points etc match an existing environment where the install works.

The top level for / did not have full permissions, so they have been amended (to 777 as a last resort) but error still shows -

[oracle@vir-test-fo-01 database]$ ./runInstaller -invPtrLoc /u01/app/oracle/oraInst.loc

 

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/OraInstall2015-01-22_03-10-42PM. Please wait ...

 

Error in writing to directory /tmp/OraInstall2015-01-22_03-10-42PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.


[oracle@vir-test-fo-01 logs]$ cd /

[oracle@vir-test-fo-01 /]$ ls -la

total 121

drwxrwxrwx.  27 root root  4096 Jan 22 15:31 .

drwxrwxrwx.  27 root root  4096 Jan 22 15:31 ..

-rw-r--r--.   1 root root     0 Jan 21 16:50 .autofsck

dr-xr-xr-x.   2 root root  4096 Jan 22 15:31 bin

....

drwxrwxrwt.  42 root root  4096 Jan 22 16:25 tmp

drwxr-xr-x.   3 root root  4096 Jan 22 13:41 u01

drwxr-xr-x.  14 root root  4096 Jan 20 13:27 usr

drwxr-xr-x.  24 root root  4096 Jan 20 13:26 var


I tried setting TMP and TMPDIR to /tmp/ and /var/tmp - no difference


As Oracle I can create and edit a file in /tmp ok so it's something the oui is failing on.


-

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

Am continuing to research but am working on tight timelines so if anyone has any ideas, they are most welcomed.


Cheers

Lesley



Update - the oui is creating a directory within /tmp each time it is run -

drwxrwxrwt. 43 root   root      4096 Jan 22 16:36 .

drwxrwxrwx. 27 root   root      4096 Jan 22 15:31 ..

drwxrwxrwx.  2 root   root      4096 Jan 22 15:20 .esd-0

drwxrwxrwx.  2 wuser  wuser     4096 Jan 22 15:18 .esd-501

drwxrwxrwt.  2 root   root      4096 Jan 22 15:20 .ICE-unix

drwxrwxrwx.  2 root   root      4096 Jan 22 15:20 keyring-0eR67N

drwxrwxrwx.  2 wuser  wuser     4096 Jan 22 15:18 keyring-Yk7Z5H

-rw-r--r--.  1 oracle oinstall    16 Jan 22 16:11 lexxx

drwxrwxrwx.  2 root   root      4096 Jan 22 15:23 mc-root

drwxrwxrwx.  2 oracle oinstall  4096 Jan 22 15:05 OraInstall2015-01-22_03-05-18PM

drwxrwxrwx.  2 oracle oinstall  4096 Jan 22 15:10 OraInstall2015-01-22_03-10-42PM

drwxrwxrwx.  2 oracle oinstall  4096 Jan 22 15:24 OraInstall2015-01-22_03-24-56PM

drwxr-xr-x.  2 oracle oinstall  4096 Jan 22 15:41 OraInstall2015-01-22_03-41-16PM

drwxr-xr-x.  2 oracle oinstall  4096 Jan 22 15:44 OraInstall2015-01-22_03-44-24PM

drwxr-xr-x.  2 oracle oinstall  4096 Jan 22 16:04 OraInstall2015-01-22_04-04-47PM

drwxr-xr-x.  2 oracle oinstall  4096 Jan 22 16:06 OraInstall2015-01-22_04-06-19PM

drwxr-xr-x.  2 oracle oinstall  4096 Jan 22 16:10 OraInstall2015-01-22_04-10-35PM

drwxr-xr-x.  2 oracle oinstall  4096 Jan 22 16:12 OraInstall2015-01-22_04-12-52PM

drwxr-xr-x.  2 oracle oinstall  4096 Jan 22 16:36 OraInstall2015-01-22_04-36-21PM

but there is nothing within this.

My trouble is I'm comparing to 2 other servers where the permissions etc look the same and I've managed to install software ok. I know you shouldn't compare!!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 23 2015
Added on Jan 22 2015
7 comments
6,271 views