Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rsyncd problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Sun Mar 23, 2003 10:23 am    Post subject: rsyncd problems Reply with quote

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
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Sun Mar 23, 2003 11:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Zephaniah
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2002
Posts: 112
Location: Australiosis

PostPosted: Sun Jul 27, 2003 2:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
penetrode
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 285
Location: Calgary, Alberta

PostPosted: Thu Jan 22, 2004 6:17 pm    Post subject: This is a bug! Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum