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?
Can you provide me a while loop control flow statement shell script syntax and example that allows code to be executed repeatedly based on a given boolean condition?
I‘ve ssh gateway behind my NAT firewall. So all users must first login to my gateway host from the internet and then login to other machines on the LAN. This works great for cli based apps. However, few users would like to run x apps from internal LAN hosts and tunnel X display through intermediate ssh gateway and display back output on their local system. For example, from localsystem user makes connection as follows:
ssh -X email@example.com
ssh -X firstname.lastname@example.org
X forwarding fails with an error:
Error: Can’t open display:
How do I fix this problem and allow users to use X apps with my intermediate Linux / BSD gateway?