- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cannot telnet from server
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
Forums
Discussions
Discussions
Discussions
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
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
08-23-2002 04:21 AM
08-23-2002 04:21 AM
cannot telnet from server
I'm not sure if we have "done" something but for some reason we cannot telnet from our Unix server.
I can telnet from PC on same network to the same destination OK, leading me to think the problem is on the server itself.
We have tried rebooting (as it needed one anyway) no joy, /etc/hosts file looks OK....
Can anyone point us in the right direction where to statrt looking ?
Cheers
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 04:24 AM
08-23-2002 04:24 AM
Re: cannot telnet from server
you may not be allowed to telnet from your server.
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 04:25 AM
08-23-2002 04:25 AM
Re: cannot telnet from server
Can you ping the the remote location?
Are your routing tables corrupt? Look at netstat -r make sure you have a default route to a gateway or a static rout to the host you are trying to connect to.
Can you ping the gateway?
hth Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 04:30 AM
08-23-2002 04:30 AM
Re: cannot telnet from server
From the server can you ping the destination server?
What about the network rules one the destination server? I know you said that PC's on the "same" network work, but are the PC's and servers on the same subnet with the same network mask???
What is the error message you get when telneting to the destination server?
Have you tried TELNET'ing with the IP and NOT the destination HOST name???
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 04:43 AM
08-23-2002 04:43 AM
Re: cannot telnet from server
this is the inetd.sec on the target machine of course.
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 04:46 AM
08-23-2002 04:46 AM
Re: cannot telnet from server
Have you checked inetd.sec ? you may not be allowed to telnet from your server.
Which is why I said the FROM server's telnet doesn't use inetd.sec.
BUT yes, you are very right, that the destination host does have to be checked, especially inetd.sec if it is a unix host.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 05:15 AM
08-23-2002 05:15 AM
Re: cannot telnet from server
PC ip add=20.9.97.107
Server =20.9.97.249
def gateways same for both=20.9.97.254
netmasks same 255.255.255.0
can ping all from PC, but cannot ping 20.9.97.254 from Server.
Does this sound like a cabling problem ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 05:59 AM
08-23-2002 05:59 AM
Re: cannot telnet from server
Can you telnet into your server?
Check inetd.conf and /etc/services to verify that all are correct.
Can you nslookup the destination with FQDN and just server name?
Can you nslookup the server with FQDN and just server name?
Does reverse lookup on the the IPS of both return the correct names?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 06:23 AM
08-23-2002 06:23 AM
Re: cannot telnet from server
Does this sound like a cabling problem ?
NOT Necessarily.
Can you provide (for server)
(1) /etc/rc.config.d/netconf file??
(2) netstat -rn ??
(3) lanscan ??
(4) ping localhost
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 06:32 AM
08-23-2002 06:32 AM
Re: cannot telnet from server
If you are using the hostname when doing a telnet from the server, are you able to ping that hostname. Can you telnet from that server as root. What if you try the telnet using the ip address. Can you ping this server from another server. inetd.sec will not effect the telnet from the server. It only affects the telnet to this server.
Do you have world read permission for the /etc/hosts file.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 07:11 AM
08-23-2002 07:11 AM
Re: cannot telnet from server
Have you tried other services? e.g. ftp? You might want to try traceroute as well and see if that works.
Is it possible that someone has put router ACLs or a firewall in between your host and the destination without telling you? They might have monitored your PC telnet so allowed it through, and not got the unix one.
Cheers!
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 07:17 AM
08-23-2002 07:17 AM
Re: cannot telnet from server
Can you telnet localhost from the server? If yes, then it would not be a telnet binary problem.
You may not be able to ping a gateway dependent on the gateways configuration. Does the gateway respond to a ping from the PC? If not, then you may need to change a ndd setting for ip_ire_gw_probe from 1 to 0 to allow the network to come up. If you do ifconfig lan0 does it show it is UP?
Cheers!
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2002 12:53 AM
08-24-2002 12:53 AM
Re: cannot telnet from server
If your server cannot see the default router (gateway), can it see any other hosts on it's subnet? Try to ping the subnet:
# ping 20.9.97.255
Look for a response from any IP address. If you're not getting any responses, I would say your network config is amiss. Please check the item that Harry is asking about.
Hope this helps,
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 01:52 AM
08-26-2002 01:52 AM
Re: cannot telnet from server
find below output from various commands..
rurprd >more /etc/rc.config.d/netconf|grep -v ^#
HOSTNAME="coirdub3"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=20.9.97.249
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=20.9.97.255
LANCONFIG_ARGS[0]="ieee"
ROUTE_DESTINATION[0]=""
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=""
ROUTE_COUNT[0]=""
ROUTE_ARGS[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
IP_ADDRESS[1]=20.9.97.249
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=20.9.97.255
LANCONFIG_ARGS[1]=""
ROUTE_DESTINATION[1]="default"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=20.9.97.254
ROUTE_COUNT[1]=1
ROUTE_DESTINATION[2]="default"
ROUTE_MASK[2]=""
ROUTE_GATEWAY[2]=20.9.97.254
ROUTE_COUNT[2]=1
rurprd >netstat -rn
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
20.9.97.249 127.0.0.1 UH 10 54117 lo0 4608
127.0.0.1 127.0.0.1 UH 4 1297 lo0 4608
default 20.9.97.254 UG 0 467 lan1 4170
20.9.97.0 20.9.97.249 U 7 27669 lan1 4170
Hardware Station Crd Hardware Net-Interface NM MAC HP DLPI Mjr
Path Address In# State NameUnit State ID Type Support Num
10/4/8 0x1000904B8090 1 UP lan1 UP 4 802.5 Yes 103
10/12/6 0x080009DA488C 0 UP lan0 DOWN 5 ETHER Yes 52
(not sure how the formatting of above will work)
ping localhost is fine...
ping 20.9.97.255 pings everyone except ...254
telnet localhost OK...
Can ping gateway from PC...
/> ifconfig lan0
lan0: flags=862
inet 0.0.0.0 netmask ff000000
/> ifconfig lan1
lan1: flags=863
inet 20.9.97.249 netmask ffffff00 broadcast 20.9.97.255
I hope the above answers all questions.
I am pretty sure it is not a problem on the server now - Is there some way I can say for definite so can make our network team look harder ??
Any help/pointers greatly appreciated as this is getting annoying now !!
Cheers
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 02:10 AM
08-26-2002 02:10 AM
Re: cannot telnet from server
I would say your netconf file is wrong.
INTERFACE_NAME[0]=lan1
INTERFACE_NAME[1]=lan1
which means you assign one networkcard 2 configurations.
Perhaps that's the reason?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 02:59 AM
08-26-2002 02:59 AM
Re: cannot telnet from server
but the file has not been changed for 2 years, and prob only started friday.
Basically the problem can be narrowed down to:
Cannot see default gateway, but can see rest of network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 03:12 AM
08-26-2002 03:12 AM
Re: cannot telnet from server
My local LAN had the ip-address of the server duplicated which made me make no connections to the server.
Ping everything was fine.Local host telnet was fine.
check whether you have ip-address duplicated.
Also you have a wrong netconf file.
You are pointing to the same interface card for both the card configuration.
you have duplicated lot of entries.
If you don't have a duplicated ip-address
Just do a
/sbin/init.d/net stop
and do a fresh
/sbin/set_parms initial
to re-configure the network.
Then you can put them inside the netconf file.
(just to check if that file is the problem)
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 05:04 AM
08-26-2002 05:04 AM
Re: cannot telnet from server
HOSTNAME="coirdub3"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=20.9.97.249
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="20.9.97.254"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
RARP=0
Get RID of the other crap. And I would, WITH OUT A DOUBT ---> REBOOT.
ALSO CHECK /etc/hosts, because I bet it's toast also!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2002 05:22 AM
08-26-2002 05:22 AM
Re: cannot telnet from server
I have already rebooted the server,
am gonna get the gateway (router) rebooted overnight.
If problem still there in morning then may look at "correcting" config files, but have been running with said file for 2 years, and am very wary of messing.....
Thanks again for suggestions
I will post again in morning with update.