Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

cannot write anything - AIX

Posted on 2011-03-08
6
Medium Priority
?
549 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
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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
Course of the Month6 days, 23 hours left to enroll

782 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