<?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: RC.LOG FILE ERROR in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118296#M150286</link>
    <description>shutdown swagent first;&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/swagentd stop&lt;BR /&gt;&lt;BR /&gt;and check its died;&lt;BR /&gt;ps -ef|grep -i swagent&lt;BR /&gt;&lt;BR /&gt;If you still see an swagentd process running kill it, then restart it;&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/swagentd start&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Nov 2003 10:59:13 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2003-11-13T10:59:13Z</dc:date>
    <item>
      <title>RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118280#M150270</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;I am getting errors in my rc.log file upon startup of the system, which is an HP-UX 11 on a k580 with 4 240 mhz processors and 2 gig of ram. All patches are up to date and I am able to ping the host and nslookup comes back correctly. I am also able to start these agents manually. Does anyone have any Ideas of how I can get this corrected and not have the errors in the log rc.log file?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Start Software Distributor agent daemon&lt;BR /&gt;Output from "/sbin/rc2.d/S100swagentd start":&lt;BR /&gt;----------------------------&lt;BR /&gt;ERROR: The 'swagentd' daemon started but the local hostname 'mhzfast1' cannot be resolved, therefore no SD commands will be able to contact it. The most likely solution is to define 'mhzfast1' in '/etc/hosts'.&lt;BR /&gt;"/sbin/rc2.d/S100swagentd start" FAILED&lt;BR /&gt;&lt;BR /&gt;Configuring all unconfigured software filesets&lt;BR /&gt;Output from "/sbin/rc2.d/S120swconfig start":&lt;BR /&gt;----------------------------&lt;BR /&gt;ERROR: Cannot contact the 'swagentd' daemon because the local hostname 'mhzfast1' cannot be resolved, therefore no 'swconfig' or 'swremove' will be executed at this time'&lt;BR /&gt;The most likely solution is to define 'mhzfast1'in '/etc/hosts'.&lt;BR /&gt;"/sbin/rc2.d/S120swconfig start" FAILED&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 10:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118280#M150270</guid>
      <dc:creator>Joseph A. Starkey</dc:creator>
      <dc:date>2003-11-13T10:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118281#M150271</link>
      <description>Hope localhost entry is there in /etc/hosts.&lt;BR /&gt;&lt;BR /&gt;have u changed the hostname recently?</description>
      <pubDate>Thu, 13 Nov 2003 10:12:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118281#M150271</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2003-11-13T10:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118282#M150272</link>
      <description>Yes the local host entry is in the /etc/hosts file. The host name has not changed.</description>
      <pubDate>Thu, 13 Nov 2003 10:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118282#M150272</guid>
      <dc:creator>Joseph A. Starkey</dc:creator>
      <dc:date>2003-11-13T10:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118283#M150273</link>
      <description>I think this is because swagent can start BEFORE things like lan cards or fibre drivers are loaded, so it cant resolve your hostname in dns. To get around this you should have an entry in your /etc/hosts file for your host, with its IP, and in /etc/nsswitch.conf the dns line should look like this;&lt;BR /&gt;&lt;BR /&gt;hosts:        files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;This should fix your errors.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 10:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118283#M150273</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-11-13T10:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118284#M150274</link>
      <description>try nslookup mhzfast1 &lt;BR /&gt;&lt;BR /&gt;If you post the results, we can tell you right where to go.&lt;BR /&gt;&lt;BR /&gt;/etc/hosts od nsswitch, for instance.</description>
      <pubDate>Thu, 13 Nov 2003 10:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118284#M150274</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2003-11-13T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118285#M150275</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;your /etc/hosts should also have a line stating:&lt;BR /&gt;&lt;BR /&gt;127.0.0.1       localhost       loopback&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Thu, 13 Nov 2003 10:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118285#M150275</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-11-13T10:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118286#M150276</link>
      <description>I have my loopback and ip for loopback in the hosts file as well as the hostname and ip address as well. &lt;BR /&gt;&lt;BR /&gt;If I buid an nsswitch.conf file what would need to be in that I currently do not have one of those in the /etc directory.</description>
      <pubDate>Thu, 13 Nov 2003 10:28:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118286#M150276</guid>
      <dc:creator>Joseph A. Starkey</dc:creator>
      <dc:date>2003-11-13T10:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118287#M150277</link>
      <description>do you have /etc/resolv.conf? Maybe you're not using DNS all. &lt;BR /&gt;&lt;BR /&gt;Then you'd only have to worry about /etc/hosts.</description>
      <pubDate>Thu, 13 Nov 2003 10:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118287#M150277</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2003-11-13T10:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118288#M150278</link>
      <description>I am using the resolv.conf file and there are DNS entries in the table so I am guessing it is starting up before the other items like stefan said and I need to somehow configure an nsswitch.conf file will I only need the one line entry in this file: &lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;or is there more to it then just that one line?</description>
      <pubDate>Thu, 13 Nov 2003 10:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118288#M150278</guid>
      <dc:creator>Joseph A. Starkey</dc:creator>
      <dc:date>2003-11-13T10:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118289#M150279</link>
      <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;There are examples in the /usr/newconfig/etc&lt;BR /&gt;&lt;BR /&gt;# ls nsswitch.*&lt;BR /&gt;nsswitch.compat       &lt;BR /&gt;nsswitch.hp_defaults  &lt;BR /&gt;nsswitch.nisplus&lt;BR /&gt;nsswitch.files        &lt;BR /&gt;nsswitch.nis&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Thu, 13 Nov 2003 10:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118289#M150279</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-11-13T10:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118290#M150280</link>
      <description>There are templates, e.g. &lt;BR /&gt;so make a copy&lt;BR /&gt;cp /etc/nsswitch.files /etc/nsswitch.conf&lt;BR /&gt;And edit the hosts line as per Stefan's reply.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Thu, 13 Nov 2003 10:37:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118290#M150280</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-11-13T10:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118291#M150281</link>
      <description>Have a look in /usr/newconfig/etc for example of the nsswitch.conf file. We use this one;&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.hp_defaults:&lt;BR /&gt;#&lt;BR /&gt;# An example file that could be copied over to /etc/nsswitch.conf; it&lt;BR /&gt;# uses NIS (YP) in conjunction with files.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;passwd:       files &lt;BR /&gt;group:        files &lt;BR /&gt;hosts:        files [NOTFOUND=continue] dns&lt;BR /&gt;automount:    files &lt;BR /&gt;aliases:      files &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 10:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118291#M150281</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-11-13T10:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118292#M150282</link>
      <description>Once that file is in place and the line for hosts as been added do I then need to reboot the server in order to see if it fixed the problem?</description>
      <pubDate>Thu, 13 Nov 2003 10:46:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118292#M150282</guid>
      <dc:creator>Joseph A. Starkey</dc:creator>
      <dc:date>2003-11-13T10:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118293#M150283</link>
      <description>just run&lt;BR /&gt;swlist&lt;BR /&gt;see if it can "contact target" .... and list your sw&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Thu, 13 Nov 2003 10:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118293#M150283</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-11-13T10:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118294#M150284</link>
      <description>You can test it,&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/swagentd -r&lt;BR /&gt;# swlist&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 10:52:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118294#M150284</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-11-13T10:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118295#M150285</link>
      <description>Robert&lt;BR /&gt;&lt;BR /&gt;When Itested it I go this error in the /var/adm/sw/swagentd.log file:&lt;BR /&gt;&lt;BR /&gt;WARNING: Failure registering as Remote Procedure Call server using&lt;BR /&gt;         protocol sequence "ncacn_ip_tcp" with endpoint "2121".  The&lt;BR /&gt;         endpoint you have specified is in use by another process.&lt;BR /&gt;         Either another copy of the SD daemon is running or there is a&lt;BR /&gt;         conflict in choice of endpoints with another application.&lt;BR /&gt;         Endpoints are specified within square brackets [] in the&lt;BR /&gt;         "rpc_binding_info=" option.&lt;BR /&gt;WARNING: Failure registering as Remote Procedure Call server using&lt;BR /&gt;         protocol sequence "ncadg_ip_udp" with endpoint "2121".  The&lt;BR /&gt;         endpoint you have specified is in use by another process.&lt;BR /&gt;         Either another copy of the SD daemon is running or there is a&lt;BR /&gt;         conflict in choice of endpoints with another application.&lt;BR /&gt;         Endpoints are specified within square brackets [] in the&lt;BR /&gt;         "rpc_binding_info=" option.&lt;BR /&gt;ERROR:   Terminating prematurely - cannot serve RPC requests with any&lt;BR /&gt;         binding.&lt;BR /&gt;&lt;BR /&gt;=======  11/13/03 15:51:54 WET  END swagentd (pid = 8348, startup&lt;BR /&gt;         error).&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 10:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118295#M150285</guid>
      <dc:creator>Joseph A. Starkey</dc:creator>
      <dc:date>2003-11-13T10:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118296#M150286</link>
      <description>shutdown swagent first;&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/swagentd stop&lt;BR /&gt;&lt;BR /&gt;and check its died;&lt;BR /&gt;ps -ef|grep -i swagent&lt;BR /&gt;&lt;BR /&gt;If you still see an swagentd process running kill it, then restart it;&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/swagentd start&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 10:59:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118296#M150286</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-11-13T10:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: RC.LOG FILE ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118297#M150287</link>
      <description>I just experienced the same problem and it turned out to be the nslookup version I had installed on the system.&lt;BR /&gt;&lt;BR /&gt;When HPUX runs the /sbin/init.d/swagentd start, it uses nslookup to resolve the IP address of the host.  The version of nslookup I had would never use the /etc/hosts file and always go to DNS, which is not running at that point in the boot process.&lt;BR /&gt;&lt;BR /&gt;Verify that your nsswitch.conf has the&lt;BR /&gt;hosts:  files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;nslookup mhzfast1&lt;BR /&gt;&lt;BR /&gt;If you do not see Using /etc/hosts, then your nslookup is probably the problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2003 15:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-file-error/m-p/3118297#M150287</guid>
      <dc:creator>Scott Larocque_1</dc:creator>
      <dc:date>2003-12-10T15:22:54Z</dc:date>
    </item>
  </channel>
</rss>

