LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   sshd not starting properly after upgrade to Ubuntu 12.04 (https://www.linuxquestions.org/questions/linux-server-73/sshd-not-starting-properly-after-upgrade-to-ubuntu-12-04-a-946203/)

TheMadMoose 05-21-2012 04:33 PM

sshd not starting properly after upgrade to Ubuntu 12.04
 
Ok its a long story but I basically exited the upgrade from 11.10 to 12.04 Ubuntu server.

After running "dpkg --configure -a" to try and get things in order I still had no ssh working.

Code:

root@ks389327:~# /usr/sbin/sshd -d
OpenSSL version mismatch. Built against 1000005f, you have 1000100f

This is the error I get when trying to run sshd, (if I use "start sshd" it tells me a process id that doesnt exist)

I have tried updating openssl and openssh using the latest releases and compiling them, but this doesnt seem to have an effect, nor does uninstalling the package seem to actually uninstall even with --purge?

Im actually running all this off a terminal opened in a vnc window, as no ssh.

Any suggestions?

anomie 05-21-2012 05:16 PM

You're at a stage now where some programs and their libraries appear to be out of sync.

Would it be possible to restart (and then finish) the upgrade process? Since a piecemeal approach is not working, that's what I would do.

Failing that, do you have a system backup from before the upgrade attempt? That is plan B. If not, this suggestion won't help you today, but it will help you in the future. I do a dump(8) of all filesystems before any upgrade or significant package update.

TheMadMoose 05-21-2012 05:32 PM

I did "apt-get dist-upgrade" which installed 3 unrelated things unfortunately the problem persists, I have installed "dropbear" as an alternative to "openssh" which seems to work fine, and I unfortunately have no complete backup.

jsaravana87 05-23-2012 08:46 AM

Hi
Remove off older version of openssl.

Look after these post

http://www.linuxquestions.org/questi...90802f-941932/

TheMadMoose 05-24-2012 11:06 AM

Will update soon but :eek: apt-get remove -f openssl just removed about 100 packages including openoffice and literally lorry loads of other ones!

I had to do a reinstall, that system was so mucked up.


All times are GMT -5. The time now is 03:01 AM.