Why osad or rhncfg-client fails with error "AttributeError: 'module' object has no attribute 'getServerlURL'" ?

Solution Verified - Updated -

Issue

  • Starting osad client encounters this error:

    # /etc/init.d/osad start
    Starting osad: Error caught:
    Traceback (most recent call last):
      File "/usr/share/rhn/osad/jabber_lib.py", line 111, in main
        config = self.read_config()
      File "/usr/share/rhn/osad/osad.py", line 264, in read_config
        server_url = config.getServerlURL()[0]
    AttributeError: 'module' object has no attribute 'getServerlURL'
    
  • Running rhncfg-client throws below error,

    # rhncfg-client list
    Traceback (most recent call last):
      File "/usr/bin/rhncfg-client", line 38, in ?
        sys.exit(Main().main() or 0)
      File "/usr/share/rhn/config_common/rhn_main.py", line 143, in main
        server_name = config.getServerlURL()
    AttributeError: 'module' object has no attribute 'getServerlURL'
    

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.