[daip] AIPS installation problems (for Synthesis Imaging Workshop at NMT)

Joel Eidsath thras at nmt.edu
Tue May 27 15:30:34 EDT 2008


Hello,

I'm getting the necessary packages ready for the upcoming Synthesis 
Imaging Workshop here at NMT, and I'm told that you are our technical 
contact for AIPS.

Since we need to install AIPS on a couple of dozen computers, I've 
wrapped an RPM around it. Attached is the spec file I wrote along with 
the AIPSRC options file.

I created a group "aips" that will be used for write access to the aips 
files. Since the RPM is used for multiple machines, I chose the 
"LOCALHOST" option, and I don't plan to edit /etc/services, since 
according the install wizard, users will be able to use unix sockets.

When I run "aips notv tpok" as per the recommended test procedure, it 
works fine as user "thras" -- the account under which I build the rpm, 
and who is the group owner of all files that were not set to be owned by 
"aips." It asks for my user id, and I am able to run "print 1 + 2" as 
suggested in the install notes.

Unfortunately, when I run as a test user (a member of group aips), I get 
the following errors:

-bash-3.2$ aips notv tpok
 
You have a choice of 2 printers.  These are:
 
    No. [ type  ] Description
-------------------------------------------------------------
     1. [     PS] Speare 4 Printer
     2. [     PS] Speare 23 Printer
-------------------------------------------------------------
 
START_AIPS: Enter your choice, or the word QUIT [default is 1]:
START_AIPS: Your initial AIPS printer is the Speare 4 Printer
START_AIPS:  - system name speare4, AIPS type PS
 
START_AIPS: User data area assignments:
  (Using global default file /usr/local/aips/DA00/DADEVS.LIST for DADEVS.PL)
   Disk 1 (1) is /usr/local/aips/DATA/LOCALHOST_1

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 31DEC07 AIPS with normal priority
Begin the one true AIPS number 1 (release of 31DEC07) 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
?3406
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: ZCREA2: ERROR OPENING SPACE LOCK FILE = DA01:SPACE
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: ZERROR: ON FILE DA01:MSD2MM000.2MM;
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: ZERROR: IN ZCREA2 ERRNO = 13 (Permission denied)
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: CATCR: CREATE MESSAGE FILE ERROR      4
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: ZCREA2: ERROR OPENING SPACE LOCK FILE = DA01:SPACE
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: ZERROR: ON FILE DA01:CAD000000.2MM;
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: ZERROR: IN ZCREA2 ERRNO = 13 (Permission denied)
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: CATCR: CREATE CATLG ON VOL 1 ERROR      4
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: CTLG PROBLEM
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: TRACE: #    33 LEVS   1 NAMES AIPS
 ZMSGOP: FILE DA01:MSD2MM000.2MM;      NOT FOUND
MSGWRT ERROR      2 AT OPEN                                            
AIPS 1: localhost    31DEC07 TST: Cpu=       0.0  Real=       0
-bash-3.2$

This appears to be a permission problem, so here is are the permissions 
on the /usr/local/aips directory:

-bash-3.2$ ls -l /usr/local/aips
total 93492
drwxr-xr-x 30 root thras     4096 2008-05-27 12:04 31DEC07
-rw-------  1 root thras 95433853 2008-05-27 11:38 31DEC07.tar.gz
lrwxrwxrwx  1 root thras       15 2008-05-27 12:04 aips -> /usr/local/aips
-rwxr-xr-x  1 root aips     14003 2008-05-27 11:38 AIPSASSN.CSH
-rwxr-xr-x  1 root aips     14598 2008-05-27 11:38 AIPSASSN.SH
-rwxrwxr-x  1 root thras     2911 2008-05-27 11:38 AIPS.BOOT
-rwxrwxr-x  1 root thras     8574 2008-05-27 11:38 AIPSPATH.CSH
-rwxrwxr-x  1 root thras     8566 2008-05-27 11:38 AIPSPATH.SH
drwxrwsr-x  3 root aips      4096 2008-05-27 12:04 DA00
drwxrwxr-x  3 root thras     4096 2008-05-27 12:04 DATA
-rwxrwxr-x  1 root thras      821 2008-05-27 11:44 do_daily.localhost
drwxrwsr-x  2 root aips      4096 2008-05-27 11:38 FITS
-rwxrwxr-x  1 root thras     3172 2008-05-27 11:38 HOSTS.CSH
-rw-rw-r--  1 root thras     3027 2008-05-27 11:38 HOSTS.LIST
-rwxrwxr-x  1 root thras     3174 2008-05-27 11:38 HOSTS.SH
-rw-rw-r--  1 root thras     2609 2008-05-27 11:38 LOGIN.CSH
-rw-rw-r--  1 root thras     2660 2008-05-27 11:38 LOGIN.SH
drwxrwsr-x  2 root aips      4096 2008-05-27 11:38 OFM
lrwxrwxrwx  1 root thras       29 2008-05-27 12:04 PRDEVS.SH -> 
31DEC07/SYSTEM/UNIX/PRDEVS.SH
drwxrwsr-x  2 root aips      4096 2008-05-27 11:38 PRINT
-r-xr-xr-x  1 root thras    22552 2004-10-19 13:43 REGISTER
drwxrwsr-x  2 root aips      4096 2008-05-27 11:38 RUN
-rwxr-xr-x  1 root aips      1833 2008-05-27 11:38 SETNAME
-rwxr-xr-x  1 root aips      1833 2008-05-27 11:38 SETUNAME
-rwxrwxr-x  1 root thras    25525 2008-05-27 11:38 START_AIPS
-rwxrwxr-x  1 root thras     3334 2008-05-27 11:38 START_TPSERVERS
-rwxrwxr-x  1 root thras     5991 2008-05-27 11:38 START_TVSERVERS
drwxr-xr-x  8 root thras     4096 2008-05-27 12:04 TEXT
-rwxrwxr-x  1 root thras     5621 2008-05-27 11:38 TVALT
lrwxrwxrwx  1 root thras       29 2008-05-27 12:04 TVDEVS.SH -> 
31DEC07/SYSTEM/UNIX/TVDEVS.SH

-- 
Joel Eidsath
thras at nmt.edu
Systems Programmer
Tech Computer Center
New Mexico Tech
Work Phone:  (505) 835-5662
http://www.nmt.edu/~thras

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: aips.spec
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20080527/57a607f4/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .AIPSRC
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20080527/57a607f4/attachment-0001.ksh>


More information about the Daip mailing list