Knowledge Base - Technical Articles


Technical Article   Error:  Fatal Error VREADR Bad Irec

Article ID: 15767
Software:  ArcGIS - ArcInfo 8.0.1, 8.0.2 ArcInfo Workstation 7.0.4, 7.1.1, 7.1.2, 7.2.1
Platforms:  Windows NT 4.0

Error Message

BUILD, CLEAN and overlay commands return the error message:

"Fatal Error(VREADR) Bad Irec"


Cause

The error is intermittent and only occurs when a remote device is used.
This error occurs during the sorting phase of the command. The sorting phase sorts the overlay or arc segments for subsequent reconstruction of the arcs and nodes. During sorting the record contains the segment coordinates and a topology record pointer.
The records are written to a vfile, using VWRITE. This routine in turn calls MFILE routines. During the MFILE buffering process, the buffer is corrupted, and records are written with a zero topology pointer. The MFILE buffering system seems to conflict with the OS buffering and depends on timing related to network traffic.

Solution or Workaround

There are three possible solutions to this issue.

  • Run ArcInfo on the same machine that stores the data. If the data is on another machine use ARC COPY to copy the data local to the machine running ArcInfo.
  • Set up the data server to be an ArcInfo geoprocessing server. -show me-

    Summary
    This document shows how to install and start the geoprocessing server on Windows and UNIX machines.
    Procedure
    It is imperative that the user performing the installation has 1)administrative privileges and 2) ownership of the ARCHOME directory.

    1. Installing the Service

      On Windows:

      a. At the DOS prompt, run the command line utility
      %ARCHOME%\bin\gpservice.exe.

      b. Specify the create option and a new password. The default name for the instance is esri_gps(esri_gpsvr for pre-8.1 installations).

      C:\arcgis\arcexe82\bin>gpservice -o create -p gps -H C:\arcgis\arcexe82 -i esri_gps
      


      On UNIX:

      You do not need to install the geoprocessing server on UNIX, you only need to start it. On IBM servers, you must create a link for the server to work:

      % su
      
      #cd /usr/lib
      #ln -s /lib/libgpsvr80.sp libgpsvr80.so

    2. Starting the Service

      On Windows:

      - Make sure the %ARCHOME%\gpserver\services.rqm file contains only one service name. If more than one exists, the Geoprocessing Server will use the first one it encounters.

      - The system services file must have a service name entry that matches the first service name in the %ARCHOME%\gpserver\services.rqm file.

      The system services file is found under:
      C:\WINNT\system32\drivers\etc

      1. Open the Services dialog box from the Windows Control Panel.
      2. Select the Geoprocessing Server service and click Start.
      3. Click Close when the status of the Geoprocessing Server is started.

      On UNIX:

      - Make sure the $ARCHOME\gpserver\services.rqm file contains only one service name. If more than one exists, the Geoprocessing Server will use the first one it encounters.

      - The system services file must have a service name entry that matches the first service name in the %ARCHOME%\gpserver\services.rqm file.

      The system services file is found under:
      UNIX - /etc

      1. Make sure ROOT owns the arcrqmgr executable located in
      %ARCHOME%\bin
      2. Set the permissions for this executable to 6755.
      3. Set ROOT to have write access to $ARCHOME
      4. Start the server from the same login account that installed it.
      5. Run the command line utility $ARCHOME/bin/gpmon with the start option and an administrator password.

      $ARCHOME/bin/gpmon -o start -p gps
      


       Additional UNIX notes:

      Some systems direct applications to search the NIS services file rather than the hosts. You can force a search of the local services file on these systems so you can properly administer the Geoprocessing Server.

      Updating service access on HP-UX:

      Copy the nsswitch.conf file from the /usr/newconfig/etc directory to the /etc directory. Edit the file and change the line 'services:nis files' to 'services:files nis'.

      Updating service access on IBM AIX:

      Create the file netsvc.conf in the /etc directory. Add the line 'services=local,nis' and save the file.


       Additional documentation resources:

      - Appendix B, Using ArcToolbox

      - ARCDOC > Contents > System Administration > System Setup > Setting up a Geoprocessing Server



  • If ArcInfo is running locally and the data is not local define the system environmental variable ARCTMPDIR to a location on the disk where arc.exe is installed. -show me-

    Summary
    Instructions provided describe how to edit environment variables for all supported platforms.
    Procedure


     WARNING: The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

    ESRI cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.





    This minimizes the cross network file caching.

     This option may not fix the problem in all cases.


Created: 11/14/2000
Last Modified: 6/8/2009

If you would like to post a comment, please login