[daip] help with AIPS ...

Eric Greisen egreisen at nrao.edu
Tue Jan 9 12:29:45 EST 2007


Ryan Ransom writes:
 > Hi Eric,
 > 
 > Thanks for your very prompt response.
 > 
 > >     Did you do a binary or a text (locally compiled) installation?
 > 
 > I did a text installation.
 > 
 > >    If you compiled the code locally, was there some trouble with a C
 > > include file called AIPSPROTO.H?  That file defines the length used by
 > > AIPS in C for pathnames including the length of the variable that
 > > goes into the gethostbyname routine.
 > 
 > I saw no messages which indicated a problem with AIPSPROTO.H.  During
 > the installation I received only the following instep4 warning:
 > 
 > /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libg2c.a(open.o): In function `f
 > _open':
 > /home/ryan/aips/gcc-2.95.3/i686-pc-linux-gnu/libf2c/libI77/open.c:213: warning:
 > the use of `tempnam' is dangerous, better use `mkste
 > mp'

     The 2.95.3 compiler is quite out of date but I do not think that
it is affecting anything.

 > 
 > >    A work-around is to use UNIX sockets rather than INET ones:
 > >       aips tv=local
 > > or see HELP AIPS for more options in this tv=local command.  It would
 > > be good to figure out what is wrong.  Try perhaps
 > >       slogin localhost
 > > and see what happens.
 > 
 > I tried "slogin localhost" and was able to login as normal.  Actually,
 > since the slogin, I get the following when trying to start AIPS (even
 > if specifying tv=local):
 > 
 > START_AIPS: S01060015C5747263 is not defined in HOSTS.LIST; cannot start AIPS.
 > 

    Is this in the window in which you did the slogin localhost?  Try
an 
     echo $HOST
which should say LOCALHOST.  Try then
     cd $AIPS_ROOT
     source LOGIN.CSH           (or . LOGIN.SH for bash etc)
     aips tv=local

 > Does this have something to do with the host authentication action?
 > 

I have no idea.  All this is quite odd.  The gethostbyname should
always work with localhost unless that variable got truncated but I do
not know where such a truncation could occur and could not even figure
out where the line that said localhos came from.  I followed all
through the code that does message open and saw no place where the
variable got printed (esp with no other message parts).

Perhaps We will have some suggestions.

Eric Greisen




More information about the Daip mailing list