
cherokee at googlecode
Nov 29, 2010, 1:11 PM
Post #3 of 10
(446 views)
Permalink
|
|
Re: Issue 1058 in cherokee: cherokee-tweak logrotate not working since v1.0.9
[In reply to]
|
|
Comment #2 on issue 1058 by i...@cmsfruit.com: cherokee-tweak logrotate not working since v1.0.9 http://code.google.com/p/cherokee/issues/detail?id=1058 Yes, it also works for me on my Ubuntu 10.04.1 LTS system at home which only has about 10 vhosts.... but when I try that same exact command on our other server which has over 50 vhosts, it fails with that error: Enabling Back-up mode.. Traceback (most recent call last): File "/usr/bin/cherokee-tweak", line 342, in <module> main() File "/usr/bin/cherokee-tweak", line 332, in main do_logrotate() File "/usr/bin/cherokee-tweak", line 297, in do_logrotate backup = eval(backup_str) File "<string>", line 1, in <module> TypeError: list indices must be integers, not dict It used to work for me on all our servers as of v1.0.8, but then when I upgraded to v1.0.9 or v1.0.10 that is when it stopped working and started producing that error on that particular system... that is also when I noticed the cherokee-tweak usage format had changed.... I have tried everything, I have tried double checking the config files... I have tried comparing the 2 systems to see why one is not working... I have tried removing the admin site and then re-creating it via cherokee-admin... but no matter what I do, that other system will not logrotate and produces that error. It used to work just fine on this system on v1.0.8, but after I upgraded it broke... I have even tried completely uninstalling cherokee and then installing a fresh install through aptitude ppa, but still the same error. The weird part is that the problem is intermittent... it works one second on one machine, but if I try it again on that same machine or another machine it may fail with the above error or it might work.... so basically it works sometimes and doesn't work other times... I can't seem to figure out why, but on this particular system that I am having problems with, it doesn't work at all. It only produces the above error. Is there anything we can do to see why cherokee-tweak is producing that error and why it won't do a successful logrotate on that system? Any help would be appreciated. Cherokee is truly an amazing webserver! Thank you! _______________________________________________ Cherokee-dev mailing list Cherokee-dev [at] lists http://lists.octality.com/listinfo/cherokee-dev
|