hosted by liquidweb

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

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
Junior Guru
Join Date: Nov 2002
Location: Tallahassee, FL
Posts: 177

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 {
rotate 5

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.

Sponsored Links

Related posts from
Title Type Date Posted
Web Host BurstNET to Shut Down Customer Services by July 25 Web Hosting News 2014-06-24 18:21:24
Web Host BurstNET Acquired by DigiPLUS Web Hosting News 2014-05-01 08:33:48
BurstNET Sued for Not Making Equipment Lease Payments: Court Documents Web Hosting News 2014-05-01 08:34:05
BurstNET Informs Colocation Customers of Higher Prices, Location Change Web Hosting News 2014-05-01 08:34:05
Web Hosting Sales and Promos Roundup - November 1, 2013 Web Hosting News 2014-05-23 15:42:41

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
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! 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?