LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-29-2012, 06:07 PM   #1
khandu
Member
 
Registered: Sep 2003
Posts: 93

Rep: Reputation: 0
Unhappy


Ok Guys

So I have two machines which have been build by someone else

Now machine 1 and machine two both have this

Code:
#cat /etc/yum.conf 
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# Default.
# installonly_limit = 3

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Code:
$ls -lah /etc/yum.repos.d
total 40K
drwxr-xr-x  2 root root 4.0K Jul 24 07:21 .
drwxr-xr-x 98 root root  12K Jul 27 04:02 ..
-rw-r--r--  1 root root  190 Jul 24 07:29 redhat.repo
-rw-r--r--  1 root root  254 Jan 24  2012 rhel-debuginfo.repo
Code:
$cat /etc/yum.repos.d/redhat.repo
#
# Certificate-Based Repositories
# Managed by (rhsm) subscription-manager
#
# If this file is empty and this system is subscribed consider 
# a "yum repolist" to refresh available repos
#

$cat /etc/yum.repos.d/rhel-debuginfo.repo 
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
But on machine 1 I cannot find ruby to install

Code:
yum search ruby
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Warning: No matches found for: ruby
No Matches found
But on machine 2 I can

Code:
$yum search ruby
Loaded plugins: katello, product-id, rhnplugin, security, subscription-manager
Not root, certificate-based repositories not updated
Unable to read consumer identity
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
==================================================== Matched: ruby =====================================================
ruby.x86_64 : An interpreter of object-oriented scripting language
ruby-libs.x86_64 : Libraries necessary to run Ruby.
I have done a "yum clean all" as well but didn't work

What is going wrong here?? and why was it different if the same guy did both installs?
Anything to do with "rhnplugin"??

How do I solve this?

More info

I did this

Quote:
vim /etc/yum/pluginconf.d/rhnplugin.conf
enabled = 1
Now I get the error

Quote:
$yum search ruby
Loaded plugins: katello, product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
This system is not registered with RHN.
RHN Satellite or RHN Classic support will be disabled.
Warning: No matches found for: ruby
No Matches found
So I guess because of

Quote:
This system is not registered with RHN.
I am not getting any updates?? The person forgot to register the machine with RedHat Network??

How can I instruct him to do this post installation ?? (if this is indeed the case)

Last edited by unSpawn; 07-29-2012 at 07:01 PM. Reason: //Retain 0-reply status
 
Old 07-29-2012, 08:31 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
I believe ruby is in the Optional channel, compare your entitlements between the 2 machines.

<edit> sorry, I was thinking of rubygems </edit>

Last edited by kbp; 07-29-2012 at 08:35 PM.
 
Old 07-29-2012, 11:46 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
on both machines run
Code:
su -
yum clean all
rpm --rebuilddb 
yum repolist all
then turn on the repo that is off on the one machine that can not find ruby \

Quote:
This system is not registered with RHN.
that is a 100% show stopper

you can NOT progress beyond here UNTIL this machine IS registered
contact red hat sales and add this machine on to your existing license
( if you have one)
 
  


Reply

Tags
install, repo, rhel5, ruby, yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sendmail: Unable to find/Installation failure? Liquidity Linux - Server 1 10-12-2009 08:53 AM
yum unable to find my reposiitory fizeelinux Linux - Software 4 04-23-2009 03:09 AM
Unable to find software on SuSe installation cd Hockeyfan Linux - Software 6 01-03-2005 09:52 AM
Unable to find the QT installation while I'm trying to make xconfig for kernel 2.6.7 Ouapouap Debian 2 07-17-2004 01:36 PM
RH 9 Installation: Unable to find CD??? grbrg Red Hat 11 10-15-2003 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration