Re: How to check RHEL 4 Registred or not in redhat
sureshskja skja <[email protected]> Wed, 16 Sep 2009 08:40:19 +0530 (IST)
| Newsgroups | gmane.linux.redhat.rhn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Steve Huff,
Special thanks for your update...!
Thanks & Regards,
SURESH S
Mob:-9742330058
--- On Mon, 14/9/09, Steve Huff <[email protected]> wrote:
> From: Steve Huff <[email protected]>
> Subject: Re: [rhn-users] How to check RHEL 4 Registred or not in redhat
> To: "Discussions about Red Hat Network (rhn..redhat.com)" <[email protected]>
> 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 - [email protected]
>
> _______________________________________________
> rhn-users mailing list
> [email protected]
> 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