[Bro-Dev] #289: Crash in broctl due to missing lockfile.

Bro Tracker bro-dev at bro-ids.org
Thu Oct 14 12:04:31 PDT 2010


#289: Crash in broctl due to missing lockfile.
------------------------------+---------------------------------------------
Reporter:  seth               |       Owner:  robin     
    Type:  Problem            |      Status:  new       
Priority:  Normal             |   Component:  BroControl
 Version:  1.5.2-devel (svn)  |    Keywords:            
------------------------------+---------------------------------------------
 I suppose the right way to handle this would just be to ignore it?  Here's
 the stack trace from the python unhandled crash.

 {{{
 waiting for lock ...........warning: removing stale lock
 Traceback (most recent call last):
   File "/home/bro/bin/broctl", line 726, in <module>
     loop.onecmd(line)
   File "/usr/local/lib/python2.5/cmd.py", line 219, in onecmd
     return func(arg)
   File "/home/bro/bin/broctl", line 180, in do_start
     self.lock()
   File "/home/bro/bin/broctl", line 96, in lock
     if not util.lock():
   File "/bro/lib/broctl/BroControl/util.py", line 187, in lock
     while not _aquireLock():
   File "/bro/lib/broctl/BroControl/util.py", line 138, in _aquireLock
     if _breakLock():
   File "/bro/lib/broctl/BroControl/util.py", line 104, in _breakLock
     os.unlink(config.Config.lockfile)
 OSError: [Errno 2] No such file or directory: '/bro/spool/lock'
 }}}

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/289>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker




More information about the bro-dev mailing list