Paul Slootman wrote ..
> On Tue 15 Apr 2008, Stephan Breitrainer wrote:
> > 
> > Logfile: /var/log/rsyncd.log
> > 2008/04/15 00:13:18 [14920] rsync error: received SIGINT, SIGTERM, or SIGHUP
> (code 20) at rsync.c(271) 
> > [receiver=2.6.9]
> > 2008/04/15 00:13:19 [15022] rsync: failed to create pid file 
> > /var/run/rsync.pid:
> File exists (17)
> > 2008/04/15 00:13:19 [15022] rsync error: error in file IO (code 11) at 
> > clientserver.c(991)
> [receiver=3.0.2]
> 
> A little more info would be helpful, as no one else seems to have your
> problems.
> 
> 
> Paul Slootman

Here are my config files:

sun:~# cat /etc/default/rsync
# defaults file for rsync daemon mode

# start rsync in daemon mode from init.d script?
#  only allowed values are "true", "false", and "inetd"
#  Use "inetd" if you want to start the rsyncd from inetd,
#  all this does is prevent the init.d script from printing a message
#  about not starting rsyncd (you still need to modify inetd's config yourself).
RSYNC_ENABLE=true

# which file should be used as the configuration file for rsync.
# This file is used instead of the default /etc/rsyncd.conf
# Warning: This option has no effect if the daemon is accessed
#          using a remote shell. When using a different file for
#          rsync you might want to symlink /etc/rsyncd.conf to
#          that file.
RSYNC_CONFIG_FILE=/etc/rsyncd.conf

# what extra options to give rsync --daemon?
#  that excludes the --daemon; that's always done in the init.d script
#  Possibilities are:
#   --address=123.45.67.89              (bind to a specific IP address)
#   --port=8730                         (bind to specified port; default 873)
RSYNC_OPTS=''

# Don't forget to create an appropriate config file,
# else the daemon will not start.


sun:~# cat /etc/rsyncd.conf
pid file = /var/run/rsync.pid
log file = /var/log/rsyncd.log

[www]
path = /var/www/
use chroot = false
read only = true
list = false
uid = 0
gid = 0


apt-get dist-upgrade shows:

Preparing to replace rsync 2.6.9-6 (using .../rsync_3.0.2-1_amd64.deb) ...
Unpacking replacement rsync ...
Setting up rsync (3.0.2-1) ...
Installing new version of config file /etc/init.d/rsync ...
Restarting rsync daemon: rsync* rsync daemon failed to start
 failed!

To get rsync working again, i've to install rsync_2.6.9-6_amd64.deb

System is a dual AMD Opteron 244 with 2 gig of ram (sun fire v20z) and 2x73 GB 
scsi hdd.

Do you need any other infos (log files, debug etc?)

Thanks,
Stephan

Reply via email to