Skip to Content.
Sympa Menu

en - Re: [sympa-users] Debian and suexec, wwsympa problem

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Nick Holden <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Debian and suexec, wwsympa problem
  • Date: Mon, 12 Jul 2010 11:39:47 +0200

OK, So:

1- did  you run sympa.pl --upgrade? I'm asking just because the logs are suggesting this course of action.
2- Here are the rights you are supposed to have:

# ls -al bin/wwsympa*.fcgi
-rwxr-xr-x 1 root  root  614858 jui  9 14:46 bin/wwsympa.fcgi
-rwsr-sr-x 1 sympa sympa   8360 jui  9 14:46 bin/wwsympa-wrapper.fcgi

# ls -al etc/data_structure.version
-rw-r----- 1 sympa sympa 138 jun 14 11:31 etc/data_structure.version

Check particularly that the wwsympa-wrapper.fcgi file has the S bit. A lot of operations (moving, changing ownership) lead the the removal of this bit.

Regards,

David

Le 12/07/2010 11:30, Nick Holden a écrit :
Sorry, David, I must be too easily confused. In my config for the site I
have:

ScriptAlias /lists /home/sympa/bin/wwsympa-wrapper.fcgi

So I thought I had done this. But it gives the error I reported earlier.

Nick


On Mon, 2010-07-12 at 11:24 +0200, David Verdin wrote:
  
Hi Nick,

That's also something new that actually appeared in Symap 5.4: we no
longer use suexec

Please have a look at this part of the doc which explains everything
about the web server configuration:
https://www.sympa.org/manual/web-interface#installing_wwsympafcgi_in_your_apache_server

To sum things up, we explain that, basically, you should replace, in
your web server config, the former usages of wwsympa.fcgi by
wwsympa-wrapper.fcgi (and sympa_soap_server.fcgi by
sympa_soap_server-wrapper.fcgi).

That sould do.

Cheers,

David

Le 12/07/2010 11:04, Nick Holden a écrit : 
    
Hi all,

One final problem I think for my upgrade to 6.0.5: wwsympa fails with 

Jul 12 09:58:50 theweaa1 wwsympa[10978]:
Upgrade::data_structure_uptodate() Unable to
open /home/sympa/etc/data_structure.version : Permission denied 
Jul 12 09:58:50 theweaa1 wwsympa[10978]: Web interface set to
maintenance mode ; you should run sympa.pl --upgrade 
Jul 12 09:58:50 theweaa1 wwsympa[10978]: [robot ] [client 81.111.56.7]
Config error: wwsympa should run with UID 106 (instead of 33). ***
Switching to maintenance mode. *** 
Jul 12 09:58:50 theweaa1 wwsympa[10978]:
Upgrade::data_structure_uptodate() Unable to
open /home/sympa/etc/data_structure.version : Permission denied 
Jul 12 09:58:50 theweaa1 wwsympa[10978]: [robot unionlists.org.uk]
[session 8454334874801] [client 81.111.56.7] [user
address@concealed] main::do_maintenance() do_maintenance() 

It appears that suexec is not functioning properly.

The sympa documentation refers to 'User' and 'Group' directives, but
these are not available in apache2. In debian I have installed
apache2-suexec-custom, enabled suexec module and defined SuexecUserGroup
in the virtual host site definition, but still it does not work, even
after a full restart.

What am I missing, please?

Thanks.

Nick

  
      
-- 
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
    

  

--
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



Archive powered by MHonArc 2.6.19+.

Top of Page