Project

General

Profile

Bug #15646

fts_scanner error on startup

Added by Joe Boyd over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02/23/2017
Due date:
% Done:

100%

Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

When restarting supervisord and hence restarting the probes the fts_scanner probe wouldn't start. It gave the dump below. The error was on line 60 but I inserted a print in that line that showed it was trying to open the cdf db file. When I looked on the filesystem, the cdf file was there but zero size. I just did an rm of the file and then the probe started.

/home/poms/private/var/ftsscanner/cdf_files.db.new
Traceback (most recent call last):
File "./fts_scanner.py", line 92, in <module>
w.poll()
File "./fts_scanner.py", line 85, in poll
self.scan()
File "./fts_scanner.py", line 61, in scan
fs = shelve.open("%s/%s_files.db.new" % (self.workdir, item["experiment"]),flag="n",writeback=True)
File "/home/poms/products/python/v2_7_6/Linux64bit-2-6-2-12/lib/python2.7/shelve.py", line 239, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/home/poms/products/python/v2_7_6/Linux64bit-2-6-2-12/lib/python2.7/shelve.py", line 223, in init
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
File "/home/poms/products/python/v2_7_6/Linux64bit-2-6-2-12/lib/python2.7/anydbm.py", line 82, in open
raise error, "db type could not be determined"
anydbm.error: db type could not be determined

It looks like that error has been in the log for a while but this was the last thing that was printing out before the probe died so it seems like it was causing it to crash. Maybe the supervisor usually restarts it.

History

#1 Updated by Marc Mengel over 3 years ago

  • Target version set to v2_1_1

#2 Updated by Marc Mengel over 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Marc Mengel
  • % Done changed from 0 to 100

Misc fixes in 71e0b496 and nearby...

#3 Updated by Marc Mengel over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF