Safely delete logs

Saturday 3 December 2011 @ 1:13 pm

If you have a bunch of logwatch folders under some directory, most likely under /var/cache/logwatch/ that are filling up your server, you should fix it before it brings your server down. Often this can cause the disks to fill up in just a month or two, maybe less. If logwatch is causing your disks to fill up, keep reading.

If you are asking yourself: How do I find out if logwatch is filling up my server? The answer is:

  1. Look at your logwatch configuration files to determine where the TmpDir is set to
  2. Go to that tmp directory, and run this command:

du -sm ./*

From here, you can use your brain to determine if that directory is the problem. Remember, the df command shows your total disk space usage:

df

 

Okay, now you’ve determined that logwatch files are the problem,. Are you asking yourself one of these questions?

  • Why are these logwatch files filling up my server?
  • Why are these logwatch files not getting deleted?
  • How do I fix this so logwatch files get deleted from now on?
  • Is it okay to delete all of these logwatch files?
  • How do I delete these logwatch files?


Continue Reading »
Safely delete logs





Upgrading php53 on CentOS

Monday 11 July 2011 @ 11:44 am

How to upgrade php to the last version so you can install the last version of WordPress CMS:


Continue Reading »
Upgrading php53 on CentOS





270+ Tools for Running a Business Online

Wednesday 3 June 2009 @ 11:45 am

LiteAccounting – Invoice and track payment from your customers without a bunch of extra, useless features.

Invoice Journal – Free invoicing program.

endeve – Issue invoices, manage clients and check revenues all in one place.

ContractPal – Take your contracts and forms paperless and have them completed, validated, signed and processed online.


Continue Reading »
270+ Tools for Running a Business Online





«« Previous Posts