instant-thinking.de

just enough to get you started and leave you confused

rsnapshot und SymLinks

| Kommentare

Wenn sich im rsnapshot-Log solche Meldungen finden:

1
2
3
4
5
6
[16/Jan/2008:21:15:35] Could not lchown() symlink "/opt/rsnapshot/daily.1/localhost/etc/rcS.d/S70screen-cleanup"
[16/Jan/2008:21:15:35] Could not lchown() symlink "/opt/rsnapshot/daily.1/localhost/etc/rcS.d/S75sudo"
[16/Jan/2008:21:15:36] Could not lchown() symlink "/opt/rsnapshot/daily.1/localhost/etc/dictionaries-common/default.aff"
[16/Jan/2008:21:15:36] Could not lchown() symlink "/opt/rsnapshot/daily.1/localhost/etc/dictionaries-common/default.hash"
[16/Jan/2008:21:15:36] Could not lchown() symlink "/opt/rsnapshot/daily.1/localhost/etc/dictionaries-common/words"
[16/Jan/2008:21:15:36] Could not lchown() symlink "/opt/rsnapshot/daily.1/localhost/etc/apache/mime.types"

Dann hilft es ungemein wenn man das Lchown Modul nachinstalliert. Bei bereits konfigurierter CPAN-Shell reicht da schon ein:

1
perl -MCPAN -e 'install qw(Lchown)'

Dann klappt das auch mit den SymLink-Rechten und man erblickt ein strahlendes Ergebnis in den Logs.

1
2
3
[18/Jan/2008:23:55:30] touch /opt/rsnapshot/daily.0/
[18/Jan/2008:23:55:30] rm -f /var/run/rsnapshot.pid
[18/Jan/2008:23:55:30] /usr/local/bin/rsnapshot daily: completed successfully

Comments