[Mailman-Users] cgi-bin permissions problems
Jana Nguyen
jnguyen at ncmir.ucsd.edu
Tue Aug 22 19:33:33 CEST 2006
Have you created the site password?
/usr/local/mailman/bin/mmsitepass <site passwd>
Jason Novotny wrote:
>
> Hi,
>
> Thanks everyone for your suggestion-- I did run bin/check_perms and
> discovered the permissions needed updating. check_perms -f seemed to
> fix those.
> However, I'm still getting a 500 error when I try
> localhost/mailman/create from the web.
>
> I also made sure that I compiled the cgi-bin exec with the right
> group, apache:
>
> [root at gridsphere cgi-bin]# strings create | grep apache
> apache
>
> but I still seem to get:
>
> [Mon Aug 21 14:48:06 2006] [error] [client 132.239.132.180]
> (13)Permission den
> ied: exec of '/usr/local/mailman/cgi-bin/create' failed
> [Mon Aug 21 14:48:06 2006] [error] [client 132.239.132.180] Premature
> end of s
> cript headers: create
>
>
> In my httpd.conf I have the following:
>
> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
> Alias /pipermail/ "/usr/local/mailman/archives/public/"
>
> ScriptAlias /cgi-bin/ "/var/www/sites/lists.gridsphere.org/cgi-bin/"
>
> The weird thing is that I placed a "test" cgi script in the
> /cgi-bin/ alias and it executes fine. However when I place that same
> test script into /usr/local/mailman/cgi-bin/ it doesn't work and I
> get the same permissions problem from before....
>
> Here is my dir structure on /usr/local/mailman/cgi-bin now...
>
> [root at gridsphere cgi-bin]# ls -al /usr/local/mailman/cgi-bin/
> total 244
> drwxrwsr-x 2 gridsphere mailman 4096 Aug 21 12:38 .
> drwxrwsr-x 20 root mailman 4096 Mar 9 14:05 ..
> -rwxr-sr-x 1 gridsphere mailman 15646 Aug 21 12:14 admin
> -rwxr-sr-x 1 gridsphere mailman 15650 Aug 21 12:14 admindb
> -rwxr-sr-x 1 gridsphere mailman 15650 Aug 21 12:14 confirm
> -rwxr-sr-x 1 gridsphere mailman 15650 Aug 21 12:14 create
> -rwxr-sr-x 1 gridsphere mailman 15654 Aug 21 12:14 edithtml
> -rwxr-sr-x 1 gridsphere mailman 15654 Aug 21 12:14 listinfo
> -rwxr-sr-x 1 gridsphere mailman 15650 Aug 21 12:14 options
> -rwxr-sr-x 1 gridsphere mailman 15650 Aug 21 12:14 private
> -rwxr-sr-x 1 gridsphere mailman 15650 Aug 21 12:14 rmlist
> -rwxr-sr-x 1 gridsphere mailman 15650 Aug 21 12:14 roster
> -rwxr-sr-x 1 gridsphere mailman 15654 Aug 21 12:14 subscribe
>
> Thanks, Jason
>
>
> Jana Nguyen wrote:
>
>> Try to check your mailman configuration permissions by running:
>>
>> bin/check_perms script. This script will be located in the
>> /usr/local/mailman
>>
>>>
>>> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
>>>
>>>
>> ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
>>
>>> Alias /pipermail/ "/usr/local/mailman/archives/public/"
>>>
>>>
>> Alias /pipermail/ /usr/local/mailman/archives/public/
>>
>>> ScriptAlias /cgi-bin/ "/var/www/sites/lists.nbirn.net/cgi-bin/"
>>>
>>>
>>
>>> ErrorLog /etc/httpd/logs/lists_error_log
>>> CustomLog /etc/httpd/logs/lists_access_log combined
>>>
>>> </VirtualHost>
>>>
>>> The funny thing is that if I copy the "create" script from
>>> /usr/local/mailman/cgi-bin/ over to my other cgi-bin ScriptAlias
>>> /var/www/sites/lists.nbirn.net/cgi-bin/ it seems to be invoked,
>>> although I then get this error in my browser:
>>>
>>>
>>> Bug in Mailman version 2.1.8
>>>
>>>
>>> We're sorry, we hit a bug!
>>>
>>> Please inform the webmaster for this site of this problem. Printing
>>> of traceback and other system information has been explicitly
>>> inhibited, but the webmaster can find this information in the
>>> Mailman error logs.
>>>
>>> Any help is greatly appreciated!
>>>
>>>
>>> Thanks, Jason
>>>
>>>
>>> ------------------------------------------------------
>>> 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/jnguyen%40ncmir.ucsd.edu
>>>
>>>
>>> Security Policy:
>>> http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
>>>
>>>
>>>
>>>
>>
>
More information about the Mailman-Users
mailing list