[daip] New Staff Reply - [!LHZ-970183]: AIPS installation on macbook pro

Eric Greisen do-not-reply at nrao.edu
Wed Feb 22 12:22:11 EST 2012


New Staff Reply: AIPS installation on macbook pro

The AIPS Manager FAQ web page has solutions to your
problems. http://www.aips.nrao.edu/aipsmgr/index.html

The lack of sockets requires you to cp /etc/services
to your work area and edit it and then
sudo cp services /etc

The edit is described by:

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.

The shared memory issue is probably addressed with
Shared memory id failure: Invalid Argument
         On the latest "leopard" systems,  /etc/rc is gone and 
         creating it will have no effect.  You need to create an 
         /etc/sysctl.conf file and put the values in it,

            kern.sysv.shmmax=10485760
            kern.sysv.shmmin=1
            kern.sysv.shmmni=32
            kern.sysv.shmseg=8
            kern.sysv.shmall=4096
         
         You should use the values you had when you were running
         tiger.  Those could be in /Previous\ System/etc/rc, assuming
         you have "Previous System". So three different OS upgrades
         and three different ways to adjust the default shared
         memory.  Note: You will need to reboot the system for the
         change in shared memory to take place. You can check if the
         shared memory changes happened by typing "sysctl kern.sysv"
         in a terminal or xterm window. Look for the kern.sysv.shm*
         values. If the values have not changed, make sure you haven't
         inadvertently left in "sysctl -w" in the /etc/sysctl.conf
         file or mis-typed one of the values.  If the /etc/sysctl.conf
         file is not properly formatted, or shmmax is not an integer
         multiple of shmall, the shared memory will not be adjusted
         after the reboot.

Note that the 10 million number (must be a power of 2) may need to be
doubled for a really large screen.

Eric Greisen


Ticket Details
===================
Ticket ID: LHZ-970183
Department: AIPS Data Processing
Priority: Default
Status: Closed
Link:  https://help.nrao.edu/staff/index.php?_m=tickets&_a=viewticket&ticketid=1556




More information about the Daip mailing list