Mailing List Archive

Error: Unknown ret -2 from handler file
I'm on 1.2.101 on Ubuntu 10.04.

When trying to add a new static directory rule to a virtual server, after saving the change and restarting gracefully the server, the change didn't worked. I retried several times (I don't remember what I have done in all this tries) and after some tries, when hitting the save button I didn't get back the popup window asking which kind of restart I want (in fact the window was appearing and disappearing really quickly). I tried a killall -SIGHUP cherokee, it works but it took a few seconds, normally it's really quick. And my new rules was still not working.

At some times I checked the error log and I saw this:


{'type': "error", 'time': "05/02/2012 00:30:04.789", 'title': "Unknown ret -2 from handler file", 'code': "thread.c:1158", 'error': "176", 'description': "It looks like you've hit a bug in the server. Please, do not hesitate to report it at http://bugs.cherokee-project.com/ so the developer team can fix it.", 'version': "1.2.101", 'compilation_date': "Oct 19 2011 11:39:48", 'configure_args': " '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--libexecdir=${prefix}/lib/cherokee' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=x86_64-linux-gnu' '--build=x86_64-linux-gnu' '--enable-os-string=Ubuntu' '--prefix=/usr' '--localstatedir=/var' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--docdir=/usr/share/doc/cherokee-doc' '--with-wwwroot=/var/www' '--enable-pthread' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-Wall -g -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' '
CPPFLAGS=' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--libexecdir=${prefix}/lib/cherokee' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=x86_64-linux-gnu' '--build=x86_64-linux-gnu' '--enable-os-string=Ubuntu' '--prefix=/usr' '--localstatedir=/var' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--docdir=/usr/share/doc/cherokee-doc' '--with-wwwroot=/var/www' '--enable-pthread' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-Wall -g -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS='", 'backtrace': ""}

Finally I did:
sudo /etc/init.d/cherokee stop
sudo /etc/init.d/cherokee start

and now everything look to work normally.

Etienne
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee