civimail in multisite config (2.0)

View: New views
10 Messages — Rating Filter:   Alert me  

civimail in multisite config (2.0)

by Derek Laventure :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

I'm trying to troubleshoot the civimail component for an installation of
civicrm 2.0 (drupal 5.7) on a standard debian etch server. We have civicrm
installed in a multisite drupal platform, and everything appears to be working
correctly, except for civimail. Trying to access the SOAP server results in a
very unhelpful 500 Internal Server error. AFAICT, no other error message is
logged anywhere, so I'm having a very hard time trying to debug. Any
insight/pointers would be greatly appreciated.

More details:

Doing a wget of the soap server as:

wget --http-user=bikeunion --http-passwd=bikeunion http://tcu.anarres.ca/sites/bikeunion.to/modules/civicrm/extern/soap.php

(note: the .htaccess passwd is needed as the site is not launched yet, but i'm
sure it's not causing any problem, as the SMTP server trying to access civimail
has bypass permissions in apache and gets the same without the user/pass)

results in the following:

Resolving tcu.anarres.ca... 64.34.183.5
Connecting to tcu.anarres.ca[64.34.183.5]:80... connected.
HTTP request sent, awaiting response... 500 Internal Service Error
13:36:07 ERROR 500: Internal Service Error.

(and as i said- no further error msgs are logged in drupal or apache logs)

what's more, when i added a small 'print "foo";' line to soap.php below the
require_once() calls, i no longer got the 500 error, but wget instead
downloaded an XML document with the following contents:

foo<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value></env:Code><env:Reason><env:Text>Bad Request. Can't find HTTP_RAW_POST_DATA</env:Text></env:Reason></env:Fault></env:Body></env:Envelope>

help?

thanks,
derek
____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Re: civimail in multisite config (2.0)

by Matt Chapman-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Derek,

Support issues should be posted in the forums.

http://forum.civicrm.org


All the Best,

Matt


Derek Laventure wrote:

> Hi there,
>
> I'm trying to troubleshoot the civimail component for an installation of
> civicrm 2.0 (drupal 5.7) on a standard debian etch server. We have civicrm
> installed in a multisite drupal platform, and everything appears to be working
> correctly, except for civimail. Trying to access the SOAP server results in a
> very unhelpful 500 Internal Server error. AFAICT, no other error message is
> logged anywhere, so I'm having a very hard time trying to debug. Any
> insight/pointers would be greatly appreciated.
>
> More details:
>
> Doing a wget of the soap server as:
>
> wget --http-user=bikeunion --http-passwd=bikeunion http://tcu.anarres.ca/sites/bikeunion.to/modules/civicrm/extern/soap.php
>
> (note: the .htaccess passwd is needed as the site is not launched yet, but i'm
> sure it's not causing any problem, as the SMTP server trying to access civimail
> has bypass permissions in apache and gets the same without the user/pass)
>
> results in the following:
>
> Resolving tcu.anarres.ca... 64.34.183.5
> Connecting to tcu.anarres.ca[64.34.183.5]:80... connected.
> HTTP request sent, awaiting response... 500 Internal Service Error
> 13:36:07 ERROR 500: Internal Service Error.
>
> (and as i said- no further error msgs are logged in drupal or apache logs)
>
> what's more, when i added a small 'print "foo";' line to soap.php below the
> require_once() calls, i no longer got the 500 error, but wget instead
> downloaded an XML document with the following contents:
>
> foo<?xml version="1.0" encoding="UTF-8"?>
> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value></env:Code><env:Reason><env:Text>Bad Request. Can't find HTTP_RAW_POST_DATA</env:Text></env:Reason></env:Fault></env:Body></env:Envelope>
>
> help?
>
> thanks,
> derek
> ____________________________________________________________
> You received this message as a subscriber on the list:
>      civicrm-dev@...
> To be removed from the list, send any message to:
>      civicrm-dev-unsubscribe@...
>
> For all list information and functions, see:
>      http://lists.civicrm.org/lists/info/civicrm-dev
>  
____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Re: civimail in multisite config (2.0)

by Derek Laventure :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ah, sorry- obviously i don't do this often enough to remember the appropriate
place to post :P

here's my forum post, with apologies for the noise:
http://forum.civicrm.org/index.php/topic,3239.0.html

thanks,
derek

... and then Matt Chapman said: [on Wed, Apr 30, 2008 at 11:23:22AM -0700]
:Date: Wed, 30 Apr 2008 11:23:22 -0700
:From: Matt Chapman <Matt@...>
:To: civicrm-dev@...,
: Derek Laventure <derek@...>
:Subject: Re: [civicrm-dev] civimail in multisite config (2.0)
:
:Hi Derek,
:
:Support issues should be posted in the forums.
:
:http://forum.civicrm.org
:
:
:All the Best,
:
:Matt
:
:
:Derek Laventure wrote:
:>Hi there,
:>
:>I'm trying to troubleshoot the civimail component for an installation of
:>civicrm 2.0 (drupal 5.7) on a standard debian etch server. We have civicrm
:>installed in a multisite drupal platform, and everything appears to be
:>working
:>correctly, except for civimail. Trying to access the SOAP server results
:>in a
:>very unhelpful 500 Internal Server error. AFAICT, no other error message is
:>logged anywhere, so I'm having a very hard time trying to debug. Any
:>insight/pointers would be greatly appreciated.
:>
:>More details:
:>
:>Doing a wget of the soap server as:
:>
:>wget --http-user=bikeunion --http-passwd=bikeunion
:>http://tcu.anarres.ca/sites/bikeunion.to/modules/civicrm/extern/soap.php
:>
:>(note: the .htaccess passwd is needed as the site is not launched yet, but
:>i'm
:>sure it's not causing any problem, as the SMTP server trying to access
:>civimail
:>has bypass permissions in apache and gets the same without the user/pass)
:>
:>results in the following:
:>
:>Resolving tcu.anarres.ca... 64.34.183.5
:>Connecting to tcu.anarres.ca[64.34.183.5]:80... connected.
:>HTTP request sent, awaiting response... 500 Internal Service Error
:>13:36:07 ERROR 500: Internal Service Error.
:>
:>(and as i said- no further error msgs are logged in drupal or apache logs)
:>
:>what's more, when i added a small 'print "foo";' line to soap.php below the
:>require_once() calls, i no longer got the 500 error, but wget instead
:>downloaded an XML document with the following contents:
:>
:>foo<?xml version="1.0" encoding="UTF-8"?>
:><env:Envelope
:>xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value></env:Code><env:Reason><env:Text>Bad Request. Can't find HTTP_RAW_POST_DATA</env:Text></env:Reason></env:Fault></env:Body></env:Envelope>
:>
:>help?
:>
:>thanks,
:>derek
:>____________________________________________________________
:>You received this message as a subscriber on the list:
:>     civicrm-dev@...
:>To be removed from the list, send any message to:
:>     civicrm-dev-unsubscribe@...
:>
:>For all list information and functions, see:
:>     http://lists.civicrm.org/lists/info/civicrm-dev
:>  
:____________________________________________________________
:You received this message as a subscriber on the list:
:    civicrm-dev@...
:To be removed from the list, send any message to:
:    civicrm-dev-unsubscribe@...
:
:For all list information and functions, see:
:    http://lists.civicrm.org/lists/info/civicrm-dev
---end quoted text---
____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Re: civimail in multisite config (2.0)

by Jochen Plumeyer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Derek,

we have a similar setup with password restriction and Debian Etch on our
server.

I needed to install these Debian packages, in order to get to the next text
adventure level:

libauthen-sasl-perl libfcgi-perl libmail-imapclient-perl
libmail-verp-perl libmime-lite-perl libnet-jabber-perl
libnet-xmpp-perl libossp-uuid15 libossp-uuid-perl
libparse-recdescent-perl libsoap-lite-perl libxml-parser-perl
libxml-stream-perl

Let me know if you need the imap2soap.conf that (I believe at least) worked
for me.

Cheers!

Jochen
(United Nations INSTRAW)

On Wednesday 30 April 2008 14:14, Derek Laventure wrote:

