Auctioneer installation problem

22 views
Skip to first unread message

J.M. Dana

unread,
Oct 24, 2006, 4:20:07 AM10/24/06
to Tycoon...@googlegroups.com
Hi everyone!

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.

Kevin Lai

unread,
Oct 24, 2006, 1:04:12 PM10/24/06
to Tycoon...@googlegroups.com
There is a bug in Python that is obscuring the auctioneer problem. Try
the following:

rm -f /var/lib/tycoon/aucd/private/*

and restart the auctioneer.

J.M. Dana

unread,
Oct 25, 2006, 6:08:33 AM10/25/06
to Tycoon...@googlegroups.com
On 10/24/06, Kevin Lai <kl...@hp.com> wrote:
>
> There is a bug in Python that is obscuring the auctioneer problem. Try
> the following:
>
> 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.

Kevin Lai

unread,
Oct 25, 2006, 12:51:28 PM10/25/06
to Tycoon...@googlegroups.com
That's great, thanks.
Reply all
Reply to author
Forward
0 new messages