The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailman CGI error!!!

Discussion in 'E-mail Discussions' started by hostbet, Mar 21, 2002.

  1. hostbet

    hostbet Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Mailman CGI error!!!
    The expected gid of the Mailman CGI wrapper did not match the gid as set by the Web server.
    The most likely cause is that Mailman was configured and installed incorrectly. Please read the INSTALL instructions again, paying close attention to the --with-cgi-gid configure option. This entry is being stored in your syslog:

    Failure to exec script. WANTED gid 99, GOT gid -1. (Reconfigure to take -1?)
     
  2. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    At shell type

    pico /usr/local/apache/conf/httpd.conf

    Scroll down until you find this section.

    #
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    #
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # . On SCO (ODT 3) use &User nouser& and &Group nogroup&.
    # . On HPUX you may not be able to use shared memory as nobody, and the
    # suggested workaround is to create a user www and use that user.
    # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
    # when the value of (unsigned)Group is above 60000;
    # don't use Group &#-1& on these systems!
    #
    User nobody
    Group &nobody&

    User and group should be nobody. I think the apache default is -1 or it may be 99. I forget but just change them both to nobody and restart apache.

    Hope this helps you.
     
  3. hostbet

    hostbet Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Yes it works now!

    Question

    What the Group &#-1& means, I like to know what I just dasable or anable.
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Check this out, it should help explain things a bit:

    http://httpd.apache.org/docs-2.0/suexec.html
     
Loading...

Share This Page