<?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: Problem with application that use PPL (%PPL-W-SYSERROR) in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942567#M22269</link>
    <description>I have discovered a solution to a problem.</description>
    <pubDate>Fri, 25 Nov 2005 02:19:23 GMT</pubDate>
    <dc:creator>Sergejus Zabinskis</dc:creator>
    <dc:date>2005-11-25T02:19:23Z</dc:date>
    <item>
      <title>Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942557#M22259</link>
      <description>Hi guys,&lt;BR /&gt;I have application that use PPL (Parallel programming library - shared image PPLRTL.EXE).&lt;BR /&gt;This application works on every OpenVMS cluster node (3 nodes at all).&lt;BR /&gt;It worked fine till today. Today at morning our sysadmins restarted one node and failed to start this application. After that next node gone down and everything repeated - application couldn't start.&lt;BR /&gt;At this moment we have working application only on one node (this application was started two weeks ago).&lt;BR /&gt;To clarify problem I tried to repeat this problem with two simple applications, that communicate using PPL.&lt;BR /&gt;The first application (master) produced this log:&lt;BR /&gt;OMNITM $ r ppl_send1&lt;BR /&gt;%PPL-W-SYSERROR, system service error&lt;BR /&gt;-SYSTEM-W-VALNOTVALID, value block is not valid&lt;BR /&gt;%TRACE-W-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;  image    module    routine             line      rel PC           abs PC&lt;BR /&gt; PPLRTL                                     0 00000000000338FC 00000000000858FC&lt;BR /&gt; PPLRTL                                     0 0000000000033B20 0000000000085B20&lt;BR /&gt; PPLRTL                                     0 0000000000029D50 000000000007BD50&lt;BR /&gt; PPLRTL                                     0 0000000000029C40 000000000007BC40&lt;BR /&gt; PPLRTL                                     0 0000000000029AD0 000000000007BAD0&lt;BR /&gt; PPL_SEND1  PPL_SEND1  main              8027 0000000000000128 0000000000030128&lt;BR /&gt; PPL_SEND1  PPL_SEND1  __main               0 0000000000000068 0000000000030068&lt;BR /&gt;                                            0 FFFFFFFF8029163C FFFFFFFF8029163C&lt;BR /&gt;%PPL-W-SYSERROR, system service error&lt;BR /&gt;-SYSTEM-E-DEADLOCK, deadlock detected&lt;BR /&gt;%TRACE-W-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;  image    module    routine             line      rel PC           abs PC&lt;BR /&gt; PPLRTL                                     0 00000000000338FC 00000000000858FC&lt;BR /&gt; PPLRTL                                     0 0000000000033FCC 0000000000085FCC&lt;BR /&gt; PPLRTL                                     0 000000000002A094 000000000007C094&lt;BR /&gt; PPLRTL                                     0 0000000000029DEC 000000000007BDEC&lt;BR /&gt; PPLRTL                                     0 0000000000029C40 000000000007BC40&lt;BR /&gt; PPLRTL                                     0 0000000000029AD0 000000000007BAD0&lt;BR /&gt; PPL_SEND1  PPL_SEND1  main              8027 0000000000000128 0000000000030128&lt;BR /&gt; PPL_SEND1  PPL_SEND1  __main               0 0000000000000068 0000000000030068&lt;BR /&gt;                                            0 FFFFFFFF8029163C FFFFFFFF8029163C&lt;BR /&gt;%PPL-W-SYSERROR, system service error&lt;BR /&gt;-SYSTEM-E-DEADLOCK, deadlock detected&lt;BR /&gt;%TRACE-W-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;  image    module    routine             line      rel PC           abs PC&lt;BR /&gt; PPLRTL                                     0 00000000000338FC 00000000000858FC&lt;BR /&gt; PPLRTL                                     0 0000000000033FCC 0000000000085FCC&lt;BR /&gt; PPLRTL                                     0 00000000000314B8 00000000000834B8&lt;BR /&gt; PPLRTL                                     0 000000000002A834 000000000007C834&lt;BR /&gt; PPLRTL                                     0 000000000002A6E4 000000000007C6E4&lt;BR /&gt; PPLRTL                                     0 000000000002A200 000000000007C200&lt;BR /&gt; PPLRTL                                     0 0000000000029DEC 000000000007BDEC&lt;BR /&gt; PPLRTL                                     0 0000000000029C40 000000000007BC40&lt;BR /&gt; PPLRTL                                     0 0000000000029AD0 000000000007BAD0&lt;BR /&gt; PPL_SEND1  PPL_SEND1  main              8027 0000000000000128 0000000000030128&lt;BR /&gt; PPL_SEND1  PPL_SEND1  __main               0 0000000000000068 0000000000030068&lt;BR /&gt;                                            0 FFFFFFFF8029163C FFFFFFFF8029163C&lt;BR /&gt; Interrupt&lt;BR /&gt;&lt;BR /&gt;OMNITM $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Our sysadmins say that nothing changed after last application start.&lt;BR /&gt;Please help me!!! Why every application that use PPL doesn't work any more?&lt;BR /&gt;&lt;BR /&gt;Sorry for the very long story.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Sergejus</description>
      <pubDate>Wed, 23 Nov 2005 06:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942557#M22259</guid>
      <dc:creator>Sergejus Zabinskis</dc:creator>
      <dc:date>2005-11-23T06:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942558#M22260</link>
      <description>I notice the SYSTEM-W-VALNOTVALID and wonder if there is a cluster wide lock connected with your application or PPL which has a value block. I also note the SYSTEM-E-DEADLOCK errors which also suggest a lock problem.&lt;BR /&gt;&lt;BR /&gt;Clearing all the locks may need a cluster wide application shutdown - an unpopular option I expect. &lt;BR /&gt;</description>
      <pubDate>Wed, 23 Nov 2005 06:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942558#M22260</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-11-23T06:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942559#M22261</link>
      <description>Thanks, Ian.&lt;BR /&gt;Sorry, I assigned only 5 points for your advice, because we can't stop the last server instance alive. It is business critical application, so we can't stop it now. Maybe we will do that at night.&lt;BR /&gt;Again, thank you very much for your reply!&lt;BR /&gt;&lt;BR /&gt;Sergejus</description>
      <pubDate>Wed, 23 Nov 2005 08:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942559#M22261</guid>
      <dc:creator>Sergejus Zabinskis</dc:creator>
      <dc:date>2005-11-23T08:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942560#M22262</link>
      <description>Sergejus, can you investigate the locks held by the currently running app ?&lt;BR /&gt;&lt;BR /&gt;ANAL/SYS&lt;BR /&gt;&lt;BR /&gt;SHOW PROC/ID=xx/LOCK&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Nov 2005 09:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942560#M22262</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-11-23T09:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942561#M22263</link>
      <description>Thanks once more, Ian.&lt;BR /&gt;I didn't use SDA and our admins too. We executed this command, but we can't interpret results, because it's seems that everything is Ok with locks, created by our process. Could you please help us what lock statuses or some other info we need to look for in SDA output.&lt;BR /&gt;Many thanks.&lt;BR /&gt;Sergejus</description>
      <pubDate>Wed, 23 Nov 2005 10:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942561#M22263</guid>
      <dc:creator>Sergejus Zabinskis</dc:creator>
      <dc:date>2005-11-23T10:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942562#M22264</link>
      <description>Sergejus,&lt;BR /&gt;&lt;BR /&gt;  I agree with Ian. You have an instance of the application running on one node in the cluster that is holding locks in a state that is incompatible with starting another instance. &lt;BR /&gt;&lt;BR /&gt;  Note that the PPL library is no longer supported (and hasn't been for about 10 years!) Its functionality has been replaced by threads (whatever the marketing name is today, DECthreads, pthreads, etc...).&lt;BR /&gt;&lt;BR /&gt;  I've seen a few previous reports of this type of error for PPL applications. Unfortunately no one ever did any real analysis, they just rebooted nodes until the application started.&lt;BR /&gt;&lt;BR /&gt;  One thing you might want to try (long shot). The VALNOTVALID is probably being signalled from PPL$CREATE_APPLICATION. I's -W- (Warning) so you can continue. Try calling PPL$CREATE_APPLICATION a second time, it *might* succeed. Your code should probably have an exception handler to detect the signals.&lt;BR /&gt;&lt;BR /&gt;  If you don't know how to interpret lock traces, I recommend you log a case with your local customer support centre and have a specialist help you. This is not something that can be dealt with in this type of forum.&lt;BR /&gt;&lt;BR /&gt;  If it's not possible to log a case then the quickest "solution" is probably a full cluster reboot (as VMS people, we don't often stoop to MS style solutions, and I hesitate to mention it as there are almost certainly alternatives, but in this case it's pretty much guaranteed to work).&lt;BR /&gt;&lt;BR /&gt;  Long term I'd be recommending you migrate your code from PPL to threads.</description>
      <pubDate>Wed, 23 Nov 2005 15:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942562#M22264</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-11-23T15:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942563#M22265</link>
      <description>wouldn't a cluster wide shutdown of the application clear the locks?</description>
      <pubDate>Wed, 23 Nov 2005 16:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942563#M22265</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-11-23T16:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942564#M22266</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;wouldn't a cluster wide shutdown of the&lt;BR /&gt;&amp;gt;application clear the locks?&lt;BR /&gt;&lt;BR /&gt;  Yes, it should, assuming user mode locks. I'm fairly sure PPL is strictly user mode. But, if there are system locks, and shutting down the application doesn't help, then a cluster reboot will be required.</description>
      <pubDate>Wed, 23 Nov 2005 22:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942564#M22266</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-11-23T22:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942565#M22267</link>
      <description>Ian, John - thanks for your help.&lt;BR /&gt;Today at night last alive application on the was stopped. After that it was started on all nodes (3 nodes) without any problem. No node or cluster reboot was made. So, everything completed successfully.&lt;BR /&gt;Now, I would like to tell few words about PPL. I know that it is no longer supported, but I found it very convenient to develop software that need interprocess communication. Also I am using pthreads, but I as I understand pthreads can't deal with different processes. It is about one process. Of, course I can use lib$insqhi/ti and global sections, but it is already realized in PPL. So, there are main reasons why I am using PPL.&lt;BR /&gt;&lt;BR /&gt;My best regards&lt;BR /&gt;Sergejus</description>
      <pubDate>Thu, 24 Nov 2005 06:35:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942565#M22267</guid>
      <dc:creator>Sergejus Zabinskis</dc:creator>
      <dc:date>2005-11-24T06:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942566#M22268</link>
      <description>Have a look at the VMS Programming Concepts Manual &lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82FINAL/5841/5841PRO.HTML" target="_blank"&gt;http://h71000.www7.hp.com/doc/82FINAL/5841/5841PRO.HTML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Its gives an good overiew of the many wonderful things in VMS including interprocess communication methods and data sharing.&lt;BR /&gt;&lt;BR /&gt;I think not enough people read it.</description>
      <pubDate>Thu, 24 Nov 2005 07:20:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942566#M22268</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-11-24T07:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with application that use PPL (%PPL-W-SYSERROR)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942567#M22269</link>
      <description>I have discovered a solution to a problem.</description>
      <pubDate>Fri, 25 Nov 2005 02:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-application-that-use-ppl-ppl-w-syserror/m-p/4942567#M22269</guid>
      <dc:creator>Sergejus Zabinskis</dc:creator>
      <dc:date>2005-11-25T02:19:23Z</dc:date>
    </item>
  </channel>
</rss>

