I have installed the Tycoon Auctioneer in two machines. In one of them
everything works. In the other, the daemon is not able to get up. I
have used the same owner and pair of keys in both machines.
When I try to launch tycoon_aucd with --not_daemonize flag, python
returns this traceback:
2006-10-24 10:08:51,997 ERROR Removing stale pidfile /var/run/tycoon_aucd.pid
2006-10-24 10:08:52,204 INFO Total memory 3584 MB
2006-10-24 10:08:52,204 INFO Enabling ip_forward
Traceback (most recent call last):
File "/usr/bin/tycoon_aucd", line 38, in ?
Auctioneer(main.options).run()
File "/usr/lib/python2.4/site-packages/Tycoon/Auctioneer.py", line 139, in __i
nit__
self.__version)
File "/usr/lib/python2.4/site-packages/Tycoon/AuctioneerAllocator.py", line 68
, in __init__
self.__db = shelve.open(f, writeback = True, flag = "n")
File "/usr/lib/python2.4/shelve.py", line 231, in open
return DbfilenameShelf(filename, flag, protocol, writeback, binary)
File "/usr/lib/python2.4/shelve.py", line 212, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binar
y)
File "/usr/lib/python2.4/anydbm.py", line 83, in open
return mod.open(file, flag, mode)
File "/usr/lib/python2.4/dbhash.py", line 16, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.4/bsddb/__init__.py", line 293, in hashopen
d.open(file, db.DB_HASH, flags, mode)
bsddb._db.DBFileExistsError: (17, 'File exists -- __fop_file_setup: Retry limit
(100) exceeded')
Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute
'writeback'" in ignored
[root@oplaslim23 ~]# tycoon_aucd --not_daemonize > /tmp/traceback1
2006-10-24 10:09:56,435 ERROR Removing stale pidfile /var/run/tycoon_aucd.pid
2006-10-24 10:09:56,645 INFO Total memory 3584 MB
2006-10-24 10:09:56,645 INFO Enabling ip_forward
Traceback (most recent call last):
File "/usr/bin/tycoon_aucd", line 38, in ?
Auctioneer(main.options).run()
File "/usr/lib/python2.4/site-packages/Tycoon/Auctioneer.py", line
139, in __init__
self.__version)
File "/usr/lib/python2.4/site-packages/Tycoon/AuctioneerAllocator.py",
line 68, in __init__
self.__db = shelve.open(f, writeback = True, flag = "n")
File "/usr/lib/python2.4/shelve.py", line 231, in open
return DbfilenameShelf(filename, flag, protocol, writeback, binary)
File "/usr/lib/python2.4/shelve.py", line 212, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol,
writeback, binary)
File "/usr/lib/python2.4/anydbm.py", line 83, in open
return mod.open(file, flag, mode)
File "/usr/lib/python2.4/dbhash.py", line 16, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.4/bsddb/__init__.py", line 293, in hashopen
d.open(file, db.DB_HASH, flags, mode)
bsddb._db.DBFileExistsError: (17, 'File exists -- __fop_file_setup:
Retry limit (100) exceeded')
Exception exceptions.AttributeError: "DbfilenameShelf instance has no
attribute 'writeback'" in ignored
I can't find where is the problem. I have reinstalled twice trying to
solve a problem related with configuration files, pair of keys, etc.
and it didn't work.
Thanks in advance.
rm -f /var/lib/tycoon/aucd/private/*
and restart the auctioneer.
Just only to let you know that it's working perfectly now.
Thanks a lot.