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

OpenSoftware Crew opensoft at est.it
Mon Oct 11 18:33:16 CEST 1999


I started my first mailing list a few days ago, as i told you before.
First problem i noticed is that the list owner receives a lot of mail with 
the same two kinds of error notifications:

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):

% vi +800 /usr/lib/mailman/Mailman/MailList.py

    795 
    796   def Load(self, check_version = 1):
    797       if self._tmp_lock:
    798          self.Lock()
    799       try:
    800           file = open(os.path.join(self._full_path, 'config.db'), 'r')
    801       except IOError:
    802           raise Errors.MMBadListError, 'Failed to access config info'



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)


It is possible that something is wrong with my installation. 
Currently Mailman owner is root, since that is the debian pre-packaged 
setup. I changed group to 'list' to the $prefix tree, that is to
/usr/lib/mailman according to the debian pre-packaged setup. 
Then i changed file privileges to g+rw through $prefix downward and 
added to the group 'list' the owner of the mailing list.

what else is to be fixed?

thank you for your help

Pol
email: pumilia at est.it
-- cstc -




More information about the Mailman-Users mailing list