Solved

cannot write anything - AIX

Posted on 2011-03-08
6
530 Views
Last Modified: 2013-11-17
Hello Experts

I am not able to touch a file for a user Oracle on AIX. The filesystem has full write access for that user and is owned by that user

oracle@csc06ora03$ touch x
touch: x cannot create

Thanks
0
Comment
Question by:mnis2008
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 35073843
Please post the output of

id

pwd


ls -ld ../*
ls -ld ../../*

I suspect that one the the directories above the directory you're in doesn't have correct permissions.

wmp

0
 

Author Comment

by:mnis2008
ID: 35074196
here is the output

oracle@csc06ora03 $ id
uid=133(oracle) gid=203(dba) groups=1(staff)
[/apps/oracle]

oracle@csc06ora03 $ pwd
/apps/oracle
[/apps/oracle]

oracle@csc06ora03 $ ls -ld ../*
../*: No permission
[/apps/oracle]

oracle@csc06ora03 $ ls -ld ../../*
../../*: No permission



Here are the permissions on apps and oracle

drwxr-xr-x   11 root     system         4096 Feb 23 16:53 apps
drwxr-xr-x    7 oracle   dba            4096 Mar  8 13:46 oracle



0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35074603
Which is your AIX version?

The error message format seems rather strange to me.

Do you manipulate the messages  - or is it not AIX?

How did you get the last two lines of output? As user Oracle?

What do you get with "mount"?

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35075133
... and please issue

cd /apps/oracle
ls -la

and post the output!

0
 

Author Comment

by:mnis2008
ID: 35076831
Hello wmp,

I am running 6100-05-04-1048 version. Yes I gave you the previous outputs as oracle user. With mount command run as oracle this is what i get


node       mounted        mounted over    vfs       date        options
-------- ---------------  ---------------  ------ ------------ ---------------
         /dev/hd4         /                jfs2   Mar 01 14:27 rw,log=/dev/hd8
         /dev/hd2         /usr             jfs2   Mar 01 14:27 rw,log=/dev/hd8
         /dev/hd9var      /var             jfs2   Mar 01 14:27 rw,log=/dev/hd8
         /dev/hd3         /tmp             jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/hd1         /home            jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/hd11admin   /admin           jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /proc            /proc            procfs Mar 01 14:28 rw
         /dev/hd10opt     /opt             jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/livedump    /var/adm/ras/livedump jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/apps        /apps            jfs2   Mar 01 14:28 rw,log=/dev/hd8
         /dev/oracle      /apps/oracle     jfs2   Mar 01 14:28 rw,log=/dev/loglv00
         /dev/oradata1    /apps/oradata1   jfs2   Mar 01 14:28 rw,log=/dev/loglv03
         /dev/oradata2    /apps/oradata2   jfs2   Mar 01 14:28 rw,log=/dev/loglv04
         /dev/oradata3    /apps/oradata3   jfs2   Mar 01 14:28 rw,log=/dev/loglv05
         /dev/oradata4    /apps/oradata4   jfs2   Mar 01 14:28 rw,log=/dev/loglv06
         /dev/oradata5    /apps/oradata5   jfs2   Mar 01 14:28 rw,log=/dev/loglv07
         /dev/oralogs     /apps/oralogs    jfs2   Mar 01 14:28 rw,log=/dev/loglv01
         /dev/oraarchs    /apps/oraarchs   jfs2   Mar 01 14:28 rw,log=/dev/loglv02

Thanks
0
 

Author Comment

by:mnis2008
ID: 35077388
Its working, I have rebooted the system and chowed all the files to oracle in /apps/oracle, Thanks for the help
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question