LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-22-2022, 01:36 PM   #1
krishna_chandra_bhatt
LQ Newbie
 
Registered: Jul 2022
Location: India
Posts: 6

Rep: Reputation: 0
Telnet not working locally & from other server with one port however for other IP it is working


I have one server which got rebooted due to some unknown reason but after restart one of my port with that server is not running (telnet 10.6.x.x 8080) however telnet with other port are working (telnet 10.1.x.x 8080). only telnet 10.6.x.x 8080 is not working locally & from other server also. Could you please suggest what may be the reason?
 
Old 07-22-2022, 01:41 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by krishna_chandra_bhatt View Post
I have one server which got rebooted due to some unknown reason but after restart one of my port with that server is not running (telnet 10.6.x.x 8080) however telnet with other port are working (telnet 10.1.x.x 8080). only telnet 10.6.x.x 8080 is not working locally & from other server also. Could you please suggest what may be the reason?
No ideas, since you're providing no details at all. We can't guess as to the "some unknown reason", nor why you're trying to telnet to port 8080 (typically a web-service port), nor what these servers do, or what version/distro of Linux you're using.

Best guess: a service didn't come back up. Check whatever service(s) you expect to run, and look at the logs.
 
1 members found this post helpful.
Old 07-22-2022, 01:50 PM   #3
krishna_chandra_bhatt
LQ Newbie
 
Registered: Jul 2022
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
No ideas, since you're providing no details at all. We can't guess as to the "some unknown reason", nor why you're trying to telnet to port 8080 (typically a web-service port), nor what these servers do, or what version/distro of Linux you're using.

Best guess: a service didn't come back up. Check whatever service(s) you expect to run, and look at the logs.
Actually it is my first post ,dont know much about how to ask questions. I am using 8080 port for monitoring services with URL so due to unable to telnet this URL is not working.
version;: Red Hat Enterprise Linux Server release 7.7 (Maipo)
 
Old 07-22-2022, 02:02 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by krishna_chandra_bhatt View Post
Actually it is my first post ,dont know much about how to ask questions. I am using 8080 port for monitoring services with URL so due to unable to telnet this URL is not working.
version;: Red Hat Enterprise Linux Server release 7.7 (Maipo)
When asking questions anywhere, on any forum (or in person), you provide all details that you can. Would you just walk up to a co-worker and say, "A server crashed and I don't know why and now I can't telnet. Why?" What do you think they'd tell/ask you??? Until you figure out why the server crashed, you could have larger problems...and if you're the administrator, that's your job.

Again: you need to figure out what service is running on that port, and start it if it's not running. Check the log files for whatever service that is...and since you're using RHEL, you can contact Red Hat support, since you're PAYING FOR IT, RIGHT???

Last edited by TB0ne; 07-22-2022 at 02:24 PM.
 
Old 07-23-2022, 03:03 AM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,805
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
What error message(s) do you get that constitute "not working"?

It may be you have /etc/securetty that needs to be more liberal than the default.
 
Old 07-24-2022, 07:02 AM   #6
krishna_chandra_bhatt
LQ Newbie
 
Registered: Jul 2022
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
What error message(s) do you get that constitute "not working"?

It may be you have /etc/securetty that needs to be more liberal than the default.
Actually i have one URL which we monitor & it runs with that host & port & its not working.
 
Old 07-24-2022, 09:49 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by krishna_chandra_bhatt View Post
Actually i have one URL which we monitor & it runs with that host & port & its not working.
Great; you are *STILL* not answering any questions or providing any details, are you??? Again, saying you have a URL is meaningless...you have provide no log messages/errors, and have not appeared to check the service on that server, did you??? You were told to check and see if the relevant service is running...have you actually DONE anything at this point??

And again..you're using RHEL 7...have you used the Red Hat support you're paying for???
 
Old 07-25-2022, 02:51 PM   #8
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Ok, so without you providing much in the way of useful information I'm guessing you use telnet 10.x.y.z 8080 to check to see if there's anything listening on that port, and that you have a url something like http:/my.server.whatever:8080/amiborked.blah that you're supposed to query.

This indicates that (as the esteemed TB0ne says) that you've an http like service (apache/nginx/tomcat/whatever) that hasn't started.

Go look to see what's running and listening on port 8080 on the server that's working and see if the same process is running on the server that isn't.
 
1 members found this post helpful.
Old 07-27-2022, 02:59 AM   #9
krishna_chandra_bhatt
LQ Newbie
 
Registered: Jul 2022
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Great; you are *STILL* not answering any questions or providing any details, are you??? Again, saying you have a URL is meaningless...you have provide no log messages/errors, and have not appeared to check the service on that server, did you??? You were told to check and see if the relevant service is running...have you actually DONE anything at this point??

And again..you're using RHEL 7...have you used the Red Hat support you're paying for???
Thank you so much now i have checked localhost telnet but its not happening, As you said it seems service is not running. So i am now checking the same. will update once it will be resolve.
 
Old 07-27-2022, 02:59 AM   #10
krishna_chandra_bhatt
LQ Newbie
 
Registered: Jul 2022
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Great; you are *STILL* not answering any questions or providing any details, are you??? Again, saying you have a URL is meaningless...you have provide no log messages/errors, and have not appeared to check the service on that server, did you??? You were told to check and see if the relevant service is running...have you actually DONE anything at this point??

And again..you're using RHEL 7...have you used the Red Hat support you're paying for???
Quote:
Originally Posted by TenTenths View Post
Ok, so without you providing much in the way of useful information I'm guessing you use telnet 10.x.y.z 8080 to check to see if there's anything listening on that port, and that you have a url something like http:/my.server.whatever:8080/amiborked.blah that you're supposed to query.

This indicates that (as the esteemed TB0ne says) that you've an http like service (apache/nginx/tomcat/whatever) that hasn't started.

Go look to see what's running and listening on port 8080 on the server that's working and see if the same process is running on the server that isn't.
Thank you so much now i have checked localhost telnet but its not happening, As you said it seems service is not running. So i am now checking the same. will update once it will be resolve.
 
Old 07-27-2022, 03:11 AM   #11
krishna_chandra_bhatt
LQ Newbie
 
Registered: Jul 2022
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by krishna_chandra_bhatt View Post
Thank you so much now i have checked localhost telnet but its not happening, As you said it seems service is not running. So i am now checking the same. will update once it will be resolve.

Hello All, Now its working fine as i have copied some missing files & after restarting the services its working fine.
It was my first question in this platform & i got the resolution. Thank you so much to all of you from bottom of my heart.
 
  


Reply



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
ssh then telnet vs telnet then telnet sanabani Linux - Networking 1 12-20-2011 07:39 PM
Storage over VPN & Locally, Print Server & Mail Server parry1234 Linux - Server 0 10-26-2010 08:55 AM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:59 AM.

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
Open Source Consulting | Domain Registration