Sponsored Content
Operating Systems AIX [Solved] Not able to delete/create file in /tmp Post 302884514 by solaris_1977 on Monday 20th of January 2014 04:01:45 PM
Old 01-20-2014
[Solved] Not able to delete/create file in /tmp

This is AIX box and I am not able to create or delete file in /tmp though space is there
Code:
root@ttcols01/ #touch /tmp/test_file
touch: 0652-046 Cannot create /tmp/test_file.
root@ttcols01/ #mkdir /tmp/test_dir
mkdir: 0653-358 Cannot create /tmp/test_dir.
/tmp/test_dir: Invalid file system control data detected.
root@ttcols01/ #id
uid=0(root) gid=0(system) groups=2(bin),3(sys),7(security),8(cron),10(audit),11(lp),203(avdefs)
root@ttcols01/ #ls -ld /tmp
drwxrwxrwt   28 bin      bin            8192 Jan 18 04:30 /tmp
root@ttcols01/ #mount  | grep tmp
         /dev/hd3         /tmp             jfs2   Sep 26 14:26 rw,log=/dev/hd8
root@ttcols01/ #

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

monitoring /tmp and /var/tmp for suspicous activity

Hello, does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present? Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies

2. Solaris

Auto delete files in /tmp dir ???

I have a Solris 9 box my problem is when I restart my box all my files and dirs in /tmp dir will be deleted exept 2 directories I found them since installation phase !!!! How to keep my files at that dir " /tmp " even after restarting ??? (1 Reply)
Discussion started by: DarkSoul
1 Replies

3. Linux

/var/tmp/slapd.log.swp delete?

Hi All, Can I delete the above file? It's big, about 1G. It's on a redhat ent 4 with ldap on it. Is that safe to delete? It wasn't been used for already a month and it's in the backup storage. Thanks for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies

4. Shell Programming and Scripting

Script for delete tmp files older than 15 days and owned by "xxx" id

Hi All , I want to delete files from /tmp directory created by "xxxx" id. because i got the list says more than 60 thousand files were created by "xxxx" id since 2002. The /tmp directory has lot of files created by different user ids like root,system etc.. But, i need a script to... (2 Replies)
Discussion started by: vparunkumar
2 Replies

5. Shell Programming and Scripting

Delete one Line from Main File and Create another

Hi I need to write a script which will search for some text in some CSV files and will delete the record/line with the matching text and will insert that record/line into some other file. Can you please help? Here is what I want: - Contents of MainFile.csv: - 1,2,3,Loan,4,5,6... (3 Replies)
Discussion started by: kapilk
3 Replies

6. Shell Programming and Scripting

I need to make a script to delete files not in use in /tmp

I need to make a script to delete files not in use in /tmp Thanks! (4 Replies)
Discussion started by: raulochi
4 Replies

7. UNIX for Dummies Questions & Answers

[Solved] delete character in vi file

I have a file with lots of unnecessary double quotes ("). I tried to remove them but not successful. Please assist. Thanks! (3 Replies)
Discussion started by: onlinelearner02
3 Replies

8. Red Hat

[Solved] FTP 553 Could not create file.

Hi, We have one server - "ftpserver", just setup with RedHat 5.7. ftpserver is able to get & put from another server, however, other server are unable to get or put in the ftpserver. # su - ftpuser $ pwd /home/ftpuser $ cd .. $ ls -ltr drwxrwxrwx 3 ftpuser ftpuser 4096 Sep 10 09:19... (0 Replies)
Discussion started by: beginningDBA
0 Replies

9. UNIX for Dummies Questions & Answers

How to create a file even root user also cant delete?

Is there any way to create a file in linux that root user also can't delete? (8 Replies)
Discussion started by: palani13dec
8 Replies

10. Solaris

Solaris 10 error "-sh: /tmp/outfile: cannot create"

Hello, Each time a user log on to host, they receive below error: -sh: /tmp/outfile: cannot create Example: $ ssh host user@host's password: Last login: Fri Dec 4 08:17:28 2015 from client.ref |-----------------------------------------------------------------| -sh:... (2 Replies)
Discussion started by: feroccimx
2 Replies
delete clearinghouse(1m)												  delete clearinghouse(1m)

NAME
delete clearinghouse - Deletes the specified clearinghouse from the local server system SYNOPSIS
cdscp delete clearinghouse clearinghouse-name ARGUMENT
The full name of the clearinghouse. DESCRIPTION
The delete clearinghouse command deletes a clearinghouse from the local server system. CDS does not permit you to delete a cleared clear- inghouse. Before you can delete a cleared clearinghouse, you must recreate it using the create clearinghouse command. The delete clearinghouse command automatically deletes all read-only replicas from a clearinghouse. CDS does not permit you to delete a clearinghouse that contains a master replica. See the DCE Directory Service module of the DCE Administration Guide for more information about handling master replicas when deleting a clearinghouse. Permissions Required You must have write and delete permission to the clearinghouse and administer permission to all directories that store replicas in the clearinghouse. The server principal needs delete permission to the associated clearinghouse object entry and administer permission to all directories that store replicas in the clearinghouse. NOTES
It is recommended that you delete all replicas except the root before issuing this command. This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE. EXAMPLE
The following command deletes a clearinghouse named /.:/sales/Orion_CH from the local server system: cdscp> delete clearinghouse /.:/sales/Orion_CH RELATED INFORMATION
Commands: clear clearinghouse(1m), create clearinghouse(1m), list clearinghouse(1m), set cdscp preferred clearinghouse(1m), show clearing- house(1m), show cdscp preferred clearinghouse(1m) Books: DCE Administration Guide delete clearinghouse(1m)
All times are GMT -4. The time now is 08:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy