LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can not yum install package (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-yum-install-package-4175509201/)

byran cheung 06-25-2014 09:05 PM

Can not yum install package
 
When I use yum to install phpmyadmin , it pops the below error , but other server could use it , would advise what is the possible reason , how to fix it ? thanks

Code:

bash-3.2# yum install phpmyadmin
Loaded plugins: downloadonly, rhnplugin, security
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:
        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
No package phpmyadmin available.
Nothing to do
    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 phpmyadmin available.
Nothing to do


btmiller 06-25-2014 09:33 PM

It looks like you're running RHEL. Did you buy a subscription and register the system with the RGN (Red Hat Network). The message you got states clearly that you need to do this before you can install software.

If you've registered the system with RHN, check and make sure it has network connectivity.

If you are running RHEL and did not purchase a subscription, changes are you really should be running one of the free clones such as CentOS.

byran cheung 06-25-2014 11:08 PM

thanks reply,

I have buy a subscription , would advise how to config it to make it work ? thanks

John VV 06-26-2014 12:14 AM

reread the error
Quote:


Error Message:
Please run rhn_register as root on this client
you have to register the install
run
Code:

su -
-------/* the root password when asked for */--------
rhn_register



All times are GMT -5. The time now is 04:35 PM.