The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
"sed" to check file size & echo " " to destination file jockey007 Shell Programming and Scripting 7 04-28-2009 02:08 AM
Probably an easy AIX-SMIT question with mkroute jeffpas UNIX for Dummies Questions & Answers 5 02-24-2008 04:20 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM
split the string "Setview: arv-temp-view" amitrajvarma Shell Programming and Scripting 2 10-11-2007 05:14 AM
check for "cannot open file" ssmith001 UNIX for Dummies Questions & Answers 19 02-27-2007 02:56 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-27-2008
jeffpas jeffpas is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 60
Probably an easy SMIT question- "Unable to open temp file"

Hi All,

Can't find any documentation on the web for this anywhere, except about three web pages that are in Chinese.

When I enter SMIT on this box, I get

ERROR MESSAGE: Unable to open temp file


I suspected smit.log, but it is universal readable, writeable by root, and I am root.
Anyone come across this? What file is it trying to open?

Thanks much
  #2 (permalink)  
Old 02-27-2008
jyoung jyoung is offline
Registered User
  
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 227
Is the temp directory filled up (100%) or close to it? You might try deleting some of the files.
  #3 (permalink)  
Old 02-28-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
Either /tmp or any other filesystem SMIT might use: /var/tmp maybe or something such. Issue "df -k" and watch for numbers close to 100%. (Disregard /usr in this case, it is no problem if it is filled up to 95+%)

bakunin
  #4 (permalink)  
Old 02-28-2008
jeffpas jeffpas is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 60
Hmmm. Very odd....
/tmp is only at 11% used.

Nothing else is beyond 60%, except /usr which is at 97%.

However, the /tmp directory, which is rwxrwxrwt, will not permit creation of files.

I cannot

touch file

in /tmp. I tried aclget on the directory, it says extended permissions are disabled. Whatever is causing this, it seems to be the trouble.
  #5 (permalink)  
Old 02-28-2008
jeffpas jeffpas is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 60
When I try to save a file in /tmp, I get

Invalid file system control data detected
  #6 (permalink)  
Old 02-28-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
OK, this doesn't look too good.

unmount /tmp and do a "fsck -y" on the filesystem and/or the logical volume (i suppose that is hd3, but i am not sure, issue "lsvg -l rootvg" to find out).

If any errormessage comes up you cannot understand post it here. Have a look in the error-log ("errpt" and "errpt -a" respectively) and watch out for "HDISK3" and/or "HDISK4" type errors. These would indicate a harddisk failure.

After fsck-ing the filesystem remount it and try if that solved the problem. If not please write the symptoms along with the output of fsck here.

Good luck.

bakunin
  #7 (permalink)  
Old 02-29-2008
jeffpas jeffpas is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 60
Unfortunately this is a production box, and I am a new employee quite low in the scheme of things. Not at liberty to be unmounting filesystems on the fly- only tasked to load a software package and get out. Hellfire and damnation could befall me.

I have checked errpt and there are no outstanding errors with HDISK3.
This is a curious problem though- I seem to remember something like this many years ago happening, but can find nothing in my notes.

Root user not able to create any file in /tmp. One would think, these people would be having problems with their applications themselves on this server. At any rate I will report and investigate. Thanks!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0