FAQ
Hi,

When I try access the page of Mailman appear the error bellow:

Bug in Mailman version 2.1.9
We're sorry, we hit a bug!Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.

I changed permissions of directorys, but don't work. I do the instructions discribe in following links: http://archive.netbsd.se/?ml=mailman-users&a 07-11&tW44516, http://www.forum.techcuriosity.com/viewtopic.php?p76&sid93ffbab1bee8e67dce3657319f4f83 and http://forum.swsoft.com/pda/index.php/t-48560.html, but don't work too.

Log - /usr/local/mailman/logs/error

Mar 08 10:48:37 2008 qrunner(1656): Traceback (most recent call last):Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/bin/qrunner", line 278, in ?Mar 08 10:48:37 2008 qrunner(1656): main()Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/bin/qrunner", line 238, in mainMar 08 10:48:37 2008 qrunner(1656): qrunner.run()Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in runMar 08 10:48:37 2008 qrunner(1656): filecnt = self._oneloop()Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloopMar 08 10:48:37 2008 qrunner(1656): msg, msgdata = self._switchboard.dequeue(filebase)Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeueMar 08 10:48:37 2008 qrunner(1656): fp = open(filename)Mar 08 10:48:37 2008 qrunner(1656): IOError : [Errno 13] Permission denied: '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck insecure string pickleMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck.last invalid load key, '?'.Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving upMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pckinsecure string pickleMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck.lastinvalid load key, '?'.Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/c artaoberro/config.db[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving upMar 08 11:04:45 2008 admin(1883): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@admin(1883): [----- Mailman Version: 2.1.9 -----]admin(1883): [----- Traceback ------]admin(1883): Traceback (most recent call last):admin(1883): File "/usr/local/mailman/scripts/driver", line 101, in run_mainadmin(1883): main()admin(1883): File "/usr/local/mailman/Mailman/Cgi/admin.py", line 75, in mainadmin(1883): admin_overview(_('No such list <em>%(safelistname)s</em>'))admin(1883): File "/usr/local/mailman/Mailman/Cgi/admin.py", line 233, in admi n_overviewadmin(1883): mlist = MailList.MailList(name, lock=0)admin(1883): File "/usr/local/mailman/Mailman/MailList.py", line 130, in __ini t__admin(1883): self.Load()admin(1883): File "/usr/local/mailman/Mailman/MailList.py", line 644, in Loadadmin(1883): raise Errors.MMCorruptListDatabaseError, eadmin(1883): MMCorruptListDatabaseError: [Errno 2] No such file or directory: '/ usr/local/mailman/lists/cartaoberro/config.db.last'admin(1883): [----- Python Information -----]admin(1883): sys.version = 2.4.3 (#1, Jul 26 2006, 20:13:39)[GCC 3.4.6]admin(1883): sys.executable = /usr/bin/pythonadmin(1883): sys.prefix = /usradmin(1883): sys.exec_prefix = /usradmin(1883): sys.path = /usradmin(1883): sys.platform = linux2admin(1883): [----- Environment Variables -----]admin(1883): SERVER_SOFTWARE: Apache/1.3.37 (Unix)admin(1883): SCRIPT_NAME: /mailman/adminadmin(1883): SERVER_SIGNATURE: <ADDRESS>Apache/1.3.37 Server at serverlinux.r evistaoberro.com.br Port 80</ADDRESS>admin(1883):admin(1883): REQUEST_METHOD: GETadmin(1883): PATH_INFO: /cartaoberro/logoutadmin(1883): SERVER_PROTOCOL: HTTP/1.1admin(1883): QUERY_STRING:admin(1883): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5 .1; SV1; .NET CLR 1.1.4322)admin(1883): HTTP_CONNECTION: Keep-Aliveadmin(1883): SERVER_NAME: serverlinux.revistaoberro.com.bradmin(1883): REMOTE_ADDR: 192.168.0.2admin(1883): PATH_TRANSLATED: /var/www/htdocs/cartaoberro/logoutadmin(1883): SERVER_PORT: 80admin(1883): SERVER_ADDR: 200.171.57.41admin(1883): DOCUMENT_ROOT: /var/www/htdocsadmin(1883): PYTHONPATH: /usr/local/mailmanadmin(1883): SCRIPT_FILENAME: /usr/local/mailman/cgi-bin//adminadmin(1883): SERVER_ADMIN: root at tree.slackware.lanadmin(1883): HTTP_HOST: serverlinux.revistaoberro.com.bradmin(1883): REQUEST_URI: /mailman/admin/cartaoberro/logoutadmin(1883): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg , application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-po werpoint, application/msword, */*admin(1883): GATEWAY_INTERFACE: CGI/1.1admin(1883): REMOTE_PORT: 4572admin(1883): HTTP_ACCEPT_LANGUAGE: pt-bradmin(1883): HTTP_ACCEPT_ENCODING: gzip, deflateadmin(1883): UNIQUE_ID: R9Kc-MirOSkAAASPEZY

I deleted the file '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck' and reboot the server. See log after reboot:

