[Mailman-Users] /bin/sh: mailman: command not found

John Dennis jdennis at redhat.com
Wed May 25 01:05:58 CEST 2005


Kris Vassallo wrote:
> 
> >I am getting emails with the following error in the body of emails being
> >sent to the list owner:  
> >/bin/sh: mailman: command not found
> >
> >The subject reads as follows: 
> >[Mailman] Cron <mailman at xxxxxxxx> mailman
> >/usr/lib/mailman/cron/gate_news

Somehow you've got crontab entries enabled with a non-crontab file.
Reading the section on cron in /usr/share/doc/mailman-*/INSTALL.REDHAT
may help you understand better. But the short answer is the cron file
supplied in the rpm you installed has an extra field in it at position
6, the mailman user. It is to be installed in /etc/cron.d. However
please note this is automatically done for you by the init.d script when
you start and stop mailman, please use the the init script to start and
stop mailman (e.g. /sbin/service mailman start|stop). If you installed
this cron file with crontab its is going to be very confused by the
extra 6th field. Please make sure you do not have any mailman crontab
entries and remember crontab != cron. The rpm you installed is supposed
to remove any pre-existing mailman crontab entries in favor of the newer
methodology. If one got left behind after the rpm install then the %post
section of the rpm is failing somehow.
-- 
John Dennis <jdennis at redhat.com>




More information about the Mailman-Users mailing list