22.4 Uninstalling the Sybase Engine

You can remove the Sybase engine only if it is not used by other ZENworks products.

22.4.1 Uninstalling on NetWare Servers

  1. If Sybase is used by other ZENworks products, you must uninstall the database first before proceeding to uninstall the Sybase engine.

  2. Stop Sybase by entering q at the Sybase Console prompt.

  3. Note the value of the DBENGINEPATH key in sys:\system\zenworks.properties.

  4. Verify whether the database is mounted on the database server by checking if the sys:\system\mgmtdbs.ncf file has a .db entry.

    • If the file contains a .db entry, do not continue to remove the Sybase engine, because it indicates that the database is mounted on the database server. Discontinue these steps.

    • If the file does not contain a .db entry, delete mgmtdbs.ncf and continue with Step 5.

  5. Delete the mgmtdbs.ncf entry from sys:\system\autoexec.ncf.

  6. Delete the directory specified in the DBENGINEPATH key.

  7. Delete the DBENGINEPATH key from sys:\system\zenworks.properties.

22.4.2 Uninstalling on Windows Servers

  1. If Sybase is used by other ZENworks products, you must uninstall the database first before proceeding to uninstall the Sybase engine.

  2. To stop Sybase:

    1. In the Windows Control Panel, double-click Administrative Tools, then double-click Services.

    2. Right-click Novell Database - Sybase, then click Stop.

  3. Note the value of the DBENGINEPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.

  4. To verify whether the database has a .db entry, run DBENGINE_installaton_directory\ntdbconfig.exe.

    • If the file contains a .db entry, do not continue to remove the Sybase engine, it indicates that the database is mounted on the database server. Discontinue these steps.

    • If the file does not contain a .db entry, delete the ASANYS_ZENWORKS key from the HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES registry entry and continue with Step 5.

  5. Delete the directory specified in DBENGINEPATH.

  6. Delete the DBENGINEPATH key from the HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\ZENWORKS registry entry.