LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-27-2009, 09:13 AM   #1
eje211
LQ Newbie
 
Registered: Sep 2007
Location: London, UK
Distribution: Gentoo and Ubuntu
Posts: 8

Rep: Reputation: 0
Apache segfaults with Zope/Plone. I'm not sure why.


I'm running Plone. I want to use Apache to access Plone, as the documentation recommends. But this is what happens:
  • Sites that use mod_rewrite, mostly Wordpress sites, work without a problem.
  • Zope and plone work fine, including with the VirtualHostMonster used by Apache. No problem.
BUT, using Plone THROUGH Apache, gives this in the error_log:

Code:
[notice] child pid 9903 exit signal Segmentation fault (11)
Obviously, the pid changes every time.

The mod_rewrite instructions, as indicated in the Zope and Plone documentations, are:

Code:
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/sitename/VirtualHostRoot/$1 [L,P]
Removing the [P] flag does not help.

It seems that the problem is cause by a module. Is it mod_rewrite? In which case why does Wordpress work? It is mod_proxy? In that case, why does removing the proxy flag not work? Is there a way to find out more?

Thank you to anyone who can help.
 
Old 12-28-2009, 05:00 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Code:

RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/sitename/VirtualHostRoot/$1 [L,P]
The above %{SERVER_NAME}:80 in the RewriteRule is not correct. You should replace it with your server name and (maybe) escape the ":" character:

Code:
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/www.domain.com\:80/sitename/VirtualHostRoot/$1 [L,P]
Hope that helps
 
Old 12-30-2009, 05:23 PM   #3
eje211
LQ Newbie
 
Registered: Sep 2007
Location: London, UK
Distribution: Gentoo and Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
[SOLVED] Apache segfaults with Zope/Plone. I'm not sure why.

The people on the #httpd irc chat room gave me instructions for a more thorough debug. I tried debugging and it started working again. I'm not sure why. I think that there had been an update that created a conflict in the binaries and that the /etc/init.d/httpd reload|restart commands did not fully reload Apache, so the conflict remained. With a full stop and then a new start, all got reloaded worked. Hot dog! And I spent days on it!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Plone on Ubuntu tommytomato Ubuntu 4 06-13-2007 11:03 AM
Enterprise 4 is install but not zope & plone notwired Linux - Enterprise 3 02-21-2007 04:15 PM
Plone gabsik Linux - Security 1 05-25-2006 05:54 PM
Has anyone used Plone tangle Linux - Software 2 10-27-2005 07:18 AM
Apache segfaults meldroc Debian 1 10-02-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration