LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-18-2003, 06:18 PM   #1
aaronlc
LQ Newbie
 
Registered: Feb 2003
Location: San Jose, CA
Distribution: Mandrake V?
Posts: 5

Rep: Reputation: 0
Clear out Linux Mandrake disk space?


On my Linux Mandrake server PC, I can't run startX or make any changes to tabinit because linux reports that it is out of room. A report of the root partion space shows that it is indeed filled-up (1.87GB total 1.87 GB used).

Question: is there any way to "empty the trash" or clean-up temporary files from the prompt (I can't run startx and get into KDE)?

Thank you.
 
Old 02-18-2003, 06:28 PM   #2
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
Have a look at how big your log files are
su password
du -s /var/log/* and du -s /var/log/*/*
just remove the log.gz ones first
rm /var/log/*.gz and rm /var/log/*/*.gz
more big log files ? throw them out ! MDK will make new ones automaticly !
 
Old 02-18-2003, 07:35 PM   #3
aaronlc
LQ Newbie
 
Registered: Feb 2003
Location: San Jose, CA
Distribution: Mandrake V?
Posts: 5

Original Poster
Rep: Reputation: 0
Wow that was a fast reply; Thank You!

Short answer - I found the file and deleted it, now it works - thank you!

Long answer - I took your advice and went into /var/log. I had a hard time finguring out how to display files by size, but I noticed that my inittab file contained the line

S0:2345:respawn:/sbin/mgetty ttyS0

...and so I looked and found a file called mgetty.log.ttyS0, which was 1.8GB big! I deleted this file and now I can copy files, run samba, etc. I don't yet understand why this file was logging various activities about every 15 seconds since I brought the server up (July 2001), but I can certainly live without it.

Thank you very much!
 
Old 02-18-2003, 07:40 PM   #4
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
You're welcome !
(by the way I had log files of more then 4 gig ! )

Last edited by onurb; 02-18-2003 at 07:43 PM.
 
Old 02-18-2003, 07:59 PM   #5
aaronlc
LQ Newbie
 
Registered: Feb 2003
Location: San Jose, CA
Distribution: Mandrake V?
Posts: 5

Original Poster
Rep: Reputation: 0
What started this was that I could not run the "startx" windozs-like interface on the Linux server. My theory was: aliens wrecked my linux software, which had been performing flawlessly to this point.

Now that runs just fine too.

I feel just a little embaressed.
 
Old 02-18-2003, 08:09 PM   #6
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
The only aliens who like wrecking software come from Redmond ( Should be close to San Jose CA as far as I'm informed, so be allert anyway !) :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
What's a good way to clear up some space kidicarus Debian 9 06-14-2004 08:41 PM
Mandrake 10 Disk Space Requirements? mehdinh Mandriva 3 05-28-2004 08:41 AM
Mandrake 8.1 disk space management issue lhoff Linux - Distributions 5 11-21-2002 10:23 AM
How to clear up disk space? graystarr Linux - Newbie 3 01-24-2002 09:44 AM


All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration