[daip] 31DEC12 Installation on Linux

Eric Greisen egreisen at nrao.edu
Wed Mar 28 10:25:21 EDT 2012


Brendan Reardon wrote:
> Eric Greisen -
> 
> I am not installing as root, it fails automatically when tried due to 
> "all sorts of issues that occur". I spent some time researching write 
> privileges to make sure and I am fairly certain all is well. Here is my 
> "ls -l" Also attached I have included my ~./AIPSRC file 

There are two things absolutely not advisable in the stuff below and 
your follow-up e-mail.  the aips directory should not be owned by root 
and the 31-DEC12 should not be owned by root.  It is very odd that the 
group IDs on the latest files are "brendan" but those on earlier files 
are www-data.  It seems as if you have two identities here.  Since aips 
is owned by root with group www-data write permission, you cannot write 
in the aips directory as brendan group.

Let me suggest a restart - delete everything including the /soft/aips 
directory (save install.pl somewhere).  Recreate /soft/aips with 
ownership brendan and whatever your primary group name might be.  Then 
examine ~/.AIPSRC.SH and fix the GROUP=xxxx ;ine to that group.  Then cd 
to /soft/aips  and do perl install.pl -n.

Eric Greisen


> 
>     brendan at ubuntu:~$ cd /soft/aips
>     brendan at ubuntu:/soft/aips$ ls -l
>     total 456
>     drwxrwsr-x 30 root    www-data   4096 2012-03-26 21:25 31DEC12
>     -rwxrwxr-x  1 brendan brendan   14031 2012-03-26 21:54 AIPSASSN.CSH
>     -rwxrwxr-x  1 brendan www-data  14031 2012-03-26 21:16 AIPSASSN.CSH.OLD
>     -rwxrwxr-x  1 brendan brendan   14626 2012-03-26 21:54 AIPSASSN.SH
>     -rwxrwxr-x  1 brendan www-data  14626 2012-03-26 21:16 AIPSASSN.SH.OLD
>     -rwxrwxr-x  1 brendan brendan    2906 2012-03-26 21:54 AIPS.BOOT
>     -rwxrwxr-x  1 brendan www-data   2906 2012-03-26 21:16 AIPS.BOOT.OLD
>     -rwxrwxr-x  1 brendan brendan    9115 2012-03-26 21:54 AIPSPATH.CSH
>     -rwxrwxr-x  1 brendan www-data   9115 2012-03-26 21:16 AIPSPATH.CSH.OLD
>     -rwxrwxr-x  1 brendan brendan    8599 2012-03-26 21:54 AIPSPATH.SH
>     -rwxrwxr-x  1 brendan www-data   8599 2012-03-26 21:16 AIPSPATH.SH.OLD
>     drwxrwsr-x  3 brendan brendan    4096 2012-03-26 21:16 DA00
>     drwxrwsr-x  3 brendan www-data   4096 2012-03-26 21:30 DATA
>     drwxrwsr-x  2 brendan www-data   4096 2012-03-26 21:16 FITS
>     -rwxrwxr-x  1 brendan brendan    3167 2012-03-26 21:54 HOSTS.CSH
>     -rwxrwxr-x  1 brendan www-data   3167 2012-03-26 21:16 HOSTS.CSH.OLD
>     -rwxrwxr-x  1 brendan brendan     384 2012-03-26 21:54 HOSTS.LIST
>     -rwxrwxr-x  1 brendan brendan    3169 2012-03-26 21:54 HOSTS.SH
>     -rwxrwxr-x  1 brendan www-data   3169 2012-03-26 21:16 HOSTS.SH.OLD
>     -rwxrwxrwx  1 root    www-data 142301 2012-03-26 20:46 install.pl
>     <http://install.pl>
>     -rwxrwxr-x  1 brendan brendan    2574 2012-03-26 21:54 LOGIN.CSH
>     -rwxrwxr--  1 brendan www-data   2604 2012-03-26 21:16 LOGIN.CSH.OLD
>     -rwxrwxr-x  1 brendan brendan    2625 2012-03-26 21:54 LOGIN.SH
>     -rwxrwxr--  1 brendan www-data   2655 2012-03-26 21:16 LOGIN.SH.OLD
>     drwxrwsr-x  2 brendan www-data   4096 2012-03-26 21:16 OFM
>     lrwxrwxrwx  1 brendan www-data     29 2012-03-26 21:31 PRDEVS.SH ->
>     31DEC12/SYSTEM/UNIX/PRDEVS.SH
>     drwxrwsr-x  2 brendan www-data   4096 2012-03-26 21:16 PRINT
>     drwxrwsr-x  2 brendan www-data   4096 2012-03-26 21:16 RUN
>     -rwxrwxr-x  1 brendan brendan    1833 2012-03-26 21:54 SETNAME
>     -rwxrwxr-x  1 brendan www-data   1833 2012-03-26 21:16 SETNAME.OLD
>     -rwxrwxr-x  1 brendan brendan    1833 2012-03-26 21:54 SETUNAME
>     -rwxrwxr-x  1 brendan www-data   1833 2012-03-26 21:16 SETUNAME.OLD
>     -rwxrwxr-x  1 brendan brendan   26267 2012-03-26 21:54 START_AIPS
>     -rwxrwxr-x  1 brendan www-data  26267 2012-03-26 21:16 START_AIPS.OLD
>     -rwxrwxr-x  1 brendan brendan    6863 2012-03-26 21:54 START_QMNGR
>     -rwxrwxr-x  1 brendan www-data   6863 2012-03-26 21:16 START_QMNGR.OLD
>     -rwxrwxr-x  1 brendan brendan    3329 2012-03-26 21:54 START_TPSERVERS
>     -rwxrwxr-x  1 brendan www-data   3329 2012-03-26 21:16
>     START_TPSERVERS.OLD
>     -rwxrwxr-x  1 brendan brendan    6996 2012-03-26 21:54 START_TVSERVERS
>     -rwxrwxr-x  1 brendan www-data   6996 2012-03-26 21:16
>     START_TVSERVERS.OLD
>     drwxrwsr-x  8 brendan www-data   4096 2010-12-01 12:05 TEXT
>     -rwxrwxr-x  1 brendan brendan    5836 2012-03-26 21:54 TVALT
>     -rwxrwxr-x  1 brendan www-data   5836 2012-03-26 21:16 TVALT.OLD
>     lrwxrwxrwx  1 brendan www-data     29 2012-03-26 21:31 TVDEVS.SH ->
>     31DEC12/SYSTEM/UNIX/TVDEVS.SH
> 
> 
> 
> 
> On Tue, Mar 27, 2012 at 10:44 AM, Eric Greisen <egreisen at nrao.edu 
> <mailto:egreisen at nrao.edu>> wrote:
> 
>     Brendan Reardon wrote:
> 
>         Eric Greisen -
> 
>         Thank you very much for your speedy reply, I sincerely
>         appreciate it. I have been trying to get AIPS up and running for
>         some time now. Using "perl install.pl <http://install.pl>
>         <http://install.pl> -n" was my original approach but I was
>         unable to build, so I ended up finding a tarball - which brought
>         me to compiling, as you pointed out.
>         I removed all the files from the directory and began anew and
>         after lots of troubleshooting was able to build for the most
>         part. Though I ran into some permission issues and am stuck once
>         again.
>         The error which keeps me stuck now is the permissions on
>         AIPSROOT.DEFINE, I have been troubleshooting for quite a while
>         and am not sure what permissions need to be set. Do you have any
>         suggestions? Below is the readings from terminal
> 
> 
>            31DEC12/SYSTEM/UNIX/AIPSROOT.__DEFINE: 115: cannot create
>            AIPSPATH.SH.tmp: Permission denied
> 
> 
>            AipsWiz: Error: AIPSROOT.DEFINE is not happy.  Something went
>         wrong.
>            AipsWiz: Error: Its function is to set the value of AIPS_ROOT
>         in several
>            AipsWiz: Error: shell scripts in the /soft/aips/ directory.
>            AipsWiz: Error: Maybe something was write-protected or not
>         owned by you?
>            AipsWiz: Error: Please investigate, fix it if possible and
>         re-try.
>            AipsWiz: Install Wizard stopping.  Current settings saved in
>         ~/.AIPSRC
>            AipsWiz: Abandoning ship!  Goodbye.
> 
> 
>     I am totally perplexed by this - the code being executed is ancient
>     and never fails.  The advice above is crucial.  Are you attempting
>     to install in an area over which you do not have full write
>     privilege?  Are you attempting to install as root?  Neither will work.
> 
>     cd /soft
>     ls -l
> 
>     what is the ownership of the aips directory?
> 
>     cd /soft/aips
> 
>     ls -l
> 
>     what is the ownership and priviliges over all files there.
> 
>     perl install -n should take less than an hour and work every time.
>      You are doing something odd to experience all the trouble you are
>     having but it is hard at this distance to figure out what.  Have you
>     told it to install with group write privilege?  I usually do that.
> 
>     Eric Greisen
> 
> 




More information about the Daip mailing list