<?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: lockf not working in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774813#M261978</link>
    <description>&lt;BR /&gt;  Hi,&lt;BR /&gt;&lt;BR /&gt;  Thanks for reponses. I have exported this filesystem to two systems (ServerA and ServerB). Bothe ServerA and ServerB are accessing same remote filesystem and running same application. In one server lockf is working and application is starting properly, in the other it just hang, application does not start properly.&lt;BR /&gt;&lt;BR /&gt;NFS server Unix ver is 11.11.&lt;BR /&gt;&lt;BR /&gt;I have to assume the actual error till app support enables the application debug logging.&lt;BR /&gt;&lt;BR /&gt;Months back it occured and a reboot of NFS client solved the problem, but now I don't want to adopt the same method.&lt;BR /&gt;&lt;BR /&gt;All suggestions are welcomed.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Shahul</description>
    <pubDate>Thu, 20 Apr 2006 09:24:43 GMT</pubDate>
    <dc:creator>Shahul</dc:creator>
    <dc:date>2006-04-20T09:24:43Z</dc:date>
    <item>
      <title>lockf not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774809#M261974</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I have mounted a filesystem from remote server by using NFS. My application is trying to do lockf against one file in this remote filesystem and it dowsn't seems to be working. Has anyone faced such issue before. I don't know actual error code as it is done by application. &lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Shahul</description>
      <pubDate>Thu, 20 Apr 2006 08:58:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774809#M261974</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-04-20T08:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: lockf not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774810#M261975</link>
      <description>Shalom Shahul,&lt;BR /&gt;&lt;BR /&gt;For this to work, the remote filesystem need to be running NFS v4, which for HP-UX only ships for 11.23 11i v2.&lt;BR /&gt;&lt;BR /&gt;NFS 3 is not capable of handling locks like this. See Dave Olker's NFS book for more on this.&lt;BR /&gt;&lt;BR /&gt;A modern Linux box will support the NFS locking you need.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 20 Apr 2006 09:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774810#M261975</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-20T09:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: lockf not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774811#M261976</link>
      <description>You make it very difficult to help when you simply say that "it dowsn't seems to be working". What is the error message that the application generates (or does the application hang?). NFS file locking works. You need to make sure that lockd and statd are running. I have seen locking problems on PC implementations of NFS so that the lock was actually faked whether or not locking was actually occurring.</description>
      <pubDate>Thu, 20 Apr 2006 09:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774811#M261976</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-04-20T09:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: lockf not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774812#M261977</link>
      <description>Nonsense, NFS locking has been around since NFS was NFS.</description>
      <pubDate>Thu, 20 Apr 2006 09:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774812#M261977</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-04-20T09:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: lockf not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774813#M261978</link>
      <description>&lt;BR /&gt;  Hi,&lt;BR /&gt;&lt;BR /&gt;  Thanks for reponses. I have exported this filesystem to two systems (ServerA and ServerB). Bothe ServerA and ServerB are accessing same remote filesystem and running same application. In one server lockf is working and application is starting properly, in the other it just hang, application does not start properly.&lt;BR /&gt;&lt;BR /&gt;NFS server Unix ver is 11.11.&lt;BR /&gt;&lt;BR /&gt;I have to assume the actual error till app support enables the application debug logging.&lt;BR /&gt;&lt;BR /&gt;Months back it occured and a reboot of NFS client solved the problem, but now I don't want to adopt the same method.&lt;BR /&gt;&lt;BR /&gt;All suggestions are welcomed.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Shahul</description>
      <pubDate>Thu, 20 Apr 2006 09:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774813#M261978</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-04-20T09:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: lockf not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774814#M261979</link>
      <description>You keep mentioning lockf() but lockf() may have absolutely nothing to do with this. At this point, you should look for any NFS related patches and apply them but until you get some diagnostics, it's not self-evident that this is even an NFS-related problem (unless you are seeing some error messages that you aren't sharing).</description>
      <pubDate>Thu, 20 Apr 2006 09:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lockf-not-working/m-p/3774814#M261979</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-04-20T09:40:02Z</dc:date>
    </item>
  </channel>
</rss>

