Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: [SOLVED] Upgraded to NE 5.0.14, lost SSH

  1. #1
    jpbuse is offline Loyal Member
    Join Date
    Jan 2008
    Location
    San Diego, CA
    Posts
    88
    Rep Power
    7

    Exclamation [SOLVED] Upgraded to NE 5.0.14, lost SSH

    SSH is no longer working on my server running NE 5.0.14. I was running 5.0.11 and upgraded to 5.0.14 and now SSH is not responding for me. I did the upgrade a few weeks ago and today is the first time I've attempted to SSH into the machine. Not having SSH access kinda sucks to say the least.

    I do have Webmin installed and I am able to get in and verify iptables is correct. In fact, I turned it off to test and still get rejected. This is running on a CentOS 5.2. Does the 5.0.14 update do anything special with the SSH server by chance?

    My next step is to schedule a restart of the machine late tonight and see if sshd comes back around.

  2. #2
    jpbuse is offline Loyal Member
    Join Date
    Jan 2008
    Location
    San Diego, CA
    Posts
    88
    Rep Power
    7

    Default

    This can't be good.
    > rpm -qa | grep ssh
    rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    There's no reason why ssh would have disappeared from your system after upgrading Zimbra, it works fine on my CentOS 5.2 server:

    Code:
    rpm -qa | grep ssh
    openssh-askpass-4.3p2-26.el5_2.1
    openssh-clients-4.3p2-26.el5_2.1
    openssh-4.3p2-26.el5_2.1
    openssh-server-4.3p2-26.el5_2.1
    Try reinstalling ssh and see if that fixes the problem.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    deepblue is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Stuttgart / Germany
    Posts
    223
    Rep Power
    9

    Default

    Quote Originally Posted by jpbuse View Post
    This can't be good.
    Indeed, this looks very bad. The error is emitted by rpm. It seems that the libelf.so.1 disappeared from your server for some reason. This will probably result in severe problems with the machine (could also explain your ssh problem).

    I doubt that the zimbra upgrade is related to that....

    Regards
    Thomas

  5. #5
    jpbuse is offline Loyal Member
    Join Date
    Jan 2008
    Location
    San Diego, CA
    Posts
    88
    Rep Power
    7

    Default

    Quote Originally Posted by deepblue View Post
    Indeed, this looks very bad. The error is emitted by rpm. It seems that the libelf.so.1 disappeared from your server for some reason. This will probably result in severe problems with the machine (could also explain your ssh problem).

    I doubt that the zimbra upgrade is related to that....

    Regards
    Thomas
    Yeah, 3:15am here in San Diego and still at it. Not sure what went wrong but looks like a issue with the RAID. I can't do anything on the machine. Building a new machine and have the crap machine booted in linux rescue mode so I can at least rsync over the /opt directory to the new server. 200GBs will take some time though. Super fun.

    That said... do I need to actually install the ZCS rpms on the new machine or just copy over the /opt directory, or both? If both, I assume install RPMs first, then copy over /opt?

  6. #6
    deepblue is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Stuttgart / Germany
    Posts
    223
    Rep Power
    9

    Default

    Quote Originally Posted by jpbuse View Post
    That said... do I need to actually install the ZCS rpms on the new machine or just copy over the /opt directory, or both? If both, I assume install RPMs first, then copy over /opt?
    Hi,

    First question: Do you have a recent Backup? If yes, the strategy would be to setup the second machine with the exact same version of ZCS as the original server and then copy the backup to /opt/zimbra/backup. Then you could restore from backup.

    If there is no backup, you could try that:
    At first install the exact same version of ZCS on the new machine, then remove /opt/zimbra (rm -rf /opt/zimbra/). Now you rsync /opt/zimbra from the original machine (the first step just makes sure, your RPM database is up to date on the new system).

    Whatever you do: good luck...

    Regards
    Thomas

  7. #7
    jpbuse is offline Loyal Member
    Join Date
    Jan 2008
    Location
    San Diego, CA
    Posts
    88
    Rep Power
    7

    Default

    I do have a backup but it is 27 days old so no good there... will have to rsync from busted server. I can't believe I didn't notice an issue until last night. I'll post back what the results end up being. Thanks for the input.

  8. #8
    jpbuse is offline Loyal Member
    Join Date
    Jan 2008
    Location
    San Diego, CA
    Posts
    88
    Rep Power
    7

    Default

    Quote Originally Posted by deepblue View Post
    Hi,

    At first install the exact same version of ZCS on the new machine, then remove /opt/zimbra (rm -rf /opt/zimbra/). Now you rsync /opt/zimbra from the original machine (the first step just makes sure, your RPM database is up to date on the new system).
    Does it matter if the version is the same (5.0.15) but one was 32 bit and the new system is 64bit?

  9. #9
    deepblue is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Stuttgart / Germany
    Posts
    223
    Rep Power
    9

    Default

    Quote Originally Posted by jpbuse View Post
    Does it matter if the version is the same (5.0.15) but one was 32 bit and the new system is 64bit?
    Yes! It does matter. The good news is, you can do it anyway. There is this document, that describes pretty much, what you want to do:

    Moving ZCS to Another Server » Zimbra :: Blog

    Regards
    Thomas

  10. #10
    jpbuse is offline Loyal Member
    Join Date
    Jan 2008
    Location
    San Diego, CA
    Posts
    88
    Rep Power
    7

    Default

    Thanks. I can't even seem to get NE installed at this point. Fails at:

    Tue Apr 28 22:13:05 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
    IO::Socket::INET: connect: No route to host at /opt/zimbra/libexec/zmldapinit line 160.
    Tue Apr 28 22:13:45 2009 failed. (28928)
    Tue Apr 28 22:13:45 2009

    ERROR

    Tue Apr 28 22:13:45 2009

    Configuration failed

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 02-12-2008, 11:55 AM
  2. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  3. SMTP SSL Problem
    By nexus in forum Installation
    Replies: 8
    Last Post: 03-15-2007, 07:26 AM
  4. Replies: 1
    Last Post: 06-16-2006, 08:52 PM
  5. Installation on FC3 under Xen
    By andreground in forum Installation
    Replies: 9
    Last Post: 11-14-2005, 10:29 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
  •