This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Niles, re: > In ldmadmin-pl.conf, we usually set the hostname as follows : > > # The fully-qualified domain-name of the computer system. If you have to set > # this manually, then do the following: > # 1) Replace "your.hostname.here" in the following commented-out statement > # with the fully-qualified domain-name of the computer system; > # 2) Uncomment-out the same line by removing the leading hash (#) > character; > # and > # 3) Comment-out the "chop" line by inserting a leading hash (#) > character. > # > # chop($hostname = `uname -n`); > $hostname = "whatever.rap.ucar.edu"; > > We run on linux, typically redhat or debian. > > My question is - do we have to set this manually? No, not if your machine is setup to be identified with a fully-qualified hostname. The default in ldmadmin-pl.conf is, in fact, to set $hostname to the value of `uname -n`. A check is made later to see if this is, in fact, a fully qualified name (i.e., rosebud.rap.ucar.edu, not rosebud). > Up to now > we have been and it has not been an issue, but recently an issue with it > developed and it may be nice to set the hostname automatically. > What are your thoughts? Your system administrator(s) should setup your machines to have fully qualified hostnames. If they are, then you do not have to edit ldmadmin-pl.conf to set a name by hand. > THANKS, No worries. Cheers, Tom **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: LPP-396410 Department: Support LDM Priority: Normal Status: Closed