Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Not enough disk space how do I increase disk space

Posted on 2003-03-25
5
Medium Priority
?
223 Views
Last Modified: 2013-11-13
I am installing mysql rpm and I get an error Not enough disk space.
Mount Point space needed
/var 24 Kilobytes.
How do I do increase the size of the var directory? it does not seem obvious.

Thanks
Patrick
0
Comment
Question by:dplinnane
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:majorwoo
ID: 8205565
well it's not obvious or reasy really.

#1 check for any log files that you can delete to clear up some space - but if you are that full you may need to add more space - as in a new drive, or a new partition from another drive - usually there isn't free space left on the disk so I would check for runaway log files - how big is your /var?

df -h

will tell you
0
 

Author Comment

by:dplinnane
ID: 8205636
var = 1000 mb I checked various files and found /var/log/httpd/error_log.1 = 889 mb. I assume its probably best to empty this file. What is the best way to do that just delete and creta another??

Thanks
Patrick
0
 
LVL 9

Accepted Solution

by:
majorwoo earned 200 total points
ID: 8205744
echo "" > /var/log/httpd/error_log.1

will clear the log file - you may want to look into how frequently you rotate your log files or if there is one error spamming the log file that you can fix
0
 

Author Comment

by:dplinnane
ID: 8205758
var = 1000 mb I checked various files and found /var/log/httpd/error_log.1 = 889 mb. I assume its probably best to empty this file. What is the best way to do that just delete and creta another??

Thanks
Patrick
0
 

Author Comment

by:dplinnane
ID: 8205819
Thanks very much, I will loook into the suggestions you made.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month13 days, 3 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question