1832566 Members
5643 Online
110043 Solutions
New Discussion

remsh problem

 
Miguel Velasco
New Member

remsh problem

Hi,

When i do a remsh to another machine, the system sends me an error: rresvport: socket: All ports in use.

Thanks
La verdad nos hara libres
5 REPLIES 5
Vincenzo Restuccia
Honored Contributor

Re: remsh problem

Increase nstrtel:
nstrtel specifies the number of telnet device files that the kernel can support for incoming telnet sessions.


Acceptable Values:
Minimum
60
Maximum
Default
60
someone_4
Honored Contributor

Re: remsh problem

Im confused are you trying to do several remsh at the same time? When are you getting this error? And what command string are you are typing?


Thanks

Richard
Miguel Velasco
New Member

Re: remsh problem

I tried to do a remsh just once and the error send me when i type the command remsh 10.1.7.20 ls

Thanks
La verdad nos hara libres
someone_4
Honored Contributor

Re: remsh problem

Is the following line in the /etc/inetd.conf file:
shell stream tcp nowait root /usr/lbin/remshd remshd


Richard
Wieslaw Krajewski
Honored Contributor

Re: remsh problem

Hi,

Just an idea. From you question it follows that there is no free ports on the remote server.
remshd, similar as rlogind, uses only ports from the range 512 - 1023 (in the order 1023, 1022, and so on ).
The warning you mentioned in your question indicates that all these ports are busy.
The simplest way to check ports is to use netstat command on the server.
Also to confirm this reason try to rlogin to the same server.
You can also try to use rexec instead remsh.

Hope this helps.

Rgds.
Permanent training makes master