> Hi there,
>
> I'm trying to troubleshoot the civimail component for an installation of
> civicrm 2.0 (drupal 5.7) on a standard debian etch server. We have civicrm
> installed in a multisite drupal platform, and everything appears to be
> working correctly, except for civimail. Trying to access the SOAP server
> results in a very unhelpful 500 Internal Server error. AFAICT, no other
> error message is logged anywhere, so I'm having a very hard time trying to
> debug. Any insight/pointers would be greatly appreciated.
>
> More details:
>
> Doing a wget of the soap server as:
>
> wget --http-user=bikeunion --http-passwd=bikeunion
> http://tcu.anarres.ca/sites/bikeunion.to/modules/civicrm/extern/soap.php
>
> (note: the .htaccess passwd is needed as the site is not launched yet, but
> i'm sure it's not causing any problem, as the SMTP server trying to access
> civimail has bypass permissions in apache and gets the same without the
> user/pass)
>
> results in the following:
>
> Resolving tcu.anarres.ca... 64.34.183.5
> Connecting to tcu.anarres.ca[64.34.183.5]:80... connected.
> HTTP request sent, awaiting response... 500 Internal Service Error
> 13:36:07 ERROR 500: Internal Service Error.
>
> (and as i said- no further error msgs are logged in drupal or apache logs)
>
> what's more, when i added a small 'print "foo";' line to soap.php below the
> require_once() calls, i no longer got the 500 error, but wget instead
> downloaded an XML document with the following contents:
>
> foo<?xml version="1.0" encoding="UTF-8"?>
> <env:Envelope
> xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><e
>nv:Code><env:Value>env:Receiver</env:Value></env:Code><env:Reason><env:Text>
>Bad Request. Can't find
> HTTP_RAW_POST_DATA</env:Text></env:Reason></env:Fault></env:Body></env:Enve
>lope>
>
> help?
>
> thanks,
> derek
> ____________________________________________________________
> You received this message as a subscriber on the list:
>      civicrm-dev@...
> To be removed from the list, send any message to:
>      civicrm-dev-unsubscribe@...
>
> For all list information and functions, see:
>      http://lists.civicrm.org/lists/info/civicrm-dev
____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Amazon EC2?

by Evan Leeson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I did search prior to asking this on the list. Is anyone running Drupal
+CiviCRM on Amazon EC2? We are about to attempt it and I would be very  
happy to hear any experiences.

Evan Leeson
evan@...
skype: evanleeson

On the possibility of life elsewhere in the universe:  "Primitive life  
is very common and intelligent life is fairly rare," he then quickly  
added: "Some would say it has yet to occur on earth."   - S. Hawking


____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Re: Amazon EC2?

by Donald Lobo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


would be great if you could share your experiences. Could you also share your Drupal+CiviCRM AMI. I suspect a few folks might find it quite useful

lobo


On Fri, May 9, 2008 at 4:19 PM, Evan Leeson <evan@...> wrote:
I did search prior to asking this on the list. Is anyone running Drupal+CiviCRM on Amazon EC2? We are about to attempt it and I would be very happy to hear any experiences.

Evan Leeson
evan@...
skype: evanleeson

On the possibility of life elsewhere in the universe:  "Primitive life is very common and intelligent life is fairly rare," he then quickly added: "Some would say it has yet to occur on earth."   - S. Hawking


____________________________________________________________
You received this message as a subscriber on the list:
   civicrm-dev@...
To be removed from the list, send any message to:
   civicrm-dev-unsubscribe@...

For all list information and functions, see:
   http://lists.civicrm.org/lists/info/civicrm-dev



--
lobo

http://civicrm.org/blog/
http://civicrm.org/
http://lobostravel.blogspot.com/
____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Re: Amazon EC2?

by MacRonin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It doesn't have CiviCRM in it yet, but here is an article about a testing AMI for the Drupal EC2 environment.

http://www.io1.biz/blogs/drupal-amazon-ec2-developers-testing-ami

More details in the article. But here is a taste.

 Technical details

The image is based on the standard Amazon FC8 image. On start up it automatically downloads and installs the latest version of Drupal core unless you specific otherwise.

    * The AMI ID of the image is: ami-4c7b9e25
    * It will install the latest version of Drupal 6.x unless you specify a different core version with the -d parameter.
    * So, for example, if you want to create a Drupal 5.x instance:
          o ec2-run-instances ami-4c7b9e25 -k gsg-keypair -d 5
    * The -k parameter is mandatory, as there is no root password so you will have to log in with an ssh key
    * Default user name/passwords are both: drupal


Donald Lobo wrote:
would be great if you could share your experiences. Could you also share
your Drupal+CiviCRM AMI. I suspect a few folks might find it quite useful

lobo


--
lobo

http://civicrm.org/blog/
http://civicrm.org/
http://lobostravel.blogspot.com/

RE: Amazon EC2?

by Joe Murray :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I have someone playing around with this in order to meet the new PCI DSS requirements. We currently have a web server instance talking to a db server instance, and are investigating options for persisting our db layer. The issue is that your EC2 disk that MySQL uses disappears if and when the instance goes down. MySQL just put out a new offering last week supporting EC2, but it seems aimed at a pretty high end customer based on the monthly fees.

 

I have some alpha quality Python scripts I could share that boot the instance and do some of the security stuff. I am wondering about the possible interest people might have in an offering along these lines. I am looking for partners who are more into doing the sysadmin support stuff, especially those who would be adding this service to an existing line of hosting solutions.

 

Having done the proof of concept stuff I’m now looking at how to automatically provision a new set of instances when someone signs up for an account. Others interested in joining together on this?

 

Cheers,

Joe Murray

 

From: Donald Lobo [mailto:donald.lobo@...]
Sent: May 10, 2008 2:34 PM
To: civicrm-dev@...; Evan Leeson
Subject: Re: [civicrm-dev] Amazon EC2?

 


would be great if you could share your experiences. Could you also share your Drupal+CiviCRM AMI. I suspect a few folks might find it quite useful

lobo

On Fri, May 9, 2008 at 4:19 PM, Evan Leeson <evan@...> wrote:

I did search prior to asking this on the list. Is anyone running Drupal+CiviCRM on Amazon EC2? We are about to attempt it and I would be very happy to hear any experiences.

Evan Leeson
evan@...
skype: evanleeson

On the possibility of life elsewhere in the universe:  "Primitive life is very common and intelligent life is fairly rare," he then quickly added: "Some would say it has yet to occur on earth."   - S. Hawking


____________________________________________________________
You received this message as a subscriber on the list:
   civicrm-dev@...
To be removed from the list, send any message to:
   civicrm-dev-unsubscribe@...

For all list information and functions, see:
   http://lists.civicrm.org/lists/info/civicrm-dev




--
lobo

http://civicrm.org/blog/
http://civicrm.org/
http://lobostravel.blogspot.com/


____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Re: Amazon EC2?

by MacRonin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A bit more info. Here is an article that has pointers to a few more articles/resources on Drupal and Amazon's EC2.
Paul


It doesn't have CiviCRM in it yet, but here is an article about a testing AMI for the Drupal EC2 environment.

http://www.io1.biz/blogs/drupal-amazon-ec2-developers-testing-ami

More details in the article. But here is a taste.
Donald Lobo wrote:
would be great if you could share your experiences. Could you also share
your Drupal+CiviCRM AMI. I suspect a few folks might find it quite useful

lobo
--
lobo

http://civicrm.org/blog/
http://civicrm.org/
http://lobostravel.blogspot.com/


RE: Amazon EC2?

by Joe Murray :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

There are some proof of concept scripts in http://www.zaleski.ca/public/ that bring up a webserver and a database server. We’ll share more as things progress.

 

 

From: Joe Murray [mailto:Joe.Murray@...]
Sent: May 14, 2008 3:06 PM
To: civicrm-dev@...; 'Donald Lobo'; 'Evan Leeson'
Subject: RE: [civicrm-dev] Amazon EC2?

 

I have someone playing around with this in order to meet the new PCI DSS requirements. We currently have a web server instance talking to a db server instance, and are investigating options for persisting our db layer. The issue is that your EC2 disk that MySQL uses disappears if and when the instance goes down. MySQL just put out a new offering last week supporting EC2, but it seems aimed at a pretty high end customer based on the monthly fees.

 

I have some alpha quality Python scripts I could share that boot the instance and do some of the security stuff. I am wondering about the possible interest people might have in an offering along these lines. I am looking for partners who are more into doing the sysadmin support stuff, especially those who would be adding this service to an existing line of hosting solutions.

 

Having done the proof of concept stuff I’m now looking at how to automatically provision a new set of instances when someone signs up for an account. Others interested in joining together on this?

 

Cheers,

Joe Murray

 

From: Donald Lobo [mailto:donald.lobo@...]
Sent: May 10, 2008 2:34 PM
To: civicrm-dev@...; Evan Leeson
Subject: Re: [civicrm-dev] Amazon EC2?

 


would be great if you could share your experiences. Could you also share your Drupal+CiviCRM AMI. I suspect a few folks might find it quite useful

lobo

On Fri, May 9, 2008 at 4:19 PM, Evan Leeson <evan@...> wrote:

I did search prior to asking this on the list. Is anyone running Drupal+CiviCRM on Amazon EC2? We are about to attempt it and I would be very happy to hear any experiences.

Evan Leeson
evan@...
skype: evanleeson

On the possibility of life elsewhere in the universe:  "Primitive life is very common and intelligent life is fairly rare," he then quickly added: "Some would say it has yet to occur on earth."   - S. Hawking


____________________________________________________________
You received this message as a subscriber on the list:
   civicrm-dev@...
To be removed from the list, send any message to:
   civicrm-dev-unsubscribe@...

For all list information and functions, see:
   http://lists.civicrm.org/lists/info/civicrm-dev




--
lobo

http://civicrm.org/blog/
http://civicrm.org/
http://lobostravel.blogspot.com/


____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev