Operating System - HP-UX
1826414 Members
4142 Online
109692 Solutions
New Discussion

Re: Session is getting terminated

 
Sanjoy Paul
Advisor

Session is getting terminated

Hi ,

When I am logging in to one HP-UX server from another server via rsh , I am being thrown out after some time from login. the error message is below :


"read: A connection with a remote socket was reset by that socket. Connection closed."


Can anybody through some light in this ?

Thanks ,

Sanjoy
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Session is getting terminated

Shalom Sanjoy,

Check /var/adm/syslog/syslog.log on the server side.

There is probably a networking or inetd problem causing this. Could also be a lack of good systems patching practice.

ssh might work better for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sanjoy Paul
Advisor

Re: Session is getting terminated

Hi Steven,

Please find the syslog.log attached . I don't find any inetd issue in the log file .

I find lots of nfsd in the log file , could it be a problem ?

Thanks,

Sanjoy



Sanjoy Paul
Advisor

Re: Session is getting terminated

Hi Steven,

Please find the syslog.log attached . I don't find any inetd issue in the log file .

I find lots of nfsd in the log file , could it be a problem ?

Thanks,

Sanjoy



johnsonpk
Honored Contributor

Re: Session is getting terminated

Hi Sanjoy,

check the entires in the /etc/inetd.conf

it should lokko like
shell stream tcp nowait root /usr/lbin/remshd remshd

if so try changng it to
shell stream tcp nowait root /usr/lbin/remshd remshd -n

BTW One thing is not clear ..are u using rlogin or remsh ?

Thanks !!
Johnson
Sanjoy Paul
Advisor

Re: Session is getting terminated

Thanks everybody ,

Root cause was : another windows box in the same network which has got same IP from DHCP , and there was a conflict of IP address.

Regards,

Sanjoy