Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005747 [Resin] major always 06-09-14 04:58 11-11-14 11:08
Reporter vicsanca View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.40
Summary 0005747: mod_caucho breaks rotatelog on apache
Description Using rotatelogs and resin breaks rotatelogs with segmentation fault
Additional Information Installing Resin 4.0.x on Centos 6.5 x64 with Apache

service iptables stop
chkconfig iptables off
yum update
yum install gcc httpd httpd-devel openssl-devel wget java-1.6.0-openjdk-devel
wget http://www.caucho.com/download/resin-4.0.40.tar.gz [^]
tar xvfz resin-4.0.40.tar.gz
mv resin-4.0.40 /usr/resin
cd /usr/resin
./configure --with-apache=/usr/sbin --with-apxs=/usr/sbin/apxs --with-apache-libexec=/usr/lib64/httpd/modules --with-apache-include=/usr/include/httpd --enable-64bit --prefix=/usr/resin
make
make install
chkconfig resin on
chkconfig httpd on
service resin start
service httpd start

vi /etc/httpd/conf/httpd.conf

Check Resin is working accessing http://[your_ip]/caucho-status [^]
Locate
    CustomLog logs/access_log combined
Change it by
    CustomLog "|rotatelogs /var/log/httpd/access_log 86400" common

You get this error:
[Mon Jun 09 11:55:52 2014] [notice] child pid 5211 exit signal Segmentation fault (11)
piped log program 'rotatelogs /var/log/httpd/access_log 86400' failed unexpectedly


rotatelogs works fine if resin module is not included.
Attached Files

- Relationships

- Notes
(0006453)
vicsanca
06-09-14 05:34

Apache is not working if mod_caucho and rotatelogs. Not only rotatelogs fails.
 
(0006456)
vicsanca
06-12-14 00:16

Looks related with this:
http://bugs.caucho.com/view.php?id=5744 [^]

Version 4.0.35 works fine.
 
(0006457)
alex
06-20-14 09:39
edited on: 06-20-14 09:40

rep by Kaarthiprakash R Jayabalan


ErrorLog "|/opt/apache2/bin/rotatelogs -l -f /opt/apache2/logs/error-%Y_%m_%d-%H_%M_%S.log 86400"
 
CustomLog "|/opt/apache2/bin/rotatelogs -l -f /opt/apache2/logs/access-%Y_%m_%d-%H_%M_%S.log 86400" common
 
Test Result:
1. Now with the above rotatelogs logger configuration in apache, mod_caucho fails to load and there occurs “Broken Pipe” error when apache is started.

 

- Issue History
Date Modified Username Field Change
06-09-14 04:58 vicsanca New Issue
06-09-14 05:34 vicsanca Note Added: 0006453
06-12-14 00:16 vicsanca Note Added: 0006456
06-20-14 09:39 alex Note Added: 0006457
06-20-14 09:40 alex Note Edited: 0006457
06-22-14 21:51 Kaarthiprakash Issue Monitored: Kaarthiprakash
06-29-14 18:19 smiled Issue Monitored: smiled
11-11-14 11:08 ferg Assigned To  => ferg
11-11-14 11:08 ferg Status new => closed
11-11-14 11:08 ferg Resolution open => fixed
11-11-14 11:08 ferg Fixed in Version  => 4.0.42


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
39 total queries executed.
31 unique queries executed.
Powered by Mantis Bugtracker