LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-25-2012, 02:31 AM   #1
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Rep: Reputation: Disabled
How to mv compress the apache log without stopping apache server


Hi

In my linux filesystem getting filled of rapidly .Only possible way to clean up logs But i find apache log is cach is holding by many apache process.If i cleaned up apache log ,apache could stopped working ,Can anyone help me wat can i do in these scenerio without stoopping apache server
 
Old 06-25-2012, 04:42 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 15,612

Rep: Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120Reputation: 5120
probably you need to use logrotate: http://www.thegeekstuff.com/2011/07/rotate-apache-logs/
 
  


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
apache startup error after deleting up apache log files jayakumar01 Linux - Server 2 12-15-2011 12:13 PM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 05:14 PM
How to log Apache server hits? javedmk80 Linux - Server 3 12-11-2007 06:02 AM
Apache mod_gzip: fails to compress PHP Apollo77 Linux - Software 2 02-19-2005 12:23 AM
stopping bots from getting to my apache server Lleb_KCir Linux - Software 2 06-15-2004 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:53 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
Open Source Consulting | Domain Registration