bin/mailmanctl start

Hello, i've installed mailman 2.1.2 in Mandrake 9.0 all looks to be good, but i can't start daemon. I can create a list, and admin it, but the list don't send. sendmail is working fine (after smrsh problem solved) here is the reply of the system... thanks
[root@pc6426 mailman]# bin/mailmanctl start Arrancando el qrunner maestro de Mailman [root@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

If the error message can be believed then you are missing some python modules. This is a common problem with default Distribution installs of Python. The distributions only include the modules used by their default apps.
Another problem is that RPM maintainers for Mailman often overlook the Python requirements in their rpm-requires for Mailman.
Try installing every rpm from your distribution that has "python" in it. For Mandrake 9.1 I posted a message last month that pointed to all the rpm's that needed to be loaded. Mdk 9.0 probably has similar requirements.
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Jon Carnes
On Wed, 2003-05-21 at 11:15, javier wrote:
Hello, i've installed mailman 2.1.2 in Mandrake 9.0 all looks to be good, but i can't start daemon. I can create a list, and admin it, but the list don't send. sendmail is working fine (after smrsh problem solved) here is the reply of the system... thanks
[root@pc6426 mailman]# bin/mailmanctl start Arrancando el qrunner maestro de Mailman [root@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

This is a common problem with default Distribution installs of Python.
Not in this case see: http://www.mail-archive.com/mailman-developers@python.org/msg06281.html
- oliver
Am Son, 2003-05-25 um 18.05 schrieb Jon Carnes:
If the error message can be believed then you are missing some python modules. This is a common problem with default Distribution installs of Python. The distributions only include the modules used by their default apps.
Another problem is that RPM maintainers for Mailman often overlook the Python requirements in their rpm-requires for Mailman.
Try installing every rpm from your distribution that has "python" in it. For Mandrake 9.1 I posted a message last month that pointed to all the rpm's that needed to be loaded. Mdk 9.0 probably has similar requirements.
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Jon Carnes
On Wed, 2003-05-21 at 11:15, javier wrote:
Hello, i've installed mailman 2.1.2 in Mandrake 9.0 all looks to be good, but i can't start daemon. I can create a list, and admin it, but the list don't send. sendmail is working fine (after smrsh problem solved) here is the reply of the system... thanks
[root@pc6426 mailman]# bin/mailmanctl start Arrancando el qrunner maestro de Mailman [root@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
Mailman-Users mailing list Mailman-Users@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: oliver.egginger@dvz.fh-giessen.de Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/oliver.egginger%40dvz.f...
Oliver Egginger <Oliver.Egginger@dvz.fh-giessen.de> Fachochschule Giessen-Friedberg

