Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX 4.3 cannot create file.

Status
Not open for further replies.

AIXdream

Technical User
Mar 27, 2007
33
US
I cant touch or vi files under /tmp...

root#: touch rau-logretention
touch: rau-logretention cannot create
root#: oslevel -s
/usr/bin/oslevel[224]: /tmp/sh56778.13: cannot create
root#: oslevel -r
/usr/bin/oslevel[224]: /tmp/sh54726.13: cannot create

filesystems are under threshold.

df -k /tmp
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd00 1048576 481520 55% 4572 2% /tmp

cannot see errpt output.

root#: errpt -aj C60BB505 |more
ksh: 54534 Bus error
root@pgw014:

any help is greatly appreciated.

Dream


 
Most likely the /tmp filesystem has become corrupted

try an fsck on /tmp (it won't do anything while it is mounted and results may be inconsistent, but it's worth a try to narrow things down a bit):

[tt]fsck /tmp[/tt]

Also, it's a bit strange that you have /dev/hd00 as /tmp, on most installs that FS is on /dev/hd3 ...

Please report back with fsck result?



HTH,

p5wizard
 
I did fsck on /tmp and

Filesystem Helper: Device open failed.

Thanks
Dream
 
It appears that you will have to boot to maintenance mode using an AIX CD (must be same version) or sysback or mksysb media. Do not mount the file systems at boot, but rather only import rootvg. If you not familiar with this procedure, search the IBM support site for detailed instruction as to how to do this.

Once you have done this you can run fsck on all system filesystems like: / /usr /var /tmp /home. If /tmp is damaged there is a good change one or more of the others are as well.

This should resolve the problem if it is not hardware related, and allow you to reboot normally thereafter.
 
First step
Are the permissions of /tmp are correct?
The permissions should be rwxrwxrwt

Also it is better to check whether you have any stale PPs in the rootvg
lsvg rootvg |grep STALE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top