Operating System - HP-UX
1834710 Members
2677 Online
110069 Solutions
New Discussion

Error in writing to directory

 
SOLVED
Go to solution
Robin Geary
Advisor

Error in writing to directory

Hi,

Im trying to install the Oracle 10g patchset.

Tmp directory is...
/dev/vg00/lvol10 6144000 2078276 3811821 35% /prod

Plenty of room, logged in as oracle user who owns all of the Oracle files in the tmp directory...

error reads...

Preparing to launch Oracle Universal Installer from /prod/tmp/OraInstall2006-03-

24_08-39-56AM. Please wait ...sh: /prod/tmp/Oracle_10g_patch/install/unzip: Exec

ute permission denied.

Error in writing to directory /prod/tmp/OraInstall2006-03-24_08-39-56AM. Please

ensure that this directory is writable and has atleast 69 MB of disk space. Inst

allation cannot continue.

: Error 0

Thanks in advance.

HPUX 11.11
Oracle 10g release 2 for PA RISC 64
11 REPLIES 11
Arunvijai_4
Honored Contributor

Re: Error in writing to directory

Hello,

Check the permission for /prod/tmp/ , also for
/prod/tmp/Oracle_10g_patch/install/unzip ..

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: Error in writing to directory

Ownership and perms on /prod and irs bellow that? How are they?
There is no substitute to HARDWORK
Muthukumar_5
Honored Contributor

Re: Error in writing to directory

Check the permission of /prod file system to give write access to oracle user.

$ ls -ld /prod/tmp/OraInstall2006-03-24_08-39-56AM

Are you getting write permission there?

Check the whole directory structure of /prod/ directory for write permission.

$ find /prod -type d -exec ls -ld {} \;

will give that.

--
Muthu
Easy to suggest when don't know about the problem!
Robin Geary
Advisor

Re: Error in writing to directory

permissions in /prod

total 20292
-rw-r--r-- 1 root sys 10240000 Oct 7 13:27 PHSS_33033.depot
-rw-r--r-- 1 root sys 148372 Oct 10 13:32 PHSS_33033.text
drwxr-xr-x 2 root root 96 Feb 20 22:01 lost+found
drwxrwxrwx 6 oracle oinstall 1024 Mar 24 08:40 tmp

Oracle owns all in tmp
RAC_1
Honored Contributor

Re: Error in writing to directory

You can not write to /prod/tmp (even though it has 777), because, you do not have write perms to /prod in first place.
There is no substitute to HARDWORK
Steve Steel
Honored Contributor

Re: Error in writing to directory

Hi


Check directory and mount point permissions.


Can other use write to dir


does touch /tmp/test work


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Arunvijai_4
Honored Contributor

Re: Error in writing to directory

Hello,

You can't since you dont have permission for /prod in first place.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Robin Geary
Advisor

Re: Error in writing to directory

I installed Oracle from that same directory, just yesterday, using same method, same user.
Muthukumar_5
Honored Contributor
Solution

Re: Error in writing to directory

Change the permission of /prod/ directory as,

# chmod 777 /prod/

using root user. Try now.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Error in writing to directory

Hello,

You would rather choose

# chmod -R 755 /prod as root.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Robin Geary
Advisor

Re: Error in writing to directory

Thanks the chmod 775 seemd to do the trick