FAQ
Hi All,

I tried to install mailman on my slackware system with postfix (mysql
virtual domains) and apache..

I followed the whole mnual ,except the thing about the virtual domains.. I
will do this later on.

When i want to go to the page www.domain.tld/mailman/create, I get the error
below:

Mailman CGI error!!!
%s
--with-cgi-gidwebCGI--with-mail-gidmail-SThe Mailman CGI wrapper encountered
a fatal error. This entry is being stored in your syslog:Group mismatch
error. Mailman expected the %s wrapper script to be executed as group "%s",
but the system's %s server executed the %s script as group "%s". Try
tweaking the %s server to run the script as group "%s", or re-run configure,
providing the command line option `%s=%s'.Failure to find group name for GID
%d. Mailman expected the %s wrapper to be executed as group "%s", but the
system's %s server executed the wrapper as GID %d for which the name could
not be found. Try adding GID %d to your system as "%s", or tweak your %s
server to run the wrapper as group "%s".nobodycreateMailman cgi-wrapper
(create)driver????????$ ?




I already reinstalled with the follwing options:

./configure --with-mail-gid = postfix --with-cgi-gid = nobody
make
make install

Postfix has the owner and group postfix and Apache nobody..

Could someone please help me and advise?

Search Discussions

  • Mark Sapiro at Jan 20, 2007 at 5:02 pm

    Peter Coolen wrote:
    When i want to go to the page www.domain.tld/mailman/create, I get the error
    below:

    Mailman CGI error!!!
    %s
    --with-cgi-gidwebCGI--with-mail-gidmail-SThe Mailman CGI wrapper encountered
    a fatal error. This entry is being stored in your syslog:Group mismatch
    error. Mailman expected the %s wrapper script to be executed as group "%s",
    but the system's %s server executed the %s script as group "%s". Try
    tweaking the %s server to run the script as group "%s", or re-run configure,
    providing the command line option `%s=%s'.Failure to find group name for GID
    %d. Mailman expected the %s wrapper to be executed as group "%s", but the
    system's %s server executed the wrapper as GID %d for which the name could
    not be found. Try adding GID %d to your system as "%s", or tweak your %s
    server to run the wrapper as group "%s".nobodycreateMailman cgi-wrapper
    (create)driver????????$ ??

    There is something wrong with your web server configuration. Instead of
    executing Mailman's cgi-bin/create wrapper and serving it's output, the
    web server is serving the wrapper file as text.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Peter Coolen at Jan 20, 2007 at 11:32 pm

    There is something wrong with your web server configuration.
    Instead of executing Mailman's cgi-bin/create wrapper and
    serving it's output, the web server is serving the wrapper
    file as text.

    --
    Do you have any idea how to fix this problem with my web server
    configuration? It is Apache 1.3.36

    Below are some setting from apache:
    LoadModule cgi_module libexec/apache/mod_cgi.so
    AddModule mod_cgi.c
    User nobody
    Group nobody
    Alias /mailman/ "/usr/local/mailman/cgi-bin/"

    <Directory "/usr/local/mailman/cgi-bin/">
    Options Indexes FollowSymlinks MultiViews ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    ScriptAlias /mailman/ "usr/local/mailman/cgi-bin/"

    AddHandler cgi-script .cgi .py


    Thanks for all help
  • Mark Sapiro at Jan 21, 2007 at 1:06 am

    Peter Coolen wrote:
    Do you have any idea how to fix this problem with my web server
    configuration? It is Apache 1.3.36
    Alias /mailman/ "/usr/local/mailman/cgi-bin/"

    The above line overrides the ScriptAlias below. Remove it.

    <Directory "/usr/local/mailman/cgi-bin/">
    Options Indexes FollowSymlinks MultiViews ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    ScriptAlias /mailman/ "usr/local/mailman/cgi-bin/"

    AddHandler cgi-script .cgi .py
    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 21, 2007 at 1:32 am

    Mark Sapiro wrote:
    Peter Coolen wrote:
    Do you have any idea how to fix this problem with my web server
    configuration? It is Apache 1.3.36
    Alias /mailman/ "/usr/local/mailman/cgi-bin/"

    The above line overrides the ScriptAlias below. Remove it.

    <Directory "/usr/local/mailman/cgi-bin/">
    Options Indexes FollowSymlinks MultiViews ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    ScriptAlias /mailman/ "usr/local/mailman/cgi-bin/"

    AddHandler cgi-script .cgi .py

    Other issues in your apache config.

    The Directory section should be "/usr/local/mailman/", not
    "/usr/local/mailman/cgi-bin/". This is primarily for public archives.
    Also, if you are going to have public archives, you want

    Alias /pipermail/ /usr/local/mailman/archives/public/

    Finally, the AddHandler is superfluous for Mailman. The only GGIs
    executed by Apache for Mailman are the compiled wrappers in
    usr/local/mailman/cgi-bin/ which normally have no extension (unless
    you specified --with-cgi-ext to configure). Python scripts are
    executed indirectly by the wrapper, not directly by Apache.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Peter Coolen at Jan 21, 2007 at 12:07 pm


    Other issues in your apache config.

    The Directory section should be "/usr/local/mailman/", not
    "/usr/local/mailman/cgi-bin/". This is primarily for public archives.
    Also, if you are going to have public archives, you want

    Alias /pipermail/ /usr/local/mailman/archives/public/

    Finally, the AddHandler is superfluous for Mailman. The only
    GGIs executed by Apache for Mailman are the compiled wrappers
    in usr/local/mailman/cgi-bin/ which normally have no
    extension (unless you specified --with-cgi-ext to configure).
    Python scripts are executed indirectly by the wrapper, not
    directly by Apache.

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

    Thanks for all your help.. I changed setting in my webserver but now I get a
    404 NOT FOUND error...

    I looked in the manual and there it says $prefix/cgi-bin/

    I tried both but both give a 404 not found..

    Any other ideas?
  • Mark Sapiro at Jan 21, 2007 at 4:05 pm

    Peter Coolen wrote:
    Thanks for all your help.. I changed setting in my webserver but now I get a
    404 NOT FOUND error...

    I looked in the manual and there it says $prefix/cgi-bin/

    I tried both but both give a 404 not found..

    You don't put '$prefix' literally. $ prefix stands for the path you
    provided to configure with the --prefix= option (default
    /usr/local/mailman).

    What is in your Apache configuration now?

    What is in Apache's error_log associated with the 404?

    What does 'ls -l /usr/local/mailman/cgi-bin' show?

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Peter Coolen at Jan 21, 2007 at 4:27 pm

    You don't put '$prefix' literally. $ prefix stands for the
    path you provided to configure with the --prefix= option
    (default /usr/local/mailman).

    What is in your Apache configuration now?
    Some apache config lines for mailman

    Alias /pipermail/ "/usr/local/mailman/archives/public/"

    <Directory "/usr/local/mailman/archives/public/">
    Options Indexes FollowSymlinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

    ScriptAlias /mailman/ "usr/local/mailman/cgi-bin/"

    <Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>

    <Directory "/usr/local/mailman/cgi-bin/">
    Options Indexes FollowSymlinks MultiViews ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    What is in Apache's error_log associated with the 404?
    [Sun Jan 21 17:24:24 2007] [error] [client 192.168.0.18] script not found or
    unable to stat: usr/local/mailman/create
    [Sun Jan 21 17:24:37 2007] [error] [client 192.168.0.34] script not found or
    unable to stat: usr/local/mailman/
    What does 'ls -l /usr/local/mailman/cgi-bin' show?
    admin at localhost:/var/log/apache$ ls -l /usr/local/mailman/cgi-bin/
    total 220
    -rwxr-sr-x 1 root mailman 17476 Jan 20 16:19 admin*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 admindb*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 confirm*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 create*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 edithtml*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 listinfo*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 options*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 private*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 rmlist*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 roster*
    -rwxr-sr-x 1 root mailman 17484 Jan 20 16:19 subscribe*
    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 21, 2007 at 4:45 pm

    Peter Coolen wrote:
    Some apache config lines for mailman <snip>
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
    You don't need this for Mailman. You may want it for other reasons.

    ScriptAlias /mailman/ "usr/local/mailman/cgi-bin/"
    Missing a slash. should be

    ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"

    <snip>
    <Directory "/usr/local/mailman/cgi-bin/">
    Options Indexes FollowSymlinks MultiViews ExecCGI
    The only option you need on this directory is ExecCGI

    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    What is in Apache's error_log associated with the 404?
    [Sun Jan 21 17:24:24 2007] [error] [client 192.168.0.18] script not found or
    unable to stat: usr/local/mailman/create
    [Sun Jan 21 17:24:37 2007] [error] [client 192.168.0.34] script not found or
    unable to stat: usr/local/mailman/
    Note missing slash.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 21, 2007 at 4:55 pm

    Peter Coolen wrote:
    [Sun Jan 21 17:24:24 2007] [error] [client 192.168.0.18] script not found or
    unable to stat: usr/local/mailman/create

    This error came from the missing slash in ScriptAlias when you tried to
    visit something like <http://example.com/mailman/create/>.

    [Sun Jan 21 17:24:37 2007] [error] [client 192.168.0.34] script not found or
    unable to stat: usr/local/mailman/

    And this error came from something like <http://example.com/mailman/>.

    If you want this latter URL to work (usually people send it to the
    listinfo page), you need something like

    RedirectMatch ^/mailman[/]*$ http://example.com/mailman/listinfo

    in your Apache config.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Peter Coolen at Jan 21, 2007 at 10:13 pm

    -----Oorspronkelijk bericht-----
    Van: Mark Sapiro [mailto:msapiro at value.net]
    Verzonden: zondag 21 januari 2007 17:56
    Aan: Peter Coolen; mailman-users at python.org
    Onderwerp: Re: [Mailman-Users] problems with gid when installing

    Peter Coolen wrote:
    [Sun Jan 21 17:24:24 2007] [error] [client 192.168.0.18] script not
    found or unable to stat: usr/local/mailman/create

    This error came from the missing slash in ScriptAlias when
    you tried to visit something like
    <http://example.com/mailman/create/>.
    I also tried mailman/create/ but create is not a directory.. So you must not
    use the slash... It still can't find the files..

    [Sun Jan 21 17:24:37 2007] [error] [client 192.168.0.34] script not
    found or unable to stat: usr/local/mailman/

    And this error came from something like <http://example.com/mailman/>.

    If you want this latter URL to work (usually people send it
    to the listinfo page), you need something like

    RedirectMatch ^/mailman[/]*$ http://example.com/mailman/listinfo

    in your Apache config.
    I tried example.com/mailman/ just for a visit or a index page but now I
    receive a 403 forbidden...


    The error is still
    [Sun Jan 21 23:08:45 2007] [error] [client 192.168.0.34] script not found or
    unable to stat: /usr/local/mailman/create

    Do you have any other ideas for helping me? I changed the missing slash but
    that was not the fault..

    Peter
  • Peter Coolen at Jan 21, 2007 at 10:17 pm
    My access log says this:

    192.168.0.34 - - [21/Jan/2007:23:13:50 +0100] "GET /mailman/create HTTP/1.1"
    404 295 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9)
    Gecko/20061206 Firefox/1.5.0.9"

    And error log this:
    [Sun Jan 21 23:13:50 2007] [error] [client 192.168.0.34] script not found or
    unable to stat: /usr/local/mailman/create

    Please help



    -----Oorspronkelijk bericht-----
    Van: mailman-users-bounces+peter=coolen.net at python.org
    [mailto:mailman-users-bounces+peter=coolen.net at python.org]
    Namens Peter Coolen
    Verzonden: zondag 21 januari 2007 23:13
    Aan: mailman-users at python.org
    Onderwerp: Re: [Mailman-Users] problems with gid when installing


    -----Oorspronkelijk bericht-----
    Van: Mark Sapiro [mailto:msapiro at value.net]
    Verzonden: zondag 21 januari 2007 17:56
    Aan: Peter Coolen; mailman-users at python.org
    Onderwerp: Re: [Mailman-Users] problems with gid when installing

    Peter Coolen wrote:
    [Sun Jan 21 17:24:24 2007] [error] [client 192.168.0.18]
    script not
    found or unable to stat: usr/local/mailman/create

    This error came from the missing slash in ScriptAlias when you tried
    to visit something like <http://example.com/mailman/create/>.
    I also tried mailman/create/ but create is not a directory..
    So you must not use the slash... It still can't find the files..

    [Sun Jan 21 17:24:37 2007] [error] [client 192.168.0.34]
    script not
    found or unable to stat: usr/local/mailman/

    And this error came from something like
    <http://example.com/mailman/>.
    If you want this latter URL to work (usually people send it to the
    listinfo page), you need something like

    RedirectMatch ^/mailman[/]*$ http://example.com/mailman/listinfo

    in your Apache config.
    I tried example.com/mailman/ just for a visit or a index page
    but now I receive a 403 forbidden...


    The error is still
    [Sun Jan 21 23:08:45 2007] [error] [client 192.168.0.34]
    script not found or unable to stat: /usr/local/mailman/create

    Do you have any other ideas for helping me? I changed the
    missing slash but that was not the fault..

    Peter

    ------------------------------------------------------
    Mailman-Users mailing list
    Mailman-Users at python.org
    http://mail.python.org/mailman/listinfo/mailman-users
    Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
    Searchable Archives:
    http://www.mail-archive.com/mailman-users%40python.org/
    Unsubscribe:
    http://mail.python.org/mailman/options/mailman-users/peter%40c
    oolen.net

    Security Policy:
    http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq
    01.027.htp
  • Mark Sapiro at Jan 21, 2007 at 10:36 pm
    Peter Coolen
    I also tried mailman/create/ but create is not a directory.. So you must not
    use the slash... It still can't find the files..

    Actually, create is a CGI so you can use a slash, but that isn't the
    issue here.

    If you want this latter URL to work (usually people send it
    to the listinfo page), you need something like

    RedirectMatch ^/mailman[/]*$ http://example.com/mailman/listinfo

    in your Apache config.
    I tried example.com/mailman/ just for a visit or a index page but now I
    receive a 403 forbidden...

    Let's try to debug one issue at a time, but what's in error_log for the
    403?

    The error is still
    [Sun Jan 21 23:08:45 2007] [error] [client 192.168.0.34] script not found or
    unable to stat: /usr/local/mailman/create

    Do you have any other ideas for helping me? I changed the missing slash but
    that was not the fault..

    It was part of it. Apache is now looking for
    '/usr/local/mailman/create' instead of 'usr/local/mailman/create'.
    That's progress.

    So now it looks like a permissions issue. What are the permissions on
    /usr/local/mailman (the contents looked OK in a prior post).

    Have you tried running bin/check_perms?

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Peter Coolen at Jan 22, 2007 at 9:05 am

    I tried example.com/mailman/ just for a visit or a index
    page but now I
    receive a 403 forbidden...

    Let's try to debug one issue at a time, but what's in
    error_log for the
    403?
    The error when visiting domain.com/mailman/
    [Mon Jan 22 10:01:52 2007] [error] [client 62.58.15.252] attempt to invoke
    directory as script: /usr/local/mailman

    So now it looks like a permissions issue. What are the permissions on
    /usr/local/mailman (the contents looked OK in a prior post).

    Have you tried running bin/check_perms?
    Results of bin/check_perms

    root at localhost:/usr/local/mailman# bin/check_perms
    Warning: Private archive directory is other-executable (o+x).
    This could allow other users on your system to read private
    archives.
    If you're on a shared multiuser system, you should consult the
    installation manual on how to fix this.
    No problems found
    [18091 refs]
    root at localhost:/usr/local/mailman#


    root at suite19:/usr/local/mailman# ls -l
    total 72
    drwxrwsr-x 11 root mailman 4096 Jan 20 16:23 Mailman
    drwxrwsr-x 4 root mailman 4096 Jan 20 16:19 archives
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:19 bin
    drwxrwsrwx 2 root mailman 4096 Jan 20 16:19 cgi-bin
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:19 cron
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:30 data
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:19 icons
    drwxrwsr-x 3 root mailman 4096 Jan 20 16:28 lists
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:29 locks
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:29 logs
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:19 mail
    drwxrwsr-x 34 root mailman 4096 Jan 20 16:19 messages
    drwxrwsr-x 6 root mailman 4096 Jan 20 16:19 pythonlib
    drwxrwsr-x 11 root mailman 4096 Jan 20 16:29 qfiles
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:19 scripts
    drwxrwsr-x 2 root mailman 4096 Jan 20 16:19 spam
    drwxrwsr-x 35 root mailman 4096 Jan 20 16:19 templates
    drwxrwsr-x 4 root mailman 4096 Jan 20 16:19 tests


    Thanks,

    Peter
  • Peter Coolen at Jan 22, 2007 at 9:28 am
    Don't know why but it works almost ;-)

    I see a webpage and can create a new mailinglist...

    Only one last problem I can't create a new mailinglist..

    Receive this error:
    Error: You are not authorized to create new mailing lists

    I changed the administrators passwd and list creater passwd with
    bin/mmsitepass -c or without -c but no effect..

    Any ideas?

    thanks
  • Mark Sapiro at Jan 22, 2007 at 3:58 pm

    Peter Coolen wrote:

    Don't know why but it works almost ;-)

    I see a webpage and can create a new mailinglist...

    Only one last problem I can't create a new mailinglist..

    Receive this error:
    Error: You are not authorized to create new mailing lists

    I changed the administrators passwd and list creater passwd with
    bin/mmsitepass -c or without -c but no effect..

    I have seen other reports of this kind of thing, but first let's see if
    the web interface works in general.

    Try creating a list with bin/newlist and see if its web admin interface
    works. If that's all OK we can come back to the web create issue.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Peter Coolen at Jan 22, 2007 at 4:16 pm
    This is working fine now..

    I also found a manual (in the dark environments of the internet) for postfix
    virtual domains mysql and mailman.. Hope to inform you when it works but
    don't know for sure.

    Thanks for all the help.. You are great!!
    -----Oorspronkelijk bericht-----
    Van: Mark Sapiro [mailto:msapiro at value.net]
    Verzonden: maandag 22 januari 2007 16:59
    Aan: Peter Coolen; mailman-users at python.org
    Onderwerp: Re: [Mailman-Users] problems with gid when installing

    Peter Coolen wrote:
    Don't know why but it works almost ;-)

    I see a webpage and can create a new mailinglist...

    Only one last problem I can't create a new mailinglist..

    Receive this error:
    Error: You are not authorized to create new mailing lists

    I changed the administrators passwd and list creater passwd with
    bin/mmsitepass -c or without -c but no effect..

    I have seen other reports of this kind of thing, but first
    let's see if the web interface works in general.

    Try creating a list with bin/newlist and see if its web admin
    interface works. If that's all OK we can come back to the web
    create issue.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 22, 2007 at 3:48 pm

    Peter Coolen wrote:

    I tried example.com/mailman/ just for a visit or a index
    page but now I
    receive a 403 forbidden...

    Let's try to debug one issue at a time, but what's in
    error_log for the
    403?
    The error when visiting domain.com/mailman/
    [Mon Jan 22 10:01:52 2007] [error] [client 62.58.15.252] attempt to invoke
    directory as script: /usr/local/mailman

    As I said in
    <http://mail.python.org/pipermail/mailman-users/2007-January/055473.html>

    If you want this latter URL to work (usually people send it to the
    listinfo page), you need something like

    RedirectMatch ^/mailman[/]*$ http://example.com/mailman/listinfo

    in your Apache config.


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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJan 20, '07 at 3:48p
activeJan 22, '07 at 4:16p
posts18
users2
websitelist.org

2 users in discussion

Mark Sapiro: 9 posts Peter Coolen: 9 posts

People

Translate

site design / logo © 2022 Grokbase