STNoida
asked on
"remsh"command giving the error "Connection refused"
Hi,
We are using the "remsh" command on a UNIX machine.Using this command trying to run a batch file on a windows machine"serv1" .The batch file is stored on a "Netapp" folder.
We are able to run the same command on another windows server "serv2".
The command which we are running is :
remsh serv1 -l rshadmin \\netapp02.\XXX.bat)
getting the error:
rcmd: connect: serv1: Connection refused
tox009:edamgr:/home/edamgr >
I have given the same access to the account "rshadmin" on both servers.
Regards
Nishakar
We are using the "remsh" command on a UNIX machine.Using this command trying to run a batch file on a windows machine"serv1" .The batch file is stored on a "Netapp" folder.
We are able to run the same command on another windows server "serv2".
The command which we are running is :
remsh serv1 -l rshadmin \\netapp02.\XXX.bat)
getting the error:
rcmd: connect: serv1: Connection refused
tox009:edamgr:/home/edamgr
I have given the same access to the account "rshadmin" on both servers.
Regards
Nishakar
could you verify the the rsh (or rshell) service is actually active on that server?
ASKER
Yes, I restarted the rshell service on windows server.Now we are getting different error:
tox009:edamgr:/home/edamgr >remsh serv1 -l rshadmin \\netapp02.\XXX.bat)
Logon failure: unknown user name or bad password.
Regards
Nishakar
tox009:edamgr:/home/edamgr
Logon failure: unknown user name or bad password.
Regards
Nishakar
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.