On Sunday, May 25, 2003, at 09:05 AM, Jon Carnes wrote:
Try installing every rpm from your distribution that has "python" in it. For Mandrake 9.1 I posted a message last month that pointed to all the rpm's that needed to be loaded. Mdk 9.0 probably has similar requirements.
FWIW, I had the same problem [mdk 9.1, mailman 2.1.2]. I was not able to get mailmanctl to run using the RPMs listed in that e.mail. I have python installed via RPM, and that is/was my problem. I did not remove the python [2.2.2] RPM, since it would break other stuff, however, i simply compiled python from source, installing it into /usr/local/bin, and then made sure that when I compiled Mailman, I pointed it to the non-RPM install of python 2.2.2. I also changed my mm_cfg.py to make sure it uses the /usr/local/bin version of python.
Also note, I was on Mandrake 8.2, with Mailman 2.1.1 [source compile]. When I upgraded to 9.1, I decided to also upgrade to 2.1.2 of mailman. After the initial problem, I removed all traces of mailman 2.1.2 and tried installing 2.1.1 on my 9.1 box, and it failed for the same reason.
Compiling python from source was quite simple, as the only thing one needs to make sure of is that it will be built in a /usr/local/* directory structure so that it doesn't break any applications in Mandrake 9.1 that need the python RPM install.
HTH,
/vjl/

Cool.
The difference between our installs seems to be that I installed MDK9.1 from scratch. I keep a separate /home partition to let me do that easily - as I don't like the bugs that sometimes creep in via upgrades.
Glad to hear you got it going. Installing Python from source makes plenty of sense.
Jon
On Wed, 2003-05-28 at 18:26, Vince LaMonica wrote:
On Sunday, May 25, 2003, at 09:05 AM, Jon Carnes wrote:
Try installing every rpm from your distribution that has "python" in it. For Mandrake 9.1 I posted a message last month that pointed to all the rpm's that needed to be loaded. Mdk 9.0 probably has similar requirements.
FWIW, I had the same problem [mdk 9.1, mailman 2.1.2]. I was not able to get mailmanctl to run using the RPMs listed in that e.mail. I have python installed via RPM, and that is/was my problem. I did not remove the python [2.2.2] RPM, since it would break other stuff, however, i simply compiled python from source, installing it into /usr/local/bin, and then made sure that when I compiled Mailman, I pointed it to the non-RPM install of python 2.2.2. I also changed my mm_cfg.py to make sure it uses the /usr/local/bin version of python.
Also note, I was on Mandrake 8.2, with Mailman 2.1.1 [source compile]. When I upgraded to 9.1, I decided to also upgrade to 2.1.2 of mailman. After the initial problem, I removed all traces of mailman 2.1.2 and tried installing 2.1.1 on my 9.1 box, and it failed for the same reason.
Compiling python from source was quite simple, as the only thing one needs to make sure of is that it will be built in a /usr/local/* directory structure so that it doesn't break any applications in Mandrake 9.1 that need the python RPM install.
HTH,
/vjl/

On Wednesday, May 28, 2003, at 03:45 PM, Jon Carnes wrote:
Cool.
The difference between our installs seems to be that I installed MDK9.1 from scratch. I keep a separate /home partition to let me do that easily - as I don't like the bugs that sometimes creep in via upgrades.
Actually, I also did a 9.1 from scratch. I had 8.2, backed up all my important data, and did an 'install' of 9.1, repartitioning my drives at the same time. I also avoid doing 'upgrade' installs for the very same reason [oddities creep in]. I had, at one point, also installed Ximian Gnome which gave me even more reason to do a fresh install of 9.1. I did however restore my /home/mailman directory [which is where, on 8.2, i had mailman installed]. I was thinking that all I needed to do was restore my mailman user's crontab entries and all would be ok [since all of mailman's executables are in /home/mailman]. When mailman didn't want to start, that's when I went to go grab 2.1.1 and found that 2.1.2 was available. Grabbed that, installed it [backing up /home/mailman first] a few different times - installed it with my old lists in place, installed it in a /home/mailman2 directory [empty], etc. I read the mailman archives and followed your advice about installing a bunch of python-related RPMs, and even that didn't work. I finally decided to use the source.
Glad to hear you got it going. Installing Python from source makes plenty of sense.
Yeah, though it took me a while to think of that [doh!]
/vjl/

On Wed, 2003-05-28 at 20:16, Vince LaMonica wrote:
Actually, I also did a 9.1 from scratch. I had 8.2, backed up all my important data, and did an 'install' of 9.1, repartitioning my drives at the same time. I also avoid doing 'upgrade' installs for the very same reason [oddities creep in]. I had, at one point, also installed Ximian Gnome which gave me even more reason to do a fresh install of 9.1. I did however restore my /home/mailman directory [which is where, on 8.2, i had mailman installed]. I was thinking that all I needed to do was restore my mailman user's crontab entries and all would be ok [since all of mailman's executables are in /home/mailman]. When mailman didn't want to start, that's when I went to go grab 2.1.1 and found that 2.1.2 was available. Grabbed that, installed it [backing up /home/mailman first] a few different times - installed it with my old lists in place, installed it in a /home/mailman2 directory [empty], etc. I read the mailman archives and followed your advice about installing a bunch of python-related RPMs, and even that didn't work. I finally decided to use the source.
Then the only difference is that you used an upgraded Mailman install, and I installed a new one then moved my lists over.
I'll bet the problem was in the initialization of the old databases. When upgrading Mailman tries to use the old modules to move the data up to the new formats. The RPM installs must not load all of the older modules called by the earlier Mailman. Curiouser and curiouser...
It would be cool to know what modules were missing.
Take care - Jon

On Thu, 2003-05-29 at 10:18, Phil Iovino wrote:
Where/to whom can I submit a feature request?
The preferred site is http://sourceforge.net/projects/mailman/
You can also make requests on either this list or the Dev list.
participants (5)
-
javier
-
Jon Carnes
-
Oliver Egginger
-
Phil Iovino
-
Vince LaMonica