On Red Hat Satellite 5 Data Base backup fails with error Can't open config file '/etc/rhn/rhn.conf': Permission denied

Solution Verified - Updated -

Issue

  • While running command db-control backup on Red Hat Satellite 5, it fails with below error:
Can't open config file '/etc/rhn/rhn.conf': Permission denied at /usr/share/perl5/vendor_perl/PXT/Config.pm line 71.
Compilation failed in require at /usr/share/perl5/vendor_perl/Dobby/CLI/MiscCommands.pm line 22.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Dobby/CLI/MiscCommands.pm line 22.
Compilation failed in require at /usr/bin/db-control line 8.
BEGIN failed--compilation aborted at /usr/bin/db-control line 8.

Environment

  • Red Hat Satellite 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content