Current time: 12-26-2024, 11:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
ispcp-apache-logger is crashing
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #1
ispcp-apache-logger is crashing
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.
08-31-2008 10:08 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: ispcp-apache-logger is crashing
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?
08-31-2008 06:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #3
RE: ispcp-apache-logger is crashing
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)"
09-01-2008 03:40 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #4
RE: ispcp-apache-logger is crashing
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
09-01-2008 03:46 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #5
RE: ispcp-apache-logger is crashing
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
09-01-2008 07:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #6
RE: ispcp-apache-logger is crashing
Great to hear. If you can get this committed today it would be great. Thanks!
09-01-2008 08:44 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #7
RE: ispcp-apache-logger is crashing
Done. Please test r1338.
09-02-2008 05:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)