[daip] Re: TV/Hostname weirdness causing Lock problemos.
Eric Greisen
egreisen at nrao.edu
Mon Oct 10 15:36:54 EDT 2005
Kevin Marvel writes:
Greetings from Oxford where I am for 2 weeks...
> Hope all is well...I managed to convince Claire to send me some green
> chile, so I
> am doing fine although located within the beltway again!
>
> I treated myself to an upgrade to my Mac Cube, which is now running
> on a dual 1.7GHz
> CPU with maxed out memory and a new hard drive...of course I want to
> run aips and worked
> this weekend to get it up and running.
>
> I did a binary install to my Mac running 10.4 and followed all
> instructions (I believe) in
> Manager's Install FAQ and install explanation pages.
>
> I get the following error when starting up aips normally and then
> trying "tvinit"
>
> ZSSSL2: marvelcube: UNKNOWN HOST
> AIPS 1: ZSSSLK: ERROR 2 ON LOCK
> AIPS 1: ON LOCK ERROR 6 FROM ZSSSLK
> AIPS 1: YTVOPN: TV LOCK OPEN ERROR 6
> AIPS 1: TV OPEN ERROR 6
>
>
> When I start up using tv=local, I can tvinit just fine.
>
> Outside of aips, when I do a hostname, I get marvelcube.local.
> Equivalently,
> when I ping marvelcube, I get no name resolution, when I ping
> marvelcube.local,
> I get a sensible response.
AIPS cannot handle such names. Itbreaks at the dot and there are
really too many characters. Edit $AIPS_ROOT files HOSTS.LIST (to add
LOCALHOST), LOGIN.SH and LOGIN.CSH to change LAPTOP to YES. Then edit
$AIPS_ROOT/DA00/DADEVS.LIST to add LOCALHOST_n areas to match the ones
you already have for marvelcube.local. In that area
ln -s MARVELCUBE.LOCAL LOCALHOST
or whatever aips called the machine before and wherever you put the
data make
ln -s MARVELCUBE.LOCAL_n LOCALHOST_n
link files.
The source LOGIN.CSH or . LOGIN.SH and
echo $HOST
which should say LOCALHOST. This should then work.
Cheers
Eric
>
> So, is my guess right that the hostname is just messed up somehow?
> Is there
> a setting I ned to change to get the hostname to be the one that aips
> is expecting?
>
> Thanks for your help. Not a critical issue as I can run with
> tv=local, but one I would
> like to understand and resolve eventually.
>
> I edited the /etc/services file as requested and commented out the
> duplicative service numbers
> and configured the firewall to pass to those numbers as well.
>
>
> Cheers!
>
> Kev.
More information about the Daip
mailing list