FAQ
Hi,

I just completed the mailman setup instructions and was able to create a
mail list with the command line option and receive an email
notification. However, the Apache web browsing part doesn't seem to
work as I get a permissions error page when I attempt to browse to
"http://<my-mailman-IP-addr>/mailman/create. I have my httpd.conf set
up to point the alias to the mailman script folder as such:

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

The permissions on each script are shown below:

-rwxr-sr-x 1 root mailman 21127 Apr 29 17:43 admin
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 admindb
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 confirm
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 create
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 edithtml
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 listinfo
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 options
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 private
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 rmlist
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 roster
-rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 subscribe

Can somebody please recommend the next step(s) to troubleshoot this
issue?

Thanks in advance!

Bill

Search Discussions

  • Dragon at May 1, 2008 at 9:00 pm

    Bill Honneus (honneus) wrote:
    Hi,

    I just completed the mailman setup instructions and was able to create a
    mail list with the command line option and receive an email
    notification. However, the Apache web browsing part doesn't seem to
    work as I get a permissions error page when I attempt to browse to
    "http://<my-mailman-IP-addr>/mailman/create. I have my httpd.conf set
    up to point the alias to the mailman script folder as such:

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

    The permissions on each script are shown below:

    -rwxr-sr-x 1 root mailman 21127 Apr 29 17:43 admin
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 admindb
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 confirm
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 create
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 edithtml
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 listinfo
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 options
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 private
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 rmlist
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 roster
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 subscribe

    Can somebody please recommend the next step(s) to troubleshoot this
    issue?

    Thanks in advance!
    ---------------- End original message. ---------------------

    It is quite possible your system is running SElinux.

    See:

    http://www.revsys.com/writings/quicktips/turn-off-selinux.html

    If it is running, turn it off as described on that page and try again.

    If that works, you will have to decide if you want to just keep it
    off or go to the trouble of configuring SElinux.

    Dragon

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • Mark Sapiro at May 1, 2008 at 9:34 pm

    Bill Honneus wrote:
    I just completed the mailman setup instructions and was able to create a
    mail list with the command line option and receive an email
    notification. However, the Apache web browsing part doesn't seem to
    work as I get a permissions error page when I attempt to browse to
    "http://<my-mailman-IP-addr>/mailman/create. I have my httpd.conf set
    up to point the alias to the mailman script folder as such:

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

    The permissions on each script are shown below:

    -rwxr-sr-x 1 root mailman 21127 Apr 29 17:43 admin
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 admindb
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 confirm
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 create
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 edithtml
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 listinfo
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 options
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 private
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 rmlist
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 roster
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 subscribe

    Can somebody please recommend the next step(s) to troubleshoot this
    issue?

    What is the exact error in the apache error-log?

    Just guessing, but I suspect you may not have allowed access to
    /usr/local/mailman/cgi-bin/. You may need

    <Directory "/usr/local/mailman/cgi-bin/">
    Order allow,deny
    Allow from all
    </Directory>

    in your httpd.conf.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Bill Honneus (honneus) at May 1, 2008 at 9:39 pm
    Hi Mark,

    That was the problem. I added that directory statement and I now get an
    error page showing the following:

    Mailman CGI error!!!
    The Mailman CGI wrapper encountered a fatal error. This entry is being
    stored in your syslog:
    Group mismatch error. Mailman expected the CGI wrapper script to be
    executed as group "nobody", but the system's web server executed the CGI
    script as group "apache". Try tweaking the web server to run the script
    as group "nobody", or re-run configure, providing the command line
    option `--with-cgi-gid=apache'.

    This seems self explanatory enough. So now if I run ./configure again
    from my original staging area with the above mentioned option, will I
    need to run "make install" again afterwards and redo all my original
    custom configuration?

    Thanks!

    Bill

    -----Original Message-----
    From: mailman-users-bounces+honneus=cisco.com at python.org
    [mailto:mailman-users-bounces+honneus=cisco.com at python.org] On Behalf Of
    Mark Sapiro
    Sent: Thursday, May 01, 2008 5:35 PM
    To: mailman-users at python.org
    Subject: Re: [Mailman-Users] Permissions issue w/ Apache

    Bill Honneus wrote:
    I just completed the mailman setup instructions and was able to create
    a mail list with the command line option and receive an email
    notification. However, the Apache web browsing part doesn't seem to
    work as I get a permissions error page when I attempt to browse to
    "http://<my-mailman-IP-addr>/mailman/create. I have my httpd.conf set
    up to point the alias to the mailman script folder as such:

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

    The permissions on each script are shown below:

    -rwxr-sr-x 1 root mailman 21127 Apr 29 17:43 admin -rwxr-sr-x 1 root
    mailman 21159 Apr 29 17:43 admindb -rwxr-sr-x 1 root mailman 21159 Apr
    29 17:43 confirm -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 create
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 edithtml -rwxr-sr-x 1
    root mailman 21159 Apr 29 17:43 listinfo -rwxr-sr-x 1 root mailman
    21159 Apr 29 17:43 options -rwxr-sr-x 1 root mailman 21159 Apr 29
    17:43 private -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 rmlist
    -rwxr-sr-x 1 root mailman 21159 Apr 29 17:43 roster -rwxr-sr-x 1 root
    mailman 21159 Apr 29 17:43 subscribe

    Can somebody please recommend the next step(s) to troubleshoot this
    issue?

    What is the exact error in the apache error-log?

    Just guessing, but I suspect you may not have allowed access to
    /usr/local/mailman/cgi-bin/. You may need

    <Directory "/usr/local/mailman/cgi-bin/">
    Order allow,deny
    Allow from all
    </Directory>

    in your httpd.conf.

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

    ------------------------------------------------------
    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/honneus%40cisco.com

    Security Policy:
    http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp
  • Mark Sapiro at May 1, 2008 at 9:55 pm
    Bill Honneus
    That was the problem. I added that directory statement and I now get an
    error page showing the following:

    Mailman CGI error!!!
    The Mailman CGI wrapper encountered a fatal error. This entry is being
    stored in your syslog:
    Group mismatch error. Mailman expected the CGI wrapper script to be
    executed as group "nobody", but the system's web server executed the CGI
    script as group "apache". Try tweaking the web server to run the script
    as group "nobody", or re-run configure, providing the command line
    option `--with-cgi-gid=apache'.

    This seems self explanatory enough. So now if I run ./configure again
    from my original staging area with the above mentioned option, will I
    need to run "make install" again afterwards and redo all my original
    custom configuration?

    I'm not sure what you mean by "custom configuration", but any changes
    you have made in mm_cfg.py will not be affected by the ./configure,
    make install process which never overwrites an existing mm_cfg.py.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Bill Honneus (honneus) at May 1, 2008 at 10:07 pm
    Thanks, Mark. It looks like this is working now.

    Much appreciated!

    Bill

    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Thursday, May 01, 2008 5:55 PM
    To: Bill Honneus (honneus); mailman-users at python.org
    Subject: RE: [Mailman-Users] Permissions issue w/ Apache

    Bill Honneus
    That was the problem. I added that directory statement and I now get
    an error page showing the following:

    Mailman CGI error!!!
    The Mailman CGI wrapper encountered a fatal error. This entry is being
    stored in your syslog:
    Group mismatch error. Mailman expected the CGI wrapper script to be
    executed as group "nobody", but the system's web server executed the
    CGI script as group "apache". Try tweaking the web server to run the
    script as group "nobody", or re-run configure, providing the command
    line option `--with-cgi-gid=apache'.

    This seems self explanatory enough. So now if I run ./configure again
    from my original staging area with the above mentioned option, will I
    need to run "make install" again afterwards and redo all my original
    custom configuration?

    I'm not sure what you mean by "custom configuration", but any changes
    you have made in mm_cfg.py will not be affected by the ./configure, make
    install process which never overwrites an existing mm_cfg.py.

    --
    Mark Sapiro <mark at msapiro.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
postedMay 1, '08 at 8:50p
activeMay 1, '08 at 10:07p
posts6
users3
websitelist.org

People

Translate

site design / logo © 2022 Grokbase