Resetting the SUSE or Novell Customer Center system registration
This document (3303599) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 10
Situation
If the evaluation key was used first to register SLES, SLED or any other subscription based product, 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
- Open YaST2 -> "Software" -> "Installation Source" and remove all nu.novell.com update sources.
- Remove the nu.novell.com update sources in Zenworks using "rug service-delete https://nu.novell.com"
- Stop the Zenworks management daemon using "/etc/init.d/novell-zmd stop".
- Remove the zmd cache using "rm -R /var/cache/zmd/*".
- Remove the zmd database using "rm /var/lib/zmd/zmd.db".
- Remove the device ID using "rm /etc/zmd/deviceid".
- Remove the Zen secret using "rm /etc/zmd/secret".
- 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.
- Restart the Zenworks management daemon using "/etc/init.d/novell-zmd start".
- Delete the suseRegister cache file using "rm /var/cache/SuseRegister/lastzmdconfig.cache".
The process for SLE11 is as follows:
- Find out the alias of the update service by using "zypper ls".
- Remove the update service, for example by using "zypper removeservice nu_novell_com".
- Remove the NCC credentials using "rm /etc/zypp/credentials.d/NCCcredentials".
- 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. 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.
- Check if the update repositories have been added correctly by using "zypper lr".
SLE 11 SP3
As of SLE 11 SP3 the -E (--erase-local-regdata) has been introduced to suse_register
suse_register -E
to clean up the entire local registration stack completely.
The process for SLE12 is as follows:
There will be a maintenance update for SUSEConnect including the useful options "--cleanup" and "--deregister". However, until these options are ready (check regularly if there's any update for SUSEConnect), the manual procedure is as follows:
- Find out the alias of the update service by using "zypper ls".
- Remove the update service, for example by using "zypper removeservice SUSE_Linux_Enterprise_Server_12_x86_64".
rm -f /etc/SUSEConnect
rm -f /etc/zypp/services.d/*
rm -f /etc/zypp/credentials.d/*
SUSEConnect -r <YourActivationCode> -e <YourEmailAddress> --debug &> /tmp/reg.log
Check if the update repositories have been added correctly by using "zypper lr".
Additional Information
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 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-2006
- Modified Date:12-Oct-2022
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com