On Thu 09 Oct 2014, Xoor Bes wrote:
> 
> I have problem with rsync. I can run int without any problem by hand
> 
> /etc/rc2.d# /etc/init.d/rsync start
> [ ok ] Starting rsync (via systemctl): rsync.service.
> 
> /etc/rc2.d# /etc/init.d/rsync status
> rsync.service - fast remote file copy program daemon
>    Loaded: loaded (/lib/systemd/system/rsync.service; disabled)
>    Active: active (running) since Thu 2014-10-09 16:29:07 CEST; 6min ago
>  Main PID: 867 (rsync)
>    CGroup: /system.slice/rsync.service
>            867 /usr/bin/rsync --daemon --no-detach
> 
> Oct 09 16:29:07 XXXXXXXXXXXX rsyncd[867]: rsyncd version 3.1.1 starting, 
> listening on port 873
> 
> 
> /var/log# /etc/init.d/rsync stop
> [ ok ] Stopping rsync (via systemctl): rsync.service.
> 
> 
> 
> but it doens't start after bootup process... I do not see any information 
> neither in the syslog or on the console screen.
> 
> If I try run it like this...
> 
> /etc/rc2.d# /etc/rc2.d/S02rsync start
> [....] Starting S02rsync (via systemctl): S02rsync.serviceFailed to start 
> S02rsync.service: Unit S02rsync.service failed to load: No such file or 
> directory.
>  failed!

You're apparently running systemd, but you're now using the old method
of the symlinks? I don't have any experience with systemd (and I hope to
keep it that way for as long as I can), but I don't think you should be
using the rcX.d/ directories when using systemd.

I hope someone else can help...
That's the problem with systemd apparently, if it doesn't work it's very
hard to find out why.

Paul


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to