Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!caen!news From: ericb@srvr1 (Eric Bratton,235 Chry,9363561,) Newsgroups: comp.sys.apollo Subject: Re: TCP/IP frustration Message-ID: <1991Feb18.203642.15090@engin.umich.edu> Date: 18 Feb 91 20:36:42 GMT References: <9102181504.AA03886@pan.ssec.honeywell.com> Sender: news@engin.umich.edu (CAEN Netnews) Organization: The University of Michigan, Ann Arbor Lines: 43 From article <9102181504.AA03886@pan.ssec.honeywell.com>, by thompson@PAN.SSEC.HONEYWELL.COM (John Thompson): > Why? (I just had to answer). > Cadence, in their finite wisdom, decided to write their own gethostname > routine. Thus, name-servers tend to confuse/break their license/data > manager. Not only did they do that, but they also broke the routine! > It 'sometimes' fails in the case where there are multiple addresses with > the same name. It also doesn't recognize the full domain name, so thinks > that 'bregor' and 'bregor.ssec.honeywell.com' are 2 different nodes. Now > that we're putting data-files on the dn10k, it needs to have the data mgr > running (provides file locking for brain-dead Sun workstations, and they > insist on it on the wonderful Apollos too). This means that I have to break > TCP/IP so that it will work. We have the same problem. I hope Cadence fixes the problems with their software as soon as possible! Might I suggest another workaround? As far as I can tell (we don't run the data mgr), Dracula will still work as long as the /bin/hostname is set to the non-domain hostname without terrorizing name service for a network. Running "/bin/hostname bregor" in the /etc/rc file on the node should make the standalone programs run. It's a pretty ugly thing to do, tho. If you need a daemon to run with the contents of the /etc/hosts file, then try out the sequence: # sequence to run a program using the /etc/hosts file. /bin/hostname foo # cadence bug won't allow "foo.acme.com" /etc/nmconfig -h hostent_ascii # start daemon here /etc/server -p /idea/...datamgr... & # now start up everything else to use bind /etc/nmconfig -h hostent_bind # everything from here on out will use the name server. The real solution, of course, it to make sure Cadence fixes their software. Their node-lock scheme uses the node id, I don't see anything to be gained from fiddling with the hostnames. -- *-----------------------------------------------------------------* | Eric Bratton | The University of Michigan, Inc | | ericb@caen.engin.umich.edu | #include | *-----------------------------------------------------------------*