Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 4th, 2012  |  syntax: None  |  size: 3.41 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How To Uninstall And Then Install Java In RHEL 5 (Linux) I Am Getting Error? [closed]
  2. [root@localhost bin]# rpm -qa | grep jdk
  3. jdk-1.5.0_14-fcs
  4. [root@localhost bin]# rpm -e jdk-1.5.0_14-fcs
  5. [root@localhost bin]# rpm -qa | grep jdk
  6. [root@localhost bin]# yum install java
  7. Loaded plugins: product-id, rhnplugin, security, subscription-manager
  8. Updating Red Hat repositories.
  9. There was an error communicating with RHN.
  10. RHN Satellite or RHN Classic support will be disabled.
  11.  
  12. Error Message:
  13.     Service not enabled for system profile: "192.168.1.105"
  14. Error Class Code: 31
  15. Error Class Info:
  16.      This system does not have a valid entitlement for Red Hat Network.
  17.      Please visit https://rhn.redhat.com/rhn/systems/SystemEntitlements.do
  18.      or login at https://rhn.redhat.com, and from the "Your RHN" tab,
  19.      select "Subscription Management" to enable RHN service for this system.
  20. Explanation:
  21.     Your organization does not have enough Management entitlements to register this
  22.     system to Red Hat Network. Please notify your organization administrator of this error.
  23.     You should be able to register this system after your organization frees existing
  24.     or purchases additional entitlements. Additional entitlements may be purchased by your
  25.     organization administrator by logging into Red Hat Network and visiting
  26.     the 'Subscription Management' page in the 'Your RHN' section of RHN.
  27.  
  28.     A common cause of this error code is due to having mistakenly setup an
  29.     Activation Key which is set as the universal default.  If an activation key is set
  30.     on the account as a universal default, you can disable this key and retry to avoid
  31.     requiring a Management entitlement.
  32. file://var/cache/yum/rhel-i386-server-5/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/cache/yum/rhel-i386-server-5/repodata/repomd.xml'
  33. Trying other mirror.
  34. file://var/cache/yum/rhel-i386-server-vt-5/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/cache/yum/rhel-i386-server-vt-5/repodata/repomd.xml'
  35. Trying other mirror.
  36. Setting up Install Process
  37. Resolving Dependencies
  38. --> Running transaction check
  39. ---> Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.23.1.9.10.el5_7 set to be updated
  40. --> Processing Dependency: tzdata-java for package: java-1.6.0-openjdk
  41. --> Running transaction check
  42. ---> Package tzdata-java.i386 0:2011l-4.el5 set to be updated
  43. --> Finished Dependency Resolution
  44.  
  45. Dependencies Resolved
  46.  
  47. ================================================================================
  48.  Package            Arch Version                       Repository          Size
  49. ================================================================================
  50. Installing:
  51.  java-1.6.0-openjdk i386 1:1.6.0.0-1.23.1.9.10.el5_7   rhel-i386-server-5  38 M
  52. Installing for dependencies:
  53.  tzdata-java        i386 2011l-4.el5                   rhel-i386-server-5 180 k
  54.  
  55. Transaction Summary
  56. ================================================================================
  57. Install       2 Package(s)
  58. Upgrade       0 Package(s)
  59.  
  60. Total download size: 38 M
  61. Is this ok [y/N]: y
  62. Downloading Packages:
  63.  
  64.  
  65. Error Downloading Packages:
  66.   tzdata-java-2011l-4.el5.i386: failure: getPackage/tzdata-java-2011l-4.el5.i386.rpm from rhel-i386-server-5: [Errno 256] No more mirrors to try.
  67.   1:java-1.6.0-openjdk-1.6.0.0-1.23.1.9.10.el5_7.i386: failure: getPackage/java-1.6.0-openjdk-1.6.0.0-1.23.1.9.10.el5_7.i386.rpm from rhel-i386-server-5: [Errno 256] No more mirrors to try.