[daip] Help setting up AIPS...

Eric Greisen egreisen at nrao.edu
Fri Feb 18 15:33:33 EST 2005


Anthony Remijan writes:

 > TVSERVER: could not get ssslock service by name: Success
 > TVSERVER: Check your /etc/services or NIS/YP map

 > XASERVERS: Start XAS on localhost, DISPLAY :0
 > XAS: ***********************************
 > XAS: **  No TrueColor found
 > XAS: **  Resorting to PseudoColor
 > XAS: ***********************************
 > XAS: ***  Using shared memory option for speed ***
 > XAS: Using screen width height 1142 668, max grey level 196
 > XAS: Warning -- creating virtual colormap

 > XAS: sssin is not a service
 > XAS: Check /etc/services or YP/NIS services map
 > zssslk: tcp/ssslock NOT A SERVICE
 > ZVTPO3: tcp/aipsmt0 is not a service
 > ZVTPO3: check /etc/services or NIS map!

I see two things I think I understand - the other business about
authentication we'll check later if needed.

1. You have not changed /etc/services (and rebooted).  The services
aips uses need to be added to /etc/services (root is required):  From
the aips manager FAQ page:

Problems with the TV, message, TEK and tape servers

The instructions to change your /etc/services file are often
overlooked. The Inet versions of XAS with its TVSERV lock daemon,
MSGSRV, and TEKSRV all require that predictable node numbers be
reserved for them. The remote tape services also require these and do
not offer a UNIX (non-network socket) option. In both cases, if you
need to communicate between two computers (or more), the following
must be installed in your /etc/services (or YP services)

sssin           5000/tcp        SSSIN      # AIPS TV server
ssslock         5002/tcp        SSSLOCK    # AIPS TV Lock
msgserv         5008/tcp        MSGSERV    # AIPS Message Server
tekserv         5009/tcp        TEKSERV    # AIPS TekServer
aipsmt0         5010/tcp        AIPSMT0    # AIPS remote FITS disk access
aipsmt1         5011/tcp        AIPSMT1    # AIPS remote tape 1
aipsmt2         5012/tcp        AIPSMT2    # AIPS remote tape 2
aipsmt3         5013/tcp        AIPSMT3
aipsmt4         5014/tcp        AIPSMT4
aipsmt5         5015/tcp        AIPSMT5
aipsmt6         5016/tcp        AIPSMT6
aipsmt7         5017/tcp        AIPSMT7

You do not need to install all the tape services unless you have a
large number of tape devices on some computer.


2. You are using pseudo color visiual (already not the usual Linux
default), which will work.  Most modern computers have the muscle to
support the 24/32-bit TruedColor implementation in XAS.  That mode
allows some powerful algorithms involving hue-intensity or just
comparing/summing images using different colors.

AIPS works, tekserver works, but the TV doesn't come up

    This is seen most often on Linux systems. Almost certainly your X
Windows configuration is set to use a 16-bit display. The AIPS TV can
only support 8 and 24 bit displays (32 and 24 should be equivalent).
Type "xdpyinfo | more" and if you see this:

      
        default visual id:  0x20
        visual:
          visual id:    0x20
          class:    TrueColor
          depth:    16 planes
      

    ... then this is the problem. If it says 8 or 24, then the TV
should work. If it says 16, then you should alter your X configuration
to allow either 8 or 24 bit display. You should use the supplied
tools, e.g. XConfigurator under Red Hat Linux, to do this; only edit
the XF86Config file directly if you know exactly what you're doing!

Eric Greisen




More information about the Daip mailing list