[Mailman-Users] Migration woes. Linux to Solaris.

Martin Schmitt martin at schmitt.li
Sat Mar 16 13:19:59 CET 2002


Hi everyone!

I've migrated a list server (fortunately running only one list) from Debian
Potato to Solaris 8. On Debian I've used the provided binary packages, on
Solaris I compiled everything on my own:

The two main differences between both installations are:

Mailman's CGI root (ScriptAlias) on Debian:
		http://www.domain.foo/cgi-bin/mailman

Mailman's CGI root (ScriptAlias) on my Solaris box:
		http://www.domain.foo/mailman
		(I find this somehow easier to grok for subscribers)


Mailman's /var dir on Debian: 
		/var/lib/mailman

Mailman's /var dir on my Solaris box:
		/var/mailman
		(I find this somehow easier to grok for MYSELF. ;-)

What I've done to move my list onto the new box is: Copy the respective
Directories from /var/lib/mailman to /var/mailman on the new box, e.g.
/var/mailman/lists/mylist. Same with archive files.

Having done this, I can see the list in the output of list_lists, and best
of all, it even shows up on http://www.domain.foo/mailman/listinfo.

Unfortunately, clicking onto the lists name on the listinfo page leads to a
404. Why? Because of the /cgi-bin/ part of the list management URL that's
buried in the list's configuration.

So I dump the list's configuration to a file and edit it:

# config_list -o /tmp/mylist.cfg mylist
# vi /tmp/mylist.cfg
# config_list -i /tmp/mylist.cfg mylist

And this is where trouble begins. config_list -i never finishes. Looking at
the output from truss, it seems to be running around in circles:

stat64("/var/mailman/locks/mylist.lock", 0xFFBEE878) = 0
open64("/var/mailman/locks/mylist.lock", O_RDONLY) = 3
fstat64(3, 0xFFBEE800)                          = 0
llseek(3, 0, SEEK_CUR)                          = 0
llseek(3, 0, SEEK_CUR)                          = 0
fstat64(3, 0xFFBEE750)                          = 0
ioctl(3, TCGETA, 0xFFBEE6DC)                    Err#25 ENOTTY
read(3, " / v a r / m a i l m a n".., 8192)     = 40
read(3, 0x0027EC44, 8192)                       = 0
llseek(3, 0, SEEK_CUR)                          = 40
close(3)                                        = 0
stat64("/var/mailman/locks/mylist.lock", 0xFFBEE878) = 0
poll(0xFFBEE808, 0, 445)                        = 0
link("/var/mailman/locks/mylist.lock.myhost.29210", "/var/mailman/locks/mylist.lock"
) Err#17 EEXIST
stat64("/var/mailman/locks/mylist.lock", 0xFFBEE878) = 0
open64("/var/mailman/locks/mylist.lock", O_RDONLY) = 3
fstat64(3, 0xFFBEE800)                          = 0
llseek(3, 0, SEEK_CUR)                          = 0
llseek(3, 0, SEEK_CUR)                          = 0
fstat64(3, 0xFFBEE750)                          = 0
ioctl(3, TCGETA, 0xFFBEE6DC)                    Err#25 ENOTTY
read(3, " / v a r / m a i l m a n".., 8192)     = 40
read(3, 0x0027ECEC, 8192)                       = 0
llseek(3, 0, SEEK_CUR)                          = 40
close(3)                                        = 0
stat64("/var/mailman/locks/mylist.lock", 0xFFBEE878) = 0
poll(0xFFBEE808, 0, 1931)       (sleeping...)
signotifywait()                 (sleeping...)
lwp_cond_wait(0xFF2755A0, 0xFF2755B0, 0xFF1D5BF0) (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
poll(0xFFBEE808, 0, 1931)                       = 0
link("/var/mailman/locks/mylist.lock.myhost.29210", "/var/mailman/locks/mylist.lock"
) Err#17 EEXIST
stat64("/var/mailman/locks/mylist.lock", 0xFFBEE878) = 0
open64("/var/mailman/locks/mylist.lock", O_RDONLY) = 3
fstat64(3, 0xFFBEE800)                          = 0
llseek(3, 0, SEEK_CUR)                          = 0
llseek(3, 0, SEEK_CUR)                          = 0
fstat64(3, 0xFFBEE750)                          = 0
ioctl(3, TCGETA, 0xFFBEE6DC)                    Err#25 ENOTTY
read(3, " / v a r / m a i l m a n".., 8192)     = 40
read(3, 0x0027EC44, 8192)                       = 0
llseek(3, 0, SEEK_CUR)                          = 40
close(3)                                        = 0
stat64("/var/mailman/locks/mylist.lock", 0xFFBEE878) = 0
poll(0xFFBEE808, 0, 1664)       (sleeping...)
signotifywait()                 (sleeping...)
lwp_cond_wait(0xFF2755A0, 0xFF2755B0, 0xFF1D5BF0) (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
signotifywait()                                 = 20
lwp_sigredirect(0, SIGWINCH, 0x00000000)        = 0
signotifywait()                                 = 20
lwp_sigredirect(0, SIGWINCH, 0x00000000)        = 0
signotifywait()                                 = 20
lwp_sigredirect(0, SIGWINCH, 0x00000000)        = 0
poll(0xFFBEE808, 0, 1664)                       = 0
link("/var/mailman/locks/mylist.lock.myhost.29210", "/var/mailman/locks/mylist.lock") Err#17 EEXIST
stat64("/var/mailman/locks/mylist.lock", 0xFFBEE878) = 0
open64("/var/mailman/locks/mylist.lock", O_RDONLY) = 3

I've left this running for about one minute before giving up. 

Of course, before putting the Solaris box to operation, I've set up a list 
for testing, and everything worked fine.  

Any hints greatly appreciated!

Thanks in advance,

-martin
-- 
"Contrary to popular belief, Unix is user friendly. It just
happens to be selective about who it makes friends with."




More information about the Mailman-Users mailing list