I got rsnapshot based backup server up and running for my network under Debian Linux 5.x. But, whenever I run a backup job using the following command:
rsnapshot -v -c /root/rsnapshot.server1.conf hourly
I get the following messages on screen:
WARNING: Could not lchown() symlink "/nas/.rsnapshot/hourly.1/server1.example.com/etc/alternatives/locate"
WARNING: Could not lchown() symlink "/nas/.rsnapshot/hourly.1/server1.example.com/etc/alternatives/nc.1.gz"
WARNING: Could not lchown() symlink "/nas/.rsnapshot/hourly.1/server1.example.com/etc/alternatives/jexec-binfmt"
WARNING: Could not lchown() symlink "/nas/.rsnapshot/hourly.1/server1.example.com/etc/alternatives/servertool"
How do I fix this problem?
You need to install the Lchown module which provides a perl interface to the lchown UNIX system call, on systems that support lchown. The lchown() call is used to change the ownership and group of symbolic links. To install the same, enter:
sudo apt-get update
sudo apt-get install liblchown-perl
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: xmms2-plugin-pulse xmms2-plugin-id3v2 xmms2-plugin-alsa xmms2-core xmms2-plugin-vorbis xmms2-plugin-mad xmms2-client-cli Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: liblchown-perl 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 9,574B of archives. After this operation, 81.9kB of additional disk space will be used. Get:1 http://archive.ubuntu.com karmic/universe liblchown-perl 1.00-1 [9,574B] Fetched 9,574B in 0s (10.9kB/s) Selecting previously deselected package liblchown-perl. (Reading database ... 123150 files and directories currently installed.) Unpacking liblchown-perl (from .../liblchown-perl_1.00-1_amd64.deb) ... Processing triggers for man-db ... Setting up liblchown-perl (1.00-1) ...
For other UNIX like operating systemsTwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!
- 30 Cool Open Source Software I Discovered in 2013
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012
- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop