This sounds like the kind of error you get if the host you issue the command from has 
no /etc/host entry on the server, or no DNS entry.  The r commands like to do a 
reverse lookup to verify the IP address.

-----Original Message-----
From: Wolfe, Gordon W [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 2:54 PM
To: [EMAIL PROTECTED]
Subject: rexec


I'm trying to set up rexec to do specific commands from a disconnected CMS server on 
the VM machine running all the linux instances.

With my SuSE SLES8 instances, I just set up the "service exec" in /etc/xinetd.conf to 
use /usr/sbin/in.rexecd and restarted xinetd, then added the host I wanted to be able 
to do remote commands in /etc/hosts.allow under in.rexecd.  This works perfectly from 
CMS using the command

rexec -l <userid> -p Password> my.host.dns.name <command>

I have one Red Hat server that is actually the most critical one for this application. 
 I set it up identically, but when I do the rexec command from CMS, all I get is 

Where are you?
and a return code of 1, no matter what the command.

I've got to be missing something somewhere.  Anyone know what it is?

"Always do right.  This will gratify some people and confound the rest."  - Mark Twain
Gordon W. Wolfe, Ph.D, (425) 865 - 5940
VM Technical Services, the Boeing Company

Reply via email to