Ticket #1477 (closed defect: worksforme)
Lighttpd kills Ubuntu network install / local mirror
| Reported by: | felderado@… | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | core | Version: | 1.4.18 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | Blocking: |
Description
If you try to netboot / net install Ubuntu Gutsy (haven't tried any others) over the network and you host the packages using Lighttpd instead of Apache, the installation will fail. This error is in the logs.
Dec 2 11:58:19 in-target: After unpacking 1765MB of additional disk space will be used. Dec 2 11:58:19 in-target: Get:1 http://192.168.1.144 gutsy/main libfuse2 2.7.0-1ubuntu5 [121kB] ..... Dec 2 11:58:28 in-target: Get:96 http://192.168.1.144 gutsy/main xmag 1:1.0.1-0ubuntu2 [19.1kB] Dec 2 11:58:28 in-target: E: Method http has died unexpectedly!
If I simply shutdown Lighttpd and try Apache, it works perfectly.
As you can see, that's 96 GETs in like 9 seconds. Lighttpd either can't handle it, or intentionally cuts us off :( I'm guessing we get cut off for some reason. Doesn't make any sense...
Only modules running are: mod_access, mod_alias, mod_accesslog, and mod_compress
I found these relevant errors in the error.log
2007-12-02 10:47:22: (network_linux_sendfile.c.171) sendfile failed: Input/output error 6 2007-12-02 10:47:22: (connections.c.603) connection closed: write failed on fd 6
Ignore the date/timestamps on those errors; they were copied from an earlier attempt so they don't match the first errors I posted obviously.
These errors couldn't be from anywhere else because the only reason I setup lighttpd was to host this install server.

