[Mailman-Users] Trying again from the start -- Re: Help inunderstandingMailmansetup

Robert Moskowitz rgm at htt-consult.com
Mon Dec 6 22:31:27 CET 2010


On 12/06/2010 04:23 PM, Robert Moskowitz wrote:
> On 12/06/2010 03:48 PM, Mark Sapiro wrote:
>> Mark Sapiro wrote:
>>
>>> Robert Moskowitz wrote:
>>>> <VirtualHost *:80>
>>>>
>>>>     ServerName mailman
>>
>> Same caveat as below, but I also think this should be
>>
>>      ServerName mailman.htt-consult.com
>>
>>
>>>> #
>>>> #  httpd configuration settings for use with mailman.
>>>> #
>>>>
>>>> ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/
>>>
>>> I am not an expert on named virtual hosts, but I think the above should
>>> be
>>>
>>> ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
>
> What I just tried is:
>
> ServerName mailman
> ServerAlias mailman.htt-consult.com
> ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
> RedirectMatch ^/mailman[/]*$ 
> http://mailman.htt-consult.com/mailman/listinfo
>
>
> And now I get:
>
> Bug in Mailman version 2.1.12
>
> We're sorry, we hit a bug!
>
> And it tells me to look in the Mailman error logs.  I see errors in 
> the  /var/hda/web-apps/mailman/logs/error_log.  I will have to move it 
> over to this system via a USB drive...
>
> So progress!

Here is the error_log:

[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Mailman 
Version: 2.1.12 -----]
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- 
Traceback ------]
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] Traceback 
(most recent call last):
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]   File 
"/usr/lib/mailman/scripts/driver", line 85, in run_main
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]     immediate=1)
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]   File 
"/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 52, in __init__
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]     
Logger.__init__(self, category, nofail, immediate)
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]   File 
"/usr/lib/mailman/Mailman/Logging/Logger.py", line 50, in __init__
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]     self.__get_f()
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]   File 
"/usr/lib/mailman/Mailman/Logging/Logger.py", line 68, in __get_f
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]     1)
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]   File 
"/usr/lib/python2.6/codecs.py", line 865, in open
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]     file = 
__builtin__.open(filename, mode, buffering)
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] IOError: 
[Errno 13] Permission denied: '/var/log/mailman/error'
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- Python 
Information -----]
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
sys.version     = 2.6.2 (r262:71600, Jun  4 2010, 18:28:04)
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [GCC 4.4.3 
20100127 (Red Hat 4.4.3-4)]
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
sys.executable  = /usr/bin/python
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
sys.prefix      = /usr
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
sys.exec_prefix = /usr
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
sys.path        = /usr
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
sys.platform    = linux2
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] [----- 
Environment Variables -----]
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_COOKIE: 
locale=en
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tSERVER_SOFTWARE: Apache/2.2.15 (Fedora)
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSCRIPT_NAME: 
/mailman/listinfo
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tSERVER_SIGNATURE: <address>Apache/2.2.15 (Fedora) Server at 
mailman.htt-consult.com Port 80</address>
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149]
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tREQUEST_METHOD: GET
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tHTTP_KEEP_ALIVE: 300
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tSERVER_PROTOCOL: HTTP/1.1
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tQUERY_STRING:
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tHTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tHTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) 
Gecko/20101027 Fedora/3.5.15-1.fc12 Firefox/3.5.15
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tHTTP_CONNECTION: keep-alive
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_NAME: 
mailman.htt-consult.com
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tREMOTE_ADDR: 
208.83.67.149
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_PORT: 80
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tSERVER_ADDR: 
208.83.67.149
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tDOCUMENT_ROOT: /var/www/html
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tPYTHONPATH: 
/usr/lib/mailman
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tSCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/listinfo
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tSERVER_ADMIN: root at localhost
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_HOST: 
mailman.htt-consult.com
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tREQUEST_URI: 
/mailman/listinfo
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tHTTP_ACCEPT: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tGATEWAY_INTERFACE: CGI/1.1
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] \tREMOTE_PORT: 
59673
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tHTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
[Mon Dec 06 16:18:32 2010] [error] [client 208.83.67.149] 
\tHTTP_ACCEPT_ENCODING: gzip,deflate

Note this system is double NATTED so I can build the system then move it 
to its planned network location and IP address.  So the system currently 
accessable with that IP address is NOT the system I am working on.  And 
the DNS info is only on my internal view, not reachable yet (I HOPE!).  
I wonder if these problems are due to my erasing then reinstalling mailman?




More information about the Mailman-Users mailing list