rsync: if a module is not found, what can I check?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am trying to simply copy a file from 192.168.1.225 to 192.168.1.228
I'm executing the following command from a ubuntu VM at ip 192.168.1.228. (I'm trying to do a pull, if i'm not wrong in the term)
rsync rsync://realtebo@192.168.1.225/pihole_conf/black.list /etc/pihole/black.list
In the .225 I created the pihole_conf as follows
realtebo@192.168.1.225$ cat /etc/rsyncd.conf
[pihole_conf]
comment = Pihole configuration
path = /etc/pihole
auth users = realtebo
hosts allow = *
hosts deny = *
list = false
This is the error
@ERROR: Unknown module 'pihole_conf'
rsync error: error starting client-server protocol (code 5) at main.c(1666) [Receiver=3.1.2]
I'd like an help to understand the source of the problem.
rsync
add a comment |Â
up vote
0
down vote
favorite
I am trying to simply copy a file from 192.168.1.225 to 192.168.1.228
I'm executing the following command from a ubuntu VM at ip 192.168.1.228. (I'm trying to do a pull, if i'm not wrong in the term)
rsync rsync://realtebo@192.168.1.225/pihole_conf/black.list /etc/pihole/black.list
In the .225 I created the pihole_conf as follows
realtebo@192.168.1.225$ cat /etc/rsyncd.conf
[pihole_conf]
comment = Pihole configuration
path = /etc/pihole
auth users = realtebo
hosts allow = *
hosts deny = *
list = false
This is the error
@ERROR: Unknown module 'pihole_conf'
rsync error: error starting client-server protocol (code 5) at main.c(1666) [Receiver=3.1.2]
I'd like an help to understand the source of the problem.
rsync
I believe the syntax isrsync://user@host::module/...
. Or justuser@host::module/...
.
â Kusalananda
Aug 13 at 14:39
According to the man page,rsync://[user@]host/module/
is correct. But has the rsync daemon been restarted after modifying the configuration file?
â telcoM
Aug 13 at 14:41
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to simply copy a file from 192.168.1.225 to 192.168.1.228
I'm executing the following command from a ubuntu VM at ip 192.168.1.228. (I'm trying to do a pull, if i'm not wrong in the term)
rsync rsync://realtebo@192.168.1.225/pihole_conf/black.list /etc/pihole/black.list
In the .225 I created the pihole_conf as follows
realtebo@192.168.1.225$ cat /etc/rsyncd.conf
[pihole_conf]
comment = Pihole configuration
path = /etc/pihole
auth users = realtebo
hosts allow = *
hosts deny = *
list = false
This is the error
@ERROR: Unknown module 'pihole_conf'
rsync error: error starting client-server protocol (code 5) at main.c(1666) [Receiver=3.1.2]
I'd like an help to understand the source of the problem.
rsync
I am trying to simply copy a file from 192.168.1.225 to 192.168.1.228
I'm executing the following command from a ubuntu VM at ip 192.168.1.228. (I'm trying to do a pull, if i'm not wrong in the term)
rsync rsync://realtebo@192.168.1.225/pihole_conf/black.list /etc/pihole/black.list
In the .225 I created the pihole_conf as follows
realtebo@192.168.1.225$ cat /etc/rsyncd.conf
[pihole_conf]
comment = Pihole configuration
path = /etc/pihole
auth users = realtebo
hosts allow = *
hosts deny = *
list = false
This is the error
@ERROR: Unknown module 'pihole_conf'
rsync error: error starting client-server protocol (code 5) at main.c(1666) [Receiver=3.1.2]
I'd like an help to understand the source of the problem.
rsync
rsync
edited Aug 13 at 14:37
asked Aug 13 at 14:30
realtebo
1013
1013
I believe the syntax isrsync://user@host::module/...
. Or justuser@host::module/...
.
â Kusalananda
Aug 13 at 14:39
According to the man page,rsync://[user@]host/module/
is correct. But has the rsync daemon been restarted after modifying the configuration file?
â telcoM
Aug 13 at 14:41
add a comment |Â
I believe the syntax isrsync://user@host::module/...
. Or justuser@host::module/...
.
â Kusalananda
Aug 13 at 14:39
According to the man page,rsync://[user@]host/module/
is correct. But has the rsync daemon been restarted after modifying the configuration file?
â telcoM
Aug 13 at 14:41
I believe the syntax is
rsync://user@host::module/...
. Or just user@host::module/...
.â Kusalananda
Aug 13 at 14:39
I believe the syntax is
rsync://user@host::module/...
. Or just user@host::module/...
.â Kusalananda
Aug 13 at 14:39
According to the man page,
rsync://[user@]host/module/
is correct. But has the rsync daemon been restarted after modifying the configuration file?â telcoM
Aug 13 at 14:41
According to the man page,
rsync://[user@]host/module/
is correct. But has the rsync daemon been restarted after modifying the configuration file?â telcoM
Aug 13 at 14:41
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You are both allowing and denying all possible hosts from that module.
Remove the hosts deny = *
line and it should work.
You do have a secrets file
defined, I hope, which contains the allowed user and the corresponding password. It looks like you don't, but perhaps you redacted some of the rsyncd.conf contents without telling us.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You are both allowing and denying all possible hosts from that module.
Remove the hosts deny = *
line and it should work.
You do have a secrets file
defined, I hope, which contains the allowed user and the corresponding password. It looks like you don't, but perhaps you redacted some of the rsyncd.conf contents without telling us.
add a comment |Â
up vote
0
down vote
You are both allowing and denying all possible hosts from that module.
Remove the hosts deny = *
line and it should work.
You do have a secrets file
defined, I hope, which contains the allowed user and the corresponding password. It looks like you don't, but perhaps you redacted some of the rsyncd.conf contents without telling us.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You are both allowing and denying all possible hosts from that module.
Remove the hosts deny = *
line and it should work.
You do have a secrets file
defined, I hope, which contains the allowed user and the corresponding password. It looks like you don't, but perhaps you redacted some of the rsyncd.conf contents without telling us.
You are both allowing and denying all possible hosts from that module.
Remove the hosts deny = *
line and it should work.
You do have a secrets file
defined, I hope, which contains the allowed user and the corresponding password. It looks like you don't, but perhaps you redacted some of the rsyncd.conf contents without telling us.
answered Aug 13 at 16:18
wurtel
9,36511324
9,36511324
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462312%2frsync-if-a-module-is-not-found-what-can-i-check%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I believe the syntax is
rsync://user@host::module/...
. Or justuser@host::module/...
.â Kusalananda
Aug 13 at 14:39
According to the man page,
rsync://[user@]host/module/
is correct. But has the rsync daemon been restarted after modifying the configuration file?â telcoM
Aug 13 at 14:41