Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

W2kpro  RSH --> W2K server

Posted on 2003-12-01
6
Medium Priority
?
335 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 1000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

705 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