Mailman, Fedora Core, 500 Internal Server Error
![](https://secure.gravatar.com/avatar/30f5ff53719e3ad473be6766e8248f70.jpg?s=120&d=mm&r=g)
I've installed mailman using Yum. I'll create a list which sends out the email that the list has been created. When I subcribe using the email it works fine, however if I click on the link back to the server I get a 500 Internal Server Error.
I look in my Apache logs and get the following error message:
[Wed Nov 22 19:19:56 2006] [error] [client X..118.247] attempt to invoke directory as script: /usr/lib/mailman/cgi-bin/ [Wed Nov 22 19:21:22 2006] [error] [client X..118.247] Premature end of script headers: admin [Wed Nov 22 19:22:30 2006] [error] [client X.X.118.247] Premature end of script headers: listinfo
Next I look in my /var/log/httpd/suexec.log and I get:
[2006-11-24 10:07:27]: uid: (500/morganfundingcorp) gid: (500/500) cmd: confirm [2006-11-24 10:07:27]: file is either setuid or setgid: (/usr/lib/mailman/cgi- bin/confirm)
So I change from 2755 with User as root, Group as mailman to 0755 and now I get:
[2006-11-25 14:45:43]: uid: (500/morganfundingcorp) gid: (500/500) cmd: admin [2006-11-25 14:45:43]: target uid/gid (500/500) mismatch with directory (0/41) or program (0/41) [2006-11-25 14:45:49]: uid: (500/morganfundingcorp) gid: (500/500) cmd: listinfo [2006-11-25 14:45:49]: target uid/gid (500/500) mismatch with directory (0/41) or program (0/41)
Anyone have any clues? I am at a dead end.
![](https://secure.gravatar.com/avatar/30f5ff53719e3ad473be6766e8248f70.jpg?s=120&d=mm&r=g)
I'm sorry to re-visit this so soon, but no one has repsonded and I'm really lost on this one. I have searched google over and over for every possible solution and keep coming up empty handed. I know this is a suexec problem but don't know how to resolve it. Can anyone at least point me in the right direction?
Thanks
---------- Forwarded Message ----------- From: "Vernon Webb" <vernon@comp-wiz.com> To: mailman-users@python.org Sent: Tue, 28 Nov 2006 12:18:50 -0500 Subject: Mailman, Fedora Core, 500 Internal Server Error
I've installed mailman using Yum. I'll create a list which sends out the email that the list has been created. When I subcribe using the email it works fine, however if I click on the link back to the server I get a 500 Internal Server Error.
I look in my Apache logs and get the following error message:
[Wed Nov 22 19:19:56 2006] [error] [client X..118.247] attempt to invoke directory as script: /usr/lib/mailman/cgi-bin/ [Wed Nov 22 19:21:22 2006] [error] [client X..118.247] Premature end of script headers: admin [Wed Nov 22 19:22:30 2006] [error] [client X.X.118.247] Premature end of script headers: listinfo
Next I look in my /var/log/httpd/suexec.log and I get:
[2006-11-24 10:07:27]: uid: (500/morganfundingcorp) gid: (500/500) cmd: confirm [2006-11-24 10:07:27]: file is either setuid or setgid: (/usr/lib/mailman/cgi- bin/confirm)
So I change from 2755 with User as root, Group as mailman to 0755 and now I get:
[2006-11-25 14:45:43]: uid: (500/morganfundingcorp) gid: (500/500) cmd: admin [2006-11-25 14:45:43]: target uid/gid (500/500) mismatch with directory (0/41) or program (0/41) [2006-11-25 14:45:49]: uid: (500/morganfundingcorp) gid: (500/500) cmd: listinfo [2006-11-25 14:45:49]: target uid/gid (500/500) mismatch with directory (0/41) or program (0/41)
Anyone have any clues? I am at a dead end.
------- End of Forwarded Message -------
Vernon Webb (201) 703-1232 web designs & web hosting by comp-wiz.com, inc. Information in this transmission is privileged & confidential. It is intended for the use of the individual or entity named above. Any review, dissemination, disclosure, alteration, printing, circulation or transmission of this email or it's attachments is prohibited and unlawful.
![](https://secure.gravatar.com/avatar/30f5ff53719e3ad473be6766e8248f70.jpg?s=120&d=mm&r=g)
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted
---------- Original Message ----------- From: Peter Nyamukusa <petern@africaonline.co.zw> To: "Vernon Webb" <vernon@comp-wiz.com>, mailman-users@python.org Sent: Wed, 29 Nov 2006 17:07:14 +0200 Subject: Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Vernon Webbwrote:
You may find something helpful in <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.016.htp>.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/30f5ff53719e3ad473be6766e8248f70.jpg?s=120&d=mm&r=g)
I have posted a few times with no luck in getting mailman to work with Fedora Core using YUM. I have installed and all seems to be working something to do with suexe. Emails go out and using email a person can subcribe, but the web pages do not work. Can anyone please tell me they have successfully installed mailman on a Fedora Core box and if so can they please help me get mine working. I understand that is a permissions error having to do with suexe, but I have not clue how to make it work.
Thanks
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Vernon Webb wrote:
The Apache restrictions on the suEXEC module conflict with Mailman's security model. If possible, don't use suEXEC for the Mailman CGIs.
If you have to use suEXEC, I think you will have to make the suEXEC user and group the same as the owner and group of the wrappers (in $prefix/cgi-bin) and possibly remove the SETGID bit from the wrappers.
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.016.htp> and <http://httpd.apache.org/docs/2.0/suexec.html> for further detail.
Note that I have no experience with suEXEC so I may be wrong about this, but that's how it looks to me.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Vernon Webb wrote:
I understand that is a permissions error having to do with suexe, but I have not clue how to make it work.
You might find the results of <http://www.google.com/search?hl=en&q=site%3Amail.python.org++inurl%3Amailman++suexec> (starting with <http://mail.python.org/pipermail/mailman-users/1999-November/002656.html>) helpful.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/30f5ff53719e3ad473be6766e8248f70.jpg?s=120&d=mm&r=g)
I'm sorry to re-visit this so soon, but no one has repsonded and I'm really lost on this one. I have searched google over and over for every possible solution and keep coming up empty handed. I know this is a suexec problem but don't know how to resolve it. Can anyone at least point me in the right direction?
Thanks
---------- Forwarded Message ----------- From: "Vernon Webb" <vernon@comp-wiz.com> To: mailman-users@python.org Sent: Tue, 28 Nov 2006 12:18:50 -0500 Subject: Mailman, Fedora Core, 500 Internal Server Error
I've installed mailman using Yum. I'll create a list which sends out the email that the list has been created. When I subcribe using the email it works fine, however if I click on the link back to the server I get a 500 Internal Server Error.
I look in my Apache logs and get the following error message:
[Wed Nov 22 19:19:56 2006] [error] [client X..118.247] attempt to invoke directory as script: /usr/lib/mailman/cgi-bin/ [Wed Nov 22 19:21:22 2006] [error] [client X..118.247] Premature end of script headers: admin [Wed Nov 22 19:22:30 2006] [error] [client X.X.118.247] Premature end of script headers: listinfo
Next I look in my /var/log/httpd/suexec.log and I get:
[2006-11-24 10:07:27]: uid: (500/morganfundingcorp) gid: (500/500) cmd: confirm [2006-11-24 10:07:27]: file is either setuid or setgid: (/usr/lib/mailman/cgi- bin/confirm)
So I change from 2755 with User as root, Group as mailman to 0755 and now I get:
[2006-11-25 14:45:43]: uid: (500/morganfundingcorp) gid: (500/500) cmd: admin [2006-11-25 14:45:43]: target uid/gid (500/500) mismatch with directory (0/41) or program (0/41) [2006-11-25 14:45:49]: uid: (500/morganfundingcorp) gid: (500/500) cmd: listinfo [2006-11-25 14:45:49]: target uid/gid (500/500) mismatch with directory (0/41) or program (0/41)
Anyone have any clues? I am at a dead end.
------- End of Forwarded Message -------
Vernon Webb (201) 703-1232 web designs & web hosting by comp-wiz.com, inc. Information in this transmission is privileged & confidential. It is intended for the use of the individual or entity named above. Any review, dissemination, disclosure, alteration, printing, circulation or transmission of this email or it's attachments is prohibited and unlawful.
![](https://secure.gravatar.com/avatar/30f5ff53719e3ad473be6766e8248f70.jpg?s=120&d=mm&r=g)
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted
---------- Original Message ----------- From: Peter Nyamukusa <petern@africaonline.co.zw> To: "Vernon Webb" <vernon@comp-wiz.com>, mailman-users@python.org Sent: Wed, 29 Nov 2006 17:07:14 +0200 Subject: Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Vernon Webbwrote:
You may find something helpful in <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.016.htp>.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/30f5ff53719e3ad473be6766e8248f70.jpg?s=120&d=mm&r=g)
I have posted a few times with no luck in getting mailman to work with Fedora Core using YUM. I have installed and all seems to be working something to do with suexe. Emails go out and using email a person can subcribe, but the web pages do not work. Can anyone please tell me they have successfully installed mailman on a Fedora Core box and if so can they please help me get mine working. I understand that is a permissions error having to do with suexe, but I have not clue how to make it work.
Thanks
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Vernon Webb wrote:
The Apache restrictions on the suEXEC module conflict with Mailman's security model. If possible, don't use suEXEC for the Mailman CGIs.
If you have to use suEXEC, I think you will have to make the suEXEC user and group the same as the owner and group of the wrappers (in $prefix/cgi-bin) and possibly remove the SETGID bit from the wrappers.
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.016.htp> and <http://httpd.apache.org/docs/2.0/suexec.html> for further detail.
Note that I have no experience with suEXEC so I may be wrong about this, but that's how it looks to me.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Vernon Webb wrote:
I understand that is a permissions error having to do with suexe, but I have not clue how to make it work.
You might find the results of <http://www.google.com/search?hl=en&q=site%3Amail.python.org++inurl%3Amailman++suexec> (starting with <http://mail.python.org/pipermail/mailman-users/1999-November/002656.html>) helpful.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro
-
Peter Nyamukusa
-
Vernon Webb