Mar 08 12:03:32 2008 mailmanctl(1114): Traceback (most recent call last):Mar 08 12:03:32 2008 mailmanctl(1114): File "/usr/local/mailman/bin/mailmanctl", line 548, in ?Mar 08 12:03:32 2008 mailmanctl(1114): main()Mar 08 12:03:32 2008 mailmanctl(1114): File "/usr/local/mailman/bin/mailmanctl", line 390, in mainMar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock(force)Mar 08 12:03:32 2008 mailmanctl(1114): File "/usr/local/mailman/bin/mailmanctl", line 214, in acquire_lockMar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock_1(force)Mar 08 12:03:32 2008 mailmanctl(1114): File "/usr/local/mailman/bin/mailmanctl", line 208, in acquire_lock_1Mar 08 12:03:32 2008 mailmanctl(1114): os.unlink(os.path.join(mm_cfg.LOCK_DIR, tempfile))Mar 08 12:03:32 2008 mailmanctl(1114): OSError : [Errno 2] No such file or directory: '/usr/local/mailman/locks/master-qrunner.serverlinux.1148'
Apache error_log GATEWAY_INTERFACE: CGI/1.1 REMOTE_PORT: 4322 HTTP_ACCEPT_LANGUAGE: pt-br HTTP_ACCEPT_ENCODING: gzip, deflate UNIQUE_ID: R9KXGsirOSkAAAQNA44[Sat Mar 8 11:19:34 2008] [error] [client 192.168.0.2] attempt to invoke directory as script: /usr/local/mailman/cgi-bin[Sat Mar 8 11:22:24 2008] [error] [client 192.168.0.2] attempt to invoke directory as script: /usr/local/mailman/cgi-bin[Sat Mar 8 11:55:49 2008] [notice] caught SIGTERM, shutting down[Sat Mar 8 11:57:12 2008] [notice] Apache/1.3.37 (Unix) configured -- resuming normal operations[Sat Mar 8 11:57:12 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
Permissionsdrwxrwsr-x root mailman mailman/-rwxrwsr-x root mailman 1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck*

Please help me to solve this problem.

Thanks.

Regards,Fabr?cio

_________________________________________________________________
Confira v?deos com not?cias do NY Times, gols direto do Lance, videocassetadas e muito mais no MSN Video!
http://video.msn.com/?mkt=pt-br

Search Discussions

  • Mark Sapiro at Mar 8, 2008 at 5:05 pm

    Fabricio Oliveira wrote:
    Hi,

    When I try access the page of Mailman appear the error bellow:

    Bug in Mailman version 2.1.9
    We're sorry, we hit a bug!Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.

    I changed permissions of directorys, but don't work. I do the instructions discribe in following links: http://archive.netbsd.se/?ml=mailman-users&a 07-11&tW44516, http://www.forum.techcuriosity.com/viewtopic.php?p76&sid93ffbab1bee8e67dce3657319f4f83 and http://forum.swsoft.com/pda/index.php/t-48560.html, but don't work too.

    Log - /usr/local/mailman/logs/error

    Mar 08 10:48:37 2008 qrunner(1656): Traceback (most recent call last):Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/bin/qrunner", line 278, in ?Mar 08 10:48:37 2008 qrunner(1656): main()Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/bin/qrunner", line 238, in mainMar 08 10:48:37 2008 qrunner(1656): qrunner.run()Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in runMar 08 10:48:37 2008 qrunner(1656): filecnt = self._oneloop()Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloopMar 08 10:48:37 2008 qrunner(1656): msg, msgdata = self._switchboard.dequeue(filebase)Mar 08 10:48:37 2008 qrunner(1656): File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeueMar 08 10:48:37 2008 qrunner(1656): fp = open(filename)Mar 08 10:48:37 2008 qrunner(1656): IOError : [Errno 13] Permission denied: '/usr/loc
    al/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck insecure string pickleMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck.last invalid load key, '?'.Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving upMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pckinsecure string pickleMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman
    /lists/cartaoberro/config.pck.lastinvalid load key, '?'.Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/c artaoberro/config.db[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving upMar 08 11:04:45 2008 admin(1883): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@admin(1883): [----- Mailman Version: 2.1.9 -----]admin(1883): [----- Traceback ------]admin(1883): Traceback (most recent call last):admin(1883): File "/usr/local/mailman/scripts/driver", line 101, in run_mainadmin(1883): main()admin(1883): File "/usr/local/mailman/Mailman/Cgi/admin.py", line 75, in mainadmin(1883): admin_overview(_('No such list <em>%(safelistname)s</em>'))admin(188
    3): File "/usr/local/mailman/Mailman/Cgi/admin.py", line 233, in admi n_overviewadmin(1883): mlist = MailList.MailList(name, lock=0)admin(1883): File "/usr/local/mailman/Mailman/MailList.py", line 130, in __ini t__admin(1883): self.Load()admin(1883): File "/usr/local/mailman/Mailman/MailList.py", line 644, in Loadadmin(1883): raise Errors.MMCorruptListDatabaseError, eadmin(1883): MMCorruptListDatabaseError: [Errno 2] No such file or directory: '/ usr/local/mailman/lists/cartaoberro/config.db.last'admin(1883): [----- Python Information -----]admin(1883): sys.version = 2.4.3 (#1, Jul 26 2006, 20:13:39)[GCC 3.4.6]admin(1883): sys.executable = /usr/bin/pythonadmin(1883): sys.prefix = /usradmin(1883): sys.exec_prefix = /usradmin(1883): sys.path = /usradmin(1883): sys.platform = linux2admin(1883): [-
    ---- Environment Variables -----]admin(1883): SERVER_SOFTWARE: Apache/1.3.37 (Unix)admin(1883): SCRIPT_NAME: /mailman/adminadmin(1883): SERVER_SIGNATURE: <ADDRESS>Apache/1.3.37 Server at serverlinux.r evistaoberro.com.br Port 80</ADDRESS>admin(1883):admin(1883): REQUEST_METHOD: GETadmin(1883): PATH_INFO: /cartaoberro/logoutadmin(1883): SERVER_PROTOCOL: HTTP/1.1admin(1883): QUERY_STRING:admin(1883): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5 .1; SV1; .NET CLR 1.1.4322)admin(1883): HTTP_CONNECTION: Keep-Aliveadmin(1883): SERVER_NAME: serverlinux.revistaoberro.com.bradmin(1883): REMOTE_ADDR: 192.168.0.2admin(1883): PATH_TRANSLATED: /var/www/htdocs/cartaoberro/logoutadmin(1883): SERVER_PORT: 80admin(1883): SERVER_ADDR: 200.171.57.41admin(1883): DOCUMENT_ROOT: /var/www/htdocsadmin(1883): PYTHONPATH: /usr/local/mailmanadmin(
    1883): SCRIPT_FILENAME: /usr/local/mailman/cgi-bin//adminadmin(1883): SERVER_ADMIN: root at tree.slackware.lanadmin(1883): HTTP_HOST: serverlinux.revistaoberro.com.bradmin(1883): REQUEST_URI: /mailman/admin/cartaoberro/logoutadmin(1883): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg , application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-po werpoint, application/msword, */*admin(1883): GATEWAY_INTERFACE: CGI/1.1admin(1883): REMOTE_PORT: 4572admin(1883): HTTP_ACCEPT_LANGUAGE: pt-bradmin(1883): HTTP_ACCEPT_ENCODING: gzip, deflateadmin(1883): UNIQUE_ID: R9Kc-MirOSkAAASPEZY
    I deleted the file '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck' and reboot the server. See log after reboot:

    Mar 08 12:03:32 2008 mailmanctl(1114): Traceback (most recent call last):Mar 08 12:03:32 2008 mailmanctl(1114): File "/usr/local/mailman/bin/mailmanctl", line 548, in ?Mar 08 12:03:32 2008 mailmanctl(1114): main()Mar 08 12:03:32 2008 mailmanctl(1114): File "/usr/local/mailman/bin/mailmanctl", line 390, in mainMar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock(force)Mar 08 12:03:32 2008 mailmanctl(1114): File "/usr/local/mailman/bin/mailmanctl", line 214, in acquire_lockMar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock_1(force)Mar 08 12:03:32 2008 mailmanctl(1114): File "/usr/local/mailman/bin/mailmanctl", line 208, in acquire_lock_1Mar 08 12:03:32 2008 mailmanctl(1114): os.unlink(os.path.join(mm_cfg.LOCK_DIR, tempfile))Mar 08 12:03:32 2008 mailmanctl(1114): OSError : [Errno 2] No such file or directory: '/usr/local/mailman/locks/master-qrunner.serverlinux.1148'
    Apache error_log GATEWAY_INTERFACE: CGI/1.1 REMOTE_PORT: 4322 HTTP_ACCEPT_LANGUAGE: pt-br HTTP_ACCEPT_ENCODING: gzip, deflate UNIQUE_ID: R9KXGsirOSkAAAQNA44[Sat Mar 8 11:19:34 2008] [error] [client 192.168.0.2] attempt to invoke directory as script: /usr/local/mailman/cgi-bin[Sat Mar 8 11:22:24 2008] [error] [client 192.168.0.2] attempt to invoke directory as script: /usr/local/mailman/cgi-bin[Sat Mar 8 11:55:49 2008] [notice] caught SIGTERM, shutting down[Sat Mar 8 11:57:12 2008] [notice] Apache/1.3.37 (Unix) configured -- resuming normal operations[Sat Mar 8 11:57:12 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
    Permissionsdrwxrwsr-x root mailman mailman/-rwxrwsr-x root mailman 1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck*

    Please help me to solve this problem.

    I want to help you, but it is difficult enough to determine what the
    issues might be without trying to read log entries that are all strung
    together in one line. I understand that this is probably Hotmail's fault
    and not yours directly, but I can't read what you posted.

    Please try again, perhaps by putting the log entries in a .txt file and
    attaching it to your message.

    In the mean time, run bin/check_perms.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Fabricio Oliveira at Mar 10, 2008 at 11:19 am
    Hi Mark, See attachment file with the log. Thanks. Regards,Fabr?cio> Date: Sat, 8 Mar 2008 09:05:25 -0800> From: mark at msapiro.net> To: fabriciopoliveira at hotmail.com> CC: mailman-users at python.org> Subject: Re: [Mailman-Users] Bug in Mailman version 2.1.9> > Fabricio Oliveira wrote:> > Hi,> > > > When I try access the page of Mailman appear the error bellow:> > > > Bug in Mailman version 2.1.9> > We're sorry, we hit a bug!Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs. > > > > I changed permissions of directorys, but don't work. I do the instructions discribe in following links: http://archive.netbsd.se/?ml=mailman-users&a 07-11&tW44516, http://www.forum.techcuriosity.com/viewtopic.php?p76&sid93ffbab1bee8e67dce3657319f4f83 and http://forum.swsoft.com/pda/index.php/t-48560.html, but don't work too.> > > > Log - /usr/local/mailman/logs/error> > > > Mar 08 10:48:37 2008 qrunner(1656): Traceback (most recent call last):Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/bin/qrunner', line 278, in ?Mar 08 10:48:37 2008 qrunner(1656): main()Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/bin/qrunner', line 238, in mainMar 08 10:48:37 2008 qrunner(1656): qrunner.run()Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/Mailman/Queue/Runner.py', line 71, in runMar 08 10:48:37 2008 qrunner(1656): filecnt = self._oneloop()Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/Mailman/Queue/Runner.py', line 100, in _oneloopMar 08 10:48:37 2008 qrunner(1656): msg, msgdata = self._switchboard.dequeue(filebase)Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/Mailman/Queue/Switchboard.py', line 150, in dequeueMar 08 10:48:37 2008 qrunner(1656): fp = open(filename)Mar 08 10:48:37 2008 qrunner(1656): IOError : [Errno 13] Permission denied: '/usr/loc> al/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck insecure string pickleMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck.last invalid load key, '?'.Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving upMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pckinsecure string pickleMar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman> /lists/cartaoberro/config.pck.lastinvalid load key, '?'.Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/c artaoberro/config.db[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db'Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving upMar 08 11:04:45 2008 admin(1883): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@admin(1883): [----- Mailman Version: 2.1.9 -----]admin(1883): [----- Traceback ------]admin(1883): Traceback (most recent call last):admin(1883): File '/usr/local/mailman/scripts/driver', line 101, in run_mainadmin(1883): main()admin(1883): File '/usr/local/mailman/Mailman/Cgi/admin.py', line 75, in mainadmin(1883): admin_overview(_('No such list <em>%(safelistname)s</em>'))admin(188> 3): File '/usr/local/mailman/Mailman/Cgi/admin.py', line 233, in admi n_overviewadmin(1883): mlist = MailList.MailList(name, lock=0)admin(1883): File '/usr/local/mailman/Mailman/MailList.py', line 130, in __ini t__admin(1883): self.Load()admin(1883): File '/usr/local/mailman/Mailman/MailList.py', line 644, in Loadadmin(1883): raise Errors.MMCorruptListDatabaseError, eadmin(1883): MMCorruptListDatabaseError: [Errno 2] No such file or directory: '/ usr/local/mailman/lists/cartaoberro/config.db.last'admin(1883): [----- Python Information -----]admin(1883): sys.version = 2.4.3 (#1, Jul 26 2006, 20:13:39)[GCC 3.4.6]admin(1883): sys.executable = /usr/bin/pythonadmin(1883): sys.prefix = /usradmin(1883): sys.exec_prefix = /usradmin(1883): sys.path = /usradmin(1883): sys.platform = linux2admin(1883): [-> ---- Environment Variables -----]admin(1883): SERVER_SOFTWARE: Apache/1.3.37 (Unix)admin(1883): SCRIPT_NAME: /mailman/adminadmin(1883): SERVER_SIGNATURE: <ADDRESS>Apache/1.3.37 Server at serverlinux.r evistaoberro.com.br Port 80</ADDRESS>admin(1883):admin(1883): REQUEST_METHOD: GETadmin(1883): PATH_INFO: /cartaoberro/logoutadmin(1883): SERVER_PROTOCOL: HTTP/1.1admin(1883): QUERY_STRING:admin(1883): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5 .1; SV1; .NET CLR 1.1.4322)admin(1883): HTTP_CONNECTION: Keep-Aliveadmin(1883): SERVER_NAME: serverlinux.revistaoberro.com.bradmin(1883): REMOTE_ADDR: 192.168.0.2admin(1883): PATH_TRANSLATED: /var/www/htdocs/cartaoberro/logoutadmin(1883): SERVER_PORT: 80admin(1883): SERVER_ADDR: 200.171.57.41admin(1883): DOCUMENT_ROOT: /var/www/htdocsadmin(1883): PYTHONPATH: /usr/local/mailmanadmin(> 1883): SCRIPT_FILENAME: /usr/local/mailman/cgi-bin//adminadmin(1883): SERVER_ADMIN: root at tree.slackware.lanadmin(1883): HTTP_HOST: serverlinux.revistaoberro.com.bradmin(1883): REQUEST_URI: /mailman/admin/cartaoberro/logoutadmin(1883): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg , application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-po werpoint, application/msword, */*admin(1883): GATEWAY_INTERFACE: CGI/1.1admin(1883): REMOTE_PORT: 4572admin(1883): HTTP_ACCEPT_LANGUAGE: pt-bradmin(1883): HTTP_ACCEPT_ENCODING: gzip, deflateadmin(1883): UNIQUE_ID: R9Kc-MirOSkAAASPEZY> > > > I deleted the file '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck' and reboot the server. See log after reboot:> > > > Mar 08 12:03:32 2008 mailmanctl(1114): Traceback (most recent call last):Mar 08 12:03:32 2008 mailmanctl(1114): File '/usr/local/mailman/bin/mailmanctl', line 548, in ?Mar 08 12:03:32 2008 mailmanctl(1114): main()Mar 08 12:03:32 2008 mailmanctl(1114): File '/usr/local/mailman/bin/mailmanctl', line 390, in mainMar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock(force)Mar 08 12:03:32 2008 mailmanctl(1114): File '/usr/local/mailman/bin/mailmanctl', line 214, in acquire_lockMar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock_1(force)Mar 08 12:03:32 2008 mailmanctl(1114): File '/usr/local/mailman/bin/mailmanctl', line 208, in acquire_lock_1Mar 08 12:03:32 2008 mailmanctl(1114): os.unlink(os.path.join(mm_cfg.LOCK_DIR, tempfile))Mar 08 12:03:32 2008 mailmanctl(1114): OSError : [Errno 2] No such file or directory: '/usr/local/mailman/locks/master-qrunner.serverlinux.1148'> > Apache error_log GATEWAY_INTERFACE: CGI/1.1 REMOTE_PORT: 4322 HTTP_ACCEPT_LANGUAGE: pt-br HTTP_ACCEPT_ENCODING: gzip, deflate UNIQUE_ID: R9KXGsirOSkAAAQNA44[Sat Mar 8 11:19:34 2008] [error] [client 192.168.0.2] attempt to invoke directory as script: /usr/local/mailman/cgi-bin[Sat Mar 8 11:22:24 2008] [error] [client 192.168.0.2] attempt to invoke directory as script: /usr/local/mailman/cgi-bin[Sat Mar 8 11:55:49 2008] [notice] caught SIGTERM, shutting down[Sat Mar 8 11:57:12 2008] [notice] Apache/1.3.37 (Unix) configured -- resuming normal operations[Sat Mar 8 11:57:12 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)> > Permissionsdrwxrwsr-x root mailman mailman/-rwxrwsr-x root mailman 1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck*> > > > Please help me to solve this problem.> > > I want to help you, but it is difficult enough to determine what the > issues might be without trying to read log entries that are all strung > together in one line. I understand that this is probably Hotmail's fault > and not yours directly, but I can't read what you posted.> > Please try again, perhaps by putting the log entries in a .txt file and > attaching it to your message.> > In the mean time, run bin/check_perms.> > -- > Mark Sapiro <mark at msapiro.net> The highway is for gamblers,> San Francisco Bay Area, California better use your sense - B. Dylan>
    _________________________________________________________________
    Cansado de espa?o para s? 50 fotos? Conhe?a o Spaces, o site de relacionamentos com at? 6,000 fotos!
    http://www.amigosdomessenger.com.br
    -------------- next part --------------
    An embedded and charset-unspecified text was scrubbed...
    Name: Log.txt
    Url: http://mail.python.org/pipermail/mailman-users/attachments/20080310/f90244c0/attachment.txt
  • Mark Sapiro at Mar 10, 2008 at 7:16 pm

    Fabricio Oliveira wrote:
    Hi Mark,

    See attachment file with the log.

    Thank you for reposting the logs as an attachment. That is much better.

    Here is your log data with my comments interspersed.
    Log - /usr/local/mailman/logs/error >
    Mar 08 10:48:37 2008 qrunner(1656): Traceback (most recent call last):
    Mar 08 10:48:37 2008 qrunner(1656): File
    "/usr/local/mailman/bin/qrunner", line 278, in ?
    Mar 08 10:48:37 2008 qrunner(1656): main()
    Mar 08 10:48:37 2008 qrunner(1656): File
    "/usr/local/mailman/bin/qrunner", line 238, in main
    Mar 08 10:48:37 2008 qrunner(1656): qrunner.run()
    Mar 08 10:48:37 2008 qrunner(1656): File
    "/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run
    Mar 08 10:48:37 2008 qrunner(1656): filecnt = self._oneloop()
    Mar 08 10:48:37 2008 qrunner(1656): File
    "/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
    Mar 08 10:48:37 2008 qrunner(1656): msg, msgdata =
    self._switchboard.dequeue(filebase)
    Mar 08 10:48:37 2008 qrunner(1656): File
    "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeue
    Mar 08 10:48:37 2008 qrunner(1656): fp = open(filename)
    Mar 08 10:48:37 2008 qrunner(1656): IOError : [Errno 13] Permission
    denied:
    '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck'


    This says that IncomingRunner can't read the referenced queue entry
    file. Based on the permissions you show below, this would seem
    impossible unless IncomingRunner was not running in the mailman group or
    there is some SELinux or other security policy preventing it. This can
    be caused by the runner being manually started or mailmanctl being run
    by a non-root user.

    Mar 08 11:04:45 2008 (1883) couldn't load config file
    /usr/local/mailman/lists/cartaoberro/config.pck insecure string pickle
    Mar 08 11:04:45 2008 (1883) couldn't load config file
    /usr/local/mailman/lists/cartaoberro/config.pck.last invalid load key, '?'.
    Mar 08 11:04:45 2008 (1883) couldn't load config file
    /usr/local/mailman/lists/cartaoberro/config.db [Errno 2] No such file or
    directory: '/usr/local/mailman/lists/cartaoberro/config.db'
    Mar 08 11:04:45 2008 (1883) couldn't load config file
    /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such
    file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'
    Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving up
    Mar 08 11:04:45 2008 (1883) couldn't load config file
    /usr/local/mailman/lists/cartaoberro/config.pckinsecure string pickle
    Mar 08 11:04:45 2008 (1883) couldn't load config file
    /usr/local/mailman/lists/cartaoberro/config.pck.lastinvalid load key, '?'.
    Mar 08 11:04:45 2008 (1883) couldn't load config file
    /usr/local/mailman/lists/c artaoberro/config.db[Errno 2] No such file or
    directory: '/usr/local/mailman/lists/cartaoberro/config.db'
    Mar 08 11:04:45 2008 (1883) couldn't load config file
    /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such
    file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'
    Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt,
    giving up


    This and the error below are the same error from the admin web
    interface. It appears that both the config.pck and config.pck.last for
    the cartaoberro list are corrupt (the config.db* files normally don't
    exist in a mailman 2.1.x installation).

    Mar 08 11:04:45 2008 admin(1883):
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    admin(1883): [----- Mailman Version: 2.1.9 -----]
    admin(1883): [----- Traceback ------]
    admin(1883): Traceback (most recent call last):
    admin(1883): File "/usr/local/mailman/scripts/driver", line 101, in run_main
    admin(1883): main()
    admin(1883): File "/usr/local/mailman/Mailman/Cgi/admin.py", line 75, in main
    admin(1883): admin_overview(_('No such list <em>%(safelistname)s</em>'))
    admin(1883): File "/usr/local/mailman/Mailman/Cgi/admin.py", line
    233, in admi n_overview
    admin(1883): mlist = MailList.MailList(name, lock=0)
    admin(1883): File "/usr/local/mailman/Mailman/MailList.py", line 130,
    in __ini t__
    admin(1883): self.Load()admin(1883): File
    "/usr/local/mailman/Mailman/MailList.py", line 644, in Load
    admin(1883): raise Errors.MMCorruptListDatabaseError, e
    admin(1883): MMCorruptListDatabaseError: [Errno 2] No such file or
    directory: '/ usr/local/mailman/lists/cartaoberro/config.db.last'
    admin(1883): [----- Python Information -----]
    admin(1883): sys.version = 2.4.3 (#1, Jul 26 2006, 20:13:39)[GCC 3.4.6]
    admin(1883): sys.executable = /usr/bin/python
    admin(1883): sys.prefix = /usr
    admin(1883): sys.exec_prefix = /usr
    admin(1883): sys.path = /usr
    admin(1883): sys.platform = linux2
    admin(1883): [----- Environment Variables -----]
    admin(1883): SERVER_SOFTWARE: Apache/1.3.37 (Unix)
    admin(1883): SCRIPT_NAME: /mailman/admin
    admin(1883): SERVER_SIGNATURE: <ADDRESS>Apache/1.3.37 Server at
    serverlinux.r evistaoberro.com.br Port 80</ADDRESS>
    admin(1883):
    admin(1883): REQUEST_METHOD: GET
    admin(1883): PATH_INFO: /cartaoberro/logoutadmin(1883):
    SERVER_PROTOCOL: HTTP/1.1
    admin(1883): QUERY_STRING:
    admin(1883): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0;
    Windows NT 5 .1; SV1; .NET CLR 1.1.4322)
    admin(1883): HTTP_CONNECTION: Keep-Alive
    admin(1883): SERVER_NAME: serverlinux.revistaoberro.com.br
    admin(1883): REMOTE_ADDR: 192.168.0.2
    admin(1883): PATH_TRANSLATED: /var/www/htdocs/cartaoberro/logout
    admin(1883): SERVER_PORT: 80
    admin(1883): SERVER_ADDR: 200.171.57.41
    admin(1883): DOCUMENT_ROOT: /var/www/htdocs
    admin(1883): PYTHONPATH: /usr/local/mailman
    admin(1883): SCRIPT_FILENAME: /usr/local/mailman/cgi-bin//admin
    admin(1883): SERVER_ADMIN: root at tree.slackware.lan
    admin(1883): HTTP_HOST: serverlinux.revistaoberro.com.br
    admin(1883): REQUEST_URI: /mailman/admin/cartaoberro/logout
    admin(1883): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg , application/x-shockwave-flash application/vnd.ms-excel,
    application/vnd.ms-po
    >
    I deleted the file
    '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck'
    and reboot the server. See log after reboot:
    >
    Mar 08 12:03:32 2008 mailmanctl(1114): Traceback (most recent call last):
    Mar 08 12:03:32 2008 mailmanctl(1114): File
    "/usr/local/mailman/bin/mailmanctl", line 548, in ?
    Mar 08 12:03:32 2008 mailmanctl(1114): main()
    Mar 08 12:03:32 2008 mailmanctl(1114): File
    "/usr/local/mailman/bin/mailmanctl", line 390, in main
    Mar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock(force)
    Mar 08 12:03:32 2008 mailmanctl(1114): File
    "/usr/local/mailman/bin/mailmanctl", line 214, in acquire_lock
    Mar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock_1(force)
    Mar 08 12:03:32 2008 mailmanctl(1114): File
    "/usr/local/mailman/bin/mailmanctl", line 208, in acquire_lock_1
    Mar 08 12:03:32 2008 mailmanctl(1114):
    os.unlink(os.path.join(mm_cfg.LOCK_DIR, tempfile))
    Mar 08 12:03:32 2008 mailmanctl(1114): OSError : [Errno 2] No such
    file or directory:
    '/usr/local/mailman/locks/master-qrunner.serverlinux.1148'
    >


    This indicates that possibly mailmanctl is being started twice, or there
    is some other issue with lock files. See
    <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.068.htp>
    for information about making sure Mailman is completely shut down, then
    remove all the files from Mailman's locks/ directory and as root, run
    'bin/mailmanctl start' once only.

    Apache error_log
    GATEWAY_INTERFACE: CGI/1.1
    REMOTE_PORT: 4322
    HTTP_ACCEPT_LANGUAGE: pt-br
    HTTP_ACCEPT_ENCODING: gzip, deflate
    UNIQUE_ID: R9KXGsirOSkAAAQNA44
    [Sat Mar 8 11:19:34 2008] [error] [client 192.168.0.2] attempt to
    invoke directory as script: /usr/local/mailman/cgi-bin
    [Sat Mar 8 11:22:24 2008] [error] [client 192.168.0.2] attempt to
    invoke directory as script: /usr/local/mailman/cgi-bin


    These seem to be the result of an Apache misconfiguration. They occur 15
    and 18 minutes respectively after the admin error above. Did you perhaps
    change some Apache ScriptAlias directive in response to the admin error
    above?

    [Sat Mar 8 11:55:49 2008] [notice] caught SIGTERM, shutting down
    [Sat Mar 8 11:57:12 2008] [notice] Apache/1.3.37 (Unix) configured --
    resuming normal operations
    [Sat Mar 8 11:57:12 2008] [notice] Accept mutex: sysvsem (Default:
    sysvsem)
    >
    Permissions
    drwxrwsr-x root mailman mailman/
    -rwxrwsr-x root mailman
    1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck*
    >


    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Fabricio Oliveira at Mar 11, 2008 at 4:43 pm
    Hi Mark,I see your considerations about permissions, but I don't know are SELinux. What is this? See attachment for more information. Thanks for your help!! Regards,Fabricio> Date: Mon, 10 Mar 2008 12:16:35 -0700> From: mark at msapiro.net> To: fabriciopoliveira at hotmail.com> CC: mailman-users at python.org> Subject: Re: RE: [Mailman-Users] Bug in Mailman version 2.1.9> > Fabricio Oliveira wrote:> > Hi Mark,> > > > See attachment file with the log.> > > Thank you for reposting the logs as an attachment. That is much better.> > Here is your log data with my comments interspersed.> > > Log - /usr/local/mailman/logs/error> >> > Mar 08 10:48:37 2008 qrunner(1656): Traceback (most recent call last):> > Mar 08 10:48:37 2008 qrunner(1656): File > '/usr/local/mailman/bin/qrunner', line 278, in ?> > Mar 08 10:48:37 2008 qrunner(1656): main()> > Mar 08 10:48:37 2008 qrunner(1656): File > '/usr/local/mailman/bin/qrunner', line 238, in main> > Mar 08 10:48:37 2008 qrunner(1656): qrunner.run()> > Mar 08 10:48:37 2008 qrunner(1656): File > '/usr/local/mailman/Mailman/Queue/Runner.py', line 71, in run> > Mar 08 10:48:37 2008 qrunner(1656): filecnt = self._oneloop()> > Mar 08 10:48:37 2008 qrunner(1656): File > '/usr/local/mailman/Mailman/Queue/Runner.py', line 100, in _oneloop> > Mar 08 10:48:37 2008 qrunner(1656): msg, msgdata = > self._switchboard.dequeue(filebase)> > Mar 08 10:48:37 2008 qrunner(1656): File > '/usr/local/mailman/Mailman/Queue/Switchboard.py', line 150, in dequeue> > Mar 08 10:48:37 2008 qrunner(1656): fp = open(filename)> > Mar 08 10:48:37 2008 qrunner(1656): IOError : [Errno 13] Permission > denied: > '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck'> > > This says that IncomingRunner can't read the referenced queue entry > file. Based on the permissions you show below, this would seem > impossible unless IncomingRunner was not running in the mailman group or > there is some SELinux or other security policy preventing it. This can > be caused by the runner being manually started or mailmanctl being run > by a non-root user.> > > > Mar 08 11:04:45 2008 (1883) couldn't load config file > /usr/local/mailman/lists/cartaoberro/config.pck insecure string pickle> > Mar 08 11:04:45 2008 (1883) couldn't load config file > /usr/local/mailman/lists/cartaoberro/config.pck.last invalid load key, '?'.> > Mar 08 11:04:45 2008 (1883) couldn't load config file > /usr/local/mailman/lists/cartaoberro/config.db [Errno 2] No such file or > directory: '/usr/local/mailman/lists/cartaoberro/config.db'> > Mar 08 11:04:45 2008 (1883) couldn't load config file > /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such > file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'> > Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, > giving up> > Mar 08 11:04:45 2008 (1883) couldn't load config file > /usr/local/mailman/lists/cartaoberro/config.pckinsecure string pickle> > Mar 08 11:04:45 2008 (1883) couldn't load config file > /usr/local/mailman/lists/cartaoberro/config.pck.lastinvalid load key, '?'.> > Mar 08 11:04:45 2008 (1883) couldn't load config file > /usr/local/mailman/lists/c artaoberro/config.db[Errno 2] No such file or > directory: '/usr/local/mailman/lists/cartaoberro/config.db'> > Mar 08 11:04:45 2008 (1883) couldn't load config file > /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such > file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last'> > Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, > giving up> > > This and the error below are the same error from the admin web > interface. It appears that both the config.pck and config.pck.last for > the cartaoberro list are corrupt (the config.db* files normally don't > exist in a mailman 2.1.x installation).> > > > Mar 08 11:04:45 2008 admin(1883): > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@> > admin(1883): [----- Mailman Version: 2.1.9 -----]> > admin(1883): [----- Traceback ------]> > admin(1883): Traceback (most recent call last):> > admin(1883): File '/usr/local/mailman/scripts/driver', line 101, in > run_main> > admin(1883): main()> > admin(1883): File '/usr/local/mailman/Mailman/Cgi/admin.py', line 75, > in main> > admin(1883): admin_overview(_('No such list <em>%(safelistname)s</em>'))> > admin(1883): File '/usr/local/mailman/Mailman/Cgi/admin.py', line > 233, in admi n_overview> > admin(1883): mlist = MailList.MailList(name, lock=0)> > admin(1883): File '/usr/local/mailman/Mailman/MailList.py', line 130, > in __ini t__> > admin(1883): self.Load()admin(1883): File > '/usr/local/mailman/Mailman/MailList.py', line 644, in Load> > admin(1883): raise Errors.MMCorruptListDatabaseError, e> > admin(1883): MMCorruptListDatabaseError: [Errno 2] No such file or > directory: '/ usr/local/mailman/lists/cartaoberro/config.db.last'> > admin(1883): [----- Python Information -----]> > admin(1883): sys.version = 2.4.3 (#1, Jul 26 2006, 20:13:39)[GCC 3.4.6]> > admin(1883): sys.executable = /usr/bin/python> > admin(1883): sys.prefix = /usr> > admin(1883): sys.exec_prefix = /usr> > admin(1883): sys.path = /usr> > admin(1883): sys.platform = linux2> > admin(1883): [----- Environment Variables -----]> > admin(1883): SERVER_SOFTWARE: Apache/1.3.37 (Unix)> > admin(1883): SCRIPT_NAME: /mailman/admin> > admin(1883): SERVER_SIGNATURE: <ADDRESS>Apache/1.3.37 Server at > serverlinux.r evistaoberro.com.br Port 80</ADDRESS>> > admin(1883):> > admin(1883): REQUEST_METHOD: GET> > admin(1883): PATH_INFO: /cartaoberro/logoutadmin(1883): > SERVER_PROTOCOL: HTTP/1.1> > admin(1883): QUERY_STRING:> > admin(1883): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; > Windows NT 5 .1; SV1; .NET CLR 1.1.4322)> > admin(1883): HTTP_CONNECTION: Keep-Alive> > admin(1883): SERVER_NAME: serverlinux.revistaoberro.com.br> > admin(1883): REMOTE_ADDR: 192.168.0.2> > admin(1883): PATH_TRANSLATED: /var/www/htdocs/cartaoberro/logout> > admin(1883): SERVER_PORT: 80> > admin(1883): SERVER_ADDR: 200.171.57.41> > admin(1883): DOCUMENT_ROOT: /var/www/htdocs> > admin(1883): PYTHONPATH: /usr/local/mailman> > admin(1883): SCRIPT_FILENAME: /usr/local/mailman/cgi-bin//admin> > admin(1883): SERVER_ADMIN: root at tree.slackware.lan> > admin(1883): HTTP_HOST: serverlinux.revistaoberro.com.br> > admin(1883): REQUEST_URI: /mailman/admin/cartaoberro/logout> > admin(1883): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, > image/pjpeg , application/x-shockwave-flash application/vnd.ms-excel, > application/vnd.ms-po> >> > I deleted the file > '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck' > and reboot the server. See log after reboot:> >> > Mar 08 12:03:32 2008 mailmanctl(1114): Traceback (most recent call last):> > Mar 08 12:03:32 2008 mailmanctl(1114): File > '/usr/local/mailman/bin/mailmanctl', line 548, in ?> > Mar 08 12:03:32 2008 mailmanctl(1114): main()> > Mar 08 12:03:32 2008 mailmanctl(1114): File > '/usr/local/mailman/bin/mailmanctl', line 390, in main> > Mar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock(force)> > Mar 08 12:03:32 2008 mailmanctl(1114): File > '/usr/local/mailman/bin/mailmanctl', line 214, in acquire_lock> > Mar 08 12:03:32 2008 mailmanctl(1114): lock = acquire_lock_1(force)> > Mar 08 12:03:32 2008 mailmanctl(1114): File > '/usr/local/mailman/bin/mailmanctl', line 208, in acquire_lock_1> > Mar 08 12:03:32 2008 mailmanctl(1114): > os.unlink(os.path.join(mm_cfg.LOCK_DIR, tempfile))> > Mar 08 12:03:32 2008 mailmanctl(1114): OSError : [Errno 2] No such > file or directory: > '/usr/local/mailman/locks/master-qrunner.serverlinux.1148'> >> > > This indicates that possibly mailmanctl is being started twice, or there > is some other issue with lock files. See > <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.068.htp> > for information about making sure Mailman is completely shut down, then > remove all the files from Mailman's locks/ directory and as root, run > 'bin/mailmanctl start' once only.> > > > Apache error_log> > GATEWAY_INTERFACE: CGI/1.1> > REMOTE_PORT: 4322> > HTTP_ACCEPT_LANGUAGE: pt-br> > HTTP_ACCEPT_ENCODING: gzip, deflate> > UNIQUE_ID: R9KXGsirOSkAAAQNA44> > [Sat Mar 8 11:19:34 2008] [error] [client 192.168.0.2] attempt to > invoke directory as script: /usr/local/mailman/cgi-bin> > [Sat Mar 8 11:22:24 2008] [error] [client 192.168.0.2] attempt to > invoke directory as script: /usr/local/mailman/cgi-bin> > > These seem to be the result of an Apache misconfiguration. They occur 15 > and 18 minutes respectively after the admin error above. Did you perhaps > change some Apache ScriptAlias directive in response to the admin error > above?> > > > [Sat Mar 8 11:55:49 2008] [notice] caught SIGTERM, shutting down> > [Sat Mar 8 11:57:12 2008] [notice] Apache/1.3.37 (Unix) configured -- > resuming normal operations> > [Sat Mar 8 11:57:12 2008] [notice] Accept mutex: sysvsem (Default: > sysvsem)> >> > Permissions> > drwxrwsr-x root mailman mailman/> > -rwxrwsr-x root mailman > 1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck*> >> > > -- > Mark Sapiro <mark at msapiro.net> The highway is for gamblers,> San Francisco Bay Area, California better use your sense - B. Dylan>
    _________________________________________________________________
    Veja mapas e encontre as melhores rotas para fugir do tr?nsito com o Live Search Maps!
    http://www.livemaps.com.br/index.aspx?tr=true
    -------------- next part --------------
    An embedded and charset-unspecified text was scrubbed...
    Name: file.txt
    Url: http://mail.python.org/pipermail/mailman-users/attachments/20080311/86a2df7c/attachment.txt
  • Mark Sapiro at Mar 11, 2008 at 6:12 pm

    Fabricio Oliveira wrote:
    Hi Mark,

    I see your considerations about permissions, but I don't know are SELinux. What is this?

    SELinux is a security policy manager that can prevent file access based
    on security policies even though the access would be allowed by file
    permissions.

    I stoped the python's services and I restarted the service with the command below:

    root at serverlinux:/usr/local/mailman/bin# ./mailmanctl stop
    Shutting down Mailman's master qrunner

    root at serverlinux:/usr/local/mailman/bin# ps -fAww |grep python

    root at serverlinux:/usr/local/mailman/bin# ./mailmanctl start
    Starting Mailman's master qrunner.

    After restarted the service, the following pid appear:

    root at serverlinux:/usr/local/mailman/bin# ps -fAww |grep python
    mailman 27184 1 0 12:54 ? 00:00:00 /usr/bin/python ./mailmanctl start
    mailman 27185 27184 4 12:54 ? 00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s
    mailman 27186 27184 56 12:54 ? 00:00:02 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s
    mailman 27187 27184 4 12:54 ? 00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s
    mailman 27188 27184 4 12:54 ? 00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s
    mailman 27189 27184 4 12:54 ? 00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s
    mailman 27190 27184 4 12:54 ? 00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s
    mailman 27191 27184 5 12:54 ? 00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s
    mailman 27192 27184 5 12:54 ? 00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s

    OK, so now Mailman started properly, and the lock file and perhaps qfile
    problems may be solved.

    The page continue with the error:

    Bug in Mailman version 2.1.9

    We're sorry, we hit a bug!
    Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.

    This error had nothing to do with the other problems. This error is
    apparently due to the configuration files for the cartaoberro list being
    corrupt. The error log entries you posted previously indicate that the
    data from the /usr/local/mailman/lists/cartaoberro/config.pck and
    /usr/local/mailman/lists/cartaoberro/config.pck.last files couldn't be
    loaded. It appears that these files are corrupt.

    If you have a backup, I suggest you try restoring these files from the
    backup. Without that, you can try to dump the files with Mailman's
    bin/dumpdb, but that will probably fail in the same way. If so, the best
    you may be able to do is use the strings command to try to extract as
    much information as possible from these files and use it to recreate the
    list.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Fabricio Oliveira at Mar 15, 2008 at 3:23 pm
    Hi Mark, I stoped the services and restored backup. I checked permssions and started the services. After that the mailman doesn't restart, see logs: Traceback (most recent call last): File '/usr/local/mailman/bin/mailmanctl', line 548, in ? main() File '/usr/local/mailman/bin/mailmanctl', line 517, in main newpid = start_runner(qrname, slice, count) File '/usr/local/mailman/bin/mailmanctl', line 257, in start_runner os.execl(mm_cfg.PYTHON, mm_cfg.PYTHON, exe, rswitch, '-s') File '/usr/lib/python2.4/os.py', line 309, in execl execv(file, args)OSError: [Errno 2] No such file or directoryMar 15 12:11:01 2008 (11307) Master qrunner detected subprocess exit(pid: 11331, sig: None, sts: 1, class: BounceRunner, slice: 1/1) [restarting]Mar 15 12:11:01 2008 (11307) Qrunner BounceRunner reached maximum restart limit of 10, not restarting. I don't know what is happen, but I need solve this issue... Thank you for your help. Regards,Fabricio
    _________________________________________________________________
    Veja mapas e encontre as melhores rotas para fugir do tr?nsito com o Live Search Maps!
    http://www.livemaps.com.br/index.aspx?tr=true
    -------------- next part --------------
    An embedded and charset-unspecified text was scrubbed...
    Name: log.txt
    Url: http://mail.python.org/pipermail/mailman-users/attachments/20080315/c101f742/attachment.txt
  • Mark Sapiro at Mar 15, 2008 at 5:08 pm

    Fabricio Oliveira wrote:
    I stoped the services and restored backup. I checked permssions and
    started the services. After that the mailman doesn't restart, see logs:

    Traceback (most recent call last):
    File '/usr/local/mailman/bin/mailmanctl', line 548, in ?
    main()
    File '/usr/local/mailman/bin/mailmanctl', line 517, in main
    newpid = start_runner(qrname, slice, count)
    File '/usr/local/mailman/bin/mailmanctl', line 257, in start_runner
    os.execl(mm_cfg.PYTHON, mm_cfg.PYTHON, exe, rswitch, '-s')
    File '/usr/lib/python2.4/os.py', line 309, in execl
    execv(file, args)
    OSError: [Errno 2] No such file or directory
    Mar 15 12:11:01 2008 (11307) Master qrunner detected subprocess exit
    (pid: 11331, sig: None, sts: 1, class: BounceRunner, slice: 1/1)
    [restarting]
    Mar 15 12:11:01 2008 (11307) Qrunner BounceRunner reached maximum
    restart limit of 10, not restarting.

    I don't know what is happen, but I need solve this issue...

    It appears that you installed a broken backup.

    It was not a good idea to install an entire backup. The only thing that
    needed to be restored from backup was the apparently corrupt
    /usr/local/mailman/lists/cartaoberro/config.pck file.

    If possible, you should go back to what you had prior to the restore and
    then replace only that one file with the one from the backup.

    If that is not possible, the above error is caused by an incorrect value
    for PYTHON or for PREFIX in Defaults.py. These are set by configure, so
    the problem appears to be that the backup you restored was
    mis-configured and not a working Mailman or the restore was incomplete,
    or the location of 'python' has changed since the backup.

    You really need to go back to your "almost working except for the
    cartaoberro list" Mailman and just restore that one list's config.pck.
    If you can't do that, you may have to just start over.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedMar 8, '08 at 3:17p
activeMar 15, '08 at 5:08p
posts8
users2
websitelist.org

2 users in discussion

Fabricio Oliveira: 4 posts Mark Sapiro: 4 posts

People

Translate

site design / logo © 2022 Grokbase