LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > bytelog configured in LSWS vhost doesn't work.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-26-2007, 09:50 PM
Xorlev Xorlev is offline
Senior Member
 
Join Date: Nov 2005
Posts: 58
Default bytelog configured in LSWS vhost doesn't work.

I'm running LSWS 3.3.3 on CentOS Enterprise 4.6 i686.

It is a dynamic site.

I posted about a problem I had with the LSWS bytelogger a few months back, and just now checked to see if it had been resolved.

I checked today to see if LSWS had started properly logging bytes again, but as of yet the answer is still no. The file permissions are as follows:

-rw-rw-rw- 1 nobody nobody 0 Nov 30 23:16 domain.net-bytes_log

The vhost in LSWS has /usr/local/apache/domlogs/domain.net-bytes_log configured as byte log path, runs as nobody:nobody, all have read/write access to it, but it still doesn't write the log. It appeared to work correctly until 02/13/07 or so, the date of the last log rollover. Any ideas? Is this a problem with LSWS, or my configuration? It is strange though that it would suddenly decide all those months ago to quit working.

Also, if you all have time, it'd be nice if we could configure the bytelog rollover/compression/etc. separate from the access log. I'd actually prefer it didn't rollover at all, though it did (while it was still working) on multiple occasions.

Last edited by Xorlev; 12-26-2007 at 10:04 PM..
Reply With Quote
  #2  
Old 12-27-2007, 11:13 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
You need to check the permission of domlogs directory as well.
Reply With Quote
  #3  
Old 12-27-2007, 11:30 AM
Xorlev Xorlev is offline
Senior Member
 
Join Date: Nov 2005
Posts: 58
drwxrwx--x 59 root nobody 124K Dec 27 13:23 domlogs/

Group has read/write/execute permissions. The server has been reloaded. Should this not be sufficient?
Reply With Quote
  #4  
Old 01-03-2008, 12:38 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Is the byteslog configured through Apache httpd.conf? created by cPanel? If yes, which version of cPanel is used? Please show me the configuration section related to it. If all vhosts are configured with LSWS configuration natively, please show me an example of the configuration as well.

If you remove the empty log file, will it get recreated automatically?
Reply With Quote
  #5  
Old 01-03-2008, 01:37 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Have checked a few cPanel 11.11.0 servers, byte logging works fine.
Reply With Quote
  #6  
Old 01-23-2008, 07:57 PM
totalnet totalnet is offline
New Member
 
Join Date: Jun 2007
Posts: 8
I am having the same problem with byteslog file not showing up. I use the native LSWS web config turn on byteslog setting. Below is the section from vhost config file. I do see the access log file, but no byte log file. LSWS standard v3.3.3,

<logging>
<log>
<useServer>1</useServer>
</log>
<accessLog>
<useServer>0</useServer>
<fileName>$SERVER_ROOT/logs/$VH_NAME.access.log</fileName>
<pipedLogger></pipedLogger>
<logFormat></logFormat>
<logHeaders>3</logHeaders>
<rollingSize>500M</rollingSize>
<keepDays>30</keepDays>
<bytesLog>$SERVER_ROOT/logs/$VH_NAME.byte.log</bytesLog>
<compressArchive>0</compressArchive>
</accessLog>
</logging>
Reply With Quote
  #7  
Old 01-23-2008, 08:09 PM
Xorlev Xorlev is offline
Senior Member
 
Join Date: Nov 2005
Posts: 58
No, it's natively configured through a LSWS vhost somewhat like the above.
Reply With Quote
  #8  
Old 01-24-2008, 09:54 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
OK, this issue has been identified and fix has been committed to the 3.3.4 release.
Sorry for the delay, we do need a little bit more detail in the bug report to get it fixed.
Reply With Quote
Reply

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

Forum Jump


All times are GMT -7. The time now is 02:51 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.