after patch, telnet not working


 
Thread Tools Search this Thread
Operating Systems Solaris after patch, telnet not working
# 1  
Old 01-13-2005
after patch, telnet not working

The problem:
I installed the Solaris 8 recommended patch cluster 117350-11 over 108528-15 before the Christmas break. The server is a SunFire V100. Here is the situation:

Before the patch install, there was a working cron job that did daily, weekly, and monthly backups of the V100 filesystems over the network to a tape device.
Here is a extract from the log file when it worked BEFORE:

Dumping /dev/rdsk/c0t2d0s0 (apples:/) to oranges:/dev/rmt/5mn

After the patch install, here is a extract of the same log:

DUMP: NEEDS ATTENTION: Cannot open `oranges:/dev/rmt/5mn'. Do you want to retry the open?: ("yes" or "no") DUMP: The ENTIRE dump is aborted.

I found out that telnet from apples to oranges DOES NOT work. When I type "telnet oranges", the "Trying 123.45.67.89" message is displayed, but no connection is established.

When I telnet from oranges to apples, it works.

What I checked:

Here is the netstat -nr info on the patched system apples:

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
123.45.253.72 123.45.253.74 (apples) U 1 2261 dmfe0
224.0.0.0 123.45.253.74 (apples) U 1 0 dmfe0
default 123.45.253.73 (peach) UG 1 16613

/etc/defaultrouter 123.45.253.73

Here is the netstat -nr info from oranges (Ultra 1):

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
123.45.94.0 123.45.94.36 (oranges) U 1 12322 le0
224.0.0.0 123.45.94.36 (oranges) U 1 0 le0
default 134.51.94.1 (grapes) UG 1 17538

/etc/defaultrouter 134.51.94.1

I don't have /etc/hosts.deny or /etc/hosts.allow in either apples or oranges. I do have a /etc/hosts.equiv on oranges, which has the apples host in it:

/etc/hosts.equiv apples

but no /etc/hosts.equiv file in apples.

I searched the forums, but couldn't find any posts where a patch caused telnet to stop working.

So, the BIG question is:

Why does telnet work one-way, but not the other way?

Let me know if you need any other info.

Thanks Smilie

Last edited by antalexi; 01-13-2005 at 08:13 PM..
# 2  
Old 01-14-2005
Could you telnet before the patch? Do you really KNOW that you could telnet? Think about it - you are trying to figure out why your backup isn't working, not if telnet is working. Telnet may not have worked before.

Why does telnet work one way but not the other? Because one server doesn't allow it. First check the date on your /etc/inetd.conf file - see if it was changed by during the date you did the patch. Check your /etc/inetd.conf file on the server that does and the server that doesn't. Look for "telnet stream tcp" line - see if it starts with a # sign. If so, then it's commented out and won't work (probably a good thing).

Ufsdumps to a remote server usually use the /etc/hosts.equiv or /.rhosts files for allowing access - has nothing to do with telnet. Check the dates of those files and try to find out if and when they changed. I doubt the patch had anything to do with changing them.
# 3  
Old 01-17-2005
Looks like the problem is resolved regarding the ufsdump issue. It was explained to me using very techie jargon, but the network admin that I spoke to made a few changes to a "policy setting", checked that rsh from apples worked ok, and pronounced it "fixed". He told me to run the ufsdump (which is now working) and let him know in the morning if the logs show successful dumps.

This should close the thread out, but I'm left wondering "What would cause the rsh to stop working after the patch?" I'll have to look further into the patch docs to see if rsh is affected.

Thanks RTM for the help. I know more about /etc/hosts.equiv and /.rhosts to know that those two files were correctly populated with the apple host name on oranges to know that it should have worked.
# 4  
Old 01-17-2005
Forgot to say that you are right, RTM, in that telnet never worked from apples. apples is a gateway for access to another company's domain (we do sub-contract work and need access to their data). Any of our workstations can get to apples, but apples cannot get to our domain.

Thanks again... :-)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

telnet for port 5433 is not working while it works for port 22

Hi, I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies

2. Solaris

telnet and ssh not working .... but it pinging in Solaris 8

hi Everyone telnet and ssh not working in Solaris 8 .... but it pinging.... i also checked /etc/services /etc/inet/inetd.conf ps -ef | grep telnet ans default router ... everythinking is ok .... when i connect telnet then suddently closed ... and ssh is connection refused ... help... (1 Reply)
Discussion started by: coolboys
1 Replies

3. Windows & DOS: Issues & Discussions

ANT: Telnet is not working

I am trying the below ANT telnet task: <telnet userid="appldev" password="techm123" server="${BT_Server}"> <read>/u01/appldev/devappl/po/11.5.0/reports</read> <!--write>cd /u01/appldev/devappl/po/11.5.0/reports/</write--> <write>ls</write> <read... (0 Replies)
Discussion started by: Dip
0 Replies

4. Solaris

10 Recommended Patch Not Working

Hello, The 10_Recommended update failed on 3 of 191, which was patch 119254-73 (the 1st 2 patches were skipped). I looked up the patch on Sunsolve (http://sunsolve.sun.com/search/document.do?assetkey=1-21-119254), which stated that 121133-02 was a required patch for 119254-73. I did a "showrev... (7 Replies)
Discussion started by: stringman
7 Replies

5. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

6. UNIX for Dummies Questions & Answers

Telnet is not working properly

telnet at my system is behaving stange. Some times I am able to telnet to other machines but sometimes it stop doing that. Then i have to reboot the machine and most of the time (not 100%) it works. SImilar is the case with SSH. Sometime it works , some time it don't. i am new to Unix and I do not... (1 Reply)
Discussion started by: deepak_pathania
1 Replies

7. UNIX for Dummies Questions & Answers

Telnet login patch

Hello Everybody: I want to make a patch that telnet me directly to a specific IP with the specidied username and password. I tried the following : ------------------------------------------ telnet 10.11.161.10 user pass ---------------------------------------------------- but didnt log... (2 Replies)
Discussion started by: aladdin
2 Replies

8. IP Networking

Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a

Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down. I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies

9. UNIX for Dummies Questions & Answers

FTP/TELNET on linux, not working

I'm trying to ftp to my linux box from windows and from unix and its not working. I can telnet just fine, but ftp doesn't work. Where should I start looking? What config file is it that controls the ftp? Why does telnet work and ftp not? I'm using redhat 6.1, samba's working for browsing the... (33 Replies)
Discussion started by: kymberm
33 Replies
Login or Register to Ask a Question