[daip] [Fwd: Re: AIPS 31DEC08 - Areas problem]

Amy Mioduszewski amiodusz at nrao.edu
Wed May 14 17:03:13 EDT 2008



-------- Original Message --------
Subject: Re: [daip] AIPS 31DEC08 - Areas problem
Date: Wed, 14 May 2008 15:02:48 -0600
From: Amy Mioduszewski <amiodusz at nrao.edu>
To: gcastell at iafe.uba.ar
References: <39058.157.92.21.10.1210702261.squirrel at webmail.iafe.uba.ar>

Hi Diego,

First check the userid (type "type userid"), it might be set to something other
than 44.  If the userid is set to 0 (or 44) then try to recreate the catalogs by
typing RUN RECAT *outside* of AIPS and answer its questions.

Amy

gcastell at iafe.uba.ar wrote:
> Dear all,
> 
>    I'm trying to install aips 31DEC08 on a Debian 4 i386 PC after
> upgrading from Debian 3.1 . I compiled it with the gcc 2.95 compilers and
> it compiles ok, runs ok, but when I try to list the data areas, I get
> nothing, even though I have already copied the contents of the DATA
> directory from the other installation and named the data directories
> exactly the same:
> 
> 
> ---------------------
> AipsWiz: That's it.  You should now have the latest AIPS!  Enjoy.
> aips at debian:~/AIPS$ . LOGIN.SH
> aips at debian:~/AIPS$ aips notv tpok
> START_AIPS: Your initial AIPS printer is the
> START_AIPS:  - system name , AIPS type
> 
> START_AIPS: User data area assignments:
>   (Using global default file /home/aips/AIPS/DA00/DADEVS.LIST for
> DADEVS.PL)
>    Disk 1 (1) is /home/aips/AIPS/DATA/DEBIAN_5
>    Disk 2 (2) is /home/aips/AIPS/DATA/DEBIAN_8
>    Disk 3 (3) is /home/aips/AIPS/DATA/DEBIAN_10
>    Disk 4 (4) is /home/aips/AIPS/DATA/DEBIAN_7
>    Disk 5 (5) is /home/aips/AIPS/DATA/DEBIAN_9
>    Disk 6 (6) is /home/aips/AIPS/DATA/DEBIAN_4
>    Disk 7 (7) is /home/aips/AIPS/DATA/DEBIAN_1
>    Disk 8 (8) is /home/aips/AIPS/DATA/DEBIAN_3
>    Disk 9 (9) is /home/aips/AIPS/DATA/DEBIAN_2
>    Disk 10 (A) is /home/aips/AIPS/DATA/DEBIAN_6
> 
> Tape assignments:
>    Tape 1 is REMOTE
>    Tape 2 is REMOTE
> 
> START_AIPS: Assuming TPMON daemons are running or not used (you said TPOK)
> Starting up 31DEC08 AIPS with normal priority
> Begin the one true AIPS number 1 (release of 31DEC08) at priority =   0
> AIPS 1: You are NOT assigned a TV device or server
> AIPS 1: You are NOT assigned a graphics device or server
> AIPS 1: Enter user ID number
> ?44
> 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
>> indi 0
>> mc
> AIPS 1: Catalog on disk  1
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> AIPS 1: Catalog on disk  2
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> AIPS 1: Catalog on disk  3
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> AIPS 1: Catalog on disk  4
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> AIPS 1: Catalog on disk  5
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> AIPS 1: Catalog on disk  6
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> AIPS 1: Catalog on disk  8
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> AIPS 1: Catalog on disk  9
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> AIPS 1: Catalog on disk 10
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> --------------------------------
> 
> In /home/aips/AIPS/DATA/DEBIAN_1 I have more than 300 files, copied from
> the previous installation (that was working ok in Debian 3.1).
> 
> So I ran strace to see if I could find something strange. I attach
> strace's output exactly when I write "mc" in order to list the contents of
> the data areas. To summarize, it opens
> /home/aips/AIPS/DATA/DEBIAN_5/MSD018000.018; and reads what looks like a
> log of previous sessions. Then it closes this file and opens
> /home/aips/AIPS/DATA/DEBIAN_5/CAD000000.018; . This looks like a binary
> file. Aips reads 1024 bytes, then writes to the screen:
> 
> AIPS 1: Catalog on disk  1
> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last access      Stat
> 
> And then reads 4Kb more. Then it opens:
> 
> * /home/aips/AIPS/DATA/DEBIAN_8/CAD000000.018
> * /home/aips/AIPS/DATA/DEBIAN_10/CAD000000.018;
> * /home/aips/AIPS/DATA/DEBIAN_7/CAD000000.018;
> * /home/aips/AIPS/DATA/DEBIAN_9/CAD000000.018;
> * /home/aips/AIPS/DATA/DEBIAN_4/CAD000000.018;
> * /home/aips/AIPS/DATA/DEBIAN_3/CAD000000.018;
> * /home/aips/AIPS/DATA/DEBIAN_2/CAD000000.018;
> * /home/aips/AIPS/DATA/DEBIAN_6/CAD000000.018;
> 
> In between those opening/read/close, aips prints the "AIPS 1: Catalog on
> disk " lines but not the contents.
> 
> Does anybody knows what is going on? Any clue is really welcomed, as I am
> stuck here.
> 
> Thanks in advance,
>  -- Diego.




More information about the Daip mailing list