LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-05-2007, 12:46 PM   #1
djlerman
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Unable to connect with telnet, ssh, ftp, etc...


I Have a redhat linux machine that locked up.

Unable to connect to machine with telnet, ssh or ftp. Services going out of the machine webserver, mysql, mail are working.

2 questions:
1) how to I gain access back to the machine?
2) what log or files do I look at to troubleshoot and fix the machine?

This has happened a few times. A reboot regains access for a bit. Since the machine is in a data center rebooting is not the best option for regaining access.

Thanks,
~D
 
Old 09-05-2007, 03:13 PM   #2
giganet
LQ Newbie
 
Registered: Sep 2007
Location: California
Distribution: Ubuntu 6.06
Posts: 5

Rep: Reputation: 0
Lightbulb

Providing you have physical access to the server you should be able to open a terminal- Do you have physical access and can you open a terminal?

Make sure and check 'hosts.allow' that it contains:

Code:
ALL: ALL: allow
Next check 'hosts.deny' that it contains:

Code:
ALL: ALL: deny
I would then check my firewall, run 'iptables -L' and see if your IP you are SSHing from is being blocked.


Sometimes SSH access can be restored by 'stopping' | 'starting' your firewall too.

You may just have to go with a reboot though???


Hope this helps in some way?

Regards
 
  


Reply

Tags
access, linux, redhat, ssh, telnet, troubleshoot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to telnet & ftp majalee Linux - Networking 1 04-30-2007 06:28 AM
Getting FTP, TELNET , or SSH to work jst1 Suse/Novell 1 03-08-2005 08:54 PM
Stunk! can not connect via telnet/ssh huangyanfeng Linux - General 3 05-16-2004 09:08 AM
Failing to connect to TELNET, FTP or SSH dbadft Linux - Networking 10 04-16-2003 02:44 PM
Unable to ftp/telnet from outside to my home network aruna13 Linux - Newbie 3 04-18-2002 05:03 AM


All times are GMT -5. The time now is 05:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration