Re: Simple piped log fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux