Ubuntu Servers :: Periodic Ssh Connection And Login Timeout/failures

Jul 20, 2010

A few weeks ago, I upgraded one of our machines to the 64-bit server edition of 10.04. All went reasonably well (after some hoops to get it to properly recognize/mount the RAID + LVM partitions), but one of the things that confounded the installation process was login timeouts. From doing some research, I thought I'd gotten it solved by removing the checks for updated packages on login, but I either didn't get it done, or there's something else going on here.The issue is that the machine is headless and is actually a file & application server, but I do need to connect to it via ssh on a regular basis. However, the issue isn't related to SSH, as it also happens when I try and log in through the physical console too.

What happens is that every so often, login attempts will time out for a period of minutes, then they will suddenly start working again, instantly giving me my expected shell. Again, I suspect it is something with the way the motd junk is being generated, but having a server that prevents you from logging in is totally unacceptable. I've no idea how to go about debugging what happens because I don't see anything useful in any of the logs, and I don't have a way to trace the login process from outside. I'd love to hear what the problem actually is and how to prevent this from happening.

View 3 Replies


ADVERTISEMENT

OpenSUSE Network :: Periodic Interruptions In Internet Connection

Jun 13, 2011

From version 11.3 to 11.4 now often occurs after a problem has already become annoying! My computer connects to internet through a router and sometimes after about 4, 5 hours going through the browser so I cannot reach Google or someone else's server Skype only stays connected!

This is not a hardware problem occurs because even after changing the router and the computer problem remains! When this happens the router has access to the Internet and other computer via wifi can connect without a problem! How to figure out where the problem comes? I attach the output of dmesg:

Code:
[40285.897112] SFW2-INext-ACC-TCP IN=eth0 OUT= MAC=1c:6f:65:81:21:73:00:1e:65:90:c9:a6:08:00 SRC=192.168.1.102 DST=192.168.1.100 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=57753 DF PROTO=TCP SPT=44432 DPT=22 WINDOW=4380 RES=0x00 SYN URGP=0 OPT (020405B40402080A001F96780000000001030307)

I checked this code in google and found that a similar prolem had people from the version 10.3 but I do not remember then I had this problem occur examples of 11.3.

View 9 Replies View Related

Security :: Lock User Accounts After Too Many Login Failures?

Jun 8, 2010

I am trying to disable accounts after 5 unsuccessful login attempts. I am following the guidelines in this article:

[URL]

This is on an Oracle Enterprise 5.4 box, which is essentially RHEL 5.4 Here is what my /etc/pam.d/system-auth looks like:

--------
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.

[code]....

Unfortunately, the account does not seem to be locked or disabled. As root, runninng 'su test2 -c <some-command>' always sucessfully runs <some-command>, and leaves the failed attempt count at 6. /etc/shadow does not have an * or ! anywhere in the encrypted password for the 'test1' user.

What am I doing wrong? I thought that with the max attempts set to 0 in faillog, that the deny= parameter would be used. I thought I should be using su <user> -c <command> from the root account to test if the disable feature is working.

View 1 Replies View Related

OpenSUSE Network :: Error - Connection Timeout - All Wired Connection Over A Switch?

Feb 21, 2011

im on node1 when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2
but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss

ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes -all wired connection over a switch

View 6 Replies View Related

Fedora Servers :: Idm-console Login Connection Reset

Jan 23, 2009

I am trying to get fedora-ds running on a machine. I can't log onto the console at all. If I use the command line below the log shows multiple instances on the following lines. fedora-idm-console -D 9 -x nologo

[Code]......

View 1 Replies View Related

Ubuntu Networking :: Connection Timeout On Desktop

May 20, 2010

Something is wrong with the networking on this Ubuntu system. It has been assigned the LAN ip address 10.1.10.10 From another Ubuntu desktop, I can: ssh myself@10.1.10.10 ( from 10.1.10.143 ) and I can login without any problems. I can ping 10.1.10.10 ( from 10.1.10.143 )

[code]...

View 1 Replies View Related

Ubuntu Networking :: PPTP Connection Failing With LCP Timeout

Mar 6, 2010

I'm using Kubuntu 9.10, my pppd version is 2.4.5 and pptp is 1.7.2 I'm trying to connect to the iPredator VPN service, but I keep running into problems with LCP. I've tried using knetworkmanager, nm-applet, kvpnc and plain old text-based configuration to no avail. Here's a snippet of pppd's output:

