LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
 
Search this Thread
Old 01-25-2013, 12:12 AM   #1
N sreeram
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Rep: Reputation: Disabled
Interview question about logging in to remote servers


Hi I am sreeram,

recently i have faced one interview question i.e,

Question:YOU ARE UNABLE TO LOGIN THE REMOTE SERVER,
tell me the trouble shooting steps u need to take to resolve that problem?
 
Old 01-25-2013, 02:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970
Not a networking specific issue. Moved to Linux - Newbie and please use useful and informative thread titles in the future, I've updated yours to make it meaningful. And a please / thank you would often help your cause too.
 
Old 01-25-2013, 05:48 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,253

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
The answer really depends on how you're trying to login, what kind of server you have, etc. Assuming the network connection to the remote server is OK and the credentials you are using to try to login are correct, perhaps it has light out management hardware such as IPMI that you can use to troubleshoot it. If the box is down and there's no such hardware, you'll need to go visit it yourself or use the "remote hands" service if it's in a colocation facility.
 
Old 01-25-2013, 08:47 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Work from what you have and what you know is working.
If your local login client (probably ssh client) is known to work, then try to establish that the remote host is reachable (ping). If not, then establish whether the local host networking is functional. Ping local hosts within the local subnet. Progressively establish whether there is connectivity beyond fundamental networking units such as local firewalls, switches and routers. Establish whether the remote host is identifiable by name or if not, by IP (possible DNS problem). Once you can reach the remote host with a ping, run the login client with some debugging info enabled (if available; use -vv switch if ssh) to determine whether there is a problem between the client and server software, or whether the server software is actually running/listening. If credentials are required, establish that the UID and password/keys are correct.

The interviewer is assessing whether your knowledge of the fundamentals of networking and associated software and tools is sound, as well as assessing your ability to apply sound troubleshooting methods. Mention tools by name, and be organized and methodical in your approach and your description.

--- rod.

Last edited by theNbomr; 01-25-2013 at 08:57 AM.
 
Old 01-25-2013, 10:40 AM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,802

Rep: Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943
Quote:
Originally Posted by theNbomr View Post
The interviewer is assessing whether your knowledge of the fundamentals of networking and associated software and tools is sound, as well as assessing your ability to apply sound troubleshooting methods. Mention tools by name, and be organized and methodical in your approach and your description.
Couldn't agree more.

There is no 'right' or 'wrong' answer to this...your troubleshooting skills were being tested.
 
Old 01-25-2013, 11:33 AM   #6
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
And what did you reply...?

As already said, without specifying any particular scenario, interviewer was simply testing that how capable you're to cope with day to day issues.

Systems administration is a field where you encounter many such problems, and you've to solve them in minimum possible time. Therefore every organization needs a person who has good troubleshooting and analytical skills.

In your case, you could have started with points like...
- Your machine is out of network
- Remote machine is out of network,
- Machines are in network, but connecting network may be down
- Remote login services like ssh, telnet etc. are not running or blocked
- Firewall issue
- You're able to invoke remote login commands from your machine, but getting some error. (Every error points to some specific situations, so they're very helpful, and you could have explained that)
- And many more explainations...

In my personal experience, whenever you've been asked a question which has no definite answer(s), just assume some scenario and start explaining. It will help you.
 
  


Reply


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
logging to 2 syslog servers markseger Linux - Server 3 03-10-2011 11:45 AM
How to call Shell Script on a remote server with remote servers env variables need Linux - Server 1 10-14-2009 08:37 PM
Ideas about event logging on overloaded servers anebi Linux - Server 5 04-03-2008 12:41 PM
Controlling Logging on Linux servers... tarballed Linux - General 2 04-11-2003 06:06 PM
Remote logging sts_cat Linux - General 2 04-30-2002 08:26 PM


All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration