[daip] installation problem on linux
Eric Greisen
egreisen at nrao.edu
Fri Jun 8 12:10:18 EDT 2007
Daniel J. Popowich writes:
>
> Eric Greisen writes:
> > The users will care about permissions (group write) only on the DA00
> > and DATA areas. Group write on the source code and even the system
> > processes will allow others to modify the code which you may or may
> > not want. As long as you can modify the code when you run MNJs all is
> > well.
If you have installed the development version (31DEC07) you do know
about the midnight job I hope. It is a script that will update your
systems to fix bugs that we have found, introduce new capabilities,
and of cource new bugs. It is a very small group these days so things
move slowly, but they do move. A MNJ can be run by cron (we do it
1/day) but 1/week or even month might be more sensible or it can be
run by hand when you remember.
I don't know why install.pl does not do chgrp's - perhaps because they
would all have to be calls to system since the perl function would
have to know your uid number and the desired group's ID number and
then might still get permission troubles (setting uid being a root
thing and we have learned that we have to forbid root). I did not
write the initial install.pl - I just get to fix and enhance it.
>
> Thanks for your help. A few more questions and I think I'll be on my
> way. (FYI: I'm the linux system admin/programmer for our department,
> not an astronomer, so my questions are coming from a non-aips-user
> point of view.)
>
>
> 1. When starting aips a user gets prompted for their user id. Is this
> their unix UID?
It is any number from 2 to (36**3 - 1). If they are on their
own workstations, then they should feel free to use more than one
number. AIPS' file system is rather flat and this allows the user to
keep projects separate. If they are on a "public" machine (> 1 user)
then they need to negotiate some numbering schem to avoid conflict.
NRAO assigns user numbers for that purpose. The user number list is
in 31DEC07/DOC/TEXT/USERNO.LIS if that is of any help.
>
> 2. When running SYSETUP for a new host, a directory is created under
> DA00 for that host. I want to make sure I've sized my NFS server
> properly...what kind of space should I allocate per-host? Does
> this directory grow in any significant way?
It would be better if you created that durectory as an ln -s to a real
directory on the users machine before running SYSETUP. Thus if
primate is a user machine (mine actually)
cd /home/primate
mkdir AIPS
mkdir AIPS/PRIMATE
mkdir AIPS/PRIMATE_1
touch AIPS/PRIMATE_1/SPACE
cd /home/primate2
mkdir AIPS
mkdir AIPS/PRIMATE_2
touch AIPS/PRIMATE_2/SPACE
cd $AIPS_ROOT/DATA
ln -s /home/primate/AIPS/PRIMATE_1 PRIMATE_1
ln -s /home/primate2/AIPS/PRIMATE_2 PRIMATE_2
cd ../DA00
ln -s /home/primate/AIPS/PRIMATE PRIMATE
SYSETUP PRIMATE
>
> 3. Also when running SYSETUP for a host (say, $HOST) in $NET0/$HOST a
> couple of symbolic links (GRD000000; and PWD000000;) are created
> pointing to files in $NET0/$MASTER, where $MASTER is the master
> host you specify when running the script.
>
> a) Do these two files need to be writable by the aipsuser group?
All files in the $NET0/$HOST areas need to be group writable.
>
> b) What are these shared files?
They are the gripe file (users may enter a grip which is kept
locally in the GR file and also e-mailed to us) but users these days
usually just e-mail to daip at nrao.edu directly.
The second is a password file, but I do not know any user that
bothers with this either. User 1 has a well-known password AMANAGER
and special privileges to act as system manager.
Eric Greisen
More information about the Daip
mailing list