[daip] problem running aips through nfs

Eric Greisen egreisen at nrao.edu
Fri Feb 27 16:29:45 EST 2009


Ulrich Hiller wrote:
> Dear sirs,
> after installing aips31dec08 on an opensuse 10.0 box and trying to run
> it as an nfs-mounted disk from another machine I get this:
> AIPS 1: ZERROR: ON FILE DA00:SPD000000;                                
> AIPS 1: ZERROR: IN ZDAOPN ERRNO = 13 (Permission denied)               
> 
> Looking around I found that this is related to missing group permissions.
> I quite don not understand this: The nfs disk where aips is installed is
> rw mounted.
> I opened verything on is for the user and group read-writable.
> Creating files on any directory works through nfs.
>  touch /rw/aips311208/DA00/[machin name]/SPD000000;
> does not give me an error message. It changed the time stamp of the file
> as it should.
> So, what could aips' problem be?
>  I attached the complete ouput of the start_aips process.
> 
> With kind regards and thank you in advance for your help, Ulrich Hiller
> 
> :~> /rw/aips311208/START_AIPS tv=local                       
> START_AIPS: Will use or start first available Unix Socket based TV        
>                                                                           
> You have a choice of 3 printers.  These are:                              
>                                                                           
>     No. [ type  ] Description                                             
> -------------------------------------------------------------             
>      1. [     PS] (no description supplied by installer)                  
>      2. [     PS] (no description supplied by installer)                  
>      3. [     PS] (no description supplied by installer)                  
> -------------------------------------------------------------             
>                                                                           
> START_AIPS: Enter your choice, or the word QUIT [default is 1]:           
> START_AIPS: Your initial AIPS printer is the (no description supplied by
> installer)
> START_AIPS:  - system name laps_w, AIPS type
> PS                                    
>                                                                                    
> 
> START_AIPS: User data area
> assignments:                                            
>   (Using global default file
> /usr/local2/misc/rw/aips311208/DA00/DADEVS.LIST for DADEVS.PL)
>                   /a32d1/aips/DATA/AIDA32_1 is currently
> unavailable.                     
>                   /a32d2/aips/DATA/AIDA32_1 is currently
> unavailable.                     
>    Disk 1 (1) is
> /home/aips/DATA/AIDA32_1                                                 
>    Disk 2 (2) is
> /data1/aips/DATA/AIDA32_3                                                
>    Disk 3 (3) is
> /data2/aips/DATA/AIDA32_2                                                
>    Disk 4 (4) is
> /data5/aips/DATA/AIDA32_5                                                
>    Disk 5 (5) is
> /data6/aips/DATA/AIDA32_6                                                
>    Disk 6 (6) is
> /data6/aips/DATA/AIDA32_7                                                
>    Disk 7 (7) is
> /data6/aips/DATA/AIDA32_8                                                
> 
> Tape assignments:
>    Tape 1 is REMOTE
>    Tape 2 is REMOTE
>                   
> START_AIPS: Starting TV servers on aida32 asynchronously
> START_AIPS:  - WITH Unix Sockets as requested...       
> START_AIPS: Starting TPMON daemons on AIDA32 asynchronously...
> Starting up 31DEC08 AIPS with normal priority                
> ZDCHI1: ZERROR: ON FILE DA00:SPD000000;                      
> ZDCHI1: ZERROR: IN ZDAOPN ERRNO = 13 (Permission denied)     
>  ZDCHIN: COULD NOT READ PARAMETER FILE                       
>  ZDCHIN: (USING MINIMUM SYSTEM CONFIGURATION)                
> Begin the one true AIPS number 1 (release of 31DEC08) at priority =   0
> AIPS 1: ZERROR: ON FILE DA00:SPD000000;                                
> AIPS 1: ZERROR: IN ZDAOPN ERRNO = 13 (Permission denied)               
>  ZDCHIN: COULD NOT READ PARAMETER FILE                                 
>  ZDCHIN: (USING MINIMUM SYSTEM CONFIGURATION)                          
> AIPS 1: You are not on a local TV device, welcome stranger             
> AIPS 1: You are assigned TV device/server  22                          
> AIPS 1: You are assigned graphics device/server  22                    
> AIPS 1: Enter user ID number                                           
> ?UNIXSERVERS: Start TV LOCK daemon TVSRV1 on aida32                    
> TVSERVER: Starting AIPS TV locking, Unix (local) domain                
> UNIXSERVERS: Start XAS1 on aida32, DISPLAY localhost:12.0              
> XAS: ** TrueColor FOUND!!!                                             
> XAS: Cannot use shared memory on remote XAS link                       
> Host name is AIDA32, display shows it at LOCALHOST                     
> XAS: !!! Shared memory not selected !!!                                
> XAS: Using screen width 1270 height 924,
>      max grey level 8191 in 16 grey-scale memories
> UNIXSERVERS: Start graphics server TKSRV1 on aida32, display localhost:12.0
> UNIXSERVERS: Start message server MSSRV1 on aida32, display localhost:12.0
> 
> AIPS 1: Enter user ID number
> ?100
> AIPS 1: ZERROR: ON FILE DA00:ACD000000;
> AIPS 1: ZERROR: IN ZDAOPN ERRNO = 13 (Permission denied)
> AIPS 1: ACCOUNT: OPEN ERROR      6
> 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 *not* recovered.
> AIPS 1: TAB-key completions enabled, type HELP READLINE for details.
> AIPS 1: Recovered POPS environment from last exit
>> kleenex
> AIPS 1: Begin check for any 'standard' scratch files
> AIPS 1: Scratch files -- destroyed:    0  still active:    0
> AIPS 1: Destroyed empty user catalog on disk   1
> AIPS 1: Destroyed empty user catalog on disk   2
> AIPS 1: Destroyed empty user catalog on disk   3
> AIPS 1: User  100:   283 messages, oldest written 26-FEB-2009  17:33:52
> AIPS 1: Deleted      0 messages
> AIPS 1: Saved POPS environment in area named 'LASTEXIT'
> TVSERVER told to shut down by XAS
> XAS: Quitting NOW.
> 
> AIPS 1: Session command-line history *not* saved.
> AIPS 1: ZERROR: ON FILE DA00:ACD000000;
> AIPS 1: ZERROR: IN ZDAOPN ERRNO = 13 (Permission denied)
> AIPS 1: ACCOUNT: OPEN ERROR      6
> 

This is very odd.  AIPS expects RW privilege on the files and, around 
here, is basically working across NFS all the time.  The RW is provided 
by having the files owned by the aips group and having all aips users 
have the aips group as one of the secondary groups.

Because NFS has some problems with file locking, we do recommend that 
the $DA00 files actually reside on the computer that is executing aips 
although here we do that via soft links from the central file server.

Our systems expert appears to be out at the moment - perhaps he will 
have some suggestion.

Eric Greisen




More information about the Daip mailing list