- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet connection refused error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 07:41 AM
тАО11-17-2005 07:41 AM
We are not able to connect to server using telnet, ssh and ftp. Getting connection refused errors.
What could be the issue ?
Appreciate any help.
Thanks,
Shiv
Solved! Go to Solution.
- Tags:
- telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 07:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 07:45 AM
тАО11-17-2005 07:45 AM
Re: telnet connection refused error
For telnet to work you need to check and make sure that in inetd.conf file telnet is not commented out, also check if inetd is running,you need to re-read the inetd.conf to make the changes effective.
For ssh not working have to check if the ssh daemon is running and the settings are correct in sshd_config file.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 07:50 AM
тАО11-17-2005 07:50 AM
Re: telnet connection refused error
go to the Console, check what your init status is.. should be init 3.
if the system has been running and active with these before sounds maybe something has ran amuk..
do a BDF make sure all volumes are mounted.
go into GSP and check the error logs
more /var/adm/syslog/syslog.log
You should see in the sys log if SSH is started..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 08:16 AM
тАО11-17-2005 08:16 AM
Re: telnet connection refused error
From the server can you ping other hosts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 11:04 AM
тАО11-17-2005 11:04 AM
Re: telnet connection refused error
I mean we have root access to the box. Can we login and restart the inetd ?
Is GSM used for this ?
warm regards,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 11:54 AM
тАО11-17-2005 11:54 AM
Re: telnet connection refused error
if u r not getting any form of connections, i.e. telnet, ssh, ftp, http, https, etc, i do not suppose u will be able to login remotely.
thus, u have to proceed to the console and verify what exactly is happening to your server, network cards, connections, inetd not started, etc.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 01:12 PM
тАО11-17-2005 01:12 PM
Re: telnet connection refused error
What are the ways to access it now ?
warm regards,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 02:05 PM
тАО11-17-2005 02:05 PM
Re: telnet connection refused error
If local computers cannot connect to this box with telnet, it is possible someone has excluded a range of computers in /var/adm/inetd.sec so look at this file for deny statements.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 02:16 PM
тАО11-17-2005 02:16 PM
Re: telnet connection refused error
Can you ping that server. Could it be a DNS names resolution. Did you try using the IP address.
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 04:41 PM
тАО11-17-2005 04:41 PM
Re: telnet connection refused error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 05:22 PM
тАО11-17-2005 05:22 PM
Re: telnet connection refused error
If nothing is working, booting system into single user mode and troublshoot from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 06:56 PM
тАО11-17-2005 06:56 PM
Re: telnet connection refused error
can you try to put the IP address of the host in the /etc/hosts file?
What does the "last |head " command show after a failed loggon attempt?
can you try to telnet the server from the console itself?
e.g. telnet 192.168.1.12
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2005 05:10 AM
тАО11-18-2005 05:10 AM
Re: telnet connection refused error
Sorry i am new to unix world :-((
Thanks,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2005 06:48 AM
тАО11-18-2005 06:48 AM
Re: telnet connection refused error
When you say that the system is running as a production server, what does it do? Does anyone login to this server, or is it a specialized web or database server with no user logins?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2005 07:45 PM
тАО11-18-2005 07:45 PM
Re: telnet connection refused error
Thanks for explaining me. I guess console login is allowed connecting to a switch via ip: port. Probably console login is used to reboot the server and to view the error messages on the screen (console). In production environment i think serial ports of the servers might be connected to switch ports and we connect to it for console login. I was thinking that this is an alternative way to remotely connect to hpux box without telnet.
Appreciate if i am corrected.
Regards,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2005 07:59 PM
тАО11-18-2005 07:59 PM
Re: telnet connection refused error
You are absolutely correct. Also in addition to this there is one more way to connect to the console.
Two Approaches are as:
1. Get a Dig Box (Swicth..) and connect one of it's port to the CONSOLE port of the server. Then you can telnet to the (dig box IP):(digi box port no.) and you get the console of that server.
2. Configure you LAN Console port and connect the lan directly to the Network Switch. Then you can directly telnet to the IP defined for lan Management Port. This will also give you the console.
Hope that helps,.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2005 02:02 PM
тАО11-19-2005 02:02 PM
Re: telnet connection refused error
The root cause was someone used the command "kill -3 1". It caused the system to become unstable.