[daip] AIPS installation question

Eric Greisen egreisen at nrao.edu
Sun May 3 18:08:10 EDT 2009


David Meier wrote:
> Dear aips support,
> 
> I have just completed installing 31DEC08 aips on my Intel Mac OS X
> leopard system.  After creating the sysctl.conf file for my 30"
> mointor I was able to get the tekserver, msgserver and the tvserver
> to all appear, but when I try to use the tvserver (eg. typing
> "tvinit" or "tvall") I get the following error:
> 
> 
> #tvinit
> AIPS 1: ZSSSL2: coral: UNKNOWN HOST
> AIPS 1: ZSSSLK: ERROR   2 ON LOCK
> AIPS 1: ON LOCK ERROR    6 FROM ZSSSLK
> AIPS 1: YTVOPN: TV LOCK OPEN ERROR      6
> AIPS 1: TV OPEN ERROR      6
> 
> coral is the name of my local computer.
> 
> Typing: >ping coral
> gives: ping: cannot resolve coral: Unknown host
> typing: > ping coral.nmt.edu
> gives:
> PING coral.nmt.edu (129.138.42.35): 56 data bytes
> 64 bytes from 129.138.42.35: icmp_seq=0 ttl=64 time=0.052 ms
> 64 bytes from 129.138.42.35: icmp_seq=1 ttl=64 time=0.119 ms
> 64 bytes from 129.138.42.35: icmp_seq=2 ttl=64 time=0.089 ms
> 64 bytes from 129.138.42.35: icmp_seq=3 ttl=64 time=0.090 ms
> 64 bytes from 129.138.42.35: icmp_seq=4 ttl=64 time=0.091 ms
> 64 bytes from 129.138.42.35: icmp_seq=5 ttl=64 time=0.094 ms
> 64 bytes from 129.138.42.35: icmp_seq=6 ttl=64 time=0.087 ms
> ^C
> --- coral.nmt.edu ping statistics ---
> 7 packets transmitted, 7 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 0.052/0.089/0.119/0.018 ms
> .
> .
> .
> 
> 
> At startup I see the following:
> 
> coral:~ davidmeier$ aips
> START_AIPS: Your initial AIPS printer is the (no description supplied by
> installer)
> START_AIPS:  - system name HP_Color_LaserJet_CP2025dn, AIPS type PS
> 
> START_AIPS: User data area assignments:
>   (Using global default file /Users/davidmeier/AIPS/DA00/DADEVS.LIST for
> DADEVS.PL)
>    Disk 1 (1) is /Users/davidmeier/AIPS/DATA/CORAL_2
>    Disk 2 (2) is /Users/davidmeier/AIPS/DATA/CORAL_1
> 
> Tape assignments:
>    Tape 1 is REMOTE
>    Tape 2 is REMOTE
> 
> START_AIPS: I am GUESSING you are at a workstation called coral
> START_AIPS: Starting TV servers on coral asynchronously
> START_AIPS:  - with Internet Sockets...
> START_AIPS: Starting TPMON daemons on CORAL asynchronously...
> Starting up 31DEC08 AIPS with normal priority
> Begin the one true AIPS number 1 (release of 31DEC08) at priority =   0
> AIPS 1: You are assigned TV device/server   1
> AIPS 1: You are assigned graphics device/server   1
> XASERVERS: Start TV LOCK daemon TVSERV on coral
> AIPS 1: Enter user ID number
> ?XASERVERS: Start XAS on coral, DISPLAY /tmp/launch-Ztbf7U/:0
> TVSERVER: Starting AIPS TV locking, Inet domain
> XAS: ** TrueColor FOUND!!!
> XAS: ***  Using shared memory option for speed ***
> XAS: Using screen width 2550 height 1500,
>      max grey level 8191 in 16 grey-scale memories
> XASERVERS: Start graphics server TEKSRV on coral, DISPLAY
> /tmp/launch-Ztbf7U/:0
> XASERVERS: Start message server MSGSRV on coral, DISPLAY
> /tmp/launch-Ztbf7U/:0
> STARTPMON: [CORAL] Starting TPMON1 with output SUPPRESSED
> 429
> AIPS 1:                          31DEC08 AIPS:
> AIPS 1:      Copyright (C) 1995-2008 Associated Universities, Inc.
> AIPS 1:            AIPS comes with ABSOLUTELY NO WARRANTY;
> AIPS 1:                 for details, type HELP GNUGPL
> AIPS 1: This is free software, and you are welcome to redistribute it
> AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details.
> AIPS 1: Previous session command-line history recovered.
> AIPS 1: TAB-key completions enabled, type HELP READLINE for details.
> AIPS 1: Recovered POPS environment from last exit
> 
> 
> Any help you could provide would be much appreciated.

Apparently your system does not know you by an abbreviated name - sigh.
Since you have your own private version, you could change to "LAPTOP" 
"YES" in the $AIPS_ROOT/LOGIN.SH and LOGIN.CSH files.  This will 
necessitate some other changes:
1. edit the $AIPS_ROOT/DA00/DADEVS.LIST and NETSP files to add data 
areas for LOCALHOST.

2. in the same area: ln -s CORAL LOCALHOST

3. ln -s <current CORAL data area_n> <LOCALHOST_n>

The machine should find locahost okay.

Note that an alternative is to say tv=local on the aips command line. 
Then unix sockets are used and the internet references are not required.

Cheers,

Eric Greisen




More information about the Daip mailing list