Getting "cannot create the specific file."


 
Thread Tools Search this Thread
Operating Systems AIX Getting "cannot create the specific file."
# 1  
Old 12-15-2010
Getting "cannot create the specific file."

example of command ->

Code:
# shutdown -Fr

SHUTDOWN PROGRAM
Wed Dec 15 03:13:39 EST 2010
There is an input or output error.
/usr/sbin/rsct/bin/ct_node_runstate[320]: /var/ct/cfg/boot_shutdown.state: 0403-005 Cannot create the specified file.
sort: 0653-650 Cannot locate the temporary directory or /tmp.

sort: 0653-650 Cannot locate the temporary directory or /tmp.

sort: 0653-650 Cannot locate the temporary directory or /tmp.

sort: 0653-650 Cannot locate the temporary directory or /tmp.

sort: 0653-650 Cannot locate the temporary directory or /tmp.

sort: 0653-650 Cannot locate the temporary directory or /tmp.

sort: 0653-650 Cannot locate the temporary directory or /tmp.

sort: 0653-650 Cannot locate the temporary directory or /tmp.

There is an input or output error.
/usr/sbin/shutdown[2]: /etc/nologin: 0403-005 Cannot create the specified file.

Wait for 'Rebooting...' before stopping.
/usr/sbin/shutdown[1164]: /tmp/sh4718742.13: 0403-005 Cannot create the specified file.
#

2)

Code:
# oslevel -r
/usr/bin/oslevel[627]: /tmp/sh4718752.13: 0403-005 Cannot create the specified file.

Hi, please advice. I keep on getting the "Cannot create the specific file" is this due to space or permission issue? please advice.

other weird behaviors ,when i use vi command ,
nothing is shown, but i can use the more command..so how to modify this kind of file?
Code:
# vi local.properties
#


cheers

Last edited by pilotHans; 12-15-2010 at 04:54 AM..
# 2  
Old 12-15-2010
1.) ENOENT: Perhaps:
  • a mount is failing or
  • something in the path was renamed, or
  • a symbolic link is pointing to a deleted file.
Try running
Code:
find ... -follow -ls >/dev/null

and see what in those ... paths is not accessible

2) If vim is installed in your machine than make vim your default editor.

Code:
export vi=vim

R0H0N
# 3  
Old 12-15-2010
Is /tmp full?
# 4  
Old 12-15-2010
Quote:
Originally Posted by johnf
Is /tmp full?
i don't think so....
Code:
# df -g
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           3.50      3.15   11%     7433     1% /
/dev/hd2           2.50      0.21   92%    57357     9% /usr
/dev/hd9var        0.25      0.08   69%     8865    14% /var
/dev/hd3           0.25      0.23    9%      354     1% /tmp
/dev/hd1           0.25      0.17   33%       32     1% /home
/proc                 -         -    -         -     -  /proc
/dev/hd10opt       0.50      0.12   77%     9415     8% /opt
/dev/hd11admin      0.25      0.24    4%       18     1% /admin
#

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. 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

3. UNIX for Dummies Questions & Answers

look for file size greater than "0" of specific pattern and move those to another directory

Hi , i have some files of specific pattern ...i need to look for files which are having size greater than zero and move those files to another directory.. Ex... abc_0702, abc_0709, abc_782 abc_1234 ...etc need to find out which is having the size >0 and move those to target directory..... (7 Replies)
Discussion started by: dssyadav
7 Replies

4. Shell Programming and Scripting

Substituting comma "," for dot "." in a specific column when comma"," is a delimiter

Hi, I'm dealing with an issue and losing a lot of hours figuring out how i would solve this. I have an input file which looks like this: ('BLABLA +200-GRS','Serviço ','TarifaçãoServiço','wap.bla.us.0000000121',2985,0,55,' de conversão em escada','Dia','Domingos') ('BLABLA +200-GRR','Serviço... (6 Replies)
Discussion started by: poliver
6 Replies

5. UNIX for Dummies Questions & Answers

replace "," with "." only in specific columns of a file?

Hi all, I have this text file containing 9 columns separated by space. The 8th columns contains the numbers. C1 C2 C3 C4 C5 C6 C7 C8 C9 er rt yt gh iu nk il 0.07 xs yt lr ty bg iu zk nh 0,0005 lt ...etc. I want to replace the comma with full stop only in 8th coloumn. the output... (8 Replies)
Discussion started by: Unilearn
8 Replies

6. 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

7. Shell Programming and Scripting

how to create flat file delimited by "\002"

I need to create a flat file with columns delimited by "\002" (octal 2) I tried using the simple echo. name="Adam Smith" age=40 address="1 main st" city="New York" echo ${name}"\002"${age}"\002"${address}"\002"${city} > mytmp but it creates a delimiter with different octal... (4 Replies)
Discussion started by: injey
4 Replies

8. Shell Programming and Scripting

Not able to create any file name start with "-" hyphen in Solaris

Hi All, I am not able to create any file name start with "-" hyphen. Any logical issue with these types of files creation in Solaris. ============================== bash-3.00$ touch -file.txt touch: illegal option -- i usage: touch file... touch ] file... touch ... (5 Replies)
Discussion started by: hanu_oracle
5 Replies

9. HP-UX

To give the "unzip" permissions & "create" file permissions

Hi, I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory. Thanks in advance. Mike (3 Replies)
Discussion started by: Mike1234
3 Replies

10. UNIX for Dummies Questions & Answers

grep/cat/more -- search in a txt file and display content from a specific "keyword"

Hi, I have a .txt file Sample: ===================== NEXT HOST ===================== AEADBAS001 ip access-list extended BLA_Incoming_Filter ip access-list extended BLA_Outgoing_Filter access-list 1 permit xxxxxxxxxxxxxx access-list 2 permit xxxxxxxxxxxxxx =====================... (4 Replies)
Discussion started by: I-1
4 Replies
Login or Register to Ask a Question