[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

ssh connection refused - port yum update

Posted on 2010-04-03
7
Medium Priority
?
589 Views
Last Modified: 2013-12-06
an update of RHEL 5.1 via yum was interrupted after installing the following packages.

Running Transaction
  Updating  : libgcc                       ##################### [  1/951]
  Updating  : setup                        ##################### [  2/951]
  Updating  : filesystem                   ##################### [  3/951]
  Updating  : kernel-headers               ##################### [  4/951]
  Updating  : pciutils-devel               ##################### [  5/951]
  Updating  : busybox                      ##################### [  6/951]
  Updating  : xkeyboard-config             ##################### [  7/951]
  Updating  : tzdata                       ##################### [  8/951]
  Updating  : glibc-common                 ##################### [  9/951]
  Updating  : glibc                        ##################### [ 10/951]
error: %post(glibc-2.5-49.i686) scriptlet failed, signal 2

We rolled back the packages to their original versions but cannot connect any new ssh sessions.

We need access to this box remotely ASAP.   Any suggestions or help is GREATLY appreciated.  Our linux admin is out for medical reasons and we have limited resources.

Thank you.
0
Comment
Question by:egrotjahn
  • 4
  • 3
7 Comments
 
LVL 3

Accepted Solution

by:
deepak_iq earned 2000 total points
ID: 29571865
Do you have the console of the server?If yes,can you login and check :
#/etc/init.d/sshd status

It should be running.

If not,
# /etc/init.d/sshd restart

Similarly do,
#/etc/init.d/xinetd status
If not running,
# /etc/init.d/xinetd restart

Then try :
#ssh -l <userid> 0
(If it asks for password, enter the password for the userid and it should then login)
After this ,you can try to do ssh to do this system from outside also.

If still errors,kindly let me know.
0
 

Author Comment

by:egrotjahn
ID: 29572562
i will be onsite in about an hour to do this.   i will post as soon as i have more detail for you.   thank you.
0
 
LVL 3

Expert Comment

by:deepak_iq
ID: 29573139
Meanwhile other tests you can do in addition to the above:

Is system pinging other system .ie. whether on LAN or not:

#ping <any host>

if it is pinging then fine,you can try to ssh it

There can be further so many causes for not getting ssh connectivity. Once reaching the site, we can troubleshoot further.Hope that won't be reqd..
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:egrotjahn
ID: 29575190
turns out i will not be able to get into the building until later today.   i will post when i have access.  Thank you for you help.  I will post as soon as i have additional information.
0
 
LVL 3

Expert Comment

by:deepak_iq
ID: 29684375
Any updates ?
0
 

Author Closing Comment

by:egrotjahn
ID: 31711022
we were able to resolve this via an open ssh session on another workstation - where the yup update was originally interrupted.  
# /etc/init.d/sshd restart
and we were able to connect.

Thank you.
0
 
LVL 3

Expert Comment

by:deepak_iq
ID: 29844023
Hi,
Felt nice that your problem was resolved, Hoping to be in touch in future too.
Thanks,
Deepak
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…
Suggested Courses

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question