-
Hi folks, Are the Apache modules for XDV working for anyone? (http://code.google.com/p/html-xslt/) I am a happy nginx/XDV user, but I would now like to switch from nginx to Apache (don't ask) to do the transform and am having trouble. I've tried now on about a half dozen new machines (from rackspace cloud) e.g. Debian 5, various Ubuntus, and now Arch Linux) and I consistently get this in the logs: [root@orlok mod-transform-html-xslt]# tail /var/log/httpd/error_log [Sat Jun 19 01:30:36 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sat Jun 19 01:30:36 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sat Jun 19 01:30:36 2010] [notice] Digest: generating secret for digest authentication ... [Sat Jun 19 01:30:36 2010] [notice] Digest: done [Sat Jun 19 01:30:37 2010] [warn] pid file /var/run/httpd/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sat Jun 19 01:30:37 2010] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a DAV/2 mod_transform/0.7.0 configured -- resuming normal operations [Sat Jun 19 01:30:41 2010] [notice] child pid 8878 exit signal Segmentation fault (11) [Sat Jun 19 01:30:43 2010] [notice] child pid 8879 exit signal Segmentation fault (11) [Sat Jun 19 01:30:44 2010] [notice] child pid 8880 exit signal Segmentation fault (11) [Sat Jun 19 01:30:44 2010] [notice] child pid 8881 exit signal Segmentation fault (11) Resulting in a blank page in my browser, where I am expecting the transform to occur. But I know this has to work because we are using it on dev.plone.org (!?). On one of the machines, I ran `gdb apache2` and `gdb> run -X` and I got this: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fed9ef2d750 (LWP 31971)] 0x00007fed9e7c1533 in apr_table_vdo () from /usr/lib/libapr-1.so.0 I'm just doing "./configure" for both mod_depends and mod_transform, could that be the problem? Everything installs just fine. My most recent apache config (on Arch Linux) looks like this: LoadModule depends_module /usr/lib/httpd/modules/mod_depends.so LoadModule transform_module /usr/lib/httpd/modules/mod_transform.so <VirtualHost *> ServerName orlok.aclark.net FilterDeclare THEME FilterProvider THEME XSLT resp=Content-Type $text/html TransformOptions +ApacheFS +HTML TransformSet /theme.xsl TransformCache /theme.xsl /etc/httpd/theme.xsl <LocationMatch "/"> FilterChain THEME </LocationMatch> ServerAdmin webmaster@... DocumentRoot "/etc/httpd/docs/dummy-host2.example.com" ErrorLog "/var/log/httpd/orlok-error_log" CustomLog "/var/log/httpd/orlok-access_log" common </VirtualHost> Help! Alex -- Alex Clark · http://aclark.net Author — Plone 3.3 Site Administration · http://aclark.net/admin- Thread Outline:
-
> > [root@orlok mod-transform-html-xslt]# tail /var/log/httpd/error_log > [Sat Jun 19 01:30:36 2010] [warn] Init: Session Cache is not configured > [hint: SSLSessionCache] > [Sat Jun 19 01:30:36 2010] [notice] suEXEC mechanism enabled (wrapper: > /usr/sbin/suexec) > [Sat Jun 19 01:30:36 2010] [notice] Digest: generating secret for digest > authentication ... > [Sat Jun 19 01:30:36 2010] [notice] Digest: done > [Sat Jun 19 01:30:37 2010] [warn] pid file /var/run/httpd/httpd.pid > overwritten -- Unclean shutdown of previous Apache run? > [Sat Jun 19 01:30:37 2010] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 > OpenSSL/1.0.0a DAV/2 mod_transform/0.7.0 configured -- resuming normal > operations > [Sat Jun 19 01:30:41 2010] [notice] child pid 8878 exit signal > Segmentation fault (11) > [Sat Jun 19 01:30:43 2010] [notice] child pid 8879 exit signal > Segmentation fault (11) > [Sat Jun 19 01:30:44 2010] [notice] child pid 8880 exit signal > Segmentation fault (11) > [Sat Jun 19 01:30:44 2010] [notice] child pid 8881 exit signal > Segmentation fault (11) I had to disable error logging (XDV will spit lines of every XHTML compilant error). The error log was flooding too fast and Apache was dying for tihs. TransformOptions +ApacheFS +HTML +HideParseErrors https://svn.plone.org/svn/collective/collective.developermanual/trunk/source/templates_css_and_javascripts/xdv.txt-
Hi Mikko, Mikko Ohtamaa wrote: >> >> [root@orlok mod-transform-html-xslt]# tail /var/log/httpd/error_log >> [Sat Jun 19 01:30:36 2010] [warn] Init: Session Cache is not configured >> [hint: SSLSessionCache] >> [Sat Jun 19 01:30:36 2010] [notice] suEXEC mechanism enabled (wrapper: >> /usr/sbin/suexec) >> [Sat Jun 19 01:30:36 2010] [notice] Digest: generating secret for digest >> authentication ... >> [Sat Jun 19 01:30:36 2010] [notice] Digest: done >> [Sat Jun 19 01:30:37 2010] [warn] pid file /var/run/httpd/httpd.pid >> overwritten -- Unclean shutdown of previous Apache run? >> [Sat Jun 19 01:30:37 2010] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 >> OpenSSL/1.0.0a DAV/2 mod_transform/0.7.0 configured -- resuming normal >> operations >> [Sat Jun 19 01:30:41 2010] [notice] child pid 8878 exit signal >> Segmentation fault (11) >> [Sat Jun 19 01:30:43 2010] [notice] child pid 8879 exit signal >> Segmentation fault (11) >> [Sat Jun 19 01:30:44 2010] [notice] child pid 8880 exit signal >> Segmentation fault (11) >> [Sat Jun 19 01:30:44 2010] [notice] child pid 8881 exit signal >> Segmentation fault (11) > > I had to disable error logging (XDV will spit lines of every XHTML > compilant error). The error log was flooding too fast and Apache was > dying for tihs. > > > TransformOptions +ApacheFS +HTML +HideParseErrors I could have sworn I tried this… but I'll try again. Are you saying you don't have such problems on the operating systems I described (Debian 5, Ubuntus, Arch Linux)? Or, if you are using a different OS please let me know. > > > https://svn.plone.org/svn/collective/collective.developermanual/trunk/source/templates_css_and_javascripts/xdv.txt > > Cool! Great read about integrating w/Wordpress. I am at the point where I am tempted to "build out" Apache and friends to get this working (to rule out any strange library dependency snafu) but I really don't want to do that. Alex -- Alex Clark · http://aclark.net Author — Plone 3.3 Site Administration · http://aclark.net/admin
-
>I could have sworn I tried this… but I'll try again. Are you saying you don't have such problems on the operating systems I described (Debian 5, >Ubuntus, Arch Linux)? Or, if you are using a different OS please let me know. Ubuntu 8.04 was running on the box. Note that the feature of self-suicidal processes become more apparent under the load. You probably won't notice it unless it is a production box or you are running performance test suite. It could a synchronization/race issue in mod_transform itself. -Mikko -- Mikko Ohtamaa mFabrik - Freedom Delivered. Web site - http://mfabrik.com Mobile site - http://mfabrik.mobi Blog - http://blog.mfabrik.com
-
On Jun 21, 2010 02:39 AM, Mikko Ohtamaa wrote: > >I could have sworn I tried this… but I'll try again. Are you saying you > don't have such problems on the operating systems I described (Debian 5, > >Ubuntus, Arch Linux)? Or, if you are using a different OS please let me > know. Right, but my problem is that I’m noticing it all the time, making the Apache modules useless for me until I figure out what the problem is. > > Ubuntu 8.04 was running on the box. Note that the feature of self-suicidal > processes become more apparent under the load. You probably won't notice it > unless it is a production box or you are running performance test suite. Right, in your case yes, in my case it seems more like (as Laurence suggested) “broken” libraries of some kind. > > It could a synchronization/race issue in mod_transform itself. > > -Mikko >
-
-
-
text.html (text/html) 1 kB