[rhn-users] How to check RHEL 4 Registred or not in redhat

sureshskja skja suresh_skja at yahoo.com
Wed Sep 16 03:10:19 UTC 2009


Hi Steve Huff,

                      Special thanks for your update...!

Thanks & Regards,
SURESH S
Mob:-9742330058


--- On Mon, 14/9/09, Steve Huff <shuff at hmdc.harvard.edu> wrote:

> From: Steve Huff <shuff at hmdc.harvard.edu>
> Subject: Re: [rhn-users] How to check  RHEL 4 Registred  or not in redhat
> To: "Discussions about Red Hat Network (rhn..redhat.com)" <rhn-users at redhat.com>
> Date: Monday, 14 September, 2009, 8:43 PM
> On 9/11/09 2:11 AM, sureshskja skja
> wrote:
> > 
> >             
>    I want to know how to check if already is
> registred under redhat in REHL 4.Is there any command to
> check or in  which confiuration file I can idnetify
> whether it is registred or not?Please help me on this
> issue.
> 
> from `man rhn_register`:
> 
> FILES
>    
>    /etc/sysconfig/rhn/systemid
>               The 
> digital  server  ID for this machine if the system
> has been registered onto Red Hat Network.  This
>               file does
> not exist otherwise.
> 
> if that file exists on a system, it's a pretty good bet
> that at least once in the past it was successfully
> registered.
> 
> however, if the system was registered in the past and has
> now been deleted, checking for the systemid file will not
> help you.  you might try querying the RHN API; look at
> the system handler (https://rhn.redhat.com/rhn/apidoc/system/SystemHandler.jsp)
> and consider using the getDetails or getEntitlements calls.
> 
> -steve
> 
> -- Steve Huff - Systems Administrator, HMDC - shuff at hmdc.harvard.edu
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 


      Keep up with people you care about with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/connectmore





More information about the rhn-users mailing list