RHN Proxy error (during proxy login). Please contact your system administrator.



  • Note: Most newer redhat versions 7.x, you may need the proxy settings, but it will not reference the legacy RHN Classic configuration.

    The Full Error.
    Error communicating with server. The message was:

    Error Message:
    RHN Proxy error (during proxy login). Please contact your system administrator.
    Error Class Code: 1000
    Error Class Info: RHN Proxy error.
    Explanation:
    An error has occurred while processing your request. If this problem
    persists please enter a bug report at bugzilla.redhat.com.
    If you choose to submit the bug report, please be sure to include
    details of what you were trying to do when this error occurred and
    details on how to reproduce this problem.

    You will see this error when there is an issue contacting either a Redhat Satellite Server or Redhats own subscription update servers. In this example there is not direct internet access. Traffic goes via a proxy, which is not configured properly.

    This part of the error is coming from the legacy RHN Classic which has been replaced. This fix will work regardless of this error.

    RHN Satellite or RHN Classic support will be disabled.
    Error communicating with server. The message was:

    Error Message:
    RHN Proxy error (during proxy login). Please contact your system administrator.
    Error Class Code: 1000
    Error Class Info: RHN Proxy error.
    Explanation:
    An error has occurred while processing your request. If this problem
    persists please enter a bug report at bugzilla.redhat.com.
    If you choose to submit the bug report, please be sure to include
    details of what you were trying to do when this error occurred and
    details on how to reproduce this problem.

    The following command shows a couple of things:

    $  sudo yum install libselinux-python
    Loaded plugins: product-id, rhnplugin, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    There was an error communicating with RHN.
    RHN Satellite or RHN Classic support will be disabled.
    Error communicating with server. The message was:
    
    Error Message:
        RHN Proxy error (during proxy login). Please contact your system administrator.
    Error Class Code: 1000
    Error Class Info: RHN Proxy error.
    Explanation:
         An error has occurred while processing your request. If this problem
         persists please enter a bug report at bugzilla.redhat.com.
         If you choose to submit the bug report, please be sure to include
         details of what you were trying to do when this error occurred and
         details on how to reproduce this problem.
    
    Setting up Install Process
    No package libselinux-python available.
    Error: Nothing to do
    

    Troubleshooting
    The line: Loaded plugins: product-id, rhnplugin, subscription-manager show that rhnplugin plugin is enabled and subscription-manager plugin is enabled.

    Edit the /etc/rhsm/rhsm.conf file, change the proxy_hostname and proxy_port to your setting.

    E.g:

    # an http proxy server to use
    proxy_hostname = myproxy.acme.com
    
    # port for http proxy server
    proxy_port = 8080
    

    Subscribing your server to subscription management.
    The second line says "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register." next we have to subscribe it.

    As there is a legacy subscription in place, it says it is already subscribed, also we found running the register and then the auto attach separately worked best.

    $ sudo subscription-manager register --username subacct --password subacctpw
    
    WARNING This system has already been registered with Red Hat using RHN Classic.
    
    Your system is being registered again using Red Hat Subscription Management. Red Hat recommends that customers only register once.
    
    To learn how to unregister from either service please consult this Knowledge Base Article: https://access.redhat.com/kb/docs/DOC-45563
    The system has been registered with ID:  X
    

    Auto attach software repositories to the server.

    $ sudo subscription-manager attach --auto
    Installed Product Current Status:
    Product Name: Red Hat Enterprise Linux 6 Server
    Status:       Subscribed
    

    If you run your original command now, it still show the old legacy RHN Classic error, but does communicate with the Subscription Management Redhat site.

    $  sudo yum install libselinux-python                     Loaded plugins: product-id, rhnplugin, subscription-manager
    This system is receiving updates from Red Hat Subscription Management.
    There was an error communicating with RHN.
    RHN Satellite or RHN Classic support will be disabled.
    Error communicating with server. The message was:
    
    Error Message:
        RHN Proxy error (during proxy login). Please contact your system administrator.
    Error Class Code: 1000
    Error Class Info: RHN Proxy error.
    Explanation:
         An error has occurred while processing your request. If this problem
         persists please enter a bug report at bugzilla.redhat.com.
         If you choose to submit the bug report, please be sure to include
         details of what you were trying to do when this error occurred and
         details on how to reproduce this problem.
    
    rhel-6-server-rpms                                           | 3.5 kB     00:00
    rhel-6-server-rpms/primary_db                                |  60 MB     00:03
    rhel-server-dts-6-rpms                                       | 3.4 kB     00:00
    rhel-server-dts-6-rpms/primary_db                            |  44 kB     00:00
    rhel-server-dts2-6-rpms                                      | 3.2 kB     00:00
    rhel-server-dts2-6-rpms/primary_db                           | 166 kB     00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package libselinux-python.x86_64 0:2.0.94-7.el6 will be installed
    --> Processing Dependency: libselinux = 2.0.94-7.el6 for package: libselinux-python-2.0.94-7.el6.x86_64
    --> Running transaction check
    ---> Package libselinux.x86_64 0:2.0.94-5.3.el6_4.1 will be updated
    --> Processing Dependency: libselinux = 2.0.94-5.3.el6_4.1 for package: libselinux-devel-2.0.94-5.3.el6_4.1.x86_64
    --> Processing Dependency: libselinux = 2.0.94-5.3.el6_4.1 for package: libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
    ---> Package libselinux.x86_64 0:2.0.94-7.el6 will be an update
    --> Running transaction check
    ---> Package libselinux-devel.x86_64 0:2.0.94-5.3.el6_4.1 will be updated
    ---> Package libselinux-devel.x86_64 0:2.0.94-7.el6 will be an update
    ---> Package libselinux-utils.x86_64 0:2.0.94-5.3.el6_4.1 will be updated
    ---> Package libselinux-utils.x86_64 0:2.0.94-7.el6 will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ====================================================================================
     Package                Arch        Version           Repository               Size
    ====================================================================================
    Installing:
     libselinux-python      x86_64      2.0.94-7.el6      rhel-6-server-rpms      203 k
    Updating for dependencies:
     libselinux             x86_64      2.0.94-7.el6      rhel-6-server-rpms      109 k
     libselinux-devel       x86_64      2.0.94-7.el6      rhel-6-server-rpms      137 k
     libselinux-utils       x86_64      2.0.94-7.el6      rhel-6-server-rpms       82 k
    
    Transaction Summary
    ====================================================================================
    Install       1 Package(s)
    Upgrade       3 Package(s)
    
    Total download size: 531 k
    Is this ok [y/N]:
    

Log in to reply
 

© Lightnetics 2024