Results 1 to 17 of 17
  1. #1
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    884

    Centos yum update

    Hello,

    Last night my server was updated to Centos 5.4 via yum update command.

    Is it recommended to restart the server after this update or it is fine to let it run ?

    .. there is also Cpanel on it, if it means anything for this question i have

    Thanks,
    s-f-r-j

  2. #2
    It is always best to reboot the server after any update.
    mainstreamnetworks.net
    Instant vps setup
    Cpanel/WHM Direct Admin

  3. #3
    Hello,

    just be aware that something may be failed during the update and better to have a physical assess to the server or a KVM swith attached

  4. #4
    Join Date
    Dec 2001
    Location
    Franklin, TN, USA
    Posts
    1,322
    Quote Originally Posted by mainstreamnet View Post
    It is always best to reboot the server after any update.
    Perhaps if you run windows? This is not sound advice.

    The only reason you would need to reboot the server is if you updated the kernel.
    Linux Problems Solved. | Built for the Hosting Industry
    Server Management. Node Management. Helpdesk Management.
    ( AcuNett, Est. 15 Years, RateLobby 5 Stars )

  5. #5
    Join Date
    May 2008
    Posts
    340
    We always use yum-priorities RPM/plugin and exclude the packages such as kernel/core packages such as httpd/bind etc which are in production and any bugs or problems due to the update can cause a downtime.

    Yes, but having physical access to the server is very important.
    Twitter : http://twitter.com/eth1networks
    Contact Us : support[at]eth1.in

  6. #6
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    884
    Quote Originally Posted by AcuNett View Post
    Perhaps if you run windows? This is not sound advice.

    The only reason you would need to reboot the server is if you updated the kernel.
    Kernel is not updated, many other software \ files are updated, so should i reboot the server or no ?

    Quote Originally Posted by eth1 View Post
    We always use yum-priorities RPM/plugin and exclude the packages such as kernel/core packages such as httpd/bind etc which are in production and any bugs or problems due to the update can cause a downtime.

    Yes, but having physical access to the server is very important.

    Apache, Exim, Bind, etc is excluded in the yum.conf since there is Cpanel installed on that server, Cpanel is updating listed software.

    I just checked yum.log in /var/log, i see no errors, so probably it went fine?

    Thanks,
    s-f-r-j

  7. #7
    Join Date
    Dec 2001
    Location
    Franklin, TN, USA
    Posts
    1,322
    In that case, it is not necessary to reboot the server.
    Linux Problems Solved. | Built for the Hosting Industry
    Server Management. Node Management. Helpdesk Management.
    ( AcuNett, Est. 15 Years, RateLobby 5 Stars )

  8. #8
    Quote Originally Posted by s-f-r-j View Post
    Kernel is not updated, many other software \ files are updated, so should i reboot the server or no ?

    Thanks,
    s-f-r-j
    The server will come up fine after the reboot if the kernel is not updated but if the kernel is not updated then there is no need for a reboot as "AcuNett" mentioned above.
    | LinuxHostingSupport.net
    | Server Setup | Security | Optimization | Troubleshooting | Server Migration
    | Monthly and Task basis services.
    | MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux

  9. #9
    Join Date
    Oct 2005
    Posts
    393
    Quote Originally Posted by AcuNett View Post
    Perhaps if you run windows? This is not sound advice.

    The only reason you would need to reboot the server is if you updated the kernel.
    I second this.

  10. #10
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    884

  11. #11
    Join Date
    Nov 2002
    Location
    Portland, Oregon
    Posts
    2,948
    Quote Originally Posted by AcuNett View Post
    Perhaps if you run windows? This is not sound advice.

    The only reason you would need to reboot the server is if you updated the kernel.
    Completely agreed.

    Code:
    # uptime
    18:00:18 up 415 days, 23:36,  1 user,  load average: 0.25, 0.12, 0.03
    This is with regular yum updates.
    | John Edel Jetfire Networks L.L.C. Trusted Hosting Solutions
    | Consistent, Reliable, Stable OpenVZ & KVM Virtual Private Servers
    | SpamWall AV & Full SMTP Filtering
    Now an SSLStore Titanium Partner!

  12. #12
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    884
    Quote Originally Posted by nwtg View Post
    Completely agreed.

    Code:
    # uptime
    18:00:18 up 415 days, 23:36,  1 user,  load average: 0.25, 0.12, 0.03
    This is with regular yum updates.
    O_O

    You don't update kernel or you patch it some how that not requires reboots?

    s-f-r-j

  13. #13
    Join Date
    Jan 2008
    Location
    St. John's, NL
    Posts
    2,114
    Yea, he clearly does not do kernel updates, so there are a few root exploits on his server that are ripe for exploitation.
    Cpanel/WHM PHP Perl Ruby Full Time Support
    LCWSoft - Canada web hosting (based in Newfoundland) since 2007
    Servers based in the US and Canada (Uptime Report)

  14. #14
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    884

  15. #15
    Join Date
    Nov 2002
    Location
    Portland, Oregon
    Posts
    2,948
    Sorry about the confusion - my "edit" threshold exceeded on me.

    The above machine I mentioned is a QA FTP server on my rack that still has 2.6.24.2 loaded up on it, and is only accessed internally by six people, and it's ACL'd and only running ftpd, eliminating 'larwilliams' contention that this box is open to exploits. Also, in this case, as eth1 mentioned, packages can be excluded.

    In my production environment, if there is a kernel update, the clusters are obviously rebooted. The purpose of my original post was in agreement that just about the only reason one would need to issue a reboot would be a kernel update. Have a great weekend, all!
    | John Edel Jetfire Networks L.L.C. Trusted Hosting Solutions
    | Consistent, Reliable, Stable OpenVZ & KVM Virtual Private Servers
    | SpamWall AV & Full SMTP Filtering
    Now an SSLStore Titanium Partner!

  16. #16
    Join Date
    Sep 2007
    Posts
    368

    *

    Quote Originally Posted by s-f-r-j View Post
    Ah, that is big no no for me, i would rather reboot it every night to keep it secure (installing new updates) nor trying to have a 'wow' uptime on it

    s-f-r-j

    Dont reboot every night, this not good practice, do reboot on kernel update or if it is not accessible.

  17. #17
    Join Date
    Nov 2002
    Location
    Portland, Oregon
    Posts
    2,948
    Quote Originally Posted by nomankhn View Post
    Dont reboot every night, this not good practice, do reboot on kernel update or if it is not accessible.
    Agreed. Also, another thing to keep in mind, will rebooting your machine(s) on a nightly basis effect any uptime SLA you've got in place?
    | John Edel Jetfire Networks L.L.C. Trusted Hosting Solutions
    | Consistent, Reliable, Stable OpenVZ & KVM Virtual Private Servers
    | SpamWall AV & Full SMTP Filtering
    Now an SSLStore Titanium Partner!

Similar Threads

  1. centos update
    By crzy in forum Hosting Security and Technology
    Replies: 5
    Last Post: 08-05-2008, 10:38 AM
  2. Centos 3.x Kernel update.
    By host4good in forum Hosting Security and Technology
    Replies: 6
    Last Post: 09-15-2006, 12:55 AM
  3. Centos update
    By ahostLT in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-07-2006, 05:36 PM
  4. Kernel Update on Centos 4.2
    By Serverplan in forum Hosting Security and Technology
    Replies: 8
    Last Post: 11-15-2005, 12:39 AM
  5. CentOS 3.4 (RHE 3 Update 4) is out. Have fun
    By sprintserve in forum Hosting Security and Technology
    Replies: 10
    Last Post: 01-13-2005, 05:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •