|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Howcome there is no option to place suexec_log into log rotation?
I mean, ours was reaching 2gb. Is there a reason why this was left out of the log rotation option in WHM? Seems like this is a fairly important oversight.
Believe it or not, this is the 3rd largest log file on our boxes. |
|
|||
|
log rotation has been like this on a cpanel server since the beginning of time.
despite many bugzilla reports reports I guess since log rotation is not really a cpanel task but a server task it up to you Just edit your /etc/logrotate.conf and add under # system-specific logs may be also be configured here. /usr/local/apache/logs/suexec_log { weekly rotate 4 } #you might want to add these (they are likly not being rotated either) /usr/local/apache/logs/access_log { weekly rotate 4 } /usr/local/apache/logs/error_log { weekly rotate 4 /var/log/chkservd.log { weekly rotate 4 } # seems they added a log rotation feature in WHM for cpanel logs when did they do that
__________________
Lowest Host/Empire Technology LLC Affordable hosting solutions http://lowesthost.com VPS solutions http://empire-hosting.net/vpsspecial.html Last edited by dalem; 09-09-2008 at 03:21 AM. |
|
||||
|
To ease confusion, please elaborate how you feel cpanellogd which handles /usr/local/apache/logs/suexec_log log rotation (shown above by a member of our QA staff) is irrelevant to a discussion about /usr/local/apache/logs/suexec_log (presumably the suexec_log referred to in the original post) not being properly rotated. Thanks.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit |
|
|||
|
I stand corrected (but mine never rotates either)
__________________
Lowest Host/Empire Technology LLC Affordable hosting solutions http://lowesthost.com VPS solutions http://empire-hosting.net/vpsspecial.html Last edited by dalem; 09-09-2008 at 03:05 PM. |
|
|||
|
Quote:
![]() Also, will "/var/log/chkservd.log" rotation be available through WHM at some point? Thanks Last edited by vikins; 01-19-2009 at 02:46 PM. Reason: add chkservd.log question |
|
|||
|
Quote:
Thank you
__________________
Content is king. Functionality is a gift. Usability is God. |
|
|||
|
Well I guess we have a faulty cpanel installation then, since suphp_log just hit 2GB and cpanellogd is running..
Can't say I've seen these logs being rotated ever on any of our servers.
__________________
David, Systems Administrator |
|
||||
|
Quote:
WHM >> Service Configuration >> Apache Configuration >> Log Rotation WHM >> Service Configuration >> cPanel Log Rotation
__________________
cPanel Kenneth cPanel QA |
|
|||
|
Quote:
There is no error_log/access_log/suphp_log rotation for apache. You have to manually configure logrotate.conf which isn't terribly difficult, just another step in configuring a cpanel server. |
|
||||
|
Quote:
Your information about WHM >> Service Configuration >> Apache Configuration >> Log Rotation is incorrect. That interface allows you to specify rotation for any log file in /usr/local/apache/logs
__________________
cPanel Kenneth cPanel QA |
|
|||
|
Quote:
Whats weird that I noticed while configuring logrotate though, is that I have never configured error_log nor access_log because they "appear" to already be being rotated by something. Is that rotation not part of the error and access log accounting for users? And if I enable rotation on those logs won't I be disturbing the rotation of users logs that they have access to (domlogs et al)? I've never rotated them and they've never grown out of control, maybe I'm just lucky but they look like they're being rotated already with no known configured intervention. Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|