<?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: swinstall using wrong domain in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906704#M283876</link>
    <description>OK, an update... I tried the same thing from another machine that had no trace of berlex.com, and got the same result.  &lt;BR /&gt;&lt;BR /&gt;I also tried using wau003 as the central depot (it also has the mx depot local) from theis third machine (wau032), and it looked for wau003.berlex.com.&lt;BR /&gt;&lt;BR /&gt;As a last ditch effort, I tried using IP address of wau026 (man page says you can do that).... it STILL looks for wau026.berlex.com!!!&lt;BR /&gt;&lt;BR /&gt;Sure wish I could find this "ghost in the machine"...&lt;BR /&gt;&lt;BR /&gt;--Haunted in NJ--</description>
    <pubDate>Fri, 01 Dec 2006 15:48:18 GMT</pubDate>
    <dc:creator>Robin Sharpe</dc:creator>
    <dc:date>2006-12-01T15:48:18Z</dc:date>
    <item>
      <title>swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906701#M283873</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;I'm trying to setup SD-UX so I can push a software package to many hosts from a central depot.  To do that, I am running the following on a remote host (wau003):&lt;BR /&gt;&lt;BR /&gt;swinstall -s wau026:/var/opt/mx/depot11 AgentConfig.SD-CONFIG&lt;BR /&gt;&lt;BR /&gt;It contacts the depot on wau026, and the analysis succeeds.  In the execution phase, it fails with the following in the swagent.log:&lt;BR /&gt;&lt;BR /&gt;       * Beginning the Configure Execution Phase.&lt;BR /&gt;       * Setting SD host and root ACLs for root@wau026.berlex.com ...&lt;BR /&gt;WARNING: An attempt to get the network host entry for&lt;BR /&gt;         "wau026.berlex.com" failed.  This may result in denial of&lt;BR /&gt;         access to users and agents at this host.  Check the spelling&lt;BR /&gt;         of this name, then your "/etc/hosts" file, or your&lt;BR /&gt;         "/etc/resolv.conf" file and DNS resolver configuration.  The&lt;BR /&gt;         nslookup program may be helpful in isolating this problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"wau026.berlex.com" is no longer valid... that is our old domain name.  It is not in /etc/resolv.conf.  /etc/hosts and DNS are working correctly.  Why is swinstall using the berlex.com domain, and how can I reconfigure it?   &lt;BR /&gt;&lt;BR /&gt;I have already verified the entries in the /var/adm/sw/security files and restarted swagentd on both machines.  I can swlist software in the central depot from the remote host.  Appreciate any help, as this really has me puzzled...</description>
      <pubDate>Fri, 01 Dec 2006 10:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906701#M283873</guid>
      <dc:creator>Robin Sharpe</dc:creator>
      <dc:date>2006-12-01T10:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906702#M283874</link>
      <description>My best guess is that you need to run swreg -u on wau026 to unregister your depot and then run swreg again to register the depot with the new domain name. I would then cd to /sbin/init.d and execute ./swagentd stop and ./swagentd start on both boxes. It would also be wise to run nslookup from both boxes.</description>
      <pubDate>Fri, 01 Dec 2006 11:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906702#M283874</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-12-01T11:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906703#M283875</link>
      <description>&lt;!--!*#--&gt;Thanks Clay, but still same result.  &lt;BR /&gt;&lt;BR /&gt;It seems to me the problem is on the remote machine (wau003)... why is it trying to access wau026.berlex.com?  It must be getting the domain from some config file somewhere...  the domain is long gone (months) and all machines were recently rebooted during a mass IP change project.&lt;BR /&gt;&lt;BR /&gt;I did have some "berlex.com" references in the files in /var/adm/sw/security (on wau003), but I removed them and left the host name unqualified, and restarted swagentd.  I don't have to reboot again do I?  In the meantime. I'll look for another remote machine that does not have any berlex.com references.</description>
      <pubDate>Fri, 01 Dec 2006 12:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906703#M283875</guid>
      <dc:creator>Robin Sharpe</dc:creator>
      <dc:date>2006-12-01T12:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906704#M283876</link>
      <description>OK, an update... I tried the same thing from another machine that had no trace of berlex.com, and got the same result.  &lt;BR /&gt;&lt;BR /&gt;I also tried using wau003 as the central depot (it also has the mx depot local) from theis third machine (wau032), and it looked for wau003.berlex.com.&lt;BR /&gt;&lt;BR /&gt;As a last ditch effort, I tried using IP address of wau026 (man page says you can do that).... it STILL looks for wau026.berlex.com!!!&lt;BR /&gt;&lt;BR /&gt;Sure wish I could find this "ghost in the machine"...&lt;BR /&gt;&lt;BR /&gt;--Haunted in NJ--</description>
      <pubDate>Fri, 01 Dec 2006 15:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906704#M283876</guid>
      <dc:creator>Robin Sharpe</dc:creator>
      <dc:date>2006-12-01T15:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906705#M283877</link>
      <description>Dear Haunted:&lt;BR /&gt;&lt;BR /&gt;On the depot server that you are 'pulling' from:&lt;BR /&gt;&lt;BR /&gt;ls -la /var/adm/sw/.sdkey  (* there?&lt;BR /&gt;touch /var/adm/sw/.sdkey    (* if not there&lt;BR /&gt;setaccess client_server&lt;BR /&gt;swacl -l root</description>
      <pubDate>Fri, 01 Dec 2006 16:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906705#M283877</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2006-12-01T16:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906706#M283878</link>
      <description>Robin,&lt;BR /&gt;&lt;BR /&gt;Do you have a /{root home directory}/.sw/defaults.hosts file on wau003?  Does this file have the wau026.berlex.com entry in it (for the swinstall.hosts_with_depots entry)?  If so, you can wither change this to the correct entry, or remove that line, or remove the entire file.  You can edit this file, and try the install again for the machine without having to restart anything.&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Fri, 01 Dec 2006 16:50:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906706#M283878</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2006-12-01T16:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906707#M283879</link>
      <description>Can you please check files in /var/opt/mx/depot11/catalog/dfiles on wau026?&lt;BR /&gt;&lt;BR /&gt;INDEX           INFO            _ACL            _LOCK_FILE      _OWNER          _PROD_DFLT_ACL&lt;BR /&gt;&lt;BR /&gt;See if wau026.berlex.com is still in there ...</description>
      <pubDate>Fri, 01 Dec 2006 21:36:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906707#M283879</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2006-12-01T21:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906708#M283880</link>
      <description>Thanks for all the replies, I have tried all of your suggestions... still no luck.  Here is what I found though:&lt;BR /&gt;&lt;BR /&gt;.sdkey is there&lt;BR /&gt;&lt;BR /&gt;I'm not familiar with the setaccess command - I found it, but "client_server" was interpreted as a host name (it was trying to resolve it and failed of course).  In this scenario, wau003 is the client and wau026 is the server.... what is the exact syntax for setaccess?&lt;BR /&gt;&lt;BR /&gt;wau026:/home/root&amp;gt; swacl -l root&lt;BR /&gt;#&lt;BR /&gt;# swacl    Installed Software Access Control List&lt;BR /&gt;#&lt;BR /&gt;# For host:  wau026:/&lt;BR /&gt;#&lt;BR /&gt;# Date:  Sat Dec  2 18:27:18 2006&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# Object Ownership:  User= root&lt;BR /&gt;#                    Group=sys&lt;BR /&gt;#                    Realm=WAU026.us.schering.net&lt;BR /&gt;#&lt;BR /&gt;# default_realm=WAU026.us.schering.net&lt;BR /&gt;object_owner:crwit&lt;BR /&gt;user:root@localhost:crwit&lt;BR /&gt;any_other:-r---&lt;BR /&gt;wau026:/home/root&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There were some strange entries in the default_hosts file on wau003... wau003 and wau026 were repeated many times, and there were a few wau003.berlex.com, but no wau026.berlex.com.  I removed the file, but got the same error.&lt;BR /&gt;&lt;BR /&gt;The files in the mx/depot11 directory did not have any berlex.com, but they had loopback... is that right?  Here are the contents of some of them:&lt;BR /&gt;&lt;BR /&gt;wau026:/var/opt/mx/depot11/catalog/dfiles&amp;gt; more _ACL&lt;BR /&gt;# default_realm=loopback&lt;BR /&gt;user_obj:rwict&lt;BR /&gt;any_other:r----&lt;BR /&gt;wau026:/var/opt/mx/depot11/catalog/dfiles&amp;gt; more _LOCK_FILE&lt;BR /&gt;wau026:/var/opt/mx/depot11/catalog/dfiles&amp;gt; more _OWNER&lt;BR /&gt;# default_realm=localhost&lt;BR /&gt;num_entries=2&lt;BR /&gt;user:root:00&lt;BR /&gt;group:sys:00&lt;BR /&gt;wau026:/var/opt/mx/depot11/catalog/dfiles&amp;gt; more _PROD_DFLT_ACL&lt;BR /&gt;# default_realm=unknown&lt;BR /&gt;user_obj:rwict&lt;BR /&gt;any_other:r----&lt;BR /&gt;wau026:/var/opt/mx/depot11/catalog/dfiles&amp;gt;&lt;BR /&gt;&lt;BR /&gt;-"Still Spooked"</description>
      <pubDate>Sat, 02 Dec 2006 18:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906708#M283880</guid>
      <dc:creator>Robin Sharpe</dc:creator>
      <dc:date>2006-12-02T18:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906709#M283881</link>
      <description>When you swinstall AgentConfig.SD-CONFIG fileset as a part of configure phase it runs the following script.&lt;BR /&gt;&lt;BR /&gt;/var/opt/mx/depot11/catalog/AgentConfig/SD-CONFIG/configure&lt;BR /&gt;&lt;BR /&gt;So check this file on wau026; you may find the following line&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/sw/setaccess wau026.berlex.com&lt;BR /&gt;&lt;BR /&gt;You can try running the following command to recreate AgentConfig depot.&lt;BR /&gt;&lt;BR /&gt;mxsetup -D</description>
      <pubDate>Sat, 02 Dec 2006 22:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906709#M283881</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2006-12-02T22:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906710#M283882</link>
      <description>Ermin,&lt;BR /&gt;&lt;BR /&gt;That appears to be the source of the berlex.com!  Thanks for solving the mystery... 10 points for you!  &lt;BR /&gt;&lt;BR /&gt;But, now I am getting errors in the mxsetup about "no such file":&lt;BR /&gt;&lt;BR /&gt;=======  12/04/06 08:54:02 EST  BEGIN swpackage SESSION&lt;BR /&gt;&lt;BR /&gt;       * Session started for user "root@WAU026.us.schering.net".&lt;BR /&gt;&lt;BR /&gt;       * Source:        wau026:AgentConfig.psf&lt;BR /&gt;       * Target:        wau026:/var/opt/mx/depot10&lt;BR /&gt;       * Software selections:&lt;BR /&gt;             AgentConfig,a=HP-UX_B.10.20_700/800&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;       * Beginning Selection Phase.&lt;BR /&gt;       * Reading the Product Specification File (PSF)&lt;BR /&gt;         "AgentConfig.psf".&lt;BR /&gt;       * Reading the product "AgentConfig" at line 27.&lt;BR /&gt;       * Reading the fileset "MX-CONFIG" at line 45.&lt;BR /&gt;ERROR:   Cannot access the source file&lt;BR /&gt;         "/etc/opt/mx/config/.bconfig.cms":  No such file or directory&lt;BR /&gt;         (2).&lt;BR /&gt;ERROR:   Invalid definition for the fileset "MX-CONFIG", beginning at&lt;BR /&gt;         line 44.  Details described above.  The error(s) must be&lt;BR /&gt;         corrected before the parsing can continue.&lt;BR /&gt;ERROR:   Invalid definition for the product "AgentConfig", beginning at&lt;BR /&gt;         line 27.  Details described above.  The error(s) must be&lt;BR /&gt;         corrected before the parsing can continue.&lt;BR /&gt;&lt;BR /&gt;=======  12/04/06 08:54:02 EST  END swpackage SESSION&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I got this for 11.0 and 10.20...  I wonder if the best approach now would be a total reinstall of "mx"...  How would that be done, Service Control Manager?  What exactly is "mx" and where is it documented?</description>
      <pubDate>Mon, 04 Dec 2006 09:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906710#M283882</guid>
      <dc:creator>Robin Sharpe</dc:creator>
      <dc:date>2006-12-04T09:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906711#M283883</link>
      <description>OK, re-installing ServiceControl Manager looks like more work than I want... I did a little digging, and figured out that all I really need is to run the setaccess script on each client --&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/sw/setaccess wau026 \*&lt;BR /&gt;&lt;BR /&gt;After doing that, SD is allowing me to add the corresponding client as a target, which is my goal so I can remotely install software.  I've run this on several clients, but two of them are just hanging at the first swacl command:&lt;BR /&gt;&lt;BR /&gt;swacl -l host -M user:root@wau026.us.schering.net:a&lt;BR /&gt;&lt;BR /&gt;They even hang just doing this:&lt;BR /&gt;&lt;BR /&gt;wau028:/var/adm/sw&amp;gt; swacl -l host&lt;BR /&gt;#&lt;BR /&gt;# swacl    Host Access Control List&lt;BR /&gt;#&lt;BR /&gt;# For host:  wau028&lt;BR /&gt;#&lt;BR /&gt;# Date:  Mon Dec  4 11:35:47 2006&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas what would cause such a hang?  I don't see any entries in any of the sw log files...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Robin&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2006 11:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906711#M283883</guid>
      <dc:creator>Robin Sharpe</dc:creator>
      <dc:date>2006-12-04T11:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall using wrong domain</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906712#M283884</link>
      <description>Never mind... did a little more research and found a tip about restarting swagentd, which I did, and which worked on both clients.  Now I think I'm in good shape for software distribution.  Thanks again to all who have helped me out!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Robin</description>
      <pubDate>Mon, 04 Dec 2006 11:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-using-wrong-domain/m-p/3906712#M283884</guid>
      <dc:creator>Robin Sharpe</dc:creator>
      <dc:date>2006-12-04T11:56:21Z</dc:date>
    </item>
  </channel>
</rss>

