- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remshd: rresvport: Address already in use
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
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
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-04-2003 07:32 PM
тАО11-04-2003 07:32 PM
I'm getting the following error while doing remsh to my system. But rlogin is working. This error is intermittent
remshd[19925]: rresvport: Address already in use
remshd[19989]: rresvport: Address already in use
remshd[20089]: rresvport: Address already in use
remshd[20292]: rresvport: Address already in use
Please help.
Thanks!
John
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 07:48 PM
тАО11-04-2003 07:48 PM
Re: remshd: rresvport: Address already in use
rresvport is a system call.
From the manpage:
The rresvport() function creates a socket and binds it to a reserved
port.
Obviously the port remshd is trying to use is already in use, but your error message doesn't report the port no.
Anything in /var/adm/syslog/syslog.log ?
-- Graham.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 07:54 PM
тАО11-04-2003 07:54 PM
Re: remshd: rresvport: Address already in use
The above message is from syslog.log file only. I can give you related information from /etc/services
exec 512/tcp # remote execution, passwd required
login 513/tcp # remote login
who 513/udp whod # remote who and uptime
shell 514/tcp cmd # remote command, no passwd used
Thanks!
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 07:59 PM
тАО11-04-2003 07:59 PM
Re: remshd: rresvport: Address already in use
lsof -i tcp:514
Also you can with netstat -a|grep 514
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 08:04 PM
тАО11-04-2003 08:04 PM
Re: remshd: rresvport: Address already in use
When I remsh a command on a remote system, the remote remshd seems to use ports 1014 and 1015. Maybe these are in use.
Try "netstat -a|grep -e 1014 -e 1015" on your remote system.
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 08:06 PM
тАО11-04-2003 08:06 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 08:30 PM
тАО11-04-2003 08:30 PM
Re: remshd: rresvport: Address already in use
This problem usally occurs in the other side. remshd uses rresvport to open a stream for remote command usually below 1024. The stream is not able to bind to a remote socket which is in use.
Check the target machine with netstat for the ports being used. Normally this will go off as the ports get cleared.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 01:05 PM
тАО11-05-2003 01:05 PM
Re: remshd: rresvport: Address already in use
more generally, if one does connections at a rate greater than:
width_of_port_space_used/length_of_time_wait
one will start running into problems. In the specific case of HP-UX, "length_of_time_wait" is 60 seconds, so if you try to do more than 512/60 or 8.5 remsh per second on a sustained basis, you will run into problems.
Also, if you try to have more than 512 remsh outstanding at any one time, you will run into problems.
The "fix" is to use something other than remsh. I have to look into it further, but it may be the case that ssh does not require the use of reserved ports for the "client" side. Of course, it may have a slightly higher computational overhead than remsh... :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 08:58 AM
тАО10-17-2005 08:58 AM
Re: remshd: rresvport: Address already in use
Rick??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2005 09:27 AM
тАО10-17-2005 09:27 AM