HOW TO

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

Last Published: May 5, 2021

Summary

Note:
This article pertains to ArcGIS versions 9.x only. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.

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.
> cd to <ArcGIS Server install location>/scripts location
> ./stopserver

Terminate any 'arcsoc.exe' or 'arcsom.exe' processes running.

  1. Check if there are any process containing the name of 'remotesa' and terminate any that exist.
> ps -ef | grep -i remotesa
> kill <pid> if any
  1. Stop Enterprise Core Service (mainwin) as the mainwin administrator.
>mwadm stop -f
  1. As super user, uninstall ArcGIS Server using the uninstallArcGISServer script under <ArcGIS Server install>/arcgis directory.
> cd to <ArcGIS Server install location>/scripts location
>./uninstallArcGISServer
  1. As super user, uninstall Enterprise Core Service - Mainwin.
>cd <mwcore>/mw/bin (By default, this location is at /opt/mainsoft/mwcore/mw/bin)
>./uninstall.mwcore
  1. Check if any of the following processes are left behind and kill these processes if running: mwrpcss, regss, and watchdog.
  2. 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.
  3. Delete <ArcGIS Server install>/arcgis folder if left behind after uninstall.
  4. 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.
  5. 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
  6. Reboot the machine to remove any detached threads or processes.
  7. Verify if /etc/mainwin.conf file exists and if so, delete it.
  8. Verify if /etc/remotesa.config exists and if so, delete it.

Article ID:000009071

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic