Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#764616: rsync doesn't start during boot up process

56 views
Skip to first unread message

Xoor Bes

unread,
Oct 9, 2014, 12:10:02 PM10/9/14
to
Package: rsync
Version: 3.1.1-2
Severity: important

Debian Release: jessie/sid
Architecture: amd64 (x86_64)


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!


/etc/rc2.d# /etc/rc2.d/S02rsync status
S02rsync.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)


...It does not start.


/etc/rc2.d# ls -l S02rsync
lrwxrwxrwx 1 root root 15 Sep 22 23:07 S02rsync -> ../init.d/rsync

/etc/rc2.d# md5sum ../init.d/rsync
c5d89677f904551f5b192f35ad98d73c ../init.d/rsync

/etc/rc2.d# cat /etc/default/rsync |grep -Ev "^#"
RSYNC_ENABLE=true
RSYNC_OPTS=''
RSYNC_NICE=''


Regards,
Xoor


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Paul Slootman

unread,
Oct 9, 2014, 12:40:04 PM10/9/14
to
On Thu 09 Oct 2014, Xoor Bes wrote:

> but it doens't start after bootup process... I do not see any information neither in the syslog or on the console screen.

After a very little bit of googling: have you done:

systemctl enable rsync

?


Paul

Paul Slootman

unread,
Oct 9, 2014, 12:40:06 PM10/9/14
to
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
0 new messages