- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- connect second port: Connection timed out
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
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
тАО06-04-2009 09:45 AM
тАО06-04-2009 09:45 AM
connect second port: Connection timed out
I have the following problem and i'm totally stuck.
I have windows box (A) and an hp-ux box (B).
I'm trying to run the following command from HP box:
rsh hostname(B) -l root ls
It works the first time, if i run the same command 3 seconds later, it doesn't. If i wait about a minute, it works once again.
Same command works fine if i run it against a Solaris box over and over.
Same command works fine if i run it against another HP-UX box over and over.
The only thing i see in logs:
connect second port: Connection timed out
Any ideas?
Here is my .rhosts file:
bash-2.04# more /.rhosts
+ +
bash-2.04# ls -la /.rhosts
-rw-rw-rw- 1 root sys 4 Jun 4 12:08 /.rhosts
bash-2.04#
Thank you!
Asya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 09:46 AM
тАО06-04-2009 09:46 AM
Re: connect second port: Connection timed out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 09:52 AM
тАО06-04-2009 09:52 AM
Re: connect second port: Connection timed out
while doing this, try to observe the syslog live on your hpux box with command:
tail -f /var/adm/syslog/syslog.log
the messages logged into the syslog might tell you why the second connection is timing out.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 09:55 AM
тАО06-04-2009 09:55 AM
Re: connect second port: Connection timed out
i changed permissions and ran command again.
Jun 4 13:37:36 losal173 remshd[22936]: connect second port: Connection timed ou
t
Thanks again..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 10:08 AM
тАО06-04-2009 10:08 AM
Re: connect second port: Connection timed out
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 10:32 AM
тАО06-04-2009 10:32 AM
Re: connect second port: Connection timed out
what i've noticed is that if i open another DOS window and run this command 3 seconds later, it works. I checked and there are no windows firewalls running. There is an Antivirus running, which is company wide and i can't even disable to test this theory out, but why would it be a problem if connection to solaris box always works?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 12:28 PM
тАО06-04-2009 12:28 PM
Re: connect second port: Connection timed out
Jun 4 13:37:36 losal173 remshd[22936]: connect second port: Connection timed out
coming from the hpux box syslog or got displayed on your windows machine (DOS Prompt) ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 03:24 PM
тАО06-04-2009 03:24 PM
Re: connect second port: Connection timed out
this is from syslog on my hp-ux box. I don't see any error messages on the windows box.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 10:10 AM
тАО06-05-2009 10:10 AM
Re: connect second port: Connection timed out
remsh losal173 -l root ls
works
If i try it a second later, it doesn't.
couple more seconds later it works again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2009 10:27 AM
тАО06-05-2009 10:27 AM
Re: connect second port: Connection timed out
fault values
Jun 5 14:16:20 losal173 remshd[26255]: allowed connection from glade
Jun 5 14:16:25 losal173 remshd[26258]: allowed connection from glade.smarts.com
Jun 5 14:17:41 losal173 remshd[26258]: connect second port: Connection timed out
Jun 5 14:18:50 losal173 remshd[26267]: allowed connection from glade
Jun 5 14:18:51 losal173 remshd[26270]: allowed connection from glade
Jun 5 14:19:01 losal173 remshd[26271]: allowed connection from glade
Jun 5 14:19:02 losal173 remshd[26274]: allowed connection from glade
Jun 5 14:19:11 losal173 remshd[26275]: allowed connection from lwqdt088
Jun 5 14:19:12 losal173 remshd[26278]: allowed connection from lwqdt088