Environment
Novell ZENworks Configuration Management 2017
Situation
Error 500 while registering appliance for online updates. While this error is very generic the specific root cause is found in the following logs:
/var/opt/novell/log/appliance/suse_registerE.log On ZRS /var/opt/novell/va/logs/suse_registerE.log On Service desk /var/opt/novell/va/logs/suse_registerE.log
This TID is only when the following is seen in the logs:
2017-02-03 20:11:59 SUSE::SRPrivate - [error] Cannot open file /etc/sysconfig/clock: No such file or directory
2017-02-03 20:11:59 SUSE::SRPrivate - [error] (12)
/var/opt/novell/jetty/logs/jetty.stderrout.out
Caused by:
com.novell.admin.common.datamodel.beans.DataModelException: /usr/bin/suse_register -E failed with a return code of 12
2017-02-03 20:11:59.125:WARN:root:qtp1232367853-1614: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.novell.admin.common.client.services.ApplianceRpcService.configure(com.novell.admin.common.datamodel.beans.OnlineUpdateConfig) throws com.novell.admin.common.server.rpc.beans.RpcException' threw an unexpected exception: com.novell.admin.common.datamodel.beans.DataModelException: /usr/bin/suse_register -E failed with a return code of 12
Resolution
Workaround:
Confirm whether /etc/sysconfig/clock file exists. If it does not, go to admin page on the appliance (9443 port) and make some change to time zone, then change it back. This should trigger creation of the clock file. When that file exists, retry the online update registration.
Status
Reported to EngineeringAdditional Information
Logs to collect:
/var/opt/novell/jetty/logs/jetty.stderrout.out
/var/opt/novell/va/logs/suse_register*.log
/var/log/zypper.log