My Favorites

Close

Please to see your favorites.


Resetting your ZEN Updater and Novell Customer Center key registration

This document (3303599) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Desktop 11
Novell Open Enterprise Server 2 (OES 2)
Novell ZENworks Linux Management Linux Management 7 - ZLM7

Situation

Registering another key for the SUSE Linux Enterprise server/desktop (SLES/SLED) or Open Enterprise Server 2 (OES2) is resulting in a quick response of "success". However, the key is still not used and is also not listed.

If the evaluation key was used first to register SLES, SLED or OES2, the new registration key that is acquired on purchase needs to be changed by following the below steps. The old key needs to be cleared to enable the new key to be used.

The same steps have to be followed if an improper code was supplied during the registration.

Resolution

The key must be cleared from the local server or workstation.

The process for SLES10/SLED10/OES2 is as follows:
  1. Open YaST2 -> "Software" -> "Installation Source" and remove all nu.novell.com update sources.
  2. Remove the nu.novell.com update sources in Zenworks using "rug service-delete https://nu.novell.com"
  3. Stop the Zenworks management daemon using "/etc/init.d/novell-zmd stop".
  4. Remove the zmd cache using "rm -R /var/cache/zmd/*".
  5. Remove the zmd database using "rm /var/lib/zmd/zmd.db".
  6. Remove the device ID using "rm /etc/zmd/deviceid".
  7. Remove the Zen secret using "rm /etc/zmd/secret".
  8. Remove subscriptions file (if there is one) "rm /var/lib/zmd/subscriptions". Attention: this step is normally not needed. It is a last resort and will remove any installation source as well as custom repositories. This step is to ensure that there is no other factor that may be affecting suse_register/zmd from registering the machine correctly. In case you remove the subscriptions file, you have to readd the installation source later, e.g. by using YaST2 -> Installation source.
  9. Restart the Zenworks management daemon using "/etc/init.d/novell-zmd start".
  10. Delete the suseRegister cache file using "rm /var/cache/SuseRegister/lastzmdconfig.cache".
With this complete, restart YaST, and then launch Novell Customer Center Configuration. This will register any new keys that were needed.

The process for SLE11 is as follows:
  1. Find out the alias of the update service by using "zypper ls".
  2. Remove the update service, for example by using "zypper removeservice nu_novell_com".
  3. Remove the NCC credentials using "rm /etc/zypp/credentials.d/NCCcredentials".
  4. Delete the suseRegister cache file using "rm /var/cache/SuseRegister/lastzmdconfig.cache".
  5. With this complete, restart YaST, and then launch Novell Customer Center Configuration. This will register any new keys that were needed. Attention: if you use the suse_register commandline tool instead of YaST (for example by using: suse_register -a regcode-sles=YourActivationCode -a email=YourEmailAddress -a moniker=YourHostname -L /root/.suse_register.log) you may have to refresh the services by running "zypper refresh-services -r" afterwards.
  6. Check if the update repositories have been added correctly by using "zypper lr".

Additional Information

Please note: /etc/zmd/deviceid or /etc/zypp/credentials.d/NCCcredentials contains a unique ID that is used to identify the system in the Novell Customer Center. The above steps involve deleting these unique ID but the system registration will not be removed from the respective account. While resetting the registration of one system, the registration in the Novell Customer Center should be deleted as well in order to avoid a wrong license count.



To see how this is done from a Novell Engineer click the link below.
Video Training Module TID 3303599


If switching from SMT to Novell Customer Center the "url=" line in the /etc/suseRegister.conf file must also be modified to point to https://secure-www.novell.com/center/regsvc/

Example:

url = https://secure-www.novell.com/center/regsvc/


Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3303599
  • Creation Date:09-OCT-06
  • Modified Date:10-DEC-12
    • NovellOpen Enterprise Server
      ZENworks Linux Management
    • SUSESUSE Linux Enterprise Desktop
      SUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback