On 06/18/2014 06:34 AM, John Dragun wrote: > I have been running mailman on a Freebsd server for about 10 years. I am > now migrating to a bigger server running Centos. The problems I have > been having I have been able to work through with all the help posted in > these lists and forums, but I am at a point where I am stuck. > If i connect via my ip address: 216.xxx.xxx.xxx/mailman/listinfo, I get > in, I see no lists even though I made a mailman list as public,
See the FAQ at <http://wiki.list.org/x/lYA9>. > I can > the got to the admin page, still do not see the list, but I can go to > 216.xxx.xxx.xxx/mailman/admin/mailman and log in. Once there if I go to > post a message in the waiting for moderator, when I hit the save changes > button, the url reverts to http://draguncomputers/mailman/admin/mailman > and I get a 500 error. I have virtual hosts, and only one uses the list. If you want the url to be 216.xxx.xxx.xxx/mailman/admin/mailman run Mailman's bin/withlist -l -r fix_url -u 216.xxx.xxx.xxx It shouldn't be necessary to post Defaults.py as you should never change it. All changes should be made by overrides in mm_cfg.py. See the FAQ at <http://wiki.list.org/x/fIA9>. > mm_cfg.py > ############################################### > # Here's where we get the distributed defaults. > > from Defaults import * > > ################################################## > # Put YOUR site-specific settings below this line. > #DEFAULT_URL_PATTERN = 'http://%s/mailman/' > #PUBLIC_ARCHIVE_URL = '/pipermail' > #PUBLIC_ARCHIVE_URL = 'http://% (hostman)s/pipermail/%(listman)s' If this was uncommented at Jun 17 21:47:39 2014, it explains the error log entry below. It should be PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s' This should be the Default value that's in Defaults.py. The space between '%' and '(' will cause the "ValueError: unsupported format character '(' (0x28) at index 9" exception. and the misspelled names will also cause problems > #DEFAULT_EMAILHOST = 'draguncomputers.com' > > VIRTUAL_HOSTS.clear > add_virtualhost('www.draguncomputers.com, draguncomputers.com') > add_virtualhost('www.askchip.com, askchip.com') You may or may not want the above. You probably want add_virtualhost('216.xxx.xxx.xxx', 'whatever.the.email.host.is') > mailman Actually, this one is Apache. > error_log: > [Wed Jun 18 09:16:03 2014] [error] [client 173.245.xxx.xxx] Premature > end of script headers: admindb, referer: > http://216.224.171.137/mailman/admindb/mailman > [Wed Jun 18 09:16:04 2014] [error] [client 173.245.xxx.xxx] suexec > policy violation: see suexec log for more details, referer: > http://draguncomputers.com/mailman/admindb/mailman > [Wed Jun 18 09:16:04 2014] [error] [client 173.245.xxx.xxx] Premature > end of script headers: admindb, referer: > http://draguncomputers.com/mailman/admindb/mailman Are there any Mailman error log entries corresponding to the above? > Apache: And this is Mailman's error log and the errors herein are explained by the invalid PUBLIC_ARCHIVE_URL = 'http://% (hostman)s/pipermail/%(listman)s' > Jun 17 21:47:39 2014 admin(10560): > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > admin(10560): [----- Mailman Version: 2.1.18-1 -----] > admin(10560): [----- Traceback ------] > admin(10560): Traceback (most recent call last): > admin(10560): File > "/usr/local/cpanel/3rdparty/mailman/scripts/driver", line 117, in run_main > admin(10560): main() > admin(10560): File > "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 230, in > main > admin(10560): show_results(mlist, doc, category, subcat, cgidata) > admin(10560): File > "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 452, in > show_results > admin(10560): otherlinks.AddItem(Link(mlist.GetBaseArchiveURL(), > admin(10560): File > "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/Archiver.py", line > 147, in GetBaseArchiveURL > admin(10560): 'hostname': hostname > admin(10560): ValueError: unsupported format character '(' (0x28) at > index 9 Python info and second occurrence of same error snipped. > I had a hell of a time with permissions etc just to get ANY page to come > up without a 403 or 500 error. And are those and your Apache errors resolved now? -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org