Results 1 to 7 of 7

Thread: rsyncd not running with systemd

  1. #1
    Join Date
    Oct 2011
    Beans
    100

    rsyncd not running with systemd

    Been running 15.04 under systemd for a week or so without any problems. Noticed that my rsync job on my laptop is failing to connect to the 15.04 desktop. The rsyncd is not running on the desktop. There is what appears to be a valid rsync.service file in /lib/systemd/system which is supposed to start the rsyncd (in fact manually issuing the command returns no errors and the rsyncd runs and the laptop rsync job completes). Check the systemd journal and do not see any indication that the start of the rsync.service job failed. What should I check or try to get the rsyncd running?

  2. #2
    Join Date
    Oct 2011
    Beans
    100

    Re: rsyncd not running with systemd

    Running "systemctl stop rsync" and "systemctl start rsync" will stop and restart the rsyncd without any indication of an error. Seems that something is stopping systemd from working on the rsync.service file when I boot the system.

  3. #3
    Join Date
    Oct 2011
    Beans
    100

    Re: rsyncd not running with systemd

    After booting the system ran the following "systemctl status rsync" and got the output....

    cliff@Desktopps:/etc/systemd/system$ systemctl status rsync
    ● rsync.service - fast remote file copy program daemon
    Loaded: loaded (/lib/systemd/system/rsync.service; disabled; vendor preset: enabled)
    Active: inactive (dead)


    Appears the service (or unit) is disabled and not starting automatically. How do I enable the service?

  4. #4
    Join Date
    Oct 2011
    Beans
    100

    Re: rsyncd not running with systemd

    Maybe I'm asking the wrong question so how about this one...

    Running 15.04 with systemd and want to ensure that the rsync daemon is started at boot. What needs to be set? Don't remember having an rsyncd problem when running 15.04 and upstart.

  5. #5
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: rsyncd not running with systemd

    Code:
    sudo systemctl status rsync.service
    sudo systemctl start rsync.service 
    sudo systemctl enable rsync.service
    sudo systemctl disable rsync.service
    to check, start, make/stop it start on boot...

  6. #6
    Join Date
    Oct 2011
    Beans
    100

    Re: rsyncd not running with systemd

    Quote Originally Posted by zika View Post
    Code:
    sudo systemctl status rsync.service
    sudo systemctl start rsync.service 
    sudo systemctl enable rsync.service
    sudo systemctl disable rsync.service
    to check, start, make/stop it start on boot...
    Thanks, running "sudo systemctl enable rsync" now starts rsyncd at boot.

  7. #7
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: rsyncd not running with systemd

    Quote Originally Posted by crcarson View Post
    Thanks, running "sudo systemctl enable rsync" now starts rsyncd at boot.
    Yeap, as it should. Enjoy...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •