ssh connection refused post yum interrupted update

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat ssh connection refused post yum interrupted update
# 1  
Old 04-03-2010
ssh connection refused post yum interrupted update

an update of RHEL 5.1 via yum was interrupted after installing the following packages.

Code:
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, we have 1 open ssh session to the system and can go to the datacenter to access it locally. Any suggestions or help is GREATLY appreciated. Our linux admin is out for medical reasons and we have limited resources.

Last edited by pludi; 04-05-2010 at 08:05 AM.. Reason: code tags, please...
# 2  
Old 04-04-2010
Does yum-complete-transaction work?
# 3  
Old 04-05-2010
MySQL

hi

this is maybe a bug..

i think a lot of idea with this problem..
you try manul update or manul downgrade with --force option and retry update..but this process can be dangereous..
Code:
 
rpm -Uvh --force or -Fvh glibc....

or you can try yum option but you must sure from this option about you want it.
Code:
 
--skip-broken  # resolve problem causing remove packages

or
Code:
rpm --noscripts

## but this can cause a problem and it is neccessary manuel what is postscript's jobs (for ex remove old setup directorys...and some chechk..i m not sure what is process list..maybe you can see glibc source codes..)
or
you can update glibc by manuel install another new version..

Regard Yucel Gemici

Last edited by ygemici; 04-05-2010 at 11:48 AM..
# 4  
Old 04-06-2010
ssh connection refused - port yum update - resolved

we had an open ssh session on the system where the original yup update failed and found that ssh was not running

/etc/init.d/ssh restart solved the problem.

We were able to roll back all the packages via rpm to the originals using rpm -q to identify them and then rpm -e to remove the unwanted versions.

Do you see any issues with this method given the yum process that failed? Do I need to check anything prior to rebooting the system in the future?
# 5  
Old 04-12-2010
Updating a thousand packages remotely maybe isn't the smartest thing to do.

But it should work.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. Solaris

Ssh Connection refused port 22

Hello everybody, I'm a begginer using Solaris so I really need your help. I'm trying to copy a file using scp from a Red Hat Linux 6 server to an Oracle Solaris 11 machine and all i get is an error "" ssh: connection to host <HOST_IP> port 22: Connection refused lost connection. Thanks for... (6 Replies)
Discussion started by: limaco82
6 Replies

3. Shell Programming and Scripting

FTP connection refused

Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP . But i get error as "ftp: connect: Connection refused Not connected. Not connected." Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies

4. Debian

ftp connection refused

I have two computers running Debian 6.0 and one running Solaris 2.6 on a private network. The Debian computers can ftp to the Solaris computer but if a Debian computer is the destination the ftp connection is refused. I assume this is some security feature of Debian. What can I do to allow... (2 Replies)
Discussion started by: snorkack59
2 Replies

5. Shell Programming and Scripting

ssh/sftp connection refused

Hi all, I logged on to a Unix server and am trying to connect a remote Windows server (Windows NT) via SSH/SFTP. However I always got the following error, sftp username@host_server (or ssh username@host_server) ssh: connect to host host_server port 22: Connection refused Any advise... (1 Reply)
Discussion started by: isaacniu
1 Replies

6. UNIX and Linux Applications

PSQLException: Connection refused

I dont' what happened with my servers (test servers only) but I just noticed that suddenly I cannot up the domain anymore (Sun Java System Application Server 9.1_01). a. server.log org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the... (1 Reply)
Discussion started by: lhareigh890
1 Replies

7. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

8. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

9. IP Networking

Connection refused

Hi there, Anything will help. I have running server on computer and want to connect from some clients. Server: memset(&hints, 0, sizeof(hints)); hints.ai_family = domain; hints.ai_socktype = SOCK_STREAM; error = getaddrinfo("localhost", "8300", &hints, &res0); if (error) { ... (1 Reply)
Discussion started by: Dudu1984
1 Replies

10. SCO

telnet connection refused

I installed Openserver 5.0.7 and I cannot telnet to the localhost and I can't telnet from my old SCO 3.2.42 to the new SCO machine but I can ping the new machine and it will telnet to the old machine. (2 Replies)
Discussion started by: printrick
2 Replies
Login or Register to Ask a Question