Environment
Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11
SP1
Situation
The database update part of the remote Sybase upgrade fails. The
error in the log on a Linux based installation is:
<Message><MessageID><![CDATA[0000]]></MessageID><MessageString><![CDATA[Parameter 'directory' is not a directory]]></MessageString><Severity><![CDATA[8]]></Severity><Time><![CDATA[1313559460791]]></Time><Source><![CDATA[Unknown Device]]></Source><ComponentName><![CDATA[Server Install]]></ComponentName><AdditionalInfo><![CDATA[java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:207)
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:292)
at com.novell.zenworks.configure.actions.UpgradeSybaseDBConfigureAction.configure(UpgradeSybaseDBConfigureAction.java:94)
at com.novell.zenworks.configure.ZENworksConfigure.execConfigAction(ZENworksConfigure.java:1549)
at com.novell.zenworks.install.customcode.configure.BaseZenConfigAction.install(BaseZenConfigAction.java:60)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at ZeroGaei.run(DashoA10*..)
ERROR: "Directory' is not a directory" in upgrade log.
<Message><MessageID><![CDATA[0000]]></MessageID><MessageString><![CDATA[Parameter 'directory' is not a directory]]></MessageString><Severity><![CDATA[8]]></Severity><Time><![CDATA[1313559460791]]></Time><Source><![CDATA[Unknown Device]]></Source><ComponentName><![CDATA[Server Install]]></ComponentName><AdditionalInfo><![CDATA[java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:207)
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:292)
at com.novell.zenworks.configure.actions.UpgradeSybaseDBConfigureAction.configure(UpgradeSybaseDBConfigureAction.java:94)
at com.novell.zenworks.configure.ZENworksConfigure.execConfigAction(ZENworksConfigure.java:1549)
at com.novell.zenworks.install.customcode.configure.BaseZenConfigAction.install(BaseZenConfigAction.java:60)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at ZeroGaei.run(DashoA10*..)
ERROR: "Directory' is not a directory" in upgrade log.
Resolution
This is fixed in version 11.2 - see KB 7010044 "ZENworks Configuration
Management 11.2 - update information and list of fixes" which can be
found at https://www.novell.com/support
Workaround:
Workaround:
- Create the default database location folder. On Linux this is /opt/novell/zenworks/database and on Windows this is %ZENWORKS_HOME%\database
- Stop the Sybase database engine
- Take a copy of the database files and place them in
the default location folder (ensure the copied files have the same owner and permissions as the original files)
- Start the Sybase database engine
- Run the database upgrade
- When completed, copy or move back the updated database files to their
original folder location (check the owner and permissions are correct after the files are copied/moved)
- Proceed with the primary server upgrade
Cause
The upgrade fails because the Sybase database is not found in the
default location.