ispCP - Board - Support
ispcp-apache-logger is crashing - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: ispcp-apache-logger is crashing (/thread-4149.html)



ispcp-apache-logger is crashing - pgentoo - 08-31-2008 10:08 AM

My apache error log file is full of:

piped log program ' /var/www/ispcp/engine/ispcp-apache-logger' failed unexpectedly

Anyone else having this issue? I'm running on perl 5.8.8.


RE: ispcp-apache-logger is crashing - sci2tech - 08-31-2008 06:51 PM

pgentoo Wrote:My apache error log file is full of:

piped log program ' /var/www/ispcp/engine/ispcp-apache-logger' failed unexpectedly

Anyone else having this issue? I'm running on perl 5.8.8.

Do you have in /var/log/ispcp ispcp-apache-logger.sterr and ispcp-apache-logger.stout? If yes please provide their contents. Also are /usr/local/www/logs /usr/local/www/logs/users directories writable for apache running user?


RE: ispcp-apache-logger is crashing - pgentoo - 09-01-2008 03:40 AM

stderr looks like:

Code:
Use of uninitialized value in string ne at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line 1.
Use of uninitialized value in numeric ne (!=) at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line
1.
Use of uninitialized value in string ne at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line 2.
Use of uninitialized value in numeric ne (!=) at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line
2.
Use of uninitialized value in string ne at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line 3.
Use of uninitialized value in numeric ne (!=) at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line
3.
Use of uninitialized value in string ne at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line 4.
Use of uninitialized value in numeric ne (!=) at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line
4.
Use of uninitialized value in string ne at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line 5.
Use of uninitialized value in numeric ne (!=) at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line
5.
Use of uninitialized value in string ne at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line 6.
Use of uninitialized value in numeric ne (!=) at /var/www/ispcp/engine/ispcp-apache-logger line 144, <STDIN> line
6.

stdout looks like:

Code:
Trouble line:
        my.domain.com 12.34.56.78 - - [31/Aug/2008:10:27:35 -0700] "GET /themes/omega_original/images/login/login_lock.jpg HTTP/1.1" 200 1336 "http://12.34.56.78/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 3.5.21022; Zune 2.5; Media Center PC 5.1; MS-RTC LM 8)"



RE: ispcp-apache-logger is crashing - pgentoo - 09-01-2008 03:46 AM

Also, that users logs folder is writable by apache. I don't have the folders you mentioned though, but i'm guessing thats just a distro difference?

Code:
ispcp logs # ls -la
total 8
drwxrwx--- 2 vu10001 apache 4096 Aug 31 10:44 .
drwxrwx--- 8 vu10001 apache 4096 Aug 31 10:44 ..
ispcp logs # pwd
/var/www/virtual/newdomain.com/logs



RE: ispcp-apache-logger is crashing - sci2tech - 09-01-2008 07:33 AM

Sorry /usr/local/www/logs and /usr/local/www/logs/users are for *bsd. For gentoo are /var/log/apache2 and /var/log/apache2/users, from here files are copied to users folders. Also relevant folder is /var/log/ispcp but i see that this is ok since you have ispcp-apache-logger.stout. I`ll modify regexp for processing line and it will correct this error. Problem is generated by [31/Aug/2008:10:27:35 -0700] I only take account of posibility that this char can be + not -. Thanks for signaling and it will be corrected in my next commit


RE: ispcp-apache-logger is crashing - pgentoo - 09-01-2008 08:44 AM

Great to hear. If you can get this committed today it would be great. Thanks!


RE: ispcp-apache-logger is crashing - sci2tech - 09-02-2008 05:03 AM

Done. Please test r1338.