Can't down or restart server unless zfsstop is run first

  • 7001304
  • 08-Sep-2008
  • 30-Apr-2012

Environment

Novell ZENworks 7 Server Management Support Pack 1 - ZSM7 SP1 Tiered Electronic Distribution (TED)

Situation

Running down or restart server fails to down or restart server unless ZENworks server service is manually stopped first.
 
ERROR (in NetWare logger log): 
 
Exception in thread "main" java.lang.NoClassDefFoundError: ;VOL1:\zenworks\PDS\s
manager\plugins\InvAgentNW/jar;VOL1:\zenworks\ZWS\XmlRpc/jar;VOL1:\zenworks;VOL1
:\zenworks\ZWS\jcert/jar;VOL1:\zenworks\ZWS\jnet/jar;VOL1:\zenworks\ZWS\jcert/ja
r;VOL1:\zen;VOL1:\zenworks\ZWS\jsse/jar;VOL1:\zenworks\ZWS\xerces/jar;VOL1:\zenw
orks\PDS\lib\collections/ja;VOL1:\ZENworks\Inv\Agent\InvXmlRpcServices/jar     
java: Class ;VOL1:\zenworks\PDS\smanager\plugins\InvAgentNW.jar;VOL1:\zenworks\Z
WS\XmlRpc.jar;VOL1:\zenworks;VOL1:\zenworks\ZWS\jcert.jar;VOL1:\zenworks\ZWS\jne
t.jar;VOL1:\zenworks\ZWS\jcert.jar;VOL1:\zen;VOL1:\zenworks\ZWS\jsse.jar;VOL1:\z
enworks\ZWS\xerces.jar;VOL1:\zenworks\PDS\lib\collections.ja;VOL1:\ZENworks\Inv\
Agent\InvXmlRpcServices.jar exited with status 1

Resolution

Workaround 1:  This problem occurs due to redundant tedpath entries in zfs.ncf due to separate installations of Invenrory components.  For example:
 
envset tedpath=$tedpath;SYS:\zenworks\PDS\smanager\plugins\InvAgentNW.jar
envset tedpath=$tedpath;SYS:\zenworks\PDS\smanager\plugins\InvAgentNW.jar;SYS:\zenworks\ZWS\XmlRpc.jar;SYS:\zenworks\ZWS\XmlRpcExt.jar;SYS:\zenworks\ZWS\XmlRpcExtRes.jar

  1. Back up zfs.ncf to make a copy.
  2. Remove any duplicate entries for tedpath .
  3. The easiest way to perform step 2 is by first pulling out just the lines that add to $tedpath into a separate file.  These lines start with "envset tedpath=$tedpath ;<etc.>".  In that file, change any compound assignments to individual assignments.  For example:
    envset tedpath=$tedpath;SYS:\zenworks\PDS\smanager\plugins\InvAgentNW.jar;SYS:\zenworks\ZWS\XmlRpc.jar;SYS:\zenworks\ZWS\XmlRpcExt.jar;SYS:\zenworks\ZWS\XmlRpcExtRes.jar
    becomes:
    envset tedpath=$tedpath;SYS:\zenworks\PDS\smanager\plugins\InvAgentNW.jar
    envset tedpath=$tedpath;SYS:\zenworks\ZWS\XmlRpc.jar
    envset tedpath=$tedpath;SYS:\zenworks\ZWS\XmlRpcExt.jar
    envset tedpath=$tedpath;SYS:\zenworks\ZWS\XmlRpcExtRes.jar

    Then sort the file to find and remark out the duplicates and paste back into the original ncf
or:
 
Workaround 2:  Make a down.ncf that runs zfsstop first.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.