<?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 SYSMAN startup sequence aborting in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272717#M91153</link>
    <description>Has anyone ever heard of the STARTUP$STARTUP_LAYERED startup database not running to completion when one particular command procedure aborts with a failure?  We've got a PEEK/SPY startup command procedure that fails once every 3 months or so (i.e. very infrequently) but when it does, the rest of the command scripts in the layered database do not run.  I've tried to replicate this with simple dummy command procedures but am unable to.&lt;BR /&gt;&lt;BR /&gt;We're scratching our heads at this point.  Just wondering if someone out there has seen us and can point in the right direction as to where to look.&lt;BR /&gt;&lt;BR /&gt;BTW - we don't have image accounting turned on, takes up too much resources.</description>
    <pubDate>Fri, 19 Sep 2008 16:12:57 GMT</pubDate>
    <dc:creator>Thomas A. Williams</dc:creator>
    <dc:date>2008-09-19T16:12:57Z</dc:date>
    <item>
      <title>SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272717#M91153</link>
      <description>Has anyone ever heard of the STARTUP$STARTUP_LAYERED startup database not running to completion when one particular command procedure aborts with a failure?  We've got a PEEK/SPY startup command procedure that fails once every 3 months or so (i.e. very infrequently) but when it does, the rest of the command scripts in the layered database do not run.  I've tried to replicate this with simple dummy command procedures but am unable to.&lt;BR /&gt;&lt;BR /&gt;We're scratching our heads at this point.  Just wondering if someone out there has seen us and can point in the right direction as to where to look.&lt;BR /&gt;&lt;BR /&gt;BTW - we don't have image accounting turned on, takes up too much resources.</description>
      <pubDate>Fri, 19 Sep 2008 16:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272717#M91153</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2008-09-19T16:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272718#M91154</link>
      <description>Thomas,&lt;BR /&gt;&lt;BR /&gt;Could it be that you're somehow getting an exec-mode bugcheck (typically coming from within RMS)? This kind of bugcheck does not cause a crash by default (BUGCHECKFATAL=0) but instead causes the user process to exit immediately.&lt;BR /&gt;&lt;BR /&gt;You might want to check your error log file for the time inverval around the most recent case of this abort, and see if any nonfatal bugchecks were logged. &lt;BR /&gt;&lt;BR /&gt;A more drastic alternative, but one that's guaranteed to catch an exec-mode bugcheck in real time, is to set the sysgen parameter BUGCHECKFATAL to 1. Since this is a dynamic parameter you can change its value without rebooting.&lt;BR /&gt;&lt;BR /&gt;There might be other reasons for what you're seeing. This is just the first one that came to my mind.</description>
      <pubDate>Fri, 19 Sep 2008 17:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272718#M91154</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2008-09-19T17:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272719#M91155</link>
      <description>Thomas,&lt;BR /&gt;&lt;BR /&gt;I have not seen this behavior, however, I would start by doing a full listing of the STARTUP$STARTUP_LAYERED database to see what is being requested.&lt;BR /&gt;&lt;BR /&gt;My suspicions would center around things that could cause odd problems, like quotas, particularly in command files that are executed DIRECT (as opposed to SPAWN). I would also enable the various traces for the startup process, as well as route the startup to a file rather than the console (all of which are documented in the HELP text).&lt;BR /&gt;&lt;BR /&gt;I might also move PEEK/SPY startup, at least temporarily, to a later phase in the startup sequence, to somewhat mitigate collateral damage.&lt;BR /&gt;&lt;BR /&gt;[Disclosure: My firm does consult on matters of this type, as do several other active contributors to this forum].&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Fri, 19 Sep 2008 17:14:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272719#M91155</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-09-19T17:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272720#M91156</link>
      <description>Oops. I should have made it explicit that once you set BUGCHECKFATAL to 1 and write the active parameters, an exec mode normally nonfatal bugcheck WILL cause the system to crash.&lt;BR /&gt;&lt;BR /&gt;Also, to set BUGCHECKFATAL you can use either of these command sequences:&lt;BR /&gt;&lt;BR /&gt;$ MCR SYSGEN&lt;BR /&gt;SYSGEN&amp;gt;USE ACTIVE&lt;BR /&gt;SYSGEN&amp;gt;SHOW BUGCHECKFATAL  ! It's worth checking whether it is already set&lt;BR /&gt;SYSGEN&amp;gt;SET BUGCHECKFATAL 1&lt;BR /&gt;SYSGEN&amp;gt;WRITE ACTIVE&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;$ MC SYSMAN&lt;BR /&gt;SYSMAN&amp;gt;PARAMETER USE ACTIVE&lt;BR /&gt;SYSMAN&amp;gt;PARAMETER SHOW BUGCHECKFATAL&lt;BR /&gt;SYSMAN&amp;gt;PARAMETER SET BUGCHECKFATAL 1&lt;BR /&gt;SYSMAN&amp;gt;PARAMETER WRITE ACTIVE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also, remember that you'll probably want to turn BUGCHECKFATAL off again. To do that just repeat either command sequence above, substituting 0 for 1.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Galen</description>
      <pubDate>Fri, 19 Sep 2008 17:18:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272720#M91156</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2008-09-19T17:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272721#M91157</link>
      <description>I have to admit that Robert's line of thinking looks more likely than mine...&lt;BR /&gt;&lt;BR /&gt;That's why people pay him money for this kind of work, whereas since April 1 I only do VMS for pleasure. &lt;BR /&gt;&lt;BR /&gt;(Hmm. That wasn't meant to sound kinky or anything. :-)</description>
      <pubDate>Fri, 19 Sep 2008 17:20:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272721#M91157</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2008-09-19T17:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272722#M91158</link>
      <description>Galen, &lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Thomas,&lt;BR /&gt;&lt;BR /&gt;Seriously, my rules for such infrequent problems are similar to the rules for first aid:&lt;BR /&gt;&lt;BR /&gt;1) Contain the damage&lt;BR /&gt;2) Mitigate its impact&lt;BR /&gt;3) Produce useful data for analysis&lt;BR /&gt;&lt;BR /&gt;With a problem that occurs with no reproduceability, it is important that we not take a step that would increase the impact. &lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Fri, 19 Sep 2008 17:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272722#M91158</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-09-19T17:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272723#M91159</link>
      <description>Had to do some reboots before I got another possible reason.&lt;BR /&gt;&lt;BR /&gt;If you have mode BATCH and the job terminates with Fatal and the job is retained on error (queue has retain=error) or takes long enough so that startup reaches the sync&lt;BR /&gt;THEN&lt;BR /&gt;startup will display "Batch job x terminated with error startus." and the startup procedure does an exit with Fatal. And thus the startup is aborted.&lt;BR /&gt;&lt;BR /&gt;IMO not logical at all because in direct or spawn mode this is not done.&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 22 Sep 2008 11:02:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272723#M91159</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-09-22T11:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272724#M91160</link>
      <description>RE: SYNCHRONIZE exits with exit status of remote batch job.&lt;BR /&gt;&lt;BR /&gt;Wim,&lt;BR /&gt;&lt;BR /&gt;I agree that this behavior is surprising, but it has been this way for quite some time (possibly since the initial design) and it can be very useful.&lt;BR /&gt;&lt;BR /&gt;However, the DCL help says nothing about this behavior, and the only way I know of to work around it is to wrap the synch statement with set noon and set on statements.  And if you don't want confusing error messages in the log file, also using message_state = f$environment("MESSAGE") and set message/nofac...  set message 'message_state'&lt;BR /&gt;&lt;BR /&gt;The other option is to write your own synchronize using $getqui&lt;BR /&gt;&lt;BR /&gt;I can understand why $getqui has the capability of returning the exit status of the synch'ed batch job; it can be very useful information to the job synchronizing on the completion.  If the purpose of the synchronize is to allow a pre-requisite operation to complete, it may be necessary for the previous operation to complete successfully.  This mechanism provides for the signaling of this status to any process that is waiting for its completion.&lt;BR /&gt;&lt;BR /&gt;--------- begin wish list&lt;BR /&gt;I wish it were possible to specify the local DCL symbol for the remote status to be returned in, for example something like &lt;BR /&gt;&lt;BR /&gt;$ synchronize /entry='my_entry'/remote_status=my_status ! this does not exist&lt;BR /&gt;&lt;BR /&gt;This would then set the local symbol my_status with the exit status from the batch job with entry 'my_entry', and the $status symbol (and $severity) would only be set to non-success status if the entry did not exist of the process did not have access to it.&lt;BR /&gt;&lt;BR /&gt;Without /remote_status, the behavior must remain the way it is, or it would break existing software.&lt;BR /&gt;&lt;BR /&gt;The use of /noremote_status should cause synchronize to just throw the remote status away instead of using it to set a specified local symbol with the value.  This would be the form you would use if all you wanted was synchronization, and did not care what the exit status of the batch job was.&lt;BR /&gt;--------- end wish list&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Sep 2008 18:50:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272724#M91160</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-09-22T18:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272725#M91161</link>
      <description>In any case, we once had 250 machines using sysman boot and to my knowledge never had the problem. Probably never had something F, just E.&lt;BR /&gt;&lt;BR /&gt;That's why I prefer my own boot procedure, unix like. You can correct it when thing are not what you need.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Sep 2008 18:55:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272725#M91161</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-09-22T18:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272726#M91162</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;WADR, I differ. SYSMAN startup is quite well behaved, having used it at numerous sites. &lt;BR /&gt;&lt;BR /&gt;In this particular case, if the theory that the -F- error in a batch job is the issue, the problem is that the behavior is not fully documented. What is most important is that the behavior be documented.&lt;BR /&gt;&lt;BR /&gt;For other reasons, I generally use SPAWN, rather than batch jobs.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 22 Sep 2008 19:05:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272726#M91162</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-09-22T19:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272727#M91163</link>
      <description>If you want to be 100% sure that each startup thing is not disturbed by another one (on the subject of symbols and process logicals) only batch is allowed. 2nd is spawn.&lt;BR /&gt;&lt;BR /&gt;My point is that if you change mode from SPAWN to BATCH that your boot may fail. IMO this should not be the case. Or ALL modes fail for an F, or none.&lt;BR /&gt;&lt;BR /&gt;In any case, my boot continues whatever the status. The procedure explecitly has to require an abort of the boot (by means of a logical). E.g. when mounting of the disks failed.&lt;BR /&gt;&lt;BR /&gt;And, there is no message that the boot is aborted when the batch jobs ends in F.&lt;BR /&gt;&lt;BR /&gt;I also remember that some fatal errors are warnings, it all depends on who programmed it. So, who cares for the status VMS gives us. You have to test success yourself.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 23 Sep 2008 05:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272727#M91163</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-09-23T05:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272728#M91164</link>
      <description>Jon,&lt;BR /&gt;&lt;BR /&gt;Wishlist : add this too : submit batch job with /retain=error. Now is the SM that must set the queue /retain.&lt;BR /&gt;&lt;BR /&gt;Also, how to modify the sync ? It's in startup.com that you may not modify.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 23 Sep 2008 07:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272728#M91164</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-09-23T07:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272729#M91165</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;I saw the sync but didn't realize you were referring to sys$system:startup.com, I was thinking that one of the files being executed was using the sync statement.&lt;BR /&gt;&lt;BR /&gt;What I was talking about was just the general behavior of the DCL SYNCHRONIZE verb.&lt;BR /&gt;&lt;BR /&gt;Sorry if I caused anyone confusion.&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Tue, 23 Sep 2008 11:44:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272729#M91165</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-09-23T11:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: SYSMAN startup sequence aborting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272730#M91166</link>
      <description>As you and others of the US are funding the global baillout, you are forgiven.&lt;BR /&gt;&lt;BR /&gt;For those with financial hobbies :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.nypost.com/seven/09212008/business/almost_armageddon_130110.htm" target="_blank"&gt;http://www.nypost.com/seven/09212008/business/almost_armageddon_130110.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 23 Sep 2008 11:54:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sysman-startup-sequence-aborting/m-p/4272730#M91166</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-09-23T11:54:34Z</dc:date>
    </item>
  </channel>
</rss>

