SSH Lockout

Discussion in 'Site & Server Administration' started by V3RT1G0, Nov 15, 2007.

  1. #1
    well i just got my VPS, and im running centos 4.3, but whenever i update the os with yum -y update ; yup -y upgrade , my server just locks me out from ssh. so i was wondering how can i update and not get locked out? i think that the update is replacing my current config but how do i stop this from happening? ive had to rebuild the server many times and its getting annoying.
     
    V3RT1G0, Nov 15, 2007 IP
  2. jexxie

    jexxie Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What are the updates that yum is installing?

    Watching what's been upgraded, and interactively doing this yourself is sometimes better than doing:
    yum -y upgrade
    Code (markup):
    It's asking for trouble. :D
     
    jexxie, Nov 15, 2007 IP
  3. V3RT1G0

    V3RT1G0 Peon

    Messages:
    201
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    figured this is out, when you upgrade centos to 4.5 it deletes entries in the /dev folder, i untarred a new dev in there so its fine now... thanks for the help :eek:
     
    V3RT1G0, Nov 16, 2007 IP
  4. WiredTree Zac

    WiredTree Zac Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Wow, that's very strange. I have upgraded hundreds of servers to CentOS 4.5 and have never seen that happen. I guess it could be how your VPS is set up though.
     
    WiredTree Zac, Nov 16, 2007 IP
  5. V3RT1G0

    V3RT1G0 Peon

    Messages:
    201
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    maybe, im running on openvz with hypervm, the reason i found out is because hypervm has a special button to untarring a /dev folder, pretty weird bug.
     
    V3RT1G0, Nov 16, 2007 IP
  6. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes, this is a bug, which is fixed by using "Fix CentOS 4.x dev" option. Though, this can' be prevented and thus they added a fix button :)
     
    inworx, Nov 18, 2007 IP