<?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: swpackage ERROR: Cannot lock ... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016578#M129581</link>
    <description>Thanks to all.&lt;BR /&gt;I've already found a file depot/catalog/swlock.&lt;BR /&gt;But I didn't mention. This file was from 1999 and empty. I use swpackage almost every week...&lt;BR /&gt;So I was searching for a file containing the pid 2030.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;Clemens</description>
    <pubDate>Mon, 07 Jul 2003 10:49:21 GMT</pubDate>
    <dc:creator>Clemens Kleibusch</dc:creator>
    <dc:date>2003-07-07T10:49:21Z</dc:date>
    <item>
      <title>swpackage ERROR: Cannot lock ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016574#M129577</link>
      <description>Hi,&lt;BR /&gt;I try to rebuild a swpackage and get following messages:&lt;BR /&gt;root@cad517 /var/install/packages/psf # swpackage -s Printer @ ../depot       &lt;BR /&gt;&lt;BR /&gt;=======  07/07/03 11:57:55 METDST  BEGIN swpackage SESSION&lt;BR /&gt;&lt;BR /&gt;       * Session started for user "root@cad517".&lt;BR /&gt;         &lt;BR /&gt;       * Source:        cad517:Printer&lt;BR /&gt;       * Target:        cad517:../depot&lt;BR /&gt;       * Software selections:&lt;BR /&gt;             *&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;       * Beginning Selection Phase.&lt;BR /&gt;       * Reading the Product Specification File (PSF) "Printer".&lt;BR /&gt;       * Reading the product "Printer" at line 1.&lt;BR /&gt;       * Reading the fileset "Printer" at line 16.&lt;BR /&gt;&lt;BR /&gt;ERROR:   Cannot lock "../depot" because another command holds a&lt;BR /&gt;         conflicting lock.  The process id of that command is 2030.&lt;BR /&gt;ERROR:   Cannot read the target "../depot".&lt;BR /&gt;&lt;BR /&gt;=======  07/07/03 11:57:56 METDST  END swpackage SESSION&lt;BR /&gt;&lt;BR /&gt;After a reboot swpackage conflicts with the same process id. But process 2030 doesn't exist.&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;Clemens</description>
      <pubDate>Mon, 07 Jul 2003 09:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016574#M129577</guid>
      <dc:creator>Clemens Kleibusch</dc:creator>
      <dc:date>2003-07-07T09:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: swpackage ERROR: Cannot lock ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016575#M129578</link>
      <description>Did you do any change in /etc/hosts&lt;BR /&gt;&lt;BR /&gt;Just do a &lt;BR /&gt;#/usr/sbin/swagentd -r</description>
      <pubDate>Mon, 07 Jul 2003 09:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016575#M129578</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-07-07T09:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: swpackage ERROR: Cannot lock ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016576#M129579</link>
      <description>Hi,&lt;BR /&gt;check this files&lt;BR /&gt;&lt;BR /&gt;/var/adm/sw/products/swlock &lt;BR /&gt;/var/spool/sw/catalog/swlock &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and delete them.&lt;BR /&gt;&lt;BR /&gt;Should do the trick.&lt;BR /&gt;&lt;BR /&gt; HTH,&lt;BR /&gt;   Massimo&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2003 09:26:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016576#M129579</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-07T09:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: swpackage ERROR: Cannot lock ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016577#M129580</link>
      <description>Man pages of swpackage &lt;BR /&gt;&lt;BR /&gt;/*&lt;BR /&gt;&lt;BR /&gt;SD commands use a common locking mechanism for reading and modifying&lt;BR /&gt;      both root directories and software depots. This mechanism allows&lt;BR /&gt;      multiple readers but only one writer on a root or depot.&lt;BR /&gt;&lt;BR /&gt;      The SD commands which modify software in an (alternate) root directory&lt;BR /&gt;      are restricted from simultaneous modification using fcntl(2) locking&lt;BR /&gt;      on the file&lt;BR /&gt;&lt;BR /&gt;           var/adm/sw/products/swlock&lt;BR /&gt;&lt;BR /&gt;      relative to the root directory (e.g.  /var/adm/sw/products/swlock).&lt;BR /&gt;&lt;BR /&gt;      The SD commands which modify software in a depot are restricted from&lt;BR /&gt;      simultaneous modification using fcntl(2) locking on the file&lt;BR /&gt;&lt;BR /&gt;           catalog/swlock&lt;BR /&gt;&lt;BR /&gt;      relative to the depot directory (e.g.  /var/spool/sw/catalog/swlock).&lt;BR /&gt;&lt;BR /&gt;*/&lt;BR /&gt;&lt;BR /&gt;So the above post should do the trick&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 07 Jul 2003 10:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016577#M129580</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-07-07T10:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: swpackage ERROR: Cannot lock ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016578#M129581</link>
      <description>Thanks to all.&lt;BR /&gt;I've already found a file depot/catalog/swlock.&lt;BR /&gt;But I didn't mention. This file was from 1999 and empty. I use swpackage almost every week...&lt;BR /&gt;So I was searching for a file containing the pid 2030.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;Clemens</description>
      <pubDate>Mon, 07 Jul 2003 10:49:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swpackage-error-cannot-lock/m-p/3016578#M129581</guid>
      <dc:creator>Clemens Kleibusch</dc:creator>
      <dc:date>2003-07-07T10:49:21Z</dc:date>
    </item>
  </channel>
</rss>

