[Mailman-Users] i can not open http://localhost/mailman/admin

Mark Sapiro mark at msapiro.net
Wed Aug 6 06:21:36 CEST 2008

hanfei4567 wrote:

>I am a new to mailman.I have installed mailman-2.1.11 twice, as the following steps,but i can not open http://localhost/mailman/admin 
>In http.conf, i have already added: 
>             ScriptAlias /mailman/  /usr/local/mailman/cgi-bin/  
>Alias /pipermail/ /usr/local/mailman/archives/public/
><Directory "/usr/local/mailman/archives/public/">
>    AddDefaultCharset Off
>when i open http://localhost/mailman/admin, it shows Internal Server Error. So I get open error_log of http, it shows
>[Wed Aug 06 01:02:49 2008] [error] [client] (13)Permission denied:     exec of '/usr/local/mailman/cgi-bin/admin' failed
>[Wed Aug 06 01:02:49 2008] [error] [client] Premature end of script headers: admin
>Thanks to anyone who can give me help!
>Running configure 
>             bash# ./configure --with-mail-gid=mail --with-cgi-gid=root --prefix=/usr/local/mailman

This (--with-cgi-gid=root) says Apache is going to execute your CGI
wrappers as group root. While this may be correct, it is certainly

>Check install 
>bash# cd /usr/local/mailman
>bash# bin/check_perms
>bash# bin/check_perms -f

If you ran check_perms -f as root until there were no errors,
presumable the permissions on /usr/local/mailman/cgi-bin/admin and the
other wrappers are correct. I.e. like the following except perhaps for

-rwxr-sr-x 1 root mailman 15989 Jun 30 11:23 admin

If this is the case, in particular if the wrapper is world readable and
executable, there must be a SELinux or other security policy manager
infolved that's preventing access to the file.

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