The following sections provide solutions to the problems you might encounter while working with Micro Focus ZENworks command line utilities:
When you run the zman db command, Java heap space error might occur
The zman commands do not work for non-root users on a ZENworks Linux server
A non-root user is unable to configure a Satellite role by using the zman ssc command
The zman command ssd that is used for removing a satellite role fails
Configure action fails with exception ZEN configure action container is not responding
When you run the zman db command, Java heap space error might occur
The zman commands do not work for non-root users on a ZENworks Linux server
A non-root user is unable to configure a Satellite role by using the zman ssc command
The zman command ssd that is used for removing a satellite role fails
Configure action fails with exception ZEN configure action container is not responding
When you run the zman db command, Java heap space error might occur
To increase the heap size:
In the command prompt, run the following command:
novell-zenworks-configure -c UpdateZManConfigPropertiesConfigureAction -Dzman.jvm.max.heapSize=<user-input>
Where <user-input> can be between max.heapSize: 512 (default) to 1024 (upper-bound)
Apart from max.heapsize, you can configure other parameters such as min.heapSize, scrollSize and debugLevel.
novell-zenworks-configure -c UpdateZManConfigPropertiesConfigureAction -Dzman.jvm.max.heapSize=<user-input> -Dzman.jvm.min.heapSize=<user-input> -Dzman.renderer.scrollSize=<user-input> -Dzman.debugLevel=<user-input>
Where <user-input> for min.heapSize can be between 64(default) to 512(upper-bound)
scrollSize accepts any integer value (-1 default)
debugLevel accepts 1, 2, 3(default) and 4 values
NOTE:If the zman-config.property file is corrupted or deleted, run the novell-zenworks-configure -c UpdateZManConfigPropertiesConfigureAction command without parameters to get the default values in the file.
zman hangs when the output of a command is redirected to a file by using the command line redirection operators such as > or >>
An incorrect success message is displayed when the "stage group name" optional argument is not passed to the system-update-staging-group-create command
Successfully created the object "null"
The Imaging role added to a Satellite by using the zman ssaimg command is not immediately applied to the server
At the command prompt, run the zman workstation-refresh|wrf command. If the managed device is a server, run the zman server-refresh|srf command.
On the managed device, right-click the ZENworks icon, then click Refresh.
The zman commands do not work for non-root users on a ZENworks Linux server
You do not have sufficient privileges to run zman commands. As a non-root user in Linux, you should be part of the zmanusers group to run zman commands.
Log in to the ZENworks server as root.
At the server console prompt:
If the user already exists on the Linux device, execute the following command:
groupmod -A non-rootusername zmanusers
If the user does not exist on the Linux device, execute the following command:
useradd -G zmanusers non-rootusername
Log in to the ZENworks server as a non-root user.
A non-root user is unable to configure a Satellite role by using the zman ssc command
The role you specified (Satellite_role_name) is not a valid satellite server role. Valid roles are:
ZoneConfig.ROLE_COLLECTION ZoneConfig.ROLE_CONTENT ZoneConfig.ROLE_AUTHENTICATION
Ensure that the non-root has been added to the zmanusers group.
Log in to the ZENworks server as root.
At the server console prompt:
If the user already exists on the Linux device, execute the following command:
groupmod -A non-rootusername zmanusers
If the user does not exist on the Linux device, execute the following command:
useradd -G zmanusers non-rootusername
Add the non-root user to the ZENworks user group by using the usermod -A non-root_username command. Subsequently, the non-root user can configure Satellite roles.
The zac cuo command does not upload the agent audit files from the Satellite Server to the Primary Server when the collectionStatsDB database is corrupted.
Stop the agent service.
Delete the /var/opt/novell/zenworks/work/collection/collectionStatsDB folder that has references to the orphaned audit files.
Start the agent service.
Execute the zac cuo command.
Some zman commands fail with an OutOfMemoryError
Windows: In the %ZENWORKS_HOME%\conf\zman\properties\zman-config.properties file, increase the max heap size value of the JVM_STARTUP_OPTIONS from 128m to 512m.
Linux: In the /opt/novell/zenworks/bin/zman file, increase the max heap size of MEM_OPTS from 256m to 512m.
The zman command ssd that is used for removing a satellite role fails
An internal error occurred. Please check the zman log for more
When you use ssd, the zman command for removing a role from the satellite, this command removes the role but fails to send the refresh satellite quicktask.
zac commands hang on RHEL Satellite Servers when the content replication schedule is configured for a short duration
NOTE:It is recommended to configure the content replication schedule for 12 hours.
Configure action fails with exception ZEN configure action container is not responding
com.novell.zenworks.configure.NonFatalConfigureException: ZEN configure action container is not responding
NOTE:Create the file with the entry if it does not exist.