[Code].....

(I've got "defaultroute" in my /etc/ppp/peers/ipred config file.) Any ideas what could be causing this? Could it even be my router? It claims to support PPTP, but considering it claims a lot of other things which aren't true, I wouldn't be surprised if it was the culprit.

View 4 Replies View Related

Debian :: Connection Timeout Too Often In Jessie

Sep 6, 2015

I am running debian 8 stable version (which I starting to think not that "Stable") and when i surf web pages its ok except the fact that I am too often get connection timeouts then i need to press "enter" in the ur box to try again and then its maybe work if not I am going to press another "enter" on the url box until i have connection to the site its important to say its not a isp or hardware problem. I run the web with no problems in that other operating system which I am not getting back to.....

View 14 Replies View Related

Networking :: Ssh Connection Timeout When Trying To Go Through Router

May 6, 2011

I am trying to set up an ssh server on my Debian squeeze box so that I can access it remotely when I'm not at home. I connect to the internet through an at&t 2wire modem/router. First off, I *can* ssh into the machine from inside the local network, e.g.

[Code]...

Nmap done: 1 IP address (1 host up) scanned in 2.12 seconds Playing around with Nmap, I also found that it only sees port 50001 as open.

View 5 Replies View Related

Server :: Samba Connection Timeout

Sep 2, 2010

I am using samba 3.0 on rhel-4, it works fine i am getting the share folder in linux and windows xp as well with username and password for first time only then for next time it will not ask me the username and password for samba user. Actually i want to fix idle-timeout and password authentication for user every time the user want to access the samba share folder.

View 2 Replies View Related

Fedora :: VNC Server - Get Timeout Or Connection Refused

Jan 30, 2011

I have a box running Fedora 14 upstairs and I've been trying to get it to run VNC server, unsuccessfully. I've RTFM, and followed the instructions step-by-step, but it still won't run. I'm getting no error messages. But when I try to connect from either a Window or Mac client, it either get a timeout or connection refused. I've read and tried all the troubleshooting; been working on this for about 12 hours now. Is there something major that I could be overlooking?

View 14 Replies View Related

Networking :: MacOSX To RHEL5 / 6 Ssh Connection Timeout

Apr 1, 2011

I have a user using Mac OSX and ssh-ing to a couple of Redhat servers, one running RHEL5 and the other RHEL6. The user's connection seems to be timing out after 60 minutes or so of inactivity. The user is on the same subnet as the servers. Both servers have the same sshd_config files with the following entries with regards to timeout:

TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 99999

In a nutshell, his office Mac keeps getting dropped off both machines. Other machines, including the Mac he logs in with from home doesn't get timed out and keep the connection open. The log files are unremarkable and the switch port shows no errors

View 6 Replies View Related

Server :: Ssh Malfunctioning - Error - Connection Timeout

Feb 21, 2011

type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2 but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes

View 4 Replies View Related

Server :: UShare 1.1a With Fedora 12 - Connection Timeout

Jan 21, 2010

I am trying to stream video from my Fedora 12 server to my XBox 360 via uShare 1.1a. I have opened the port I have specified in the ushare.conf file and in verbose mode, uShare sees every video I want to share. The XBox sees the uShare under "Computer", but I get a connection timeout when trying to connect to it. /var/log/messages shows no errors with uShare. I can connect to the uShare web interface without any problems. Most people seem to be using uShare with Ubuntu,

View 4 Replies View Related

Fedora :: Nm-applet Timeout - Restore The Connection Indefinitely

Sep 15, 2010

nm-applet timeout. I connect to the internet via wifi access. I have this problem that whenever there is a powercut, my wifi router switches off and then nm-applet tries to connect and then after sometime times out i.e. nm-applet gives up on trying to restore the connection.

I want nm-applet to keep trying to restore the connection indefinitely because if the electricity is back lets say after an hour then it should immediately connect without manual intervention.

I did google around trying to search for the configuration parameters but was not able to do so.

View 2 Replies View Related

CentOS 5 :: NOMACHINE: NX Client Error: 'connection Timeout'?

Dec 4, 2008

i was able to connect the first time following the instructions here: [URL]

1. first time i was able to connect i used the nx client for Mac OS X. I logged off.

2. then i decided to test this using Windows nx client and i got:

NX> 203 NXSSH running with pid: 604
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files

[Code]...

View 10 Replies View Related

Ubuntu :: Lucid Server - Fail To Login With A Timeout Error When Logging In Via Ssh

Jun 28, 2011

I have multiple computers set up in my home (self education on networking) with one used as the main machine, and the others set up as a variety of server types. The main machine is running Lucid, as gui based os. The others are all running the server version. NO Domain controller is installed, no DNS server is installed.

ALL of the server machines boot to a login prompt, allow user name and password entry, and then will fail to login with a timeout error. After anywhere from 8-15 tries, the login will eventually succeed. Error also occurs when logging in via ssh.

View 6 Replies View Related

Debian Configuration :: Remote Connection Timeout Error After 10 15 Second Hang

Jan 18, 2011

I have a windows 7 box and a debian 5.0 box connected to a linksys wrt300n router. I can access the linux box from windows 7 through ssh. I used to be able to access the linux box from outside the LAN, but when I was messing with the ssh port configuration (at least I think this was what happened), i lost my ability to connect. I tried writing a new sshd_config file so that it is much simpler:

Protocol 2
PasswordAuthentication no
UsePAM yes

I tried directly connecting the linux box to the internet to rule out a router firewall issue that i was missing. iptables -L yields nothing, as I have since rebooted the machine since messing with iptables rules. But still, when I try to ssh in from outside the LAN, I get a connection timeout error after a 10-15 second hang.

View 14 Replies View Related

Networking :: Terminate The Ping Manually Using Ctrl+c - Connection Timeout

Feb 21, 2011

when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2 but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes

View 10 Replies View Related

Server :: FreeRadius - PQexec Blocks Forever Due To Connection Timeout

Jan 5, 2010

I've configured the RADIUS to use a PostgreSQL DB for accounting. Everything works fine if the connection from the RAD to the SQL is OK. If the PostgreSQL service dead, the RAD will skip the failed connection and continue to work. That's OK, too. But if I shutdown the network interface of the SQL (simulating a connection lost - timeout problem), the RAD thread which processes accounting request will be hung up, remains as active and unresponsive forever. So the RAD will not return anything to accounting client (my NAS).

As more accounting requests come, spare threads for processing the requests will reduce and be used up eventually. I've debugged for a while and found it's the problem of PQexec() function. The function blocks the thread eternally till if the connection lost. I know the RAD version is a little outdated, but I cannot replace it right now. I wonder if there's a way to make the RAD reply to the NAS even when the connection between the RAD and the SQL lost.

View 1 Replies View Related

Debian Configuration :: Run Remote Desktop Sessions - FreeNX Connection Timeout

Apr 19, 2010

I have a Debian VPS running Lenny and I'm trying to setup a way to run remote desktop sessions from it. I went with FreeNX, NX client for windows from nomachine, XDM and xfce4. All seems to have installed well, but I can't start an NX session on my box. I can connect to the server and authenticate, but the client hangs on "Downloading the session information," eventually timing out. The log output is below - I'm not even seeing an error message. Any ideas?

[Code]...

The only thing I noticed during install, which was about 400 packages since this was a barebones VPS, was that I should consider recompiling the kernel with CONFIG_SOFTWARE_SUSPEND=y. I don't know if this has any impact on session information, however, since this is a new session, not one I'm trying to resume.

View 1 Replies View Related

Ubuntu :: Set The Default Os To Boot As Windows 7 With A Timeout Of 1 Second - Reset The Timeout To 3 Seconds?

Aug 4, 2011

I set the default os to boot as windows 7 with a timeout of 1 second. I thought that this would be enough time to switch os ubuntu when i need to, but I am unable to. How can i reset the timeout to 3 seconds? I also cannot view the ubuntu partition within windows because of ubuntu's file system.

View 9 Replies View Related

Ubuntu :: Periodic Maintenance Necessary For System?

Jan 16, 2011

I have just created a periodic maintenance schedule for friends using Windows XP, covering tasks needing to be done weekly, monthly, semi-annually and annually. That set me to wondering what maintenance my Kubuntu system needs. What periodic maintenance do you do?

View 1 Replies View Related

Ubuntu :: Server Crash - Periodic X Fatal Errors

Jul 29, 2010

I have been having problems with Xserver crashes (goes into low graphics mode). On inspection of my .xsession-errors file, I get X IO fatal errors 5, 11 and/or 104. Somehow my computer is losing its connection with the xserver (connection reset by peer) What is causing this? Should I post a report to launchpad? This happened before and after a clean install and more often when I opened a full screen game (SDL or OpenGL) Here is my xsession errors after my last crash:

[Code]....

View 1 Replies View Related

Ubuntu Servers :: SSL Setup - Connection Error Unable To Make A Secure Connection To The Server

Feb 10, 2011

I am running an Ubuntu Server on a VirtualBox VM running on my windows machine. So I've created a self-signed certificate using the following tutorial: [URL]

From this tutorial I'm left with 3 files:
server.key
server.csr
server.crt

Then I found this very similar tutorial that has an extra bit on installing the certificates in apache: [URL] So I followed it's instructions which boil down to this:

[Code]...

So I'm thinking this should work now. However in Chrome I get: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. IE8 gives me a typical "Internet Explorer cannot display the webpage" Note that [URL] fails while [URL] works fine, so it's definitely something in my ssl setup I'm thinking.

View 5 Replies View Related

Ubuntu Servers :: "ERROR :Closing Link: [unknown@127.0.0.1] (Ping Timeout)"

Apr 3, 2011

I am trying to set up the IRCD-IRC2 server to allow local chat between users connected to my Ubuntu server through SSH. I have port forwarding all set up to the point when I open port 6667 on the localhost it immediately comes back with":My.Irc.Com 020 * lease wait while we process your connection." Sounds promising. But it's not. It hangs for over a minute, then comes back with "ERROR :Closing Link: [unknown@127.0.0.1] (Ping timeout)" and closes the connection.

I don't want IRC2 to connect to any other servers. I just want it to facilitate chat between other users logged in through SSH as I said. Here is my ircd.conf file

M:My.Irc.Com::BC, Canada:6667:0001
A:Canada:info@irc.com:Notes::SrvName:
P:127.0.0.1:::6667:
I:127.0.0.1::::10

Can anyone tell me what I'm doing wrong?

View 1 Replies View Related

Programming :: C++: Defining A New Class - Periodic B.c?

Apr 9, 2010

I am trying to make a periodic boundary condition type function, using an existing class given to me in lecture notes, but am having some trouble! Effectively, I am trying to make an array such that, for a point in any row of a 2D matrix ("Matrix(i,j)"), the command "next_i[i]" will return "(i+1)%L", where L is the number of data points in the row. This will enable me to select a point to the right of any point in the matrix: "Matrix(next[i],j)"

[Code]....

View 1 Replies View Related

Ubuntu Servers :: Login With The Same Username And Password - Invalid Login

Apr 18, 2011

I have a problem regarding the ubuntu enterprise cloud. I have installed CC,CLC,SC,NC and a client and logged into thje user interface using my browser for the first time with bith username and passwd as admin and downloaded the credentials.But now as I try to login with the same username and passwd, it says that its an invalid login. I understand we have to change the password on the first login but i don't remember doing the same.

I tried recover password option and gave the user name as admin and email address as my gmail id. It says that I have to follow the instructions sent to the mail, but there is no mail sent I have done it like 5 or 6 times with different mail ids

View 7 Replies View Related

OpenSUSE Hardware :: 11.4 - Getting Periodic Flicker On The Display

Mar 16, 2011

I recently upgraded my desktop to 11.4 and kde 4.6.1 My desktop has : VGA compatible controller: ATI Technologies Inc RS690 [Radeon X1200 Series] This is legacy ATI stuff, radeon driver loaded (as was in 11.3) and seems to be operating. I am getting a somewhat periodic (5 secs or so) flicker on the display, fast enough to be annoying but not fast enough to really affect anything.

I have seen several threads about short freezes, but realize that flicker and freeze might be a matter of speed and memory, etc. I tried suspending Desktop Effects, that may have reduced the frequency of the flicker but did not eliminate.

View 6 Replies View Related

Programming :: Write A Function That Shall Execute Periodic?

Sep 1, 2010

I want to write a function that shall execute periodic. means if i set time 1 sec that function should execute in each 1 sec. let us call that function func1. But i dnt want to wait inside the func1 for that 1 sec. Meanwhile i want to run another function say func2 in background . some thing like less priority function. Whnever the time come to execute the periodic function func1 it has to go to func1 and then again in the waiting time , the second function func2 will resume. I wanted to know how to do it.. Can somebody tell me is it possible using signal in linux.

View 6 Replies View Related







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