Activation fails with an error downloading XML data.

  • 3818394
  • 21-Feb-2008
  • 30-Apr-2012

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Desktop 10
Novell Open Enterprise Server 2 (OES2)


System activated in the Novell Customer Center

Situation

System was previously activated but installation sources for the updater were lost for some reason. Attempted to activate system again to recreate the correct installation sources by going into YaST and selecting Software-->Novell Customer Center Configuration. Just after approving the screen with the customer email address and activation code the following error is returned:

ERROR: Could not add'https://update.novell.com': Failed to download XML metadata: Download failed: (https://update.novell.com/repo/repoindex.xml) serializationStream supports seeking, but its length is 0

ERROR: Could not add 'nu.novell.com': Failed to parse XML metadata: Can't add repository at https://nu.novell.com/repo/$RCE/SLED10-Updates/sled-10-i586: Unknown Error: Downloading metadata failed (is YUM source?) or user did not accept remote source. Aborting refresh.

ERROR: Could not add 'nu.novell.com': Failed to parse XML metadata: Can't add repository at https://nu.novell.com/repo/$RCE/SLES10-Updates/sles-10-i586: Unknown Error: Downloading metadata failed (is YUM source?) or user did not accept remote source. Aborting refresh.

Resolution

This is one possible fix for this issue if it is due to a corrupt cache.

Close the Novell Customer Center Configuration tool if still running.


Open a terminal window and as the root user run the following commands:
rczmd stop
rm -rf /var/cache/zmd/*
rczmd start

Launch the Novell Customer Center Configuration. Activation should complete fine.

Additional Information

Something had caused the zmd cache to become corrupt. Stopping the zmd service and removing all cache files should bring the system up and activated properly again.