6.11 Troubleshooting the Storer

The .str files are not being stored in the Inventory database

Source: ZENworks Desktop Management; Workstation Inventory; Storer
Action: Manually enforce a full scan on the workstation object:
  1. In ConsoleOne, right-click the workstation object, then click Properties.

  2. Click the ZENworks Inventory tab, then click the Workstation Scan Configuration suboption.

  3. Select Start Full Scan.

  4. Click Apply, then click Close.

Action: If the problem persists:
  1. Edit the Inventory_server_installation_path\zenworks\inv\ server\wminv\properties\tracerfilter.properties file to set the Debug level to DEBUG5 or ALL.

  2. Edit the Inventory_server_installation_path\zenworks\inv\ server\wminv\properties\storerdebug.properties file to set the value of trace= true and strfiledelete= path_where_you_want_to_back_up_.str_files.

  3. Manually enforce a full scan on the workstation object:

    1. In ConsoleOne, right-click the workstation object, then click Properties.

    2. Click the ZENworks Inventory tab, then click the Workstation Scan Configuration suboption.

    3. Select Start Full Scan.

    4. Click Apply, then click Close.

If the problem persists, send the tracer and the backed-up .str files to Novell Support.

The Storer running on a Windows Inventory server randomly stops updating the workstation scan data in the Inventory database

Source: ZENworks Desktop Management; Workstation Inventory; Storer
Explanation: The Storer running on a Windows Inventory server randomly stops updating the workstation scan data in the Inventory database. The Inventory server screen displays a message such as “Logout Exception: [Root exception is com.novell.service.jncp.ClientException: ccode = 34921 (0x8869)] com.novell.java.security.LogoutException: Logout failed.”

Also, the directory contains .str and .zip files that need to be processed.

Possible Cause: The Storer encounters errors while updating the inventoried workstation scan data in eDirectory. Consequently, the Selector and the Storer stops processing .str files.
Action: Restart the Inventory services. For more information, see Starting and Stopping the Inventory Service in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

The CPU utilization of the Inventory server is 100% when the Storer is active

Source: ZENworks Desktop Management; Workstation Inventory; Storer
Explanation: The CPU utilization of the Inventory server might be 100% when the Storer is storing the scan data (typically, full scans) into the Inventory database.

This error occurs if the memory of the Inventory server is low, or one or more high CPU-utilization applications are running on the Inventory server.

Ignore this problem if you can run any other application on the server. If you cannot run any other application at normal speed, try the actions below.

Action: Dedicate a server to host the Inventory database.
Action: Do the following:
  1. Stop the Storer by entering stopser storer at the server console prompt.

  2. Configure the following Storer parameters in the Inventory_server_installation_path\zenworks\inv\ server\wminv\properties\storerdebug.properties file to slow down the processing of .str files:

    • fileyield: Specify a value greater than or equal to 300 but less than 600
    • parseyield: Specify a value greater than or equal to 100 but less than 500
    • wsdelyield: Specify a value greater than or equal to 100 but less than 500
  3. Start the Storer by entering startser storer at the server console prompt.

If the problem persists, send a copy of storerdebug.properties to Novell Support.

Action: If your Inventory database runs on Sybase, you can improve the Storer performance by also running the Sybindex utility. For more information on how to run Sybindex, see Sybase in the NetWare, Windows, or Linux Environment in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

How do I back up the .str file?

Source: ZENworks Desktop Management; Workstation Inventory; Storer
Action: Do the following:
  1. Stop the Storer by entering stopser storer at the server console prompt

  2. Edit the Inventory_server_installation_path\zenworks\inv\server\wminv\ properties\storerdebug.properties file to set the value of strfiledelete=path__where_you_want_to_back_up_.str_file.

    IMPORTANT:If your Inventory server is a Windows server, ensure that the path is separated by double slash (\\). For example, c:\\windows\\temp.

    Ensure that the backup directory already exists on the Inventory server before editing the storerdebug.properties file.

  3. Start the Storer by entering startser storer at the server console prompt.

How do I change to another Inventory database after the scan data has been stored in the Inventory database?

Source: ZENworks Desktop Management; Workstation Inventory; Storer
Explanation: After the scan data has been stored, you might want to change your existing Inventory database to a different database. For example, you could change the existing Sybase Inventory database to an Oracle Inventory database.
Action: Do the following:
  1. Stop the Inventory service of the Inventory server connected to the existing database that you want to change. For more information, see Starting and Stopping the Inventory Service in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

  2. Set up the desired Inventory database. For more information, see Setting Up the Inventory Database in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

  3. Ensure that the Inventory server is attached to the new Inventory database. For more information, see Configuring the Database Location Policy in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

  4. Select the Start Full Scan option in the Inventory Service object's property page of the Inventory server that is directly connected to this database and also in the lower-level Inventory servers that roll up scan data to this Inventory server.

  5. Start the Inventory services of the Inventory server to which the new Inventory database is attached to. For more information, see Starting and Stopping the Inventory Service in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

The Storer takes too much time to store the .str files

Source: ZENworks Desktop Management; Workstation Inventory; Storer
Action: You must tune the performance of the Inventory database. For more information, see Database Parameter Tuning Tips in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.
Action: If your Inventory database runs on Sybase, you can improve the performance the Storer performance by running the Sybindex utility. For more information on how to run Sybindex, see Sybase in the NetWare, Windows, or Linux Environment in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

The Inventory Storer is unable to store the str files having non-ASCII characters into the Sybase or Oracle Inventory database

Source: ZENworks Desktop Management; Workstation Inventory; Storer
Explanation: The Inventory Storer freezes while storing the str files having non-ASCII characters such as Japanese and Chinese into the Sybase or Oracle 9i Inventory database.
Possible Cause: The length of few entries such as Product Name and Description in the str file exceeds the corresponding database column length.
Action: If your Inventory database is running on Sybase:
  1. Stop the Inventory service. For more information, see Starting and Stopping the Inventory Service in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

  2. Edit zenworks\inv\server\wminv\properties\ storerdebug.properties to set the value of jconn2 to True.

  3. Start the Inventory service. For more information, see Starting and Stopping the Inventory Service in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

Title: If your Inventory database is running on Oracle 9i
  1. Stop the Inventory service. For more information, see Starting and Stopping the Inventory Service in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.

  2. Stop the Inventory database.

  3. Add the following parameter in Database server Drive:\zenworks\inventory\oracle\ database\init.ora :

    NLS_LENGTH_SEMANTICS=CHAR
    
  4. Start the Inventory database.

  5. Start sqlplus or isqlplus, and connect to the inventory database as mw_dba.

  6. At the sqlplus prompt, run the length_semantics.sql script that is located in zenworks\inv\server\wminv\properties\ sql.zip.

  7. Start the Inventory service. For more information, see Starting and Stopping the Inventory Service in Workstation Inventory in the Novell ZENworks 7 Desktop Management Administration Guide.