[Mailman-Users] Cron <mailman at caiman> /usr/bin/python -S /var/mailman/cron/qrunner (fwd)

Kalin Mintchev kalin at el.net
Thu May 15 18:38:29 CEST 2003



so, nobody...

ok i tried to rebuild the archive for that list and it doesn't do it...
so i looked into it - the problem apparently started when somebody on that
particular list sent a huge attachment i know that list had a limit of
100k - so i'm wondering how this attachment was accepted by mailman and
why?
also under the database directory for that list there are all kinds of
lock files that aren't under the the other private/database directories,
like this:



 2003-May-article
-rw-rw-r--    2 root     mailman        89 May 15 02:47
2003-May-article.lock
-rw-rw-r--    2 root     mailman        89 May 15 02:47
2003-May-article.1283
-rw-rw-r--    1 mailman  mailman       264 May  6 13:28 2003-May-author
-rw-rw-r--    2 root     mailman        88 May 15 02:47
2003-May-author.lock
-rw-rw-r--    2 root     mailman        88 May 15 02:47
2003-May-author.lock.1283
-rw-rw-r--    1 mailman  mailman       228 May  6 13:28 2003-May-date
-rw-rw-r--    2 root     mailman        86 May 15 02:47 2003-May-date.lock
-rw-rw-r--    2 root     mailman        86 May 15 02:47
2003-May-date.lock.1283

how do i unlock them? or if i rename them or delete them is this going to
solve the problem?

if i delete the message from the .mbox file and rebuld the archive is
this gonna solve the problem?

and if not the mailman-users list where else should i turn for help?!



On Thu, 15 May 2003, Kalin Mintchev wrote:

