?
Solved

cannot write anything - AIX

Posted on 2011-03-08
6
Medium Priority
?
544 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 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

719 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