Server :: Yum Broken - While The Update Was In Progress My SSH Connection Got Disconnected

Nov 5, 2010

I logged on to one of my servers and ran a yum update, while the update was in progress my SSH connection got disconnected.

I logged in through a new connection when connectivity was restored and looked at running processes. It looked like yum was hung so I killed it (big mistake and one I won't repeat).

Now, when I try and run yum, I get the following:

Quote:

yum update: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:

Please install a package which provides this module, or verify that the module is installed correctly.

It's possible that the above module doesn't match the current version of Python, which is:

If you cannot solve this problem yourself, please go to the yum faq at:[url]

I have tried hunting around for the correct version of libelf without much luck.

Is there anything I can do to get yum working again?

The server is running Centos 5.2

View 2 Replies


ADVERTISEMENT

OpenSUSE :: Update The System The Progress Stops In The Update Window And No Updates Appear

Apr 27, 2011

I have a problem in updating opensuse 11.4, when I try to update the system the progress stops in the update window, and no updates appear

View 9 Replies View Related

Programming :: TCP Server Not Detecting Broken Connection?

Jul 4, 2011

I am attempting to write a server application in C on a linux machine which listens for TCP connections and transfers data. I am trying to detecton the server side when the connection is broken. The closest thing that I got to work was looking at the return value from sending data. For example the server�s job is to mainly read data from the socket but to test if the connection is still up the server sends data periodically back to the client. I look at the return value from send() to determine if the connection is broken e.g.

Code:int ret = send(session->clientSocket, &data[sentCnt], count - sentCnt, MSG_NOSIGNAL)I found that this does not immediately return an error when the connection is broken. The reason for this is because even though the connection is broken send() is still successful because it is able to put it on the network buffer. To fix the issue I did the following things;

Code:
//set send timeout
struct timeval timeout;

[code]...

View 3 Replies View Related

Server :: Frequent Broken Pipes From SSH Connection After Power Loss?

Apr 19, 2011

I have three machines networked to my desktop which run a bunch of simulations in parallel. As they're running, I connect to them via SSH and screen to keep an eye on the runs and look at the output. They stay usually connected for days at a time. The SSH servers and client are running Fedora 14. Yesterday one of my coworkers accidentally yanked the plug on one of the servers while it was running. When I powered it up again, I started getting some odd connection problems. I couldn't connect to it via SSH initially because I got the Remote Host Identification Changed (RSA host key changed) error. I deleted the key in .ssh/known_hosts, which allowed me to connect, but it denied my password. I then logged into that machine locally, restarted sshd, and removed .ssh/known_hosts again. Now I can log in via SSH without problems. However, the connection dies with a "Write failed: Broken pipe" error every few minutes (as opposed to the other two machines, which stay connected indefinitely).

So my questions are:
1.) why would a power loss affect the behavior of the SSH server?
2.) why do I keep getting broken pipes now?

View 4 Replies View Related

Debian Configuration :: Network Connection Has Been Disconnected

Jul 5, 2011

How to enable wifi? I downloaded and installed Debian 6.00 and as I couldn't get online with my Tenda USB Wireless Adapter. I downloaded Debian 6.00 again, this time the CD Net Install version with Firmware included. However, the added firmware version of Debian does not find my wireless either. My wireless adopter is shown as Bus 001 Device 003: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter. There is a Network Icon in the Panel which when clicked shows "Create New Wireless Network". I have put in my ISP related network and my password and rebooted, but all I get is the message on my desktop:

"The Network Connection has been disconnected."

That isn't very polite, is it? Who has disconnected it and why remains a mystery to everyone except the culprit(s). I think I must have missed a basic step in the Wifi Enabling process. I checked the Use Permissions and everything is fine there, as User I have permissions to use modems and do networking and so forth. Also I should like to try "modprobe" but I see the package isn't in Synaptic Package Manager.

View 7 Replies View Related

Ubuntu :: Internet Connection Gets Disconnected Within 2-3 Minutes / Fix It?

Jan 28, 2009

