ZCM system update failed running the novell-zenworks-configure process

  • 7009256
  • 29-Aug-2011
  • 27-Apr-2012

Environment

Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1 System Update
Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP2 System Update

Situation

ERROR: "An error occured when trying to start the /opt/novell/zenworks/bin/novell-zenworks-configure process: The exit code of the process did not match with success codes.. Check the system-update.log on the device for details."
 
Error shown in the system-update.log:
"DEBUG;;;Starting process: /opt/novell/zenworks/bin/novell-zenworks-configure Options: -c@CleanupCSR@-c@UnknownLocation@WAIT_FOR_EXIT:CHECK_EXIT_CODE
DEBUG;;;The exit code of the process is 255
ERROR;ERROR_STARTING_PROCESS;/opt/novell/zenworks/bin/novell-zenworks-configure,The exit code of the process did not match with success codes.;null
DEBUG;;;An error occured during command execution...details should have already been logged"
 
Error shown in the novell-zenworks-configure.log , "SEVERE: com.novell.zenworks.datamodel.exceptions.InternalDataModelException:
org.hibernate.exception.ConstraintViolationException: could not insert:
[com.novell.zenworks.datamodel.objects.locations.ZENLocation"

Resolution

Remove the duplicate jar file(s) with the version in the name.
 
In this case removing /opt/novell/zenworks/java/lib/datamodel-framework-11.1.0.jar resolved the issue.

Cause

Multiple jar files with the same name exist on the primary server.
 
In this case the two files were
/opt/novell/zenworks/java/lib/datamodel-framework-11.1.0.jar
/opt/novell/zenworks/java/lib/datamodel-framework.jar