Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jahlewis on April 22, 2005, 05:28:26 PM

Title: mailman python problems
Post by: jahlewis on April 22, 2005, 05:28:26 PM
I've upgraded e-smith-mailman-1.1.10-03.noarch.rpm and mailman-2.1.5-23es02.i386.rpm from Chad's earlier versions after migrating all my data from one box to another, and now I'm getting the following errors every 5 minutes sent to admin.

Hi. This is the qmail-send program at arachnerd.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<mailman@gluon.arachnerd.org>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <anonymous@arachnerd.org>
Received: (qmail 4773 invoked by alias); 22 Apr 2005 15:05:00 -0000
Delivered-To: alias-localdelivery-mailman@arachnerd.org
Received: (qmail 4770 invoked by uid 41); 22 Apr 2005 15:05:00 -0000
Date: 22 Apr 2005 15:05:00 -0000
Message-ID: <20050422150500.4769.qmail@arachnerd.org>
From: root@arachnerd.org (Cron Daemon)
To: mailman@arachnerd.org
Subject: Cron <mailman@gluon> /opt/mailman/cron/gate_news
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/opt/mailman>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=mailman>

Traceback (most recent call last):
  File "/opt/mailman/cron/gate_news", line 43, in ?
    from Mailman import mm_cfg
  File "/opt/mailman/Mailman/mm_cfg.py", line 73, in ?
    MAILMAN_GID = grp.getgrnam('mailman')[2]
KeyError: getgrnam(): name not found


Here's what is in /var/log/messages
Apr 22 11:02:59 gluon e-smith[4545]: Running event handler: /etc/e-smith/events/mailman-update/S90mailman-restart
Apr 22 11:03:01 gluon python2: Traceback (most recent call last):
Apr 22 11:03:01 gluon mailman: python2 startup succeeded
Apr 22 11:03:01 gluon e-smith[4545]: Starting mailman: [   OK   ]^M


FWIW I also have python-1.5.2-43.73 and python2-2.2.2-11.7.3 installed.

Help....
Title: mailman python problems
Post by: jahlewis on April 28, 2005, 01:43:12 PM
Turns out it wasn't a mailman or a python problem (discovered after multiple attempts and removing and reinstalling rpms, checking logfiles, reading through forums etc.)

During the move to the new box, the permissions on /etc/group did not copy over.  On the new box /etc/group was 600, when it needed to be 644.  When i changed it, presto, everything worked.