There was an error communicating with rhn

Installing development tools in RHEL 6

I have admin privilege on my office computer (running RHEL 6) which is connected in a network. I was trying to install development tools using the command: sudo yum groupinstall «Development Tools» but I got an error message saying:

I tried to run rhn_register, it said «It appears this system has already been registered for software updates» .

Scrolling down, I found following lines:

Are these two things connected? Or the installation process of development tools have changed?

2 Answers 2

One: Certificate based repositories are a function of «subscription_manager» while «RHN Classic» is the traditional RHN. First you need to know which type your system is using. If it’s «certificate-based repositories» (aka subscription_manager) then you’ll see the file /etc/yum.repos.d/redhat.repo with content like:

If this is the case you’re likely using subscription_manager, if on the other hand you have a file located at: /etc/sysconfig/rhn/systemid then the system has been registered via «RHN Classic». Regardless, whichever method you have used, the other one should be turned off. This can be done by configuring the corresponding plugin’s config located in: /etc/yum/pluginconf.d/

For «RHN Classic» this will be the file «rhnplugin.conf» and for «subscription_manager» it will be «subscription-manager.conf». These are enabled/disabled by setting the boolean value «enabled=[0|1]» in the corresponding configuration file. If you have neither of these configurations then your system is not registered via RHN/subscription_manager and despite having local administration privileges you should contact your sysadmin who is in control of your RHN entitlements. If you are registered, let’s keep going.

Читайте также:  I9505 galaxy s4 4pda прошивка

Once you have disabled the plugin you have chosen not to use, verify that you can see the groups available and no error messages via the command:

this should yield output similar to:

You’ll notice that the name «Development tools» has a lowercase initial character in the second word. I did validate that this should work regardless of case.

Источник

There was an error communicating with rhn

Вопрос

I have tried to install R Open on RedHat (Red Hat Enterprise Linux Server release 6.1 (Santiago)). I am not root. I typed (

sudo ./install.sh). I am getting some error. This is my log:

Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.

Error Message:
Please run rhn_register as root on this client
Error Class Code: 9
Error Class Info: Invalid System Credentials.
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
Examining /home/matlab/mran/microsoft-r-open/rpm/microsoft-r-open-mro-3.4.1.rpm: microsoft-r-open-mro-3.4.1-3.4.1.1002-1.x86_64
/home/matlab/mran/microsoft-r-open/rpm/microsoft-r-open-mro-3.4.1.rpm: does not update installed package.

Источник

There was an error communicating with rhn

Вопрос

I have tried to install R Open on RedHat (Red Hat Enterprise Linux Server release 6.1 (Santiago)). I am not root. I typed (

sudo ./install.sh). I am getting some error. This is my log:

Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.

Читайте также:  Blackview p6000 прошивки 4pda

Error Message:
Please run rhn_register as root on this client
Error Class Code: 9
Error Class Info: Invalid System Credentials.
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
Examining /home/matlab/mran/microsoft-r-open/rpm/microsoft-r-open-mro-3.4.1.rpm: microsoft-r-open-mro-3.4.1-3.4.1.1002-1.x86_64
/home/matlab/mran/microsoft-r-open/rpm/microsoft-r-open-mro-3.4.1.rpm: does not update installed package.

Источник

System registration fails with «Name or service not known»

Environment

  • Red Hat Network(RHN)
  • Red Hat Enterprise Linux(RHEL)
  • Red Hat subscription Manager(RHSM)

Issue

System registration fails with error Name or service not known :

Unable to register system its fails error gaierror: [Errno -2] Name or service not known :

yum update fails with Error communicating with server. The message was Name or service unknown

Resolution

Start the messagebus and haldaemon services, if not running.

Check /etc/resolv.conf file to see if the DNS server entry is present in this file. If not, then verify your DNS server and then add its entry.

Check if sslCACert is define properly in /etc/sysconfig/rhn/up2date
It should be:

Restart network service:

For a system registered with RHSM:

Correct Server hostname and Server prefix entries in /etc/rhsm/rhsm.conf file as below:

Now register system

Root Cause

  • Firewall blocking some ports.
  • Incorrect CA certificate in /etc/sysconfig/rhn/up2date
    For system registered using RHN Classic, value is «sslCACert=/usr/share/rhn/RHNS-CA-CERT»
  • Incorrect Server hostname and Server prefix entries in /etc/rhsm/rhsm.conf file.

Diagnostic Steps

From error message it seems that there is an issue with name resolution.

Читайте также:  An error occurred while loading library driver updater

Check whether inbound and outbound ports i.e. 443 and 80 are open.

To check communication between client and server,

Check whether messagebus and haldaemon services are running:

For system registered with Red Hat Subscription Manager

Check /etc/rhsm/rhsm.conf file to verify following entries :

  • Product(s)
  • Red Hat Network
  • Component
  • rhn_register
  • subscription-manager
  • Tags
  • dns
  • rhn
  • rhn_classic
  • rhsm

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Источник

There was an error communicating with rhn

Вопрос

I have tried to install R Open on RedHat (Red Hat Enterprise Linux Server release 6.1 (Santiago)). I am not root. I typed (

sudo ./install.sh). I am getting some error. This is my log:

Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.

Error Message:
Please run rhn_register as root on this client
Error Class Code: 9
Error Class Info: Invalid System Credentials.
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
Examining /home/matlab/mran/microsoft-r-open/rpm/microsoft-r-open-mro-3.4.1.rpm: microsoft-r-open-mro-3.4.1-3.4.1.1002-1.x86_64
/home/matlab/mran/microsoft-r-open/rpm/microsoft-r-open-mro-3.4.1.rpm: does not update installed package.

Источник

Smartadm.ru
Adblock
detector