Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa 6.0 web interface question

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Simon Gao <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Sympa 6.0 web interface question
  • Date: Wed, 21 Oct 2009 10:10:18 +0200

On second thought, it also looks like you miss the "etc" configuration parameter.
Did you run the "/home/sympa/bin/sympa_wizard.pl --check" command?

Regards,

David

Simon Gao a écrit :
Hi,

wwsympa_sudo_wrapper.pl is not included with Sympa 6.0. Does it mean that sudo setup is not recommended anymore?
Modifying wwsympa_sudo_wrapper.pl from 5.4.x, I am able to get web interface return result. However, I am seeing lots of errors in apache log:


[Sun Oct 18 09:10:38 2009] [notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/
0.9.8e-fips-rhel5 DAV/2 mod_fastcgi/2.4.6 configured -- resuming normal operatio
ns Use of uninitialized value in concatenation (.) or string at /usr/local/sympa/bi
n/wwslib.pm line 213. Use of uninitialized value in pattern match (m//) at /usr/local/sympa/bin/Log.pm
line 102, <CONF> line 1236. Use of uninitialized value in string ne at /usr/local/sympa/bin/Conf.pm line 116
0, <CONF> line 1236. Use of uninitialized value in hash element at /usr/local/sympa/bin/Conf.pm line 1161, <CONF> line 1236. [Sun Oct 18 09:10:39 2009] [warn] FastCGI: server "/usr/local/sympa/bin/wwsympa.
fcgi" started (pid 13290) Use of uninitialized value in concatenation (.) or string at /usr/local/sympa/bi
n/wwslib.pm line 213. Use of uninitialized value in pattern match (m//) at /usr/local/sympa/bin/Log.pm
line 102, <CONF> line 1236. Use of uninitialized value in string ne at /usr/local/sympa/bin/Conf.pm line 116
0, <CONF> line 1236. Use of uninitialized value in hash element at /usr/local/sympa/bin/Conf.pm line 1161, <CONF> line 1236. [Sun Oct 18 09:11:26 2009] [warn] FastCGI: (dynamic) server "/usr/local/sympa/bi
n/wwsympa_sudo_wrapper.pl" started (pid 13297) Use of uninitialized value in concatenation (.) or string at /usr/local/sympa/bi
n/wwslib.pm line 213. Use of uninitialized value in pattern match (m//) at /usr/local/sympa/bin/Log.pm
line 102, <CONF> line 1236. Use of uninitialized value in string ne at /usr/local/sympa/bin/Conf.pm line 116
0, <CONF> line 1236. Use of uninitialized value in hash element at /usr/local/sympa/bin/Conf.pm line 1161, <CONF> line 1236. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/wwsympa.fcgi line 1756. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in sp
rintf at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Sys/Syslog.pm line 680
. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in su
bstitution (s///) at /usr/local/sympa/bin/wwsympa.fcgi line 1689. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in pa
ttern match (m//) at /usr/local/sympa/bin/wwsympa.fcgi line 1692. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in sp
lit at /usr/local/sympa/bin/wwsympa.fcgi line 1696. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/wwsympa.fcgi line 1698. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in pa
ttern match (m//) at /usr/local/sympa/bin/wwsympa.fcgi line 1705. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/wwsympa.fcgi line 1718. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in ha
sh element at /usr/local/sympa/bin/wwsympa.fcgi line 1887. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in sp
lit at /usr/lib/perl5/5.8.8/CGI/Cookie.pm line 96. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in sp
rintf at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Sys/Syslog.pm line 680
. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in sp
rintf at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Sys/Syslog.pm line 680
. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/SympaSession.pm line 72. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/SympaSession.pm line 72. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in nu
meric eq (==) at /usr/local/sympa/bin/wwsympa.fcgi line 1113. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/wwsympa.fcgi line 1122. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in pa
ttern match (m//) at /usr/local/sympa/bin/wwsympa.fcgi line 1122. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in sp
lit at /usr/lib/perl5/5.8.8/CGI/Cookie.pm line 96. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in pa
ttern match (m//) at /usr/local/sympa/bin/cookielib.pm line 188. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in ha
sh element at /usr/local/sympa/bin/wwsympa.fcgi line 1255. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in co
ncatenation (.) or string at /usr/local/sympa/bin/wwsympa.fcgi line 1256. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/wwsympa.fcgi line 1266. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in tr
ansliteration (tr///) at /usr/local/sympa/bin/wwsympa.fcgi line 2388. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in pa
ttern match (m//) at /usr/local/sympa/bin/wwsympa.fcgi line 2391. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in tr
ansliteration (tr///) at /usr/local/sympa/bin/List.pm line 6570. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in nu
meric eq (==) at /usr/local/sympa/bin/Scenario.pm line 266. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in ha
sh element at /usr/local/sympa/bin/Scenario.pm line 86. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 571. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in co
ncatenation (.) or string at /usr/local/sympa/bin/tools.pm line 2026. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 571. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 571. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in co
ncatenation (.) or string at /usr/local/sympa/bin/tools.pm line 2026. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/tools.pm line 2040. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Odd number of elements in hash a
ssignment at /usr/local/sympa/bin/List.pm line 9646. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in li
st assignment at /usr/local/sympa/bin/List.pm line 9646. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in nu
meric eq (==) at /usr/local/sympa/bin/Scenario.pm line 266. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in ha
sh element at /usr/local/sympa/bin/Scenario.pm line 86. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 571. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in nu
meric eq (==) at /usr/local/sympa/bin/Scenario.pm line 266. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in ha
sh element at /usr/local/sympa/bin/Scenario.pm line 86. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 571. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in nu
meric eq (==) at /usr/local/sympa/bin/Scenario.pm line 266. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in ha
sh element at /usr/local/sympa/bin/Scenario.pm line 86. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 571. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in nu
meric eq (==) at /usr/local/sympa/bin/Scenario.pm line 266. [Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58.
[Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 58.
[Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in ha
sh element at /usr/local/sympa/bin/Scenario.pm line 86.
[Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/Scenario.pm line 571.
[Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in tr
ansliteration (tr///) at /usr/local/sympa/bin/List.pm line 6570.
[Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Argument "serveradmin" isn't num
eric in numeric eq (==) at /usr/local/sympa/bin/wwsympa.fcgi line 1357.
[Sun Oct 18 09:11:26 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in nu
meric eq (==) at /usr/local/sympa/bin/wwsympa.fcgi line 1357.
[Sun Oct 18 09:11:27 2009] [error] [client 192.168.1.12] FastCGI: server "/usr/l
ocal/sympa/bin/wwsympa_sudo_wrapper.pl" stderr: Use of uninitialized value in st
ring eq at /usr/local/sympa/bin/wwsympa.fcgi line 1381.


The wwsympa_sudo_wrapper.pl looks like:

#!/usr/bin/perl

exec '/usr/bin/sudo', '-u', 'sympa', '/usr/local/sympa/bin/wwsympa.fcgi';


Simon


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




Archive powered by MHonArc 2.6.19+.

Top of Page