I'm using Xubuntu and i have set up my DSL connection manually. I get disconnected from the Internet within 2-3 minutes. I have to again select eth0 from the network icon in the taskbar. it connects well but gets disconnected again and again. I don't face such problem when i use Win XP.
Any idea what might have gone wrong ?

View 4 Replies View Related

General :: Can Cancel Ubuntu Update-Manager In Progress?

Jul 1, 2010

I am using Ubuntu 9.10 and am bothered by the sometimes pretty long update progress. sometimes i wish to abort the update-manager, apt-get or synaptics because i need to go, but i think it might break anything. could you advice me how to do it safely, even if some cleaning up is required afterwards?I was just wondering because certainly there is a way to preserve the pre-update condition, e.g. when installing a new kernel. but my guess is, that the installation is postponed to restart then.

View 1 Replies View Related

Ubuntu :: Natty Update Manager GUI: Not Showing Progress

May 18, 2011

When I run the update manager in XUbuntu (natty/11:04) it does not show its progress while installing the upgrades.

After clicking on "install updates" and authenticating, there used to be a popup window with a progress bar and an option to show "details" but these appear to have disappeared in the last few days.

I don't recall switching these features off and there are no settings to restore them, available within the GUI. Is there another way of restoring this functionality?

If not, is a reinstall the way to go? If so what package(s) need re-installing? And in-case it is a configuration script, what files in my home directory need deleting to ensure a clean reinstall.

View 3 Replies View Related

Fedora Networking :: F13 - SSHD Disconnected (Connection Closed)

Aug 8, 2010

I have installed Fedora 13 and updated it. I simply cant use ssh to connect to this Fedora, not even locally. I have enabled port22 in firewall settings and nothing. Tried to disable firewall completely and nothing. I have disabled SELinux (not sure if it has something to do with this, but... ) and nothing. Entered "ALL: ALL" in /etc/hosts.allow and still nothing. Dont know what to do anymore.

Here is what happens when I try to ssh to this machine, even from it:
[flibio@surf ~]$ ssh localhost
warning: Need basic cursor movement capability, using vt100
flibio's password:
Authentication successful.
Disconnected; connection lost (Connection closed.).
Connection to localhost closed.
[flibio@surf ~]$

Looking into Services > sshd and it says "This service is dead."
So I tried:
[root@surf etc]# service sshd restart
Stopping sshd: [FAILED]
Starting sshd: : OpenSSH_5.4p1 on
: FATAL: Creating listener failed: port 22 probably already in use! .....

And still I get disconnected whenever I try to ssh to this machine from anywhere. Services says that sshd is allways dead, even restarting it but I can only restart it by doing a pkill sshd before.

View 7 Replies View Related

Ubuntu Networking :: 9.10 - Multiple Wireless Connection - Disconnected

Feb 16, 2010

Since I have started to use Ubuntu 9.10, I have had multiple wireless connection troubles. First of all, it says the signal is 2 bars, when in fact my router is right next to me as of right now. Second of all, when I try to connect to it, it asks for my password 3 times, then says disconnected. I'm on a hardwire right now, it's across my keyboard, and I'm in a tangled mess.

View 2 Replies View Related

Ubuntu :: Power Surge Disconnected Internet Connection

Jul 10, 2010

Our area was hit by a power surge and I cannot get the internet connection to work? What can I do. I'm using an AT&T modem which is connected to a netgear router.

View 4 Replies View Related

General :: WiFi Connection Getting Disconnected - Icon Blinking

May 16, 2011

The wireless connection gets disconnected and when I try to reconnect it, it is not possible, the wireless icon keeps blinking and last for ever and never gets connected again, the only solution is to restart the computer. do I need to do a specific task to stop this error? operating system ubuntu 10.10, I have a hp pavilion dv600, i recently had some issues with the wireless driver, now I have it and it works fine but now the problem is that the wireless connection gets diconnected and when trying to reconect it, well it is not possible. please advise.

View 1 Replies View Related

Ubuntu Networking :: BCM43xx Wifi Connection Randomly Disconnected In 9.10

Jan 25, 2010

I have an Asus laptop with a BCM4318 wifi chipset. result of lspsci command about wifi cards:

