1832978 Members
2970 Online
110048 Solutions
New Discussion

Re: remshd problem

 
SOLVED
Go to solution
V.Venkatesh_1
Occasional Advisor

remshd problem

I have a server running HP-UX 11.11. Its a trusted host. However we are using remsh to run SRDF process. Basically the database server (also running HP-UX 11.11) connect to this server for BCV/SRDF copy using remshd. For some reason this server stopped accepting remsh connections. I am able to remsh out but not remsh in. Could somebody help me what's wrong. This is a production server and there was not change since the last run. Your help would be highly appreciated.
5 REPLIES 5
RAC_1
Honored Contributor

Re: remshd problem

Error mesaages. Check if account is locked/disabled/expired.

Any changes with respect to host name/ip change?
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: remshd problem

Shalom,

The most common cause of this issue is expired password.

A change in ownerhip and permissons of the .rhost files could also lead to the sudden failure of this process.

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
V.Venkatesh_1
Occasional Advisor

Re: remshd problem

I appreciate your help. However I have verified that account is not locked.
/usr/lbin/getprpw root
uid=0, bootpw=YES, audid=0, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Thu Oct 19 22:22:07 2006, upwchg=Sat Jul 8 06:28:28 2006, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Fri Oct 20 01:16:07 2006, ulogint=Thu Oct 19 22:17:52 2006, sloginy=console, culogin=-1, uloginy=-1, umaxlntr=99, alock=NO, lockout=0000000
I have already reset the password. Still no luck. I have also checked the inetd.conf file. There was no change made to the permission to .rhosts file either
ls -l .rhosts
-r--r----- 1 root sys 126 Dec 27 2004 .rhosts
any other tips would be more useful

RAC_1
Honored Contributor
Solution

Re: remshd problem

With the account that you use for remsh, just do plain telnet and login. Once logged in, do who -um and what you see in last column of above output should be in .rhosts file. Is it same as what you see in who -um?
There is no substitute to HARDWORK
V.Venkatesh_1
Occasional Advisor

Re: remshd problem

Great! RAC.. you are right. I think the network team has made some DNS change without our knowledge and the whole thing got screwed up. Since telnet was disabled I used ssh to login to the server. Once I did who -um I found that the machine name was totally different than the entry in the .rhosts file. I edited .rhosts file to reflect the change and the problem was resolved. Thank you for your useful tips and I appreciate your time on this.

regards
V.Venkatesh