I restarted lighttpd this morning for what I thought was going to be something routine. Unfortunately, redmine stopped working after I did. It took a long time to debug, but eventually, after running spawn-fgi separately in a terminal (why the hell doesn’t it use any logs!?) it showed that ruby was crashing because the version of ImageMagick which it was built agaist didn’t match the version on the system.

It seems that during some upgrade, I upgraded ImageMagick and gentoo doesn’t seem to have a “ruby-updater” script like “python-updater” or “revdep-rebuild”. They need one, because that’s not cool.

As a side-effect of debugging, I found out that I could get lighttpd’s mod-fcgi to just spawn the fcgi process by including the “bin-path” argument and not starting spawn-fcgi. That should make server restart smoother. —–



blog comments powered by Disqus

Published

23 February 2010

Category

work

Tags