Skip to Content.
Sympa Menu

en - Re: [sympa-users] Mailing list in maintenance mode...? Help!

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Liam Kirsher <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Mailing list in maintenance mode...? Help!
  • Date: Thu, 07 Feb 2013 15:39:01 -0800

Thanks, Steve.
I had to work around an suexec issue.  Instead of recompiling apache with modified suexec dir I did the following --
(/var/www is the default apache root dir)

mkdir /var/www/__sympa__

cat << EOD > /var/www/__sympa__/wwsympa-wrapper.fcgi
#!/bin/bash
# Path to real wwsympa.fcgi
exec /home/sympa/bin/wwsympa-wrapper.fcgi
EOD

chown -R sympa:sympa /var/www/__sympa__

And in httpd.conf:
# Fast CGI for Sympa
<IfModule mod_fcgid.c>
    SuexecUserGroup sympa sympa
    IPCCommTimeout 120
    MaxProcessCount 2
</IfModule>

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

ScriptAlias /sympa /var/www/__sympa__/wwsympa-wrapper.fcgi
ScriptAlias /wws /var/www/__sympa__/wwsympa-wrapper.fcgi


Liam


On 02/06/2013 04:56 PM, Steve Shipway wrote:

If I remember correctly, this appears when the permissions on files are incorrect.  Check the ownerships and permissions (and setuid perms where required) of files.

 

In particular, I think /usr/sbin/aliaswrapper needs to be root setuid for things to work, the wwsympa-wrapper.cfgi setuid/gid sympa, the /var/lib/sympa ownerships, and so on.

 

Steve

 


Steve Shipway

ITS Unix Services Design Lead

University of Auckland, New Zealand

Floor 1, 58 Symonds Street, Auckland

Phone: +64 (0)9 3737599 ext 86487

DDI: +64 (0)9 924 6487

Mobile: +64 (0)21 753 189

Email: address@concealed

P Please consider the environment before printing this e-mail : 打印本邮件,将减少一棵树存活的机会

 

From: address@concealed [mailto:address@concealed] On Behalf Of Liam Kirsher
Sent: Thursday, 7 February 2013 12:21 p.m.
To: address@concealed
Subject: [sympa-users] Mailing list in maintenance mode...? Help!

 

I just upgraded from 5.3.4 to 6.1.17.

Unfortunately, restarting led to the message

The mailing list server is in maintenance mode, no operation can be performed during this period.

The processes (specifically the wwsympa.fcgi process) is owned by sympa user

sympa    31354     1  0 14:42 pts/0    00:00:00 /usr/bin/perl /home/sympa/bin/sympa.pl
sympa    31360     1  0 14:42 pts/0    00:00:00 /usr/bin/perl /home/sympa/bin/bulk.pl
sympa    31366     1  0 14:42 pts/0    00:00:00 /usr/bin/perl /home/sympa/bin/archived.pl
sympa    31373     1  0 14:42 pts/0    00:00:00 /usr/bin/perl /home/sympa/bin/bounced.pl
sympa    31379     1  0 14:42 pts/0    00:00:00 /usr/bin/perl /home/sympa/bin/task_manager.pl
sympa    31648 31647  2 15:15 ?        00:00:00 /usr/bin/perl wwsympa.fcgi
sympa    31658 31647  1 15:15 ?        00:00:00 /usr/bin/perl wwsympa.fcgi


How can I fix the error?

Thanks for any help!

Best,
Liam

 

-- 
Liam Kirsher
PGP: http://liam.numenet.com/pgp/



Archive powered by MHonArc 2.6.19+.

Top of Page