<?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: swremove depot when depot directory not present in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056687#M435903</link>
    <description>Bill,&lt;BR /&gt;&lt;BR /&gt;How about:&lt;BR /&gt;&lt;BR /&gt;mkdir /old/depot/location/now/gone&lt;BR /&gt;then&lt;BR /&gt;# swremove -d \* @ /old/depot/location/now/gone&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 05 Jul 2007 12:16:13 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2007-07-05T12:16:13Z</dc:date>
    <item>
      <title>swremove depot when depot directory not present</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056686#M435902</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I want to clean up my depots registered with sd-ux.  Some of them are very old, so old some of the actual directories where the depot once was are now gone.  I am not able to remove the depot from my sd-ux.  Anyone know how to do this?  &lt;BR /&gt;&lt;BR /&gt;I was using the command:&lt;BR /&gt;&lt;BR /&gt;# swremove -d \* @ /old/depot/location/now/gone&lt;BR /&gt;&lt;BR /&gt;Here is the output from the command:&lt;BR /&gt;ERROR:   There is currently no depot software on host "host1" at&lt;BR /&gt;         location "/old/depot/location/now/gone". Make sure that an&lt;BR /&gt;         absolute pathname is specified for location (beginning with&lt;BR /&gt;         "/").&lt;BR /&gt;       * Target connection failed for&lt;BR /&gt;         "host1:/old/depot/location/now/gone".&lt;BR /&gt;ERROR:   More information may be found in the daemon logfile on this&lt;BR /&gt;         target (default location is&lt;BR /&gt;         host1:/var/adm/sw/swagentd.log).&lt;BR /&gt;       * Selection had errors.&lt;BR /&gt;&lt;BR /&gt;From the /var/adm/sw/swagentd.log:&lt;BR /&gt;ERROR:   Failed to start remove agent on "//old/depot/location/now/gone" for&lt;BR /&gt;         root@host1.domain.com.  "/old/depot/location/now/gone" is&lt;BR /&gt;         not a valid depot.  07/05/07 13:02:35 EDT&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Bill &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jul 2007 12:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056686#M435902</guid>
      <dc:creator>William Pribble</dc:creator>
      <dc:date>2007-07-05T12:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: swremove depot when depot directory not present</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056687#M435903</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;How about:&lt;BR /&gt;&lt;BR /&gt;mkdir /old/depot/location/now/gone&lt;BR /&gt;then&lt;BR /&gt;# swremove -d \* @ /old/depot/location/now/gone&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 05 Jul 2007 12:16:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056687#M435903</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-07-05T12:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: swremove depot when depot directory not present</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056688#M435904</link>
      <description>Hi Bill:&lt;BR /&gt;&lt;BR /&gt;Use 'swreg".  It registers and un-registers depots.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 05 Jul 2007 12:17:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056688#M435904</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-07-05T12:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: swremove depot when depot directory not present</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056689#M435905</link>
      <description>Hi Bill:&lt;BR /&gt;&lt;BR /&gt;Use 'swreg'.  It registers and un-registers depots.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 05 Jul 2007 12:17:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056689#M435905</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-07-05T12:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: swremove depot when depot directory not present</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056690#M435906</link>
      <description>The exact command line would be:&lt;BR /&gt;&lt;BR /&gt;swreg -l depot -u /old/depot/location/now/gone&lt;BR /&gt;&lt;BR /&gt;The "-u" option means "unregister". &lt;BR /&gt;&lt;BR /&gt;You can also unregister an existing depot, move the depot files to a different location (even to another host) and then re-register it:&lt;BR /&gt;&lt;BR /&gt;swreg -l depot /old/depot/in/a/new/location&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 05 Jul 2007 12:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056690#M435906</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-07-05T12:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: swremove depot when depot directory not present</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056691#M435907</link>
      <description>You can also just remove from:&lt;BR /&gt;&lt;BR /&gt;/var/adm/sw/host_object&lt;BR /&gt;&lt;BR /&gt;Then restart the agent:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/swagentd -r&lt;BR /&gt;&lt;BR /&gt;You can also vi that file if you want to change the ordering of the list of depots.&lt;BR /&gt;&lt;BR /&gt;See:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.met.ca/itrc/index.php?option=com_content&amp;amp;task=view&amp;amp;id=59&amp;amp;Itemid=2" target="_blank"&gt;http://www.met.ca/itrc/index.php?option=com_content&amp;amp;task=view&amp;amp;id=59&amp;amp;Itemid=2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jul 2007 12:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056691#M435907</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-07-05T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: swremove depot when depot directory not present</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056692#M435908</link>
      <description>Thanks for the quick response.&lt;BR /&gt;&lt;BR /&gt;Pete - I tried that and it did not work.&lt;BR /&gt;&lt;BR /&gt;The two options&lt;BR /&gt;1) swreg from james/Matt&lt;BR /&gt;and&lt;BR /&gt;2) removing from /var/adm/sw/host_object swagentd -r &lt;BR /&gt;&lt;BR /&gt;both worked great !!!!&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 05 Jul 2007 12:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056692#M435908</guid>
      <dc:creator>William Pribble</dc:creator>
      <dc:date>2007-07-05T12:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: swremove depot when depot directory not present</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056693#M435909</link>
      <description>swreg and editing the /var/adm/sw/host_options; /usr/sbin/swagentd -r</description>
      <pubDate>Fri, 06 Jul 2007 10:57:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swremove-depot-when-depot-directory-not-present/m-p/5056693#M435909</guid>
      <dc:creator>William Pribble</dc:creator>
      <dc:date>2007-07-06T10:57:11Z</dc:date>
    </item>
  </channel>
</rss>

