1834645 Members
2711 Online
110069 Solutions
New Discussion

error remsh - rlogin

 
Lorenzo Facello
Valued Contributor

error remsh - rlogin

Hi All,
when I try to launch a rlogin from my svr I recive this ouput
rresvport: socket: All port in use


How can I solve this???
Thanxs
(If I launch telnet it's goin on!!)
2 REPLIES 2
T G Manikandan
Honored Contributor

Re: error remsh - rlogin

Just do a
#netstat -a

and find out which application is using max of the ports.

rlogin uses port which is below 1024.

Try finding out using netstat -a.

You can also use lsof to check the application using all the ports
Armin Feller
Honored Contributor

Re: error remsh - rlogin

Hi,

might be the status of the ports is FIN_WAIT_2, if please have a look to following document in the technical knowledge database:

KBRCKBRC00002518
Cleaning Up Stale FIN_WAIT_2 Connection In STREAMS-based 11.0

Here you find a script which helps to kill such connections.

Regards,
Armin