Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

2006-12-04 Thread Mark Sapiro
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

(starting with
)
helpful.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

2006-12-04 Thread Mark Sapiro
Vernon Webb wrote:

>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.


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

and  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 <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

2006-12-04 Thread Vernon Webb
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
--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

2006-12-01 Thread Mark Sapiro
Vernon Webbwrote:
>
>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)


You may find something helpful in
.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

2006-11-29 Thread Vernon Webb
# 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 <[EMAIL PROTECTED]> 
To: "Vernon Webb" <[EMAIL PROTECTED]>, mailman-users@python.org 
Sent: Wed, 29 Nov 2006 17:07:14 +0200 
Subject: Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

> Hi 
> what entries do you have in /etc/sysconfig/selinux 
> 
> Regards 
> 
> Peter 

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

2006-11-29 Thread Peter Nyamukusa
Hi
what entries do you have in /etc/sysconfig/selinux

Regards

Peter

On Wednesday 29 November 2006 16:30, Vernon Webb wrote:
> 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" <[EMAIL PROTECTED]>
> 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.
>
> --
> Mailman-Users mailing list
> Mailman-Users@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/petern%40africaonline.
>co.zw
>
> Security Policy:
> http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp



--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

2006-11-29 Thread Vernon Webb
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" <[EMAIL PROTECTED]> 
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.

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Mailman, Fedora Core, 500 Internal Server Error

2006-11-28 Thread Vernon Webb
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.

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp