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.

above comments

9 Responses to “Fix DD-WRT Lighttpd error “(server.c.1105) fdevent_init failed” on Asus WL-500”

  1. wirespot on November 6th, 2009 at 1:37 am

    Thank you! Fixed mine too (on WL-500gP v1).

  2. jsmith on November 30th, 2009 at 9:26 am

    Thanks a bunch man!

  3. Violin Iliev on January 20th, 2010 at 2:49 am

    Thanks! :)
    Mine is WL-500gP v2. This fix works fine. :)

  4. Gabriel on January 30th, 2010 at 7:15 am

    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.

  5. Jordi on March 15th, 2010 at 5:23 am

    Thanks, that works also on oleg’s wl500 firmware

  6. Stepan on March 27th, 2010 at 4:22 pm

    Thanks man, this works on WL-500gP with Oleg firmware too !!!

  7. postbusjj on June 1st, 2010 at 5:48 am

    Brilliant!

  8. Mark on June 21st, 2010 at 8:58 pm

    Thanks bro, you spared what hair I have left.

  9. das_deniz on August 8th, 2010 at 12:41 pm

    ipkg nano completely redundant to ‘vi /opt/etc/lighttpd/lighttpd.conf’
    otherwise absolutely spot on fix for “poll” thank you very much



Leave a Reply