Skip to Content.
Sympa Menu

en - Re: [sympa-users] Premature end of script headers: wwsympa.fcgi

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Premature end of script headers: wwsympa.fcgi
  • Date: Wed, 23 Feb 2011 10:55:13 +0100

Hi Ed,

The fcgi wrapper is launched by the web server itself, however in your list of processes, you will see the wwsympa.fcgi process running. The only purpose of the wrapper is to make sur the fcgi is tun under the sympa uid.

Regards,

David

Le 21/02/11 13:54, Ed Greenberg a écrit :
address@concealed">I've gotten some private messages, and this one, and I thank all those who have sent suggestions. This one seems the most on-target, right now.

I ran /usr/local/bin/wwsympa.fcgi (and wwsympa-wrapper.fcgi) from the command line, and both of them return a page of HTML. (This wasn't always the case. I was still missing a Perl module.)

Now I have mod_fcgid loaded, and this in my configs:
  ScriptAlias /sympa /usr/local/bin/wwsympa-wrapper.fcgi

Should I have a process somewhere, and if so, what starts it, and what does it look like?

Thanks,

Ed


On 02/20/2011 04:12 PM, Dan Pritts wrote:
the web interface is the process wwsympa.fcgi.

Check your web server logs and sympa logs.

On Feb 17, 2011, at 9:19 AM,<address@concealed>  <address@concealed>  wrote:

I have a new sympa installation. The daemons are all running:

5110 ?        S      0:04 /usr/bin/perl /usr/local/bin/sympa.pl
5112 ?        S      0:27 /usr/bin/perl /usr/local/bin/bulk.pl
5114 ?        S      0:01 /usr/bin/perl /usr/local/bin/archived.pl
5116 ?        S      0:02 /usr/bin/perl /usr/local/bin/bounced.pl
5118 ?        S      0:01 /usr/bin/perl /usr/local/bin/task_manager.pl

I get these errors when I try to hit /sympa:

[Thu Feb 17 14:12:42 2011] [warn] [client 75.203.133.19] (104)Connection reset
by peer: mod_fcgid: error reading data from FastCGI server
[Thu Feb 17 14:12:42 2011] [error] [client 75.203.133.19] Premature end of
script headers: wwsympa.fcgi

My apache config includes this:

LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so

<IfModule mod_fcgid.c>

<IfModule !mod_fastcgi.c>
    AddHandler fcgid-script fcg fcgi fpl
</IfModule>

  FcgidIPCDir /var/lib/apache2/fcgid/sock
  FcgidProcessTableFile /var/lib/apache2/fcgid/shm

  FcgidIdleTimeout 40
  FcgidProcessLifeTime 30
  FcgidMaxProcesses 20
  FcgidMaxProcessesPerClass 8
  FcgidConnectTimeout 30
  FcgidIOTimeout 45
  FcgidInitialEnv RAILS_ENV production
  FcgidIdleScanInterval 10

</IfModule>

  ScriptAlias /sympa /usr/local/bin/wwsympa.fcgi
  <IfModule mod_fcgid.c>
    IPCCommTimeout 120
    MaxProcessCount 2
  </IfModule>

  <Location /sympa>
    SetHandler fcgid-script
  </Location>

and in the vhost config:
Alias /static-sympa /var/www/vhosts/sympa.mkp.org/httpdocs/static_content


Can anybody suggest what I might be doing wrong?


danno
--
Dan Pritts, Sr. Systems Engineer
Internet2
office: +1-734-352-4953 | mobile: +1-734-834-7224



--
David Verdin
Comité réseau des universités

Due to the limitations of human brain, I fail to remember all the mails.
So if you want your bug reports or feature requests for Sympa to be processed, please post them to the Sympa tracker

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page