[Mailman-Users] Overwhelming Error notifications to the List Owner

Gergely Madarasz gorgo at caesar.elte.hu
Mon Oct 11 18:41:15 CEST 1999


On Mon, 11 Oct 1999, OpenSoftware Crew wrote:

> 1)
>    Date: Mon, 11 Oct 1999 14:50:03 +0200
>    From: root (Cron Daemon)                                                       
>    To: mailman
>    Subject: Cron <mailman at wigner> /usr/bin/python /var/lib/mailman/cron/gate_news        
>     Traceback (innermost last):
>     File "/var/lib/mailman/cron/gate_news", line 119, in ?
>       main()
>     File "/var/lib/mailman/cron/gate_news", line 58, in main
>       mlist = MailList.MailList(name, lock=0)
>     File "/usr/lib/mailman/Mailman/MailList.py", line 61, in __init__
>       self.Load()
>     File "/usr/lib/mailman/Mailman/MailList.py", line 802, in Load
>       raise Errors.MMBadListError, 'Failed to access config info'
>     MMBadListError: Failed to access config info
> 
> Inspecting the /usr/lib/mailman/Mailman/MailList.py  file it appears
> that mailman is looking for a 'config.db' file ta cannot be found
> (i don't know python though, so i am not sure about that conclusion):

The config file should be in /var/lib/mailman/lists/<listname>/config.db, 
its group should be list, and its permissions 660.

> 2)  
>     Date: Mon, 11 Oct 1999 15:12:01 +0200
>     From: root (Cron Daemon)  
>     To: mailman
>     Subject: Cron <mailman at wigner> /usr/bin/python /var/lib/mailman/cron/run_queue        
>      Traceback (innermost last):
>      File "/var/lib/mailman/cron/run_queue", line 46, in ?
>        main()
>      File "/var/lib/mailman/cron/run_queue", line 39, in main
>        lockfile.lock()
>      File "/usr/lib/mailman/Mailman/flock.py", line 119, in lock
>        os.link(self.lockfile, self.tmpfname)
>      OSError: [Errno 13] Permission denied
>  
> Inspecting the /usr/lib/mailman/Mailman/flock.py file gives no clue.
> All that i can see is that Mailman cannot perform a link between  a lock 
> and a tmp file:
> 
>     118  # create the hard link and test for exactly 2 links to the file
>     119     os.link(self.lockfile, self.tmpfname)

Hmm... perhaps you run solar designers secure linux patch ? It
unfortunatelly breaks mailman.
Anyway, the directories under /var/lib/mailman should be rwxrwsr-x (except
for the private archives)... and there is a check_perms script in
/usr/sbin which should check if the permissions are ok 

-- 
Madarasz Gergely           gorgo at caesar.elte.hu         gorgo at linux.rulez.org
      It's practically impossible to look at a penguin and feel angry.
          Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
                    HuLUG: http://mlf.linux.rulez.org/





More information about the Mailman-Users mailing list