Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2006 00:21:44 -0500
From:      Charles Howse <chowse@charter.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: rsync errors
Message-ID:  <AD504489-4D7E-4737-B7B7-EA632F925247@charter.net>
In-Reply-To: <20060528234104.I77748@bravo.pjkh.com>
References:  <4ACF77C1-571D-43EA-8FD2-B2A91732C5D8@charter.net> <20060528234104.I77748@bravo.pjkh.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 28, 2006, at 11:41 PM, Philip Hallstrom wrote:

>> I have rsync installed on 2 6.1-RELEASE boxes on my home lan.  I  
>> want to sync the webserver (curly) to the backup server (moe).   
>> When I run rsync on moe, I get the following:
>>
>> $ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/ 
>> etc/apache22
>> Password:
>> receiving file list ... done
>> rsync: mkstemp "/usr/local/etc/apache22/.httpd.conf.p9eLuI"  
>> failed: Permission denied (13)
>> inflate returned -3 (0 bytes)
>> rsync error: error in rsync protocol data stream (code 12) at  
>> token.c(421) [receiver=2.6.8]
>> rsync: connection unexpectedly closed (46 bytes received so far)  
>> [generator]
>> rsync error: error in rsync protocol data stream (code 12) at io.c 
>> (472) [generator=2.6.8]
>>
>> Where can I look to correct this?
>
> Do you have write access to moe:/usr/local/etc/apache22?  What  
> happens if you try and create a file in that directory... does it  
> work?

It was a permissions problem, fixed now, thanks very much.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AD504489-4D7E-4737-B7B7-EA632F925247>