Re: long hostname question



albemuth <manunderstress@xxxxxxxxx> wrote:
Have an 8400 that has a hostname of more that is 9 chars. In 11i at
least, this is a no-no, but that's besided the point, as the box is in
production and i have to "deal with it."

11i which? 1.0 or 2.0?

Haven't noticed too many difficulties execpt I have the oracle folks
complaining that 'uname -n' gives the truncated hostname. I have told
them to use 'hostname' but it's some script they have the same on all
boxes. So, anyway to get uname -n to report the hostname?

I suspect not. And while I cannot really defend the current
limitations on the name returned by uname -n and anxiously await its
enhancement IMO, if the intent is to do things with TCP/IP networking
it is a _bug_ to use uname -n instead of hostname. The names are from
different "namespaces."

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.



Relevant Pages

  • Re: temporarily change hostname and uname
    ... generated from another script or something? ... Else for the hostname and/or uname... ... On my production cluster I have separate license files for each server ...
    (AIX-L)
  • temporarily change hostname and uname
    ... tied to the hostname and uname. ... This is a QA/QC cluster that I just built. ... On my production cluster I have separate license files for each server ...
    (AIX-L)
  • Re: dhcp evils
    ... Usage: hostname ... This command can read or set the hostname or the NIS domainname. ... FQDN and the DNS domain name (which is ... Usage: uname... ...
    (Fedora)
  • Re: Different output of hostname & uname -n
    ... They're reporting different things, ... You can use the hostname and uname commands to change these values as ...
    (AIX-L)