incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <mar...@buyways.nl>
Subject Lounge is trouble
Date Thu, 14 Jan 2010 17:36:56 GMT
Hello,


I had a more than unpleasant afternoon with CouchDB-Lounge! Patching and
compiling was quite easy on Debian but properly configuring the whole
bunch of programs is more than painful! I have two problems remaining...

Smartproxy:
More than tough to configure and i still keep running into problems (see
log below). The main issue was that i first got the error's immediately
after starting the daemon. Due to unknown reasons (i might even have
properly configured something i don't know of :D) it suddenly ran, but
now i got similar messages in the log file.


Replicator:
The python-pycurl dependancy was not mentioned anywhere and when it
misses, the couch.log fills with countless unreadable messages that
there is a problem with the replicator. The replicator itself did not
write its log file, perhaps the installer did not set appropriate
permissions. After doing so, i still did not have log file! Until i
finally, in a complete frenzy, accidentally executed the replicator
manually; it told me about the dependency and i fixed it. Now i still
have trouble using it, see below for the log.
I've decreased the update threshold from 10 to 1, that works fine
because now i get the error for each modifcation.


Any help is more than appreciated!
Regards,


Smartproxy:
----------

2010-01-14 17:38:34+0100 [-] Log opened.
2010-01-14 17:38:34+0100 [-] twistd 8.2.0 (/usr/bin/python 2.5.2)
starting up.
2010-01-14 17:38:34+0100 [-] reactor class:
twisted.internet.epollreactor.EPollReactor.
2010-01-14 17:38:34+0100 [-] Traceback (most recent call last):
2010-01-14 17:38:34+0100 [-]   File "/usr/bin/twistd", line 21, in
<module>
2010-01-14 17:38:34+0100 [-]     run()
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 27,
in run
2010-01-14 17:38:34+0100 [-]     app.run(runApp, ServerOptions)
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/application/app.py", line 694,
in run
2010-01-14 17:38:34+0100 [-]     runApp(config)
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23,
in runApp
2010-01-14 17:38:34+0100 [-]     _SomeApplicationRunner(config).run()
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/application/app.py", line 423,
in run
2010-01-14 17:38:34+0100 [-]     self.postApplication()
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py", line
206, in postApplication
2010-01-14 17:38:34+0100 [-]     self.startApplication(self.application)
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py", line
311, in startApplication
2010-01-14 17:38:34+0100 [-]
service.IService(application).privilegedStartService()
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/application/service.py", line
273, in privilegedStartService
2010-01-14 17:38:34+0100 [-]     service.privilegedStartService()
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/application/internet.py", line
85, in privilegedStartService
2010-01-14 17:38:34+0100 [-]     self._port = self._getPort()
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/application/internet.py", line
116, in _getPort
2010-01-14 17:38:34+0100 [-]     *self.args, **self.kwargs)
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line
356, in listenTCP
2010-01-14 17:38:34+0100 [-]     p.startListening()
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 858, in
startListening
2010-01-14 17:38:34+0100 [-]     raise CannotListenError,
(self.interface, self.port, le)
2010-01-14 17:38:34+0100 [-] twisted.internet.error.CannotListenError:
Couldn't listen on 0.0.0.0:2008: (98, 'Address already in use').
2010-01-14 17:38:34+0100 [-] Error in atexit._run_exitfuncs:
2010-01-14 17:38:34+0100 [-] Traceback (most recent call last):
2010-01-14 17:38:34+0100 [-]   File "/usr/lib/python2.5/atexit.py", line
24, in _run_exitfuncs
2010-01-14 17:38:34+0100 [-]     func(*targs, **kargs)
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/smartproxy/proxy.py", line 197, in
_persistCache
2010-01-14 17:38:34+0100 [-]     log.err("Failed to persist the view
cache to %s" % self.cache_file_path)
2010-01-14 17:38:34+0100 [-] AttributeError: HTTPProxy instance has no
attribute 'cache_file_path'
2010-01-14 17:38:34+0100 [-] Error in sys.exitfunc:
2010-01-14 17:38:34+0100 [-] Traceback (most recent call last):
2010-01-14 17:38:34+0100 [-]   File "/usr/lib/python2.5/atexit.py", line
24, in _run_exitfuncs
2010-01-14 17:38:34+0100 [-]     func(*targs, **kargs)
2010-01-14 17:38:34+0100 [-]   File
"/usr/lib/python2.5/site-packages/smartproxy/proxy.py", line 197, in
_persistCache
2010-01-14 17:38:34+0100 [-]     log.err("Failed to persist the view
cache to %s" % self.cache_file_path)
2010-01-14 17:38:34+0100 [-] AttributeError: HTTPProxy instance has no
attribute 'cache_file_path'

Replicator:
----------

INFO:root:Starting up
ERROR:root:error in main loop
Traceback (most recent call last):
  File "/var/lib/lounge/replication_notifier.py", line 149, in main
    replicate(db)
  File "/var/lib/lounge/replication_notifier.py", line 92, in replicate
    for target in shard_map.nodes(source):
  File "/usr/lib/python2.5/site-packages/lounge/__init__.py", line 46,
in nodes
    shard_index = int(shard.strip(dbname))
ValueError: invalid literal for int() with base 10: ''


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message