Bus errorとSegmentation faultに困ったら見るブログ

物理の研究者による日々の研究生活のメモ書きです ( python/emacs/html/Japascript/シェルスクリプト/TeX/Mac/C言語/Linux/git/tmux/R/ポケモンGO)

rsync.service is a disabled or a static unit, not starting it.というエラーが出た、デフォルトではdisableされてるっぽい【Debian12】

Debian12で、rsyncを使っているコードがうまく走らない・・・

インストールされてないのかな?と思って、aptでインストール

sudo apt -y install rsync

rsync.service is a disabled or a static unit, not starting it.

というエラー?が出る

理由はわからんが、デフォルトではdisableされてるっぽい

rsyncの状況を確認する

sudo systemctl status rsync

すると、disableされてる

○ rsync.service - fast remote file copy program daemon
Loaded: loaded (/lib/systemd/system/rsync.service; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:rsync(1)
man:rsyncd.conf(5)

rsyncを使えるようにする

sudo systemctl enable rsync

sudo systemctl status rsync
○ rsync.service - fast remote file copy program daemon
Loaded: loaded (/lib/systemd/system/rsync.service; enabled; preset: enabled)
Active: inactive (dead)
Docs: man:rsync(1)
man:rsyncd.conf(5)

ランキング参加中です

↓クリックしていただけると嬉しいです〜