httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] Simple piped log fails
Date Tue, 14 Oct 2008 11:46:21 GMT
Hi.

I don't know the program, but if you try the following :

cd /var/log/apache2  (or wherever your logfiles are)
cat error.log | /usr/bin/logger -t '' -p local5.warn

what happens ?



Gerhardus.Geldenhuis@gta-travel.com wrote:
> Hi
> I am trying to get a simple piped logging example working
> 
> Entry in httpd.conf:
> CustomLog "|/usr/bin/logger -t '' -p local5.warn" combined
> 
> Apache version:
> Server Version: Apache/2.2.3 (CentOS)
> Server Built: Jan 15 2008 20:36:04
> Worker MPM
> 
> I am getting the following errors in the error log:
> piped log program '/usr/bin/logger -t '' -p local5.warn' failed
> unexpectedly
> piped log program '/usr/bin/logger -t '' -p local5.warn' failed
> unexpectedly
> piped log program '/usr/bin/logger -t '' -p local5.warn' failed
> unexpectedly
> 
> and when I restart I get the following error:
> [Tue Oct 14 12:33:34 2008] [warn] child process 20786 still did not
> exit, sending a SIGTERM
> [Tue Oct 14 12:33:34 2008] [warn] child process 20954 still did not
> exit, sending a SIGTERM
> [Tue Oct 14 12:33:34 2008] [warn] child process 21127 still did not
> exit, sending a SIGTERM
> [Tue Oct 14 12:33:34 2008] [warn] child process 21221 still did not
> exit, sending a SIGTERM
> [Tue Oct 14 12:33:34 2008] [warn] child process 10839 still did not
> exit, sending a SIGTERM
> 
> I saw a very old thread on the web about the same problem and it was
> solved back then.
> 
> I did a strace but did not see anything obvious, admittedly my
> interpreation skills of strace is limited.
> 
> Any help/suggestions would be highly appreciated.
> 
> Regards
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message