<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: hostname modification in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401050#M200836</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;chech HOSTNAME variable in file&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Oct 2004 09:03:59 GMT</pubDate>
    <dc:creator>Slawomir Gora</dc:creator>
    <dc:date>2004-10-15T09:03:59Z</dc:date>
    <item>
      <title>hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401048#M200834</link>
      <description>I have recovered an HP-UX 10.20 server using an Ignite tape.   During recovery I ran in options to modify hostname ans IP address.&lt;BR /&gt;Nodename and IP address have been applied, but hostname is always the name of the original server.  I have tried "set_parms hostname" command to modify hostname without results.  "hostname returns original name value.  if I uses hostname newservername,  and reboot system,   original servername is back again.&lt;BR /&gt;&lt;BR /&gt;Any idea ?</description>
      <pubDate>Fri, 15 Oct 2004 08:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401048#M200834</guid>
      <dc:creator>Bruno Dostie</dc:creator>
      <dc:date>2004-10-15T08:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401049#M200835</link>
      <description>Pls check the following config files&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;/etc/hosts&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2004 09:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401049#M200835</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2004-10-15T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401050#M200836</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;chech HOSTNAME variable in file&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2004 09:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401050#M200836</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2004-10-15T09:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401051#M200837</link>
      <description>HI,&lt;BR /&gt;# set_parms hostname &lt;BR /&gt;should work and it takes care of all associated files.&lt;BR /&gt;You only have to update /etc/hosts with the proper hostname and IP address.&lt;BR /&gt;If you want to change both IP and Hostname better to use:&lt;BR /&gt;&lt;BR /&gt;# set_parms initial&lt;BR /&gt;&lt;BR /&gt;And try setting the hostname and Ip address alongwith subnet mask and all required network configuration.&lt;BR /&gt;This will reboot the server and it should work fine with the new name.&lt;BR /&gt;&lt;BR /&gt;After reboot check by &lt;BR /&gt;#hostname &lt;BR /&gt;command.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 15 Oct 2004 09:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401051#M200837</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-10-15T09:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401052#M200838</link>
      <description>netconf file contents:&lt;BR /&gt;HOSTNAME=newservername&lt;BR /&gt;OPERATING_SYSTEM=newservername&lt;BR /&gt;&lt;BR /&gt;etc/hosts file contents:&lt;BR /&gt;ddd.ddd.ddd.ddd   newservername&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uname -n command returns newservername&lt;BR /&gt;hostname command returns originalservername</description>
      <pubDate>Fri, 15 Oct 2004 09:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401052#M200838</guid>
      <dc:creator>Bruno Dostie</dc:creator>
      <dc:date>2004-10-15T09:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401053#M200839</link>
      <description>Hi Bruno,&lt;BR /&gt;&lt;BR /&gt;Look for any 'old' netconf files under /etc/rc.config.d/ directory.&lt;BR /&gt;&lt;BR /&gt;#cd /etc/rc.config.d&lt;BR /&gt;#grep 'oldservername' *&lt;BR /&gt;&lt;BR /&gt;See if there are any files that look like netconf file but with different names.&lt;BR /&gt;&lt;BR /&gt;All the files in this directory will be sourced during the system startup. So, if there are any file that have "HOSTNAME="oldname"" line, then unexpected results can occur.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 15 Oct 2004 09:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401053#M200839</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-15T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401054#M200840</link>
      <description>The script /sbin/init.d/hostname sets the hostname. The file also talks about nodename.&lt;BR /&gt;&lt;BR /&gt;Do you have same setting for both??&lt;BR /&gt;&lt;BR /&gt;Do as follows.&lt;BR /&gt;&lt;BR /&gt;/etc/set_params hostname&lt;BR /&gt;uname -S "hostname" (this will set nodename)&lt;BR /&gt;Check files and make sure they reflect correct setting.&lt;BR /&gt;&lt;BR /&gt;/etc/hosts (make sure that hostname entry is just bellow the loopback entry)&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;Anil&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2004 09:23:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401054#M200840</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-10-15T09:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401055#M200841</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;#set_parms initial&lt;BR /&gt;&lt;BR /&gt;will solve your problem.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 15 Oct 2004 09:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401055#M200841</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2004-10-15T09:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401056#M200842</link>
      <description>Sridhar pointed directly on my problem....&lt;BR /&gt;&lt;BR /&gt;in etc/rc.config.d directory&lt;BR /&gt;two files named netconf and netconf_990625&lt;BR /&gt;&lt;BR /&gt;solution:&lt;BR /&gt;1-  from there, I have created a directory named oldfiles, put netconf_990625 in this brand new directory, &lt;BR /&gt;&lt;BR /&gt;2- replaced &lt;BR /&gt;HOSTNAME=newservername by&lt;BR /&gt;HOSTNAME="newservername"  I don't know if it may have incidence but it works now&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rebooted and everythings are OK.&lt;BR /&gt;&lt;BR /&gt;thanks to all for your quick responses.</description>
      <pubDate>Fri, 15 Oct 2004 10:26:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401056#M200842</guid>
      <dc:creator>Bruno Dostie</dc:creator>
      <dc:date>2004-10-15T10:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: hostname modification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401057#M200843</link>
      <description>This is a common but very critical issue: NO temp or archive files allowed in /etc/rc.config.d! If you need to keep old copies, create a parallel directory lie etcrc.config.d.old and move old copies there. During bootup, *every* file in /etc/rc.config.d is executed in alphabetical order.</description>
      <pubDate>Fri, 15 Oct 2004 11:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-modification/m-p/3401057#M200843</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-10-15T11:43:01Z</dc:date>
    </item>
  </channel>
</rss>

