View previous topic :: View next topic |
Author |
Message |
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Sun Mar 23, 2003 10:23 am Post subject: rsyncd problems |
|
|
Hi!
I want to use my main computer as server for a notbook install, but I have problems starting rsyncd.
This is my rsyncd.conf
pid file = /var/run/rsyncd.pid
motd file = /etc/rsync/rsyncd.motd
syslog facility = local3
timeout = 150
[gentoo-x86-portage]
path = /usr/portage
comment = Gentoo Linux Portage tree
[gentoo-portage]
path = /usr/portage
comment = Gentoo Linux Portage tree
Starting rsyncd gives no error, but when I want to stop it I get:
/etc/init.d/rsyncd stop
* Stopping rsyncd...
cat: /var/run/rsyncd.pid: No such file or directory
It seems, that my rsyncd is not running. What can I do? |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Sun Mar 23, 2003 11:47 am Post subject: |
|
|
Just found the solution:
In /etc/init.d/rsyncd I had to add
--config=/etc/rsyncd.conf
start() {
ebegin "Starting rsyncd"
rsync --config=/etc/rsyncd.conf --daemon ${RSYNC_OPTS}
eend $?
} |
|
Back to top |
|
|
Zephaniah Tux's lil' helper
Joined: 19 Sep 2002 Posts: 112 Location: Australiosis
|
Posted: Sun Jul 27, 2003 2:32 pm Post subject: |
|
|
Thanks for posting the solution, I was having the same problem. I did;
Code: | RSYNC_OPTS="--config=/etc/rsync/rsyncd.conf" |
in make.conf and left /etc/init.d/rsyncd as it is by default. That seems to work well also. |
|
Back to top |
|
|
penetrode Apprentice
Joined: 29 Dec 2003 Posts: 285 Location: Calgary, Alberta
|
Posted: Thu Jan 22, 2004 6:17 pm Post subject: This is a bug! |
|
|
Guys, this is a bug, and I can't believe you didn't post it to bugs.gentoo.org. This has been the case since July?
rsync should start cleanly even if unconfigured. Instead it leaves garbage behind and prevents the user from starting it again even if the problem has been corrected.
See: https://bugs.gentoo.org/show_bug.cgi?id=39049 |
|
Back to top |
|
|
|