[Mailman-Users] "We hit a bug" page

Mark Sapiro mark at msapiro.net
Wed Jul 22 00:38:56 CEST 2009


Remco Poelstra wrote:
>
>I'm trying to install Mailman 2.1.12. It compiled fine, with the 
>following flags:
>         ./configure --prefix=/var/lib/mailman --with-username=list \
>                 --with-groupname=list \
>                 --with-mail-gid=daemon --with-cgi-gid=w-lists \


This won't work. Your Mailman group is 'list'. With suEXEC, your
wrappers cannot be SETGID, thus Apache must invoke them as group
'list' and this must also be the group that the wrappers expect to be
invoked as. I.e. --with-cgi-gid=list


>                 --without-permcheck --with-mailhost=localhost \
>                 --with-urlhost=localhost


If you want to actually create and use lists, --with-mailhost and
--with-urlhost need to be fully qualified domain names, not
'localhost. You can fix this after the fact by setting
DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST in mm_cfg.py followed by

VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)


>Then I copied the cgi-bin scripts to the /var/www/w-lists directory. 
>This step is necessary to get the scripts inside the suexec environment.
>
>When I go to <URL>/mailman/listinfo, I get the following page text:
>-----------------
>Bug in Mailman version 2.1.12
>
>We're sorry, we hit a bug!
>
>Please inform the webmaster for this site of this problem. Printing of 
>traceback and other system information has been explicitly inhibited, 
>but the webmaster can find this information in the Mailman error logs.
>---------------
>The mailman/error.log file is completely empty. How can I find out 
>what's going wrong here?


If you're looking at /var/lib/mailman/logs/error (based on your
configure command) and it is empty or non-existent, fix permissions so
your web server can create/write it.

Alternatively, you can modify /var/lib/mailman/scripts/driver and change

STEALTH_MODE = 1

to

STEALTH_MODE = 0

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list