LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 01: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, 03:42 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

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


Reply



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

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

All times are GMT -5. The time now is 04:23 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