[Mailman-Users] Mailman Migration Trouble
Mark Sapiro
mark at msapiro.net
Tue Jun 17 03:10:21 CEST 2008
Carlos Williams wrote:
>I am migrating mailman from server_old (RHEL 4) to server_new (RHEL
>5). Its basically in all sense the same machine / arch / domain / blah
>blah blah.
>
>I am using this archive as a guide:
>
>http://mail.python.org/pipermail/mailman-users/2007-January/055208.html
>
>I copies everything over from my old server to the new as below:
>
>/usr/bin/rsync -ave ssh --delete-after /var/lib/mailman/lists/
>root at server_new:/var/lib/mailman/lists
>/usr/bin/rsync -ave ssh --delete-after
>/var/lib/mailman/archives/private/
>root at server_new:/var/lib/mailman/archives/private
>
>I skipped step 3 in the guide since the domain is identical and has no
>reason to change...
>
>I then copied all /var/lib/mailman/archives/private/*mbox/*mbox to the new
>server as shown below:
>
>/usr/bin/rsync -ave ssh --delete-after
>/var/lib/mailman/archives/private/
>root at server_new:/var/lib/mailman/archives/private
It seems you did this twice?
>Now I am trying to understand step # 5 and I don't understand since my
>system has no user or group called list so I can chown -R list:list.
>Am I missing something? Right now since I can't execute step 5, when I
>attempt to start mailman on my Linux server, I get the following
>error:
In the message you quote above, 'list' is his MAILMAN_USER and
MAILMAN_GROUP. Yours are probably 'mailman'.
>[root at email cwilliams]# /etc/init.d/mailman start
>Starting mailman: Traceback (most recent call last):
> File "/usr/lib/mailman/bin/mailmanctl", line 607, in ?
> main()
> File "/usr/lib/mailman/bin/mailmanctl", line 426, in main
> check_for_site_list()
> File "/usr/lib/mailman/bin/mailmanctl", line 326, in check_for_site_list
> sitelist = MailList(sitelistname, lock=0)
> File "/usr/lib/mailman/Mailman/MailList.py", line 130, in __init__
> self.Load()
> File "/usr/lib/mailman/Mailman/MailList.py", line 665, in Load
> self.CheckVersion(dict)
> File "/usr/lib/mailman/Mailman/MailList.py", line 707, in CheckVersion
> self.InitVars()
> File "/usr/lib/mailman/Mailman/MailList.py", line 404, in InitVars
> baseclass.InitVars(self)
> File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars
> os.mkdir(self.archive_dir()+'.mbox', 02775)
>OSError: [Errno 13] Permission denied:
>'/var/lib/mailman/archives/private/mailman.mbox'
> [FAILED]
>
>
>Anyone know what I am missing or doing wrong?
Since your domain names don't change, you shouldn't need to do step 6.
For step 5, make sure that everything in lists/ and archives/ is your
mailman group.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list