LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-25-2013, 06:05 AM   #1
rohitchauhan
Member
 
Registered: Nov 2010
Posts: 77

Rep: Reputation: 1
RHN Satellite Server implementation + channel packages are zero


Hi guys,
I have been trying to implement RHN satellite server 5.5 on RHEL 6.3. For implementation, i have read the "Red_Hat_Network_Satellite-5.5-Installation_Guide-en-US".

I have the required certificate which i got from REDHAT just for practice purpose. I didnt purchase that so i dont have support.

I have 2 systems; 1 for satellite server and 1 for client. Hope 2 systems will be sufficient for satellite server implementation.

Initially i am not registering the server system with the RHN account so i am installing it with the "disconnected mode".

Here is what i have done so far:
Server configuration:

1. Mount the ISO on some directory.
2. go into that dir.
3. run the command:
If you have internet connectivity and system is registered with account:
# ./install.pl

If you don't have internet connectivity:
# ./install.pl --disconnected
4. During installation it will ask for:
> satellite certificate. Give the path.
> Admin account and its email id
> required info for CA
5. Sendmail configuration. (I configured it and got some mails too from the server to my mail id.)
6. Access RHN satellite server web GUI page.
Do the initial configuration.
7. Restart the satellite server after initial configuration from its web GUI.
8. Download the Channel content ISO "rhn-export-rhel-x86_64-6-20130315.0-01" (4GB) out of total 13 discs.
9. Sync the satellite:
If you have direct internet connection and if the system is registered:
# satellite-sync
If you don't have internet connection and you are syncing the server from downloaded media of channel content ISO:
# satellite-sync -c rhel-i386-as-3 --mount-point /var/rhn-sat-sync


Client configuration:

1. Install the server trusted SSL certificate by command:
# rpm -Uvh http://proxy-or-sat.example.com/pub/...-ssl-cert-VER- REL.noarch.rpm
2. Edit the conf file "/etc/sysconfig/rhn/up2date" to connect to the satellite server.
3. Register client sytem to the server by running command:
# rhn_register


By doing this, i was able to import the channel-1 into the server (from its disc-1, channel content ISO).
[check snapshot-1]
and i was also able to register the client system in the satellite server.
[check snapshot-2]

But what i dont understand is that why it is showing 0(zero) packages in the imported channel as in the snapshot-1.


I am also unable to update the yum at client side.
When i run the command "# yum update" at client side, i get this:
[root@client1 ~]# yum update
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
: subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
There was an error parsing the RHN proxy settings.
RHN Satellite or RHN Classic support will be disabled.
Setting up Update Process
No Packages marked for Update


Now;
If i am missing something or if i am doing something wrong, please tell me.

Thanks in advance.
Attached Images
File Type: png snapshot-1.PNG (29.3 KB, 14 views)
File Type: png snapshot-2.PNG (34.8 KB, 14 views)
 
Old 03-25-2013, 06:44 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
satellite-sync -c rhel-i386-as-3 --mount-point /var/rhn-sat-sync
You didn't actually import the RHEL AS 3 32bit channel did you?
 
Old 03-26-2013, 02:22 AM   #3
rohitchauhan
Member
 
Registered: Nov 2010
Posts: 77

Original Poster
Rep: Reputation: 1
Well, may be you are right. But i have done this too....

[root@sat Desktop]# satellite-sync -c rhel-x86_64-server-6 --mount-point /var/rhn-sat-sync
12:47:47 Red Hat Network Satellite - file-system synchronization
12:47:47 mp: /media
12:47:47 db: rhnsat/<password>@//localhost:1521/rhnsat.world
12:47:47
12:47:47 Retrieving / parsing channel-families data
12:47:47 channel-families data complete
12:47:47
12:47:47 Retrieving / parsing product names data
12:47:48
12:47:48 Retrieving / parsing arches data
12:47:48 arches data complete
12:47:48
12:47:48 Retrieving / parsing additional arches data
12:47:48 additional arches data complete
12:47:48
12:47:48 Retrieving / parsing channel data
12:47:50 p = previously imported/synced channel
12:47:50 . = channel not yet imported/synced
12:47:50 base-channels:
12:47:50 p rhel-x86_64-server-6 10146 full impor t from Thu Mar 14 18:38:29 2013
12:47:50
12:47:50 Channel data complete
12:47:50
12:47:50 Retrieving short package metadata (used for indexing)
12:47:50 Retrieving / parsing short package metadata: rhel-x86_64-server-6 (1 0146)
12:48:28 Diffing package metadata (what's missing locally?): rhel-x86_64-server-6
________________________________________
Diffing: ######################################## - complete
12:48:34
12:48:34 Downloading package metadata
12:48:34 Retrieving / parsing *relevant* package metadata: rhel-x86_64-server-6 (10146)
12:48:34 * WARNING: this may be a slow process.
________________________________________
Downloading:+++ sending log as an email +++

SYNC ERROR: unhandled exception occurred:

(Check logs/email for potentially more detail)

MissingXmlDiskSourceFileError('unable to process file /media/packages/22/rhn-package-129022.xml',)
unable to process file /media/packages/22/rhn-package-129022.xml

[root@sat Desktop]#


Is this information useful for you ?

Thanks.
 
Old 03-26-2013, 11:10 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
/media/packages/22/rhn-package-129022.xml
.. is this file present?

<edit> Just noticed .. you're missing an '=':

Quote:
satellite-sync -c rhel-x86_64-server-6 --mount-point=/var/rhn-sat-sync
</edit>

Last edited by kbp; 03-26-2013 at 11:26 PM.
 
1 members found this post helpful.
Old 08-21-2013, 05:57 AM   #5
rohitchauhan
Member
 
Registered: Nov 2010
Posts: 77

Original Poster
Rep: Reputation: 1
Hi,
sorry for very late reply.
You pointed out in the right direction.
Now the problem has been solved.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RHN Satellite or RHN Classic support will be disabled. danndp Red Hat 1 05-27-2011 07:20 AM
[SOLVED] RHN Satellite or RHN Classic support will be disabled. danndp Linux - Newbie 3 05-27-2011 06:04 AM
Max RHN Proxy/Satellite Server Connections agman Linux - Enterprise 1 02-02-2007 07:24 AM
Looking for Alternative to RHN Satellite Server basic functionality chad504 Linux - Enterprise 10 01-24-2007 10:28 AM
? on cloning errata for RHN Satellite Server dmorgan Red Hat 1 04-08-2004 08:30 PM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration