From owner-freebsd-questions  Wed May 22 16:35:59 1996
Return-Path: owner-questions
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) id QAA09090
          for questions-outgoing; Wed, 22 May 1996 16:35:59 -0700 (PDT)
Received: from mispwoso.nosc.mil (mispwoso.nosc.mil [198.253.27.55])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA09084
          for <freebsd-questions@freebsd.org>; Wed, 22 May 1996 16:35:56 -0700 (PDT)
Received: (from huck@localhost) by mispwoso.nosc.mil (8.6.12/8.6.12) id TAA01671 for freebsd-questions@freebsd.org; Wed, 22 May 1996 19:35:54 -0400
From: Craig Huckabee <huck@mispwoso.nosc.mil>
Message-Id: <199605222335.TAA01671@mispwoso.nosc.mil>
Subject: rdist on local machine
To: freebsd-questions@freebsd.org (FreeBSD Questions)
Date: Wed, 22 May 1996 19:35:54 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL24 ME8a]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-questions@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk



  Configuration:

  One FreeBSD 2.1 RELEASE server running a web server for 3 virtual hosts.
  I've bound each host's IP address to my network card using 'ifconfig alias'.

  Problem:

  One of the 3 virtual hosts used to be on a seperate machine.  It was used
  as a development server, so Web pages could be built and tested before
  being moved to a 'live' public server.  I used scripts that used 'rdist'
  to move files from a staging area to the 'live' server.
  I've consolidated all of the Web services onto one master server, using
  'virtual hosts' for everything.

  Now I can't get 'rdist' to work with the virtual hosts.  For example :

  The machine's name is mispwoso, one virtual hostname is products.

  mispwoso> rdist -Ryc /u0/stage_area/ products:/u0/products/

  This fails with a 'rcmd : Unrecognized error : 0'

  Is there a way to make rdist work or is there an easy way to get the
  same functionality from some other combination of tools?
  Am I missing something obvious here?

  Any help is appreciated,
  Craig
  huck@nosc.mil