Fix DD-WRT Lighttpd error “(server.c.1105) fdevent_init failed” on Asus WL-500
Tonight I was messing with my Asus WL-500 and was having trouble getting lighttpd to start. I found some post in russian that I was able to decypher thanks to my excellent linguist skills (haha). Anyway, it’s pretty easy.
# ipkg install nano
# nano /opt/etc/lighttpd/lighttpd.conf
and then change
# server.event-handler = «freebsd-kqueue» # needed on OS X
to
server.event-handler = «poll» # needed on OS X
After changing this, lighttpd started right up with fastcgi php.
Thank you! Fixed mine too (on WL-500gP v1).
Thanks a bunch man!
Thanks!
Mine is WL-500gP v2. This fix works fine.
Thanks a lot, Matt! I was working on installing ADOS download manager on my ASUS WL-520gU router with Tomato firmware when I encountered this error. I was wondering why nothing would display in my Web browser whenever I accessed lighttpd’s document root. Checking from /opt/var/log/lighttpd/error.log gave the same error as yours- fdevent_init failed. Changing server.event-handler from “freebsd-kqueue” to “poll” fixed it.
Thanks, that works also on oleg’s wl500 firmware
Thanks man, this works on WL-500gP with Oleg firmware too !!!
Brilliant!
Thanks bro, you spared what hair I have left.
ipkg nano completely redundant to ‘vi /opt/etc/lighttpd/lighttpd.conf’
otherwise absolutely spot on fix for “poll” thank you very much
Thank you for tips. It helped me to start the lighttpd.
worked for my WL-500GpV2