Solved

W2kpro  RSH --> W2K server

Posted on 2003-12-01
6
332 Views
Last Modified: 2013-12-19
  I have a need to remotely run server processes for an application.  The clients are Windows 2000 Pro and the Server is Windows 2000.  I have installed the W2K Resource kit on both the server and the client.

   When I try to execute a job, here is the result

C:\Program Files\Resource Kit>rsh bbmus1o -l wundjous d:\supervisor\api
> bbmus1o.bbmus.bbraun.com:Connection refused
rsh: can't establish connection

any ideas?

John Wunderly
0
Comment
Question by:JWunderly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 9856916
at 1st, we need more information around your question:

1. what does "remotely" mean? the two servers are on same LAN or isolated by internet zone even firewall between them?

2. how do the servers resolve their names? by dns server, hosts file, wins server or lmhosts file?

3. installing RK does not mean RSH service will be installed too. you should manually install remote shell service to make server side ready. to do it:

Copy Rshsetup.exe, Rshsvc.exe, Rshsvc.dll to the %SystemRoot%\System32 folder.
At the command prompt, type the following command:
rshsetup %systemroot%\system32\rshsvc.exe %systemroot%\system32\rshsvc.dll

hope it helps,
bbao
0
 

Author Comment

by:JWunderly
ID: 9858852
1.  They are on the same LAN, no isolation.  There are several executables that a user will have to run, but we don't want him to use a remote control tool (e.g. VNC).  Name resolution is via DNS.

2.  I have the service running on the server.  With the following command line, I am getting an "Access Denied".  

    rsh bbmus1n -l BBMUS\wundjous d:\oracle\ora_admin\atdev_exp.bat

3.  The user "BBMUS\wundjous" is in the "Administrators" group on the server.

What am I missing here?

thanks,
John Wunderly
0
 
LVL 37

Accepted Solution

by:
bbao earned 250 total points
ID: 9859044
commonly, RshSvc returns an "Access denied" message under the following conditions:

1. the RSH client computer name is not specified in the RHOSTS file.
2. the name of the logged-on user on the RSH client computer is not present in the RHOSTS files.
3. RshSvc (using GetHostByName) failed to resolve the IP address of a computer specified in the RHOSTS files and a user is trying to access this service from that computer.
4. in windows 2000, the "Register this connection's address in DNS" option is checked.
0
 
LVL 37

Expert Comment

by:bbao
ID: 10054428
JWunderly, any feedback please?
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question