hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Logrotate on BurstNet servers (possibly others)
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Logrotate on BurstNet servers (possibly others)

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-16-2003, 01:10 PM
Rich Z Rich Z is offline
WHT Addict
 
Join Date: Nov 2002
Location: Tallahassee, FL
Posts: 169

Logrotate on BurstNet servers (possibly others)


Since I got my servers from BurstNet/Nocster, I have had problems with one of them having the Apache domain logs running away constantly. I have had to manually go in and delete those files when they would start pushing the /usr volume up over 85 percent. I have to do this about every month.

So I looked into the logrotate program and found that although it does take care of many of the other scripts on the server, for some reason the domain logs were excluded.

What needs to be done is to merely add a file containing this script into the directory /etc/logrotate.d:

/usr/local/apache/domlogs/*.com /usr/local/apache/domlogs/*.com-bytes_log {
daily
rotate 5
compress
}

And that does it.

If you have a server with high traffic, you may want to check that domlogs directory to see if the files are being rotated out.

Rich Z.

Reply With Quote


Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host BurstNET Completing Scranton, PA Flagship Data Center Web Hosting News 2012-11-23 14:57:51
Web Hosting Provider Host Cats Launches Dedicated Servers in India Web Hosting News 2012-08-24 16:10:39
Web Host MTL Servers Launches Shared Cloud Hosting, Cloud Servers Web Hosting News 2012-07-12 14:39:19
Web Host BurstNET Receives Funding for Data Center Expansion Web Hosting News 2012-01-19 16:19:36
Web Host QualiSpace Launches Managed Servers Web Hosting News 2011-10-14 17:07:58


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?