Buy Sell Discuss UK Domain Names at AcornDomains.co.uk

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 06:08:46 AM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > General and Domain News > General Board
Connect with Facebook

General Board General discussions. Please check main forum categories before posting here.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 20-09-2011, 03:48:21 PM     #1 (permalink)

 
fish's Avatar
 
Join Date: Nov 2006
Posts: 2,316
fish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond repute

how to switch off error_log in WHM

Does anyone know what service/where to look in order to stop error_log being generated on each of my sites? (or for them to auto delete after a certain time/size limit, is that poss?)

The combined size of all my sites error logs are unnecessarily huge ...

TIA

Fish
fish is offline  
Old 20-09-2011, 04:50:39 PM     #2 (permalink)

 
Join Date: May 2007
Posts: 1,148
monaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond repute

I don't think you can control the sizes from WHM. You could look at manually generating some logrotate rules for these error logs.

In the PHP configuration (under service config), you can switch into advanced mode and have more control over error handling (even switching off logging completely), however, if you don't log anything then finding future problems will be difficult.

What's generating so many errors?

First stop in my mind would be to address the processes that are causing the errors and resolve these so you only have genuine errors logged.
__________________
Alex Monaghan - Drop Catch & Drop Lists - PM for details
Online Accounting|Pine Furniture|Barbie
monaghan is online now  
Old 20-09-2011, 04:58:23 PM     #3 (permalink)

 
fish's Avatar
 
Join Date: Nov 2006
Posts: 2,316
fish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond repute

Hi Alex,

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-

seems to be a very popular entry!

any ideas ?
fish is offline  
Old 20-09-2011, 05:13:17 PM     #4 (permalink)

 
Join Date: May 2007
Posts: 1,148
monaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond repute

Any use? http://wordpress.org/support/topic/p...ynamic-library
__________________
Alex Monaghan - Drop Catch & Drop Lists - PM for details
Online Accounting|Pine Furniture|Barbie
monaghan is online now  
Old 20-09-2011, 05:49:30 PM     #5 (permalink)

 
fish's Avatar
 
Join Date: Nov 2006
Posts: 2,316
fish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond repute

Quote:
Originally Posted by monaghan View Post
thanks! looks I'm not the only one ....

I've turned of repeat error logging in PHP Configuration Editor, that hopefully should help.

H
fish is offline  
Old 21-09-2011, 06:56:35 PM     #6 (permalink)

 
jimm's Avatar
 
Join Date: Feb 2008
Location: North Yorkshire
Posts: 673
jimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond reputejimm has a reputation beyond repute

Indeed the first step should be to solve the errors but failing that log size rotation can be found in the tweak setting part (provided you are on 11.30 onwards).
__________________
Fov.cc | EvoOwners.co.uk | Forget Debt | xFTP | Jaimee | Linux Book | ESE Pods | Music Quotes
Affordable Server Admin - PM me!
jimm is offline  
Old 21-09-2011, 07:02:13 PM     #7 (permalink)

 
expertc's Avatar
 
Join Date: Apr 2009
Posts: 929
expertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond reputeexpertc has a reputation beyond repute

Quote:
Originally Posted by jimm View Post
Indeed the first step should be to solve the errors but failing that log size rotation can be found in the tweak setting part (provided you are on 11.30 onwards).
+1 about checking why it is so large. Deleting - you can set the size limit (as suggested above) or even set a cron job to delete the file every 1 hour or so...
__________________
Car Stereo Systems <> Insulation Materials <> Men's White Jeans <> Discount Laptops ...and many more for sale. Make me an offer ;)
expertc is offline  
Old 21-09-2011, 07:42:47 PM     #8 (permalink)

 
Join Date: May 2007
Posts: 1,148
monaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond repute

Quote:
Originally Posted by jimm View Post
Indeed the first step should be to solve the errors but failing that log size rotation can be found in the tweak setting part (provided you are on 11.30 onwards).
I didn't think the WHM log rotate hit the individual domain logs, isn't it just the system logs?
__________________
Alex Monaghan - Drop Catch & Drop Lists - PM for details
Online Accounting|Pine Furniture|Barbie
monaghan is online now  
Old 21-09-2011, 08:08:15 PM     #9 (permalink)

 
fish's Avatar
 
Join Date: Nov 2006
Posts: 2,316
fish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond repute

Just checked a few of the sites error logs and there's been none generated today, so whilst this is the culprit:

[20-Sep-2011 17:45:56] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0

turning off repeat error logging in PHP Configuration Editor has stopped the files growing hour by hour, day by day but of course not resolved the error repeating itself (however the sites run ok)
fish is offline  
Old 21-09-2011, 10:30:19 PM     #10 (permalink)

 
Join Date: May 2007
Posts: 1,148
monaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond repute

You should still address the issue though as it will hurt your performance if the system is having to handle errors on each page load.

Happy to take a look tomorrow morning if you want. (you'll need to remind be of the root password)
__________________
Alex Monaghan - Drop Catch & Drop Lists - PM for details
Online Accounting|Pine Furniture|Barbie
monaghan is online now  
Closed Thread



Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
News: What's in a Name? Loudoun County Public Schools to Switch to Shorter ... - Viva RSS Domain Name News 0 24-05-2010 08:59:06 PM
SWITCH sets up new unit for extra domain name services - Telecompaper RSS Domain Name News 0 17-08-2009 07:59:01 PM
Switch to lower annual fee for .ch, .li domains by CHF 5 - Telecom Paper (subscriptio RSS Domain Name News 0 10-12-2007 08:59:53 AM
Switch to lower domain registration fee to CHF 22 - Telecom Paper (subscription) RSS Domain Name News 0 05-07-2007 07:00:13 AM
Switch to offer secured domain name service - Telecom Paper (subscription) RSS Domain Name News 0 14-02-2007 08:59:05 AM

Web Hosting from UK2 from just 99p


All times are GMT. The time now is 06:08:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".