unable to open configuration file rsyncd.conf

This is a discussion on unable to open configuration file rsyncd.conf within the Rsync forums, part of the Networking and Network Related category; This is a multipart message in MIME format. --===============0946457877== Content-Type: multipart/alternative; boundary="=_alternative 007474F486257068_=" This is ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-25-2005
Tim.Clashin@calcucare.com
 
Posts: n/a
Default unable to open configuration file rsyncd.conf

This is a multipart message in MIME format.
--===============0946457877==
Content-Type: multipart/alternative;
boundary="=_alternative 007474F486257068_="

This is a multipart message in MIME format.
--=_alternative 007474F486257068_=
Content-Type: text/plain; charset="US-ASCII"

Hello,

Rsync is working great for me right now, using version 2.6.5 on two
Solaris 9 V100 servers. Box A is the source and box B is the destination,
and also box B is my rsync server box. Box A is a rsync client. Yesterdar
from Box B I pulled 250 meg just fine from box A with rsync.

Today from the client I want to just copy over to the server what files
have changed today.

So my command from the client is the following:

/usr/local/bin/rsync --partial --progress --stats -az -e "ssh -p 22"
/"directory on the client" USER@boxA::modulename

I do get a connection to Box B but after I enter the user's password thru
ssh, I get the following the client:

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
_exit_cleanup(code=12, file=io.c, line=434): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(434)
_exit_cleanup(code=12, file=io.c, line=434): about to call exit(12)

this is what is produced on the server /var/adm/messages:
rsyncd[19422]: [ID 702911 daemon.warning] rsync: rsync: unable to open
configuration file "rsyncd.conf": No such file or directory (2)
rsyncd[19422]: [ID 702911 daemon.warning] rsync error: syntax or usage
error (code 1) at clientserver.c(512)
rsyncd[19436]: [ID 702911 daemon.warning] rsync: rsync: unable to open
configuration file "rsyncd.conf": No such file or directory (2)
rsyncd[19436]: [ID 702911 daemon.warning] rsync error: syntax or usage
error (code 1) at clientserver.c(512)

On the server I am running rsync in daemon mode by using this command,

/usr/local/bin/rsync --deamon --config /etc/rsyncd.conf, and the daemon is
running, but the client is still get the unable to find /etc/rsyncd.conf.

Here is my rsyncd.conf file on the Box B.

transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log
pid file = /var/run/rsync.pid
uid = nobody
gid = nobody
use chroot = no
max connections = 28
address = 10.210.4.64

[es0028]
path = /pc1/snapshot/hourly.0/infermos/
comment = es0028 backup


Any assistance would be greatful, and thanks in advance.

Tim
--=_alternative 007474F486257068_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">Rsync is working great for me right
now, using version 2.6.5 on two Solaris 9 V100 servers. &nbsp;Box A is
the source and box B is the destination, and also box B is my rsync server
box. &nbsp;Box A is a rsync client. &nbsp;Yesterdar from Box B I pulled
250 meg just fine from box A with rsync. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Today from the client I want to just
copy over to the server what files have changed today. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">So my command from the client is the
following:</font>
<br>
<br><font size=2 face="sans-serif">/usr/local/bin/rsync --partial --progress
--stats -az -e &quot;ssh -p 22&quot; /&quot;directory on the client&quot;
USER@boxA::modulename</font>
<br>
<br><font size=2 face="sans-serif">I do get a connection to Box B but after
I enter the user's password thru ssh, I get the following the client:</font>
<br>
<br><font size=2 face="sans-serif">rsync: connection unexpectedly closed
(0 bytes received so far) [sender]</font>
<br><font size=2 face="sans-serif">_exit_cleanup(code=12, file=io.c, line=434):
entered</font>
<br><font size=2 face="sans-serif">rsync error: error in rsync protocol
data stream (code 12) at io.c(434)</font>
<br><font size=2 face="sans-serif">_exit_cleanup(code=12, file=io.c, line=434):
about to call exit(12)</font>
<br>
<br><font size=2 face="sans-serif">this is what is produced on the server
/var/adm/messages:</font>
<br><font size=2 face="sans-serif">rsyncd[19422]: [ID 702911 daemon.warning]
rsync: rsync: unable to open configuration file &quot;rsyncd.conf&quot;:
No such file or directory (2)</font>
<br><font size=2 face="sans-serif">rsyncd[19422]: [ID 702911 daemon.warning]
rsync error: syntax or usage error (code 1) at clientserver.c(512)</font>
<br><font size=2 face="sans-serif">rsyncd[19436]: [ID 702911 daemon.warning]
rsync: rsync: unable to open configuration file &quot;rsyncd.conf&quot;:
No such file or directory (2)</font>
<br><font size=2 face="sans-serif">rsyncd[19436]: [ID 702911 daemon.warning]
rsync error: syntax or usage error (code 1) at clientserver.c(512)</font>
<br>
<br><font size=2 face="sans-serif">On the server I am running rsync in
daemon mode by using this command,</font>
<br>
<br><font size=2 face="sans-serif">/usr/local/bin/rsync --deamon --config
/etc/rsyncd.conf, and the daemon is running, but the client is still get
the unable to find /etc/rsyncd.conf. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Here is my rsyncd.conf file on the Box
B.</font>
<br>
<br><font size=2 face="sans-serif">transfer logging = true</font>
<br><font size=2 face="sans-serif">log format = %h %o %f %l %b</font>
<br><font size=2 face="sans-serif">log file = /var/log/rsyncd.log</font>
<br><font size=2 face="sans-serif">pid file = /var/run/rsync.pid</font>
<br><font size=2 face="sans-serif">uid = nobody</font>
<br><font size=2 face="sans-serif">gid = nobody</font>
<br><font size=2 face="sans-serif">use chroot = no</font>
<br><font size=2 face="sans-serif">max connections = 28</font>
<br><font size=2 face="sans-serif">address = 10.210.4.64</font>
<br>
<br><font size=2 face="sans-serif">[es0028]</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; path = /pc1/snapshot/hourly.0/infermos/</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; comment
= es0028 backup</font>
<br>
<br>
<br><font size=2 face="sans-serif">Any assistance would be greatful, and
thanks in advance. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Tim </font>
--=_alternative 007474F486257068_=--

--===============0946457877==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--===============0946457877==--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:23 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0