Connection refused
jw schultz
jw at pegasys.ws
Tue Apr 29 12:41:57 EST 2003
On Mon, Apr 28, 2003 at 07:30:23PM -0700, Steve Dekorte wrote:
>
> On Monday, April 28, 2003, at 06:40 PM, jw schultz wrote:
> >If i recall correctly you are trying to invoke the daemon
> >under inetd.
> >
> >Make sure the daemon process is not still running between
> >updating the binary and testing it.
>
> [max:/Users/steve/rsync-2.5.6] steve# ps -aux | grep inetd
> root 327 0.0 0.0 1308 108 ?? Ss Thu04AM 0:00.02 inetd
> root 18328 0.0 0.0 1416 308 std S+ 7:28PM 0:00.00 grep
> inetd
> [max:/Users/steve/rsync-2.5.6] steve# kill -HUP 327
> [max:/Users/steve/rsync-2.5.6] steve# ps -aux | grep rsync
> root 18334 0.0 0.0 1416 308 std S+ 7:29PM 0:00.01 grep
> rsync
> [max:/Users/steve/rsync-2.5.6] steve# rsync -av --progress
> localhost::io .
> @ERROR: setgroups failed
> rsync: connection unexpectedly closed (37 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(165)
Sorry for the merry-go-round. I made a slight error.
Instead of "#define HAVE_SETGROUPS 0" use "#undef HAVE_SETGROUPS"
The code that refers to it uses "#ifdef" instead of "#if".
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync
mailing list