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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > user error_logs in cpanel

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2007, 07:12 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Default user error_logs in cpanel

Well I just about got everything set, Everytime I think I do something else comes up ;(. Anyway I notice that the error_log in users cpanel is not being wrote to anymore.
A lot of people use this to debug apps and such. Have I overlooked something or its not supposed to write to those logs?
Reply With Quote
  #2  
Old 06-22-2007, 07:49 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please check if it is a permission issue or not.
And everything should be logged into lsws/logs/error.log as well.
Reply With Quote
  #3  
Old 06-23-2007, 06:14 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
hmm I dont know, I know the access logs are fine. Im not even sure how cpanel does the error logs for users but I cant find it
Reply With Quote
  #4  
Old 07-27-2007, 08:03 AM
ice ice is offline
New Member
 
Join Date: Jul 2007
Posts: 1
Default ..

please keep us posted if you manage to make it work again or if it will be fixed in litespeed updates.
Reply With Quote
  #5  
Old 07-29-2007, 09:06 AM
razvan razvan is offline
New Member
 
Join Date: Jul 2007
Posts: 2
This is indeed a very annoying issue. My hosting server migrated from Apache to LiteSpeed approximately two weeks ago, a clever move by the way, but since then, the error log in cpanel stopped working. It's quite obvious is a LiteSpeed related problem. To one of the admins or LiteSpeed engineers, are you aware of it? Do you plan to get il solved in the next release or do you know how can we solve this issue? Thanks!
Reply With Quote
  #6  
Old 07-29-2007, 06:44 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Does anyone know how cPanel's per account error log works?
Does each vhost has its own log file? or everything was written to the global error_log, and each user extract the log message from the global log file?
Reply With Quote
  #7  
Old 07-29-2007, 07:02 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Quote:
Originally Posted by mistwang View Post
Does anyone know how cPanel's per account error log works?
Does each vhost has its own log file? or everything was written to the global error_log, and each user extract the log message from the global log file?
I think it extracts from the global, not sure. Because when mine quit working I looked everywhere using slocate and everything and couldnt find any individual error log.
But when looking in the /etc/httpd/logs/error_log nothing is being written there,

Would also be cool if you got it to write to audit_log on security stuff so csf would work on mod_security ban. But i do understand youre not trying to clone apache here so its not a biggy
Reply With Quote
  #8  
Old 07-29-2007, 07:55 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
cPanel does not create per-domain error logs (just look at the httpd.conf). Everything goes to a central error log. From looking at the central error log there is not domain name or anything in it to split it up. I did a little googl'ing and found this:

http://faq.cpanel.net/show.cgi?qa=105295717209989

The error log page simply greps the main error log for the user's account name.

Frank
Reply With Quote
  #9  
Old 07-29-2007, 08:35 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
OK, I see. thanks!
Please try change the server level error log file to /usr/local/apache/logs/error_log from LSWS web console.

LSWS log format may not match Apache's, but anyway, the missing file error should work.
Reply With Quote
  #10  
Old 07-29-2007, 09:56 PM
razvan razvan is offline
New Member
 
Join Date: Jul 2007
Posts: 2
Thanks, I will show my hosting company your answer, I hope this will do the trick.
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 11:48 PM.



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