>
> hi,
>
> i wrote to this list earlier today...  the subject line was URGENT HELP...
>
> i thought i solved the problem but apparently i was wrong...
> i started getting this emails again - i'm forwarding the last one below.
> the problem apparently started when the disk on which mailman lives and
> writes to got full and the qrunner screwd up some files somewhere...
> if i reset the master site password everything appears to be fine... after
> that mailman/cron runs the qrunner and everything gets screwd up and i
> start getting the error emails....
> of all the lists on the server only one is the messed up - the most
> important one of cource... so i'm trying to figure out how can i solve
> this mess...  bellow the forwrded message there are some snippets from the
> error log under mailman...  if somebody can help i'd really appreciate
> it...
>
>
>
> ---------- Forwarded message ----------
> Date: Thu, 15 May 2003 00:52:02 -0400
> From: Cron Daemon <root at caiman.el.net>
> To: mailman at caiman.el.net
> Subject: Cron <mailman at caiman> /usr/bin/python -S /var/mailman/cron/qrunner
>
> Traceback (innermost last):
>   File "/var/mailman/cron/qrunner", line 85, in ?
>     from Mailman import MailList
>   File "/var/mailman/Mailman/MailList.py", line 41, in ?
>     from Mailman.ListAdmin import ListAdmin
>   File "/var/mailman/Mailman/ListAdmin.py", line 37, in ?
>     from Mailman.Handlers import HandlerAPI
>   File "/var/mailman/Mailman/Handlers/HandlerAPI.py", line 25, in ?
>     from Mailman.Logging.Syslog import syslog
>   File "/var/mailman/Mailman/Logging/Syslog.py", line 22, in ?
>     from StampedLogger import StampedLogger
>   File "/var/mailman/Mailman/Logging/StampedLogger.py", line 19, in ?
>     from Logger import Logger
>   File "/var/mailman/Mailman/Logging/Logger.py", line 23, in ?
>     from Mailman.Logging.Utils import _logexc
> ImportError: cannot import name _logexc
>
> ************************************************
> here is where all hell brakes loose:........
>
> May 13 13:25:04 2003 qrunner(13601): Traceback (innermost last):
> May 13 13:25:04 2003 qrunner(13601):   File "/var/mailman/cron/qrunner",
> line 276, in ?
> May 13 13:25:04 2003 qrunner(13601):      lock.lock(timeout=0.5)
> May 13 13:25:04 2003 qrunner(13601):   File
> "/var/mailman/Mailman/LockFile.py", line 272, in lock
> May 13 13:25:04 2003 qrunner(13601):      os.unlink(self.__tmpfname)
> May 13 13:25:04 2003 qrunner(13601): NameError :  os
> May 13 13:44:02 2003 qrunner(13680): Traceback (innermost last):
> May 13 13:44:02 2003 qrunner(13680):   File "/var/mailman/cron/qrunner",
> line 276, in ?
> May 13 13:44:02 2003 qrunner(13680):      lock.lock(timeout=0.5)
> May 13 13:44:02 2003 qrunner(13680):   File
> "/var/mailman/Mailman/LockFile.py", line 272, in lock
> May 13 13:44:02 2003 qrunner(13680):      os.unlink(self.__tmpfname)
> May 13 13:44:02 2003 qrunner(13680): NameError :  os
> May 13 13:45:05 2003 qrunner(13685): Traceback (innermost last):
> May 13 13:45:05 2003 qrunner(13685):   File "/var/mailman/cron/qrunner",
> line 276, in ?
> May 13 13:45:05 2003 qrunner(13685):      lock.lock(timeout=0.5)
> May 13 13:45:05 2003 qrunner(13685):   File
> "/var/mailman/Mailman/LockFile.py", line 272, in lock
> May 13 13:45:05 2003 qrunner(13685):      os.unlink(self.__tmpfname)
> May 13 13:45:05 2003 qrunner(13685): NameError :  os
> May 13 13:58:07 2003 admin(13737):
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> admin(13737): [----- Mailman Version: 2.0.13 -----]
> admin(13737): [----- Traceback ------]
> admin(13737): Traceback (innermost last):
> admin(13737):   File "/var/mailman/scripts/driver", line 96, in run_main
> admin(13737):     main()
> admin(13737):   File "/var/mailman/Mailman/Cgi/admin.py", line 145, in
> main
> admin(13737):     mlist.Lock()
> admin(13737):   File "/var/mailman/Mailman/MailList.py", line 1339, in
> Lock
> admin(13737):     self.__lock.lock(timeout)
> admin(13737):   File "/var/mailman/Mailman/LockFile.py", line 232, in lock
> admin(13737):     os.link(self.__tmpfname, self.__lockfile)
> admin(13737): AttributeError: link
> admin(13737): [----- Python Information -----]
> admin(13737): sys.version    = 1.5.2 (#1, Mar  3 2001, 01:35:43)  [GCC
> 2.96 20000731 (Red Hat Linux 7.1 2
> admin(13737): sys.executable = /usr/bin/python
> admin(13737): sys.prefix     = /usr
> admin(13737): sys.exec_prefix= /usr
> admin(13737): sys.path       = /usr
> admin(13737): sys.platform   = linux-i386
> ......................
> below this is detaild info of the server - os, ip, who made the request
> and from where etc....
>
> these are the last lines in the error log:
> ...........................................
> May 14 01:38:03 2003 qrunner(16595): NameError :  os
> May 14 02:18:03 2003 qrunner(16758): Traceback (innermost last):
> May 14 02:18:03 2003 qrunner(16758):   File "/var/mailman/cron/qrunner",
> line 276, in ?
> May 14 02:18:03 2003 qrunner(16758):      lock.lock(timeout=0.5)
> May 14 02:18:03 2003 qrunner(16758):   File
> "/var/mailman/Mailman/LockFile.py", line 272, in lock
> May 14 02:18:03 2003 qrunner(16758):      os.unlink(self.__tmpfname)
> May 14 02:18:03 2003 qrunner(16758): NameError :  os
> May 14 02:23:02 2003 qrunner(16778): Traceback (innermost last):
> May 14 02:23:02 2003 qrunner(16778):   File "/var/mailman/cron/qrunner",
> line 276, in ?
> May 14 02:23:02 2003 qrunner(16778):      lock.lock(timeout=0.5)
> May 14 02:23:02 2003 qrunner(16778):   File
> "/var/mailman/Mailman/LockFile.py", line 277, in lock
> May 14 02:23:02 2003 qrunner(16778):      if time.time() >
> self.__releasetime() + CLOCK_SLOP:
> May 14 02:23:02 2003 qrunner(16778): NameError :  time
> May 14 03:04:10 2003 qrunner(15878): Traceback (innermost last):
> May 14 03:04:10 2003 qrunner(15878):   File
> "/var/mailman/Mailman/Archiver/Archiver.py", line 221, in ArchiveMail
> May 14 03:04:10 2003 qrunner(15878):     h.processUnixMailbox(f,
> HyperArch.Article)
> May 14 03:04:10 2003 qrunner(15878):   File
> "/var/mailman/Mailman/Archiver/pipermail.py", line 526, in
> processUnixMailbox
> May 14 03:04:10 2003 qrunner(15878):     a = articleClass(m,
> self.sequence)
> May 14 03:04:10 2003 qrunner(15878):   File
> "/var/mailman/Mailman/Archiver/HyperArch.py", line 194, in __init__
> May 14 03:04:10 2003 qrunner(15878):     self.__super_init(message,
> sequence, keepHeaders)
> May 14 03:04:10 2003 qrunner(15878):   File
> "/var/mailman/Mailman/Archiver/pipermail.py", line 223, in __init__
> May 14 03:04:10 2003 qrunner(15878):     self.body =
> message.fp.readlines()
> May 14 03:04:10 2003 qrunner(15878):   File
> "/usr/lib/python1.5/site-packages/mailbox.py", line 72, in readlines
> May 14 03:04:10 2003 qrunner(15878):     line = self.readline()
> May 14 03:04:10 2003 qrunner(15878):   File
> "/usr/lib/python1.5/site-packages/mailbox.py", line 66, in readline
> May 14 03:04:10 2003 qrunner(15878):     self.pos = self.fp.tell()
> May 14 03:04:10 2003 qrunner(15878): AttributeError: fp
> May 14 03:04:10 2003 (15878) CORRUPT ARCHIVE FOR LIST: medialist
> May 14 23:55:03 2003 gate_news(3038): Traceback (innermost last):
> May 14 23:55:03 2003 gate_news(3038):   File
> "/var/mailman/cron/gate_news", line 222, in ?
> May 14 23:55:03 2003 gate_news(3038):      main()
> May 14 23:55:03 2003 gate_news(3038):   File
> "/var/mailman/cron/gate_news", line 203, in main
> May 14 23:55:03 2003 gate_news(3038):      process_lists(lock)
> May 14 23:55:03 2003 gate_news(3038):   File
> "/var/mailman/cron/gate_news", line 140, in process_lists
> May 14 23:55:03 2003 gate_news(3038):      mlist =
> MailList.MailList(listname, lock=0)
> May 14 23:55:03 2003 gate_news(3038):   File
> "/var/mailman/Mailman/MailList.py", line 73, in __init__
> May 14 23:55:03 2003 gate_news(3038):      self.InitTempVars(name)
> May 14 23:55:03 2003 gate_news(3038):   File
> "/var/mailman/Mailman/MailList.py", line 265, in InitTempVars
> May 14 23:55:03 2003 gate_news(3038):      withlogging =
> mm_cfg.LIST_LOCK_DEBUGGING)
> May 14 23:55:03 2003 gate_news(3038):   File
> "/var/mailman/Mailman/LockFile.py", line 175, in __init__
> May 14 23:55:03 2003 gate_news(3038):      self.__tmpfname = '%s.%s.%d' %
> (
> May 14 23:55:03 2003 gate_news(3038): NameError :  os
> May 14 23:55:03 2003 gate_news(3038): Exception  exceptions.AttributeError
> :  <exceptions.AttributeError instance at 80b1130>  in  <
> method LockFile.__del__ of LockFile instance at 81d5150>  ignored
> ***************************************************************************
>
> i see the  CORRUPT ARCHIVE FOR LIST message.....  what can i do about it?!
>
>
>
> i really need this solved soon - please help....
>
> thanks...
>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at 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: kalin at el.net
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/kalin%40el.net
>





More information about the Mailman-Users mailing list