[Mailman-Developers] Re: [Mailman-Users] mailmanctl DOESN'T start

Oliver Egginger Oliver.Egginger at dvz.fh-giessen.de
Thu May 22 15:26:35 EDT 2003


You maybe have to patch bin/mailmanctl.

Here is the diff for a patch:
255c255
     os.execl(mm_cfg.PYTHON, mm_cfg.PYTHON , exe, rswitch, '-s')
---
     os.execl(mm_cfg.PYTHON, 'qrunner', exe, rswitch, '-s')

The last line namely 
os.execl(mm_cfg.PYTHON, 'qrunner', exe, rswitch, '-s')
is the original line from the 2.1.2 mailman distribution.
It cause maybe the errors on your system.

Barry told us, that os.execl uses the second parameter to calculate the
library path enviroment for the called python interpreter.
So the original line may break your python interpreter.

There exists no official patch yet, so you have to
fix this manually.

Let us now whether or not this patch works for you.
I'am using Mandrake 9.1 and it works for me.

- oliver


Am Don, 2003-05-22 um 12.04 schrieb javier:
>   Please, i've installed glibc because i thought it was the problem... 
> Somebody  fought with a similar problem?
> 
> :-( :-( :-( :-(
> 
> Hello, i've installed mailman 2.1.2 in Mandrake 9.0 (sources)with python 2.2.2,
> all looks to be good, but i can't start daemon.
> I can create a list, and admin it, but the list doesn't send.
> sendmail is working fine (after smrsh problem solved)
> here is the reply of the system... thanks
> 
> [root at pc6426 mailman]# bin/mailmanctl start
> Arrancando el qrunner maestro de Mailman
> [root at pc6426 mailman]# Traceback (most recent call last):
>   File "/usr/local/mailman/bin/qrunner", line 77, in ?
>     from Mailman.i18n import _
>   File "/usr/local/mailman/Mailman/i18n.py", line 19, in ?
>     import gettext
>   File "/usr/local/lib/python2.2/gettext.py", line 49, in ?
>     from errno import ENOENT   
> ImportError: No module named errno   []
> Traceback (most recent call last):
>   File "/usr/local/mailman/bin/qrunner", line 77, in ?
>     from Mailman.i18n import _
>   File "/usr/local/mailman/Mailman/i18n.py", line 19, in ?
>     import gettext
>   File "/usr/local/lib/python2.2/gettext.py", line 49, in ?
>     from errno import ENOENT
> ImportError: No module named errno
> Traceback (most recent call last):
>   File "/usr/local/mailman/bin/qrunner", line 77, in ?
>     from Mailman.i18n import _
>   File "/usr/local/mailman/Mailman/i18n.py", line 19, in ?
>     import gettext
>   File "/usr/local/lib/python2.2/gettext.py", line 49, in ?
>     from errno import ENOENT
> ImportError: No module named errno
> 
> -- 
> Javier Romero Casado
>   tel.913357274
> Dep. Comunicaciones
>      CEDEX
> 
> 
> 
> ------------------------------------------------------
> 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/
> 
> This message was sent to: javier.romero at cedex.es
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/javier.romero%40cedex.es
> 





More information about the Mailman-Developers mailing list