Solved

W2kpro  RSH --> W2K server

Posted on 2003-12-01
6
327 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
  • 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 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