Yum update | reboot necessary?
I have a bunch of CentOS 5.5 servers which are in production use. I would like to know what actually happens underneath when I update them.
Running an yum update (pointing to the default repos) will update to CentOS 5.8. Now, during the update process, say apache httpd v 2.2.2 is running live serving pages while at the same time I run yum update and it updates the apache httpd to v 2.2.3. Seems like a very obvious question, but does the it restart the httpd service? Also, updating from CentOS 5.5 to 5.8 would it matter if I not reboot the machine. A reboot will pick the latest installed kernel but other than that is it ok to keep the server running without a reboot? |
I personally would be very hesitant to update & not reboot asap in a production environment, as I have had unexplained problems after upgrading & not rebooting in the past. Any chance you can test this in a DEV environment first?
|
Quote:
Yes, now I realize there could be issues not rebooting after such a major leap in versions. |
If Yum upgrades httpd, it will definitely restarts httpd since it erases existing version and installs the new one. This scenario, you do not require reboot.
If you upgrade the system packages like kernel etc, you must need to reboot the system. |
Quote:
So after apache (httpd) is updated, the older version is still in memory and it is the one running. A restart of the service will load the updated binaries/libraries. |
Quote:
|
personally I will reboot asap if it is's a desktop computer
but for server I'll wait to have several acceptable reasons for that. |
Quote:
|
All times are GMT -5. The time now is 06:24 PM. |