Root Folder Space Maintenance (SCO)


 
Thread Tools Search this Thread
Operating Systems SCO Root Folder Space Maintenance (SCO)
# 15  
Old 06-12-2007
Thanks for the files. Managed to copy cleantmp & codeset. Having problems with removing the invalid cron folder. I emptied its contents.

Problems:
1. Refusing to overwrite with cron file you sent.
2. Not sure why but when cd to it, it puts me into /dev/ttypdir. This is empty.
3. 'rm -r cron' fails with error 'rm: unable to remove directory cron: File exists (Error 17)'.

'integrity -e' now only complains of the cron folder.
# 16  
Old 06-12-2007
Try
rmdir cron
If that complains that it is not empty,
cd cron
rm *
cd ..
and try again.
Also see if
ls -li cron
returns a link to another file, then try deleting it instead.

Is the system now running more or less normally?
# 17  
Old 06-13-2007
1. 'rmdir cron' refuses with 'Directory not empty'
2. cd cron, rm * then tried again still refused with same message
3. 'li cron' return 'total 0' and doesnt return a link to another file.
4. 'find /' as root still brings errors (screen fulls) as before.
5. 'cd cron' then 'pwd' shows '/dev/ttypdir'. 'ls -al *' shows its empty.
6. Tried 'mv cron /run/.' & 'mv cron /run/cron' fails with target (/run/./cron & /run/cron) not a directory.

Not sure why i am redirected to this folder as the cron is not a link and properties are 'drw-r--r--' . What exactly is '/dev/ttypdir'??

The system is ok (Mon-Sat) but Sunday the /tmp got the huge crout file and fills up /root. It haapened again this last Sunday. I am sure it will happen again this Sunday since 'find /' not working.
# 18  
Old 06-13-2007
I checked a 5.0.5 system, and it has no file/directory named ttypdir.
If you haven't created your own jobs, the only job that would be run on Sunday (on the system that I checked) is /etc/cleanup. Disable it in /usr/spool/cron/crontabs/root.
Then at least the system will not go down again. All that this job does is truncate some log files, and does a 'find' in order to remove any 'core' files more than 7 days old.
Have you tried removing 'cron' from within /var/opt/K/SCO/Unix/5.0.5Eb/etc/default, as opposed to /etc/default ?
It may be time to re-install the operating system.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Move files from Space Folder to other folder

I want to move a folder with spaces from one folder to another. I have two folders like this, 1).RT_032-222 -4444-01/ 2). RT_032-555 -7777-01/ I want to move files from 2 to 1 through shell script.Here I want to assign this like a user defined variable like as Source branch... (2 Replies)
Discussion started by: kannansoft1985
2 Replies

2. HP-UX

Which Folder occupies more space?

Hi, What are the correct parameters to list folders size in MBs under a particular directory in HP-UX ? I know and commands but cannot get the output of folder sizes in MBs. (4 Replies)
Discussion started by: mohtashims
4 Replies

3. Solaris

root password for system maintenance (control-d to bypass)

I have message "root password for system maintenance (control-d to bypass)" after Solaris 10 boots up. Why it appears ? thx for help. (3 Replies)
Discussion started by: presul
3 Replies

4. SCO

root out of space in sco 5

DEAR Team, I need some help in sco open server 5 while booting server beloow message giving server HTFS no space dev HD 1/42 Thanks Skb (4 Replies)
Discussion started by: sudhir69
4 Replies

5. UNIX for Dummies Questions & Answers

Protecting a folder/directory against root access.

A friend and I run a vbulletin forum which recently got hacked. We believe what wound up happening was the attacker gained access to the VPS box and from there elevated their user accounts to admin status on our forums. Obviously if someone gets into our box in the future it'll be a disaster so... (1 Reply)
Discussion started by: fannypack
1 Replies

6. Shell Programming and Scripting

find the folder with space in name.

A solaris server with SAMBA share folder. The PC users created many folders with space on it, I want to find them out, but not list its subfolders. For example, I have below folders Copy of ABC/efg/xy sa/Test again/xyt If I use command: find . -type d |grep " " I will list 6 folders, but... (2 Replies)
Discussion started by: rdcwayx
2 Replies

7. UNIX for Dummies Questions & Answers

Creating space in root folder

Hi , I was wondering if anyone knows any great ways for creating space in your Root Folder. My root folder was created with only 247.7MB & I found out that its now full & I was initially wondering how important the "thumbnails Folder" was & if it was alright to delete their contenses as I noticed... (2 Replies)
Discussion started by: Browser
2 Replies

8. Shell Programming and Scripting

space in folder name

hi my folder name is below FTP_DIR="/DATA/TEMP/PA Mthly and Qrty files" But when i am using the varaible in my ftp shel script i am getting the error '/DATA/TEMP/VA: The system cannot find the path specified please advice. thanks in advance sam (2 Replies)
Discussion started by: sam99
2 Replies

9. Shell Programming and Scripting

Trick to ignore space in folder name

Hello All, I am getting error while passing a folder name that has space to the cmd line argument. sh log_delete2.sh "/home/kumarpua/TESTARTIFACTS/atf-chix/ATF-subversion-dev/ssenglogs/A RM" log_delete2.sh: line 17: cd: /home/kumarpua/TESTARTIFACTS/atf-chix/ATF-subversion-dev/ssenglogs/A:... (3 Replies)
Discussion started by: pulkit
3 Replies

10. UNIX for Dummies Questions & Answers

space in perticular folder in unix

can any one tell me how to know the free space in perticular folder in unix. size in bytes/MB. thanks in adv. spandu (7 Replies)
Discussion started by: spandu
7 Replies
Login or Register to Ask a Question