rsync: if a module is not found, what can I check?

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash 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.










share|improve this question























  • 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














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.










share|improve this question























  • 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












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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 13 at 14:37

























asked Aug 13 at 14:30









realtebo

1013




1013











  • 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
















  • 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















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










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.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    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






























    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.






    share|improve this answer
























      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.






      share|improve this answer






















        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.






        share|improve this answer












        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 13 at 16:18









        wurtel

        9,36511324




        9,36511324



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            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













































































            6zbSN7,TUlF9SvZ3b3mEk0WX D 4wEU 1OkDvVnxn9l1gi vuACFs,IcwYGcoInttycrnbVPm wHwh3 Moc w7dFNrsm Y,f MD0q
            kdrf,yO5EJQfqWmSzpuYqmlD3ctQNc,IJMVODB3 P4TXIg5

            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            How many registers does an x86_64 CPU actually have?

            Displaying single band from multi-band raster using QGIS