Code:
00:09.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02) For some reason, I often get disconnected. Once it's disconnected, I cannot connect anymore and I need to reboot my laptop in order to get the connection back! I didn't have this problem when I was on Ubuntu 8.04. I checked in /var/log/syslog and I found this when the network is disconnected:

[Code].....

View 9 Replies View Related

Ubuntu Networking :: Script To Monitor Connection - VPN Client Disconnected

Jan 22, 2011

My promlem is that I wrote a few simple script to monitor the network connection as follows:

script 1 "netmonitor.sh"
#!/bin/bash
# /usr/local/bin/netmonitor.sh
HOST=www.google.hu
ping -c 1 "$HOST" > /dev/null 2>&1 .....

So it's run every 5 minutes, and it works well, when it sees host is down, it restart the connection, BUT as the log shows below, about a half an hour after using the connection (for example the ssh through the internet or the vpn clients disconnected) , br0 (probably) goes down or something and the script needs always restarting the connection...

The log:
Fri Jan 21 14:45:01 CET 2011 Network is ready! .....
Fri Jan 21 15:55:41 CET 2011 Network seems down, rechecking...
Fri Jan 21 15:56:21 CET 2011 Network is down, restarting interface br0!
Fri Jan 21 15:56:48 CET 2011 Network is ready after interface br0 restart! .....

Then if I use again, its ready... Is it possible, that if system don't use the connection after getting the DHCP lease, it close the connection automaticly? Anyway it works ok, but I don't want to owerwrite my router's flash in every 5 seconds with te new lease, my script probably defeat it soon if I don't do anything.

View 3 Replies View Related

Ubuntu Installation :: Network Disconnected After Update?

Jul 23, 2010

I installed 10.04 yesterday. The computer had an MS OS on it but I chose to format the entire HD for Ubuntu. The install seemed to go fine. When logged in there were updates available, and I installed all of them. After a reboot I tried getting on the internet and found that my network was 'disconnected'. I've checked the cabling, and that the LAN is still enabled in the BIOS. I assume the network had to have been functioning to do the original update. How do I figure out what changed. I've been reading the network section of a Linux book and came up with a little data that might help. My hardware is listed after the host file.

$ ifconfig
eth0 Link encap:Ethernet HWaddr e0:cb:4c:b6:6b:d6
UP BROADCAST MULTICAST MTU:1500 Metric:1

[code]....

View 4 Replies View Related

Ubuntu Networking :: BSNL - ADSL Connection Not Stable / Disconnected After 3 Or 4 Minutes?

Apr 19, 2010

I am new ubuntu user . I installed - ubuntu desktop v9.10 32bit. I have BSNL (Indian Telephone service) broadband connection. In Windows 7, BSNL broadband connection is working fine.

Now in ububtu I try to establish ADSL connection using following command: "sudo pppoeconf". It open a console based wizard and I'm able to create the connection. But this connection is sustain hardly 4~3 minute, after that it is disconnected. So, Again i have go through the same process again and again.

View 5 Replies View Related

Ubuntu Networking :: Ethernet Connection Does Not Come Back If Cable Had Been Manually Disconnected

Jan 28, 2011

OS: Maverick Ethernet driver: tested with sky2 an sk98lin This has been driving me crazy for the last few months: if I unplug ethernet cable while my laptop is on reconnecting it sometimes does not bring the connection back.

And once ethernet is gone nothing that I try seems to consistently bring it back. Rebooting, disabling/enabling the driver, disabling/enabling NIC in BIOS, changing driver from sky2 to sk98lin, deleting connection from Network Manager, resetting the router - nothing helps. It seems to come back randomly a few weeks later. Once I used live Ubuntu on a USB stick and ethernet came back not only on a live distro but then when I rebooted also on my main OS. But when I tried that trick next time ethernet was missing in the live distro as well.

Also once I was able to revive ethernet but compiling sk98lin driver, blacklisting sky2 and rebooting. Of course next time doing the same routine did not help. The thing is - ethernet works fine with either sky2 or sk98lin and I can unplug the cable and plug it back in most of the time without any issues. But then every so often - bang and I'm stuck with only wireless until ethernet suddenly starts working again.

View 1 Replies View Related

Ubuntu Networking :: Wireless Connection - Internet Begins To Slowdown Then Get Disconnected

Feb 9, 2011

This is not the common problem that's on the stickied thread. I'm able to connect to my wireless network perfectly. I switch between Windows to game and Linux for desktop, coding, and hosting, so I can tell it has something to do with ubuntu 10.10. When I'm connected to my wireless network, at random times, my internet begins to slowdown, then I get disconnected from the internet, but the taskbar says I'm connected. This problem only happens in ubuntu and not Windows for some strange reason.

The applications that are usually open do not cause it, because it still does it even though I have little applications open (Google Chrome, gedit). When I'm on Teamspeak 3, I notice my ping rises to the 1000s randomly, and I get disconnected. Once again that only happens on Ubuntu.

View 6 Replies View Related

Ubuntu Networking :: Sharing Connection - Get "connection Established" *pause* "disconnected"?

Jul 26, 2010

my netbook shares it's wireless connection to my desktop. i've done this through the gui (edit connections > eth0 > ipv4 settings > shared to others) and it has worked for the last i don't know how many months.recently it had become a bit touchy with regards to how it was set up. it didn't work unless the netbook was already booted and wired in at the time of booting the desktop.now however it's gotten even worse and all i get when i connect them together is

"connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" and so on.

View 2 Replies View Related

Ubuntu Installation :: Update Manager Not Restart 10.4 Update After Broken Download

May 2, 2010

I started the upgrade to 10.4 from 9.10 through the update manager. It started the update to 10.4. After downloading almost 95% of the update, it gave an error message of "could not download certain components. downloaded files will not be erased" and stopped the update. I restarted the PC, and started the update manager again. But now it does not show any option of update to 10.4. how do I continue or resume the update process? I just started using ubuntu about 15 days back. So, I am relatively new to this.

View 3 Replies View Related

CentOS 5 Server :: Ssh Connection - Was Working - After Update - Stopped

Oct 1, 2010

I have openssh running it was working last week then an update was done and now ssh does not work. removed the updates and the problem still exists.

Its CentOS 5.5 with all the latest updates for 64 bit!

Issue if as follows:

Connect locally to the loop back ip or remote ip the connection is disconnect right after the correct password is entered.

Here are copies of the log, sshd config.

sshd config:

View 7 Replies View Related

Ubuntu Installation :: Update Manager Broken - Won't Update Anything

Nov 30, 2010

im on mint 10 and when I run Update Manager i get this

Code:

W: GPG error: http://archive.canonical.com maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com maverick-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5

[code]....

View 9 Replies View Related

Ubuntu One :: Ran Update Manager - Broken After Update

Mar 9, 2010

Jaunty Jack - 9.04. Ran update manager last night and ubuntu-one client failed as part of the upgrade. At a loss as to figure out how to fix this. I have removed the ubuntuone-gnome-client and re-installed from the website but now luck.

View 9 Replies View Related

OpenSUSE Wireless :: Knetwork Manager Wireless Connection Gets Disconnected And Ask For Password And Again It Connects

Aug 5, 2010

I am getting trouble with knetwork manager. I created a new connection by scanning and connecting using knetwork manager. But every time connection gets disconnected and ask for password and again it connects.

View 8 Replies View Related

Networking :: Wireless Error "the Network Connection Has Been Disconnected"?

Apr 6, 2009

This computer is using a Linksys WMP54G network adapter, and running Linux Ubuntu 8.10 with all of the latest updates. It was working fine for a couple months, then one day the internet quit working on it. I've tried playing with all of the settings, and can't get it to connect to the network. The windows computers in the house work fine. I also hooked my Linksys WUSB54GS USB network adapter and that worked right away. When I put the WMP54G back in, it will detect the networks but it won't connect. It gives the message, "the network connection has been disconnected", right away. Can someone please help with this. I work doing tech support for a small ISP and am excellent troubleshooting Windows but Linux is another story.

View 3 Replies View Related

CentOS 5 Server :: VM Clients Keep Getting Disconnected?

Apr 4, 2011

I have a server (called NAS) that shares out /public, and I also have this same server running KVM with some VM's. I am setting up the first VM now, and one of the things it does is download torrents onto the share. I am connecting it via "mount -t smbfs //nas/public /mnt/nas" from the VM on the host and it seems to work fine. However whenever I add a torrent to the queue on the VM to download, all downloads stop and seem to be disconnected. I can restart them after a few seconds, but they will stop after a few minutes with another disconnect error. I have the network interface bridged, so I thought it was talking directly to the host.

The appropriate lines in my smb.conf:

security = share
[public]
comment = Public Stuff
path = /public

[Code]....

View 12 Replies View Related

General :: Lpq Printer 'sdst@other.domain' - Cannot Open Connection - Connection Timed Out Make Sure LPD Server Is Running On The Server

Mar 23, 2011

Linux printing appeared to be working fine up until yesterday. Today typing lpq gives the following: lpq Printer 'sdst@other.domain' - cannot open connection - Connection timed out Make sure LPD server is running on the server

The /etc/cups/printers.conf file is properly set, the printers appear in localhost:631 and they are printing test pages. However, all command line print commands seem to be trying to print to sdst@other.domain I don't know why printers.conf is being ignored and why and how sdst@other.domain was added. Seems like it might have been auto-discovered?

# dit: sdst@other.domain was mentioned in /usr/local/etc/lpd.conf I'm not sure why lpd.conf is being used instead of /etc/cups/printers.conf

View 1 Replies View Related

OpenSUSE Network :: Internet Connection Is Broken

Aug 10, 2010

Dell Precision Workstation running Suse 11.1 & KDE 3.5 as default O/S, with Suse 11.3 KDE4, Ubuntu 10.04 & Win XP Pro as secondary O/S's.Medion PC with Win XP Pro for those windows apps I have to use (against better judgement but because my clients require it!)

On Friday 6th I was having a play with Apache2 running on the Dell Precision on Suse 11.1. I have had a local development webserver for some time to test websites before uploading them a host server. I had wanted to test the DHCP & DNS functions for some time, and this seemed like a good opportunity. But I ran into some problems and decided to un-install the DHCP & DNS. I intended to install a VM and re-install the Apache server on it, to make it easier to troubleshoot.Unfortunately my internet connection on that box is now broken, but only with the Suse 11.1 install. The other 3 O/S's all work fine, and the rest of my machines are all good. In fact the Suse 11.1 install can communicate across the LAN, and print to both the network printers, it just won't connect to the Internet. Turning off the firewall doesn't do anything, and reconfiguring the NIC in YaST doesn't help.

I suspect that there is a config file somewhere with faulty info, but I can't find it. If searched everything that was changed on that date.I have been searching this forum, LinuxQuestions forums, and Googling for 2 days with no real success. I found some interesting threads which I thought would help but so far no luck. I can ping all the interfaces on my LAN, but anything outside is blocked. I thought it might be in the BT HomeHub but that works fine and all the boxes can connect except with the Precision running 11.1.

View 4 Replies View Related

General :: Resume RSYNC Over SSH After Broken Connection?

Jun 27, 2011

I have to transfer large amounts of data (>80 GB) over ssh using rsync. Everything is working fine, but the DSL connection where the backup data is sent from will drop once every 24h for up to 3 minutes (switching providers is not an option).

How do I:

Automatically restart the transfer when the connection is back up? Make sure there are not by accident two rsync commands running at the same time?

View 1 Replies View Related

Ubuntu :: 10.10 - Broken Wired Connection After Reboot

Nov 27, 2010

I just installed 10.10 on a desktop machine, dual boot with Win XP. Everything went well, it connected and did all the system updates etc. Then one time I rebooted and it wouldn't connect. I've tried rebooting again several times, tried unplugging the modem/router from the power and from the computer then reconnecting everything and starting it up again, no joy. I booted from the Live CD and it connects without any problem, likewise from Win XP. My Network Connections shows 'Auto eth0' and below is the ifconfig output.

Code:
jim@ubuntu:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:13:8f:b8:ad:fc
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:42 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved