Environment
Novell ZENworks 10 Configuration Management with Support Pack 1 - 10.1
Situation
Device status slow to update, status messages not received at the server due to too many failed messages files in %zenworks_home%\work\collection\status\failed.
ERROR (in zmd-messages.log):
[DEBUG] [08/21/2008 15:28:42.312] [1468] [ZenworksWindowsService] [3] []
[Status Sender] [] [FileOperator: UploadToServer: Unable to upload file:
C:\Program
Files\Novell\ZENworks\work\zmd\status\Status_4f9663b2e1ecd3016a6c1ad461f97e70_1219206467921.zipon
server: http://151.123.100.222/zenworks-fileupload/Exception :
Novell.Zenworks.CloseException: Could not close destination file
http://151.123.100.222/zenworks-fileupload/?type=status&filename=Status_4f9663b2e1ecd3016a6c1ad461f97e70_1219206467921.zip
---> System.Net.WebException: The remote server returned an error: (413)
Novell.Zenworks.FileUpload.SIZE_LIMIT_REACHED.
[Status Sender] [] [FileOperator: UploadToServer: Unable to upload file:
C:\Program
Files\Novell\ZENworks\work\zmd\status\Status_4f9663b2e1ecd3016a6c1ad461f97e70_1219206467921.zipon
server: http://151.123.100.222/zenworks-fileupload/Exception :
Novell.Zenworks.CloseException: Could not close destination file
http://151.123.100.222/zenworks-fileupload/?type=status&filename=Status_4f9663b2e1ecd3016a6c1ad461f97e70_1219206467921.zip
---> System.Net.WebException: The remote server returned an error: (413)
Novell.Zenworks.FileUpload.SIZE_LIMIT_REACHED.
Resolution
This is fixed in version 10.1.2 - see KB 7001914 "ZENworks 10 Configuration Management 10.1.2" which can be found at https://www.novell.com/support
See Additional Information section for information on how to configure if necessary.
Additional Information
In 10.1.2 the default maximum size of file the agent can upload is 10 MB, but the size can be configured using the %ZENWORKS_HOME% \conf\loader\statusstorer.xml file.
Before modifying this file, make a backup of the original to a new location in a separate folder outside of %ZENWORKS_HOME% to avoid duplicate xml files.
The configuration file may be changed as follows:
<Module>
<Class>com.novell.zenworks.loader.modules.statusstorer.StatusStorerModule</Class>
<Parameters>
<Parameter Name="sleep-interval">30000</Parameter>
<Parameter Name="batch-size">5</Parameter>
<Parameter Name="max-failed-folder-size">1000000</Parameter>
</Parameters>
</Module>
<Class>com.novell.zenworks.loader.modules.statusstorer.StatusStorerModule</Class>
<Parameters>
<Parameter Name="sleep-interval">30000</Parameter>
<Parameter Name="batch-size">5</Parameter>
<Parameter Name="max-failed-folder-size">1000000</Parameter>
</Parameters>
</Module>
When setting the max-failed-folder-size value to 0, the storing of the failed xml files is turned off.
The configuration file is read during initialization. Therefore, after making a change to the configuration file, the ZENworks services must be restarted for the change to become active.