Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-2009, 05:04 PM
Loyal Member
 
Posts: 88
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.
Reply With Quote
  #2 (permalink)  
Old 04-28-2009, 05:09 PM
Loyal Member
 
Posts: 88
Default

This can't be good.
Quote:
> rpm -qa | grep ssh
rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory
Reply With Quote
  #3 (permalink)  
Old 04-29-2009, 01:41 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
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
Reply With Quote
  #4 (permalink)  
Old 04-29-2009, 02:50 AM
Partner (VAR/HSP)
 
Posts: 200
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
Reply With Quote
  #5 (permalink)  
Old 04-29-2009, 04:20 AM
Loyal Member
 
Posts: 88
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?
Reply With Quote
  #6 (permalink)  
Old 04-29-2009, 04:37 AM
Partner (VAR/HSP)
 
Posts: 200
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
Reply With Quote
  #7 (permalink)  
Old 04-29-2009, 04:54 AM
Loyal Member
 
Posts: 88
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.
Reply With Quote
  #8 (permalink)  
Old 04-29-2009, 05:09 AM
Loyal Member
 
Posts: 88
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?
Reply With Quote
  #9 (permalink)  
Old 04-29-2009, 05:23 AM
Partner (VAR/HSP)
 
Posts: 200
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
Reply With Quote
  #10 (permalink)  
Old 04-29-2009, 05:28 AM
Loyal Member
 
Posts: 88
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.