graceful vs restart: How not to reload apache modules...

March 04, 2014

So, we all had to upgrade rvm, ruby, rails, and passenger on our app servers recently… because of security issues…

Which means, upgrading rvm gemsets and reinstalling passenger… which means recompiling mod_passenger.so and changing our apache configuration to match the changes.

What isn’t described is how to actually restart apache once you’ve changed all these things on the server.

A normal,

/etc/init.d/httpd graceful

Doesn’t do it; it doesn’t reload modules correctly. Ya need to take it all the way down:

/etc/init.d/httpd restart

shrug oh well!


James Hagerman

Written by James Hagerman

© 2026