How to Set Up UrBackup Server on Rocky Linux 9 Without Permission Issues?

0
7
Asked By TechyTurtle27 On

I've been trying to get an UrBackup server running on Rocky Linux 9. After cloning the necessary files from Git and installing the required repositories, I encounter a frustrating error when launching the server with the command 'urbackupsvr run'. The error says: 'FileSink: error opening file for writing: urbackup/server_ident_ecdsazzzz1.priv'. I've double-checked permissions, and I'm logged in as root, but I can't seem to resolve this issue. Can anyone who has experience setting up UrBackup on Rocky 9 share their insight or guidance? Your help would mean a lot!

5 Answers

Answered By AdminNinja99 On

The error you're seeing typically suggests a permissions problem. What exact permissions did you set? It sounds like the UrBackup user might not have the right access to that directory.

Answered By SourceSavant88 On

Though this isn’t about cloning from Git, I managed to install and compile UrBackup from source on Rocky 9 without any hitches. Just followed their guide and needed to install the cryptopp-devel package from EPEL. It was simpler than I expected.

Answered By LinuxLover89 On

Have you checked your SELinux settings? Sometimes it can block access even if permissions look right. You might need to adjust the context to allow UrBackup to write files properly.

CuriousCoder42 -

That was my first thought too! Always a good idea to look at SELinux when encountering permission issues.

Answered By RHELWizard On

Make sure to verify the full path and permissions of the directory mentioned in the error. Also, check if the UrBackup user is part of the group that owns the directory. And if you're running it across mounted filesystems, that might cause issues too.

Answered By DockerDude22 On

I haven’t personally set it up, but I’ve heard that binhex has some great Docker images for UrBackup. If you want to avoid these issues, maybe consider using Docker instead! Check out their GitHub.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.