Environment
Novell ZENworks Configuration Management 11.2
Situation
ERROR (in zmd.messages.log debug and above):
[Debug] [04/04/2013 17:41:29.369] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationManager] [Response code = -33, message = Rule Based Registration is turned off, no registration key was provided while attempting to register host: zcm11lb.] [] []
[Debug] [04/04/2013 17:41:29.369] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [***************** Exception Dump ***********************] [] []
[Debug] [04/04/2013 17:41:29.369] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [Exception registering device during general refresh.] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [------------------------------------------------------------------------------------] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [Message: Required key is missing in the registration request.] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [Exception Type: class com.novell.zenworks.agent.core.zmd.exceptions.ZenException] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [Stack: com.novell.zenworks.agent.core.registration.impl.DeviceRegistrationManager.checkForErrorsInDeviceRegistration(DeviceRegistrationManager.java:304)] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [------------------------------------------------------------------------------------] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [***************** End Exception Dump ***********************] [] []
[Debug] [04/04/2013 17:41:29.369] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [***************** Exception Dump ***********************] [] []
[Debug] [04/04/2013 17:41:29.369] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [Exception registering device during general refresh.] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [------------------------------------------------------------------------------------] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [Message: Required key is missing in the registration request.] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [Exception Type: class com.novell.zenworks.agent.core.zmd.exceptions.ZenException] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [Stack: com.novell.zenworks.agent.core.registration.impl.DeviceRegistrationManager.checkForErrorsInDeviceRegistration(DeviceRegistrationManager.java:304)] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [------------------------------------------------------------------------------------] [] []
[Debug] [04/04/2013 17:41:29.370] [] [9227] [ZenworksAgent] [78] [DeviceRegistrationRefreshHandler] [***************** End Exception Dump ***********************] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [***************** Exception Dump ***********************] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [Exception opening /var/opt/novell/zenworks/registrationKeys file for reading.] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [------------------------------------------------------------------------------------] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [Message: /var/opt/novell/zenworks/registrationKeys (No such file or directory)] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [Exception Type: class java.io.FileNotFoundException] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [Stack: java.io.FileInputStream.open(Native Method)] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [------------------------------------------------------------------------------------] [] []
[Debug] [04/04/2013 17:41:29.846] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [***************** End Exception Dump ***********************] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [Exception opening /var/opt/novell/zenworks/registrationKeys file for reading.] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [------------------------------------------------------------------------------------] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [Message: /var/opt/novell/zenworks/registrationKeys (No such file or directory)] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [Exception Type: class java.io.FileNotFoundException] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [Stack: java.io.FileInputStream.open(Native Method)] [] []
[Debug] [04/04/2013 17:41:29.845] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [------------------------------------------------------------------------------------] [] []
[Debug] [04/04/2013 17:41:29.846] [] [9227] [ZenworksAgent] [78] [RegistrationKeyManager] [***************** End Exception Dump ***********************] [] []
Resolution
Go to ZCC > Configuration > Device Management > Registration
Check the following to enable:
Enable use of registration rules.
Enable use of default registration rules
Enable use of registration rules.
Enable use of default registration rules
run zac ref bypasscache
Cause
Primary servers require that the use of registration rules and default registration rules be set at the zone level.
These settings can be set per folder or device if it is required to disable them for managed devices but in those cases a key must be used.
Additional Information
Enabling rule-based registration and default rule does not contradict or negate the use of keys.