Probably an easy SMIT question- "Unable to open temp file"


 
Thread Tools Search this Thread
Operating Systems AIX Probably an easy SMIT question- "Unable to open temp file"
# 1  
Old 02-27-2008
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  
Old 02-27-2008
Is the temp directory filled up (100%) or close to it? You might try deleting some of the files.
# 3  
Old 02-28-2008
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  
Old 02-28-2008
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  
Old 02-28-2008
When I try to save a file in /tmp, I get

Invalid file system control data detected
# 6  
Old 02-28-2008
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  
Old 02-29-2008
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Shell Programming and Scripting

Expect: spawn id exp5 not open while executing "expect "$" { send "sudo su -\r" }"

Hi All, i am trying to ssh to a remote machine and execute certain command to remote machine through script. i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as expect: spawn id exp5 not open while executing "expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Solaris

Solaris 10 - Unable to boot the system "panic: cannot open /kernel/amd64/unix"

Hi All, I have installed Solaris 10 on my AMD 64 3000+ system. I was playing with grub commands eeprom and bootadm commands. I screwed my boot-file and now am unable to boot the system. Gets error msg as "panic: cannot open /kernel/amd64/unix". I booted the system is filesafe and tried update the... (2 Replies)
Discussion started by: Manjunath K V
2 Replies

6. Shell Programming and Scripting

Joining 3 AWK scripts to avoid use "temp" files

Hi everyone, Looking for a suggestion to improve the below script in which I´ve been working. The thing is I have 3 separated AWK scripts that I need to apply over the inputfile, and for scripts (2) and (3) I have to use a "temp" file as their inputfile (inputfile_temp and inputfile_temp1... (2 Replies)
Discussion started by: cgkmal
2 Replies

7. SuSE

VMDB Failure" followed by "Unable to open snapshot file"

keep getting an error when I try to revert to a snapshot: "VMDB Failure" followed by "Unable to open snapshot file" Im using vmware server 1.0.4, host OS is windows xp and guest OS is SLES. Is there anything I can do to recover the snapshot or am I in trouble!?!?! (0 Replies)
Discussion started by: s_linux
0 Replies

8. UNIX and Linux Applications

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or question of my own) is: Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies

9. UNIX for Dummies Questions & Answers

Probably an easy AIX-SMIT question with mkroute

Hi All, I am on a project and logging into about 100 servers one at a time. One of the steps I am performing is setting up a link with smit mkroute. I am using AIX versions 5.2 and 5.3 Does anyone know a quick command line to set DESTINATION ADDRESS, GATEWAY address, Network MASK, and... (5 Replies)
Discussion started by: jeffpas
5 Replies

10. Shell Programming and Scripting

split the string "Setview: arv-temp-view"

Hi experts, I would like to split the value of v and assign "arv-temp-view" to another variable d. I want to do it within shell script. My shell is "tcsh" v="Setview: arv-temp-view" split v and store d=arv-temp-view Please help Thanks Amit (2 Replies)
Discussion started by: amitrajvarma
2 Replies
Login or Register to Ask a Question