English

How To: Clean up ArcGIS Server 9.1 before installing ArcGIS Server 9.2 on Linux/Solaris

Summary

Instructions provided include steps to clean the Linux/Solaris computer as some leftover files or processes from an earlier version can prevent the proper installation of ArcGIS Server 9.2.

Procedure

Warning:
Only perform steps 3-13 if ArcGIS Server is only ArcGIS product installed under same user account, and no other product installed on the computer uses Enterprise Mode Mainwin.

For cases where multiple products use Enterprise Mode Mainwin, uninstall those products first before proceeding further.

  1. As ArcGIS install user, run the stopserver script under <ArcGIS Server install>/arcgis directory.

    Code:
    > cd to <ArcGIS Server install location>/scripts location
    > ./stopserver

    Kill any 'arcsoc.exe' or 'arcsom.exe' processes running.
  2. Check if there are any process containing the name of 'remotesa' and kill any that exist.

    Code:
    > ps -ef | grep -i remotesa
    > kill <pid> if any

  3. Stop Enterprise Core Service (mainwin) as the mainwin administrator.

    Code:
    >mwadm stop -f

  4. As super user, uninstall ArcGIS Server using the uninstallArcGISServer script under <ArcGIS Server install>/arcgis directory.

    Code:
    > cd to <ArcGIS Server install location>/scripts location
    >./uninstallArcGISServer

  5. As super user, uninstall Enterprise Core Service - Mainwin.

    Code:
    >cd <mwcore>/mw/bin (By default, this location is at /opt/mainsoft/mwcore/mw/bin)
    >./uninstall.mwcore

  6. Check if any of the following processes are left behind and kill these processes if running: mwrpcss, regss, and watchdog.
  7. Verify if .mw and/or .arcgis folder exist in any of the following locations and delete them:

    * Superuser's home directory.
    * Server Object Manager (SOM) account's home directory.
    * Server Object Container (SOC) account's home directory.
    * Install user account's home directory.
  8. Delete <ArcGIS Server install>/arcgis folder if left behind after uninstall.
  9. Clean up any files and/or folders including hidden files under /tmp folder with mw, Mw or MW in the file name or folder name.
  10. Check the following folders to make sure that they do not contain any 'serverobjectmanager' and 'mwcore_*' files. Delete those files that exists:

    * /etc/init.d
    * /etc/rc2.d
    * /etc/rc3.d
    * /etc/rc5.d
  11. Reboot the machine to remove any orphan threads or processes.
  12. Verify if /etc/mainwin.conf file exists and if so, delete it.
  13. Verify if /etc/remotesa.config exists and if so, delete it.