AIPS Patches for 15OCT96 NRAO


This page most recently updated on $Date: 1999/04/21 13:56:02 $ (UT)


You will find patches to known bugs in 15OCT96 here.

The following is a list of pointers to the different patches in this document.

  1. Network Services (If you have a SunOS 5.5 NIS server) 96.11.26, updated 96.12.11
  2. INSTEP1 refused valid hosts for TPHOSTS file 96.11.26, updated 96.12.05
  3. Linux tape drives (primarily Exabytes) encountered block size related problems 97.02.03
  4. INDXR model recalculation for VLBA subarray data 97.02.10

The remainder of this document is comprised of the patch descriptions pointed to by the above references.


Task:
Network Services
Summary:
Using network service names in upper case letters exposes bugs in operating systems. In particular, a NIS/YP server running SunOS 5.5 was found to reject connects for service names (in getservbyname) in uppercase. The solution is to make all service name references in AIPS lowercase, and ensure the /etc/services file and YP (NIS or NIS+) services map has the first reference to each AIPS service in lowercase also.
NOTE: while XAS.SHR has been fixed, the older and seldom-used XVSS.SHR and SSS.SHR servers have not. Caveat emptor.
NOTE ALSO: You will most likely NOT need to make these changes if your TV, Tekserver, Message server, and remote tape daemons (TPMON) are currently working. It is only necessary if they are failing due to your network providing a NIS/YP services map on a SunOS 5.x server.
Files:
15OCT96/APL/DEV/UNIX/ZSSSO2.C
15OCT96/APL/DEV/UNIX/ZVTPO2.C
15OCT96/APL/DEV/UNIX/ZVTPO3.C
15OCT96/APL/DEV/ZMOUNT.FOR
15OCT96/APL/DEV/ZTPOPR.FOR
15OCT96/APL/DEV/ZVTPRO.FOR
15OCT96/APL/DEV/ZVTPO2.FOR
15OCT96/AIPS/PGM/NOTST/TPMON.FOR
15OCT96/Y/SERVERS/XAS.SHR
15OCT96/SYSTEM/UNIX/TVDEVS.SH
15OCT96/services.part
Fix:
  1. Fetch the files and put them in their correct locations (all but the last one). If your copy of TVDEVS.SH in $AIPS_ROOT is not a symlink to the $SYSUNIX version (it should be, or to TVDEVS.KLUDGE), integrate the changes in this copy too.
  2. Compile the subroutines:
    COMRPL $APLUNIX/ZSSSO2 $APLUNIX/ZVTPO2 $APLUNIX/ZVTPO3
    COMRPL $APLGEN/ZMOUNT $APLGEN/ZTPOPR $APLGEN/ZVTPRO
    COMRPL $APLGEN/ZVTPO2
  3. Re-make the XAS TV server:
    cd $YSERV; mkdir XAS; cd XAS
    ln -s ../UNSHR.FOR unshr.f
    f77 -o UNSHR unshr.f
    (xlf on AIX)
    ./UNSHR
    ../XAS.SHR
    make xas
    make install
    Refer to the AIPS Installation Summary for more detailed instructions on how to make XAS. Note that you do not need to re-make UNSHR if INSTEP1 already did it for you.
  4. Re-link all TV and tape tasks:
    COMLNK $AIPPGM/AIPS
    COMLNK $YPGM/*.FOR
    COMLNK $YPGNOT/*.FOR
    COMLNK $QYPGM/*.FOR
    COMLNK $QYPGNOT/*.FOR
    COMLNK $APGNOT/FITTP $APGNOT/FITLD $APGNOT/UVLOD
    $APGNOT/IMLOD $AIPPGM/AIPS $APLPGM/PRTTP
    $APGNOT/MK3IN $APGNOT/FILLM $APLPGM/AVTP
    $APGNOT/BAKLD $APGNOT/BAKTP $APGNOT/FILLR
    $APGNOT/GSCAT $AIPNOT/TPMON $APLPGM/TCOPY
    $AIPNOT/GR2TEX $AIPNOT/GRITP $AIPNOT/RDFITS
    $APGNOT/MK3TX
  5. Remove any TPMON1, TPMON2, etc. files from $LOAD, kill and restart your TPMON daemons.
  6. Make the appropriate changes to your /etc/services file(s) and/or your NIS or NIS+ services map; see the services.part file for an example.
Documentor:
Patrick P. Murphy
Date:
1996.11.26, updated 1996.12.04 with tape task list; Updated 1996.12.11 to add TPMON.FOR and daemon restart.

Task:
INSTEP1
Summary:
Two fixes: allow the installer to specify zero (0) disks as a valid number; this can be correct if .dadevs files are being used. Also, fix the checking of the hostnames or IP addresses entered for inclusion in TPHOSTS; the logic was failing and is now removed. Any non-blank string will be inserted in the file now.
NOTE: you can also directly edit the $NET0/TPHOSTS file to insert or correct any entries.
ALSO NOTE: you do not need to re-do INSTEP1. If you have not started the installation, use this revised script. If you have started, just edit the TPHOSTS file directly.
Files:
15OCT96/SYSTEM/UNIX/INSTALL/INSTEP1
Fix:
  1. Fetch the file and put it in $INSUNIX
  2. Proceed with your installation.
Documentor:
Patrick P. Murphy
Date:
1996.11.26, updated 1996.12.05

Task:
Linux tape drives
Summary:
Ensures that block size for SCSI tape drives is set to 0 at mount, and restores previous block size at dismount. This eliminates a block size related problem that some users were experiencing, primarily when attempting to use 8mm (Exabyte) tape drives.
NOTE: This patch is only useful on Linux systems.
Files:
15OCT96/APL/DEV/UNIX/BELL/LINUX/ZMOUN2.C
Fix:
  1. Fetch the file and put it in $APLLINUX
  2. Compile the subroutine:
    COMRPL $APLLINUX/ZMOUN2
  3. Recompile the main AIPS task:
    COMLNK $AIPPGM/AIPS
Documentor:
Jeffrey A. Uphoff
Date:
1997.02.03

Task:
INDXR model recalculation for VLBA subarray data
Summary:
Corrects an INDXR error when using model recalculation for VLBA data (CPARM(4) > 0). This only affects data with separate subarrays.
Files:
15OCT96/APL/SUB/NOTST/GETDEL.FOR
Fix:
  1. Fetch the file and put it in $APLNOT
  2. Compile the subroutine:
    COMRPL $APLNOT/GETDEL
  3. Recompile the affected AIPS task:
    COMLNK $APGNOT/INDXR
Documentor:
A. Kemball
Date:
1997.02.10

Patrick P. Murphy