<?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 Need help with Startup csh Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436165#M5121</link>
    <description>I need to start a flex license using the csh during system startup. I have no trouble running ksh scripts during startup, but have never done a csh startup script before.&lt;BR /&gt;&lt;BR /&gt;The following script is in my /sbin/init.d directory. And I have a soft link in /sbin/rc3.d.&lt;BR /&gt;&lt;BR /&gt;Am I missing something? How can a csh script be executed during startup? The /etc/rc.log file doe not indicate an error. Yet lmgrd is not running.&lt;BR /&gt;&lt;BR /&gt;#!/bin/csh&lt;BR /&gt;PATH=/usr/sbin:/usr/bin:/sbin&lt;BR /&gt;mode=$1&lt;BR /&gt;case $mode in&lt;BR /&gt;        'start_msg')&lt;BR /&gt;                echo "Starting Flotherm License"&lt;BR /&gt;                ;;&lt;BR /&gt;&lt;BR /&gt;        'stop_msg')&lt;BR /&gt;                echo "Stopping Flotherm License"&lt;BR /&gt;                ;;&lt;BR /&gt;        &lt;BR /&gt;        'start')&lt;BR /&gt;                source /flov20/flov22/flomerics/flotherm22/HP-UX/bin/setup&lt;BR /&gt;                setenv DISPLAY local:0.0&lt;BR /&gt;                /flov20/flov22/flomerics/flotherm22/HP-UX/bin/startFLEX bisher2&lt;BR /&gt;                ;;&lt;BR /&gt;&lt;BR /&gt;        'stop')&lt;BR /&gt;                /flov20/flov22/flomerics/Flexlm61/HP-UX/lmutil lmdown&lt;BR /&gt;                ;;&lt;BR /&gt;esac&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help!</description>
    <pubDate>Fri, 11 Aug 2000 18:26:42 GMT</pubDate>
    <dc:creator>Jennifer Chiarelli</dc:creator>
    <dc:date>2000-08-11T18:26:42Z</dc:date>
    <item>
      <title>Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436165#M5121</link>
      <description>I need to start a flex license using the csh during system startup. I have no trouble running ksh scripts during startup, but have never done a csh startup script before.&lt;BR /&gt;&lt;BR /&gt;The following script is in my /sbin/init.d directory. And I have a soft link in /sbin/rc3.d.&lt;BR /&gt;&lt;BR /&gt;Am I missing something? How can a csh script be executed during startup? The /etc/rc.log file doe not indicate an error. Yet lmgrd is not running.&lt;BR /&gt;&lt;BR /&gt;#!/bin/csh&lt;BR /&gt;PATH=/usr/sbin:/usr/bin:/sbin&lt;BR /&gt;mode=$1&lt;BR /&gt;case $mode in&lt;BR /&gt;        'start_msg')&lt;BR /&gt;                echo "Starting Flotherm License"&lt;BR /&gt;                ;;&lt;BR /&gt;&lt;BR /&gt;        'stop_msg')&lt;BR /&gt;                echo "Stopping Flotherm License"&lt;BR /&gt;                ;;&lt;BR /&gt;        &lt;BR /&gt;        'start')&lt;BR /&gt;                source /flov20/flov22/flomerics/flotherm22/HP-UX/bin/setup&lt;BR /&gt;                setenv DISPLAY local:0.0&lt;BR /&gt;                /flov20/flov22/flomerics/flotherm22/HP-UX/bin/startFLEX bisher2&lt;BR /&gt;                ;;&lt;BR /&gt;&lt;BR /&gt;        'stop')&lt;BR /&gt;                /flov20/flov22/flomerics/Flexlm61/HP-UX/lmutil lmdown&lt;BR /&gt;                ;;&lt;BR /&gt;esac&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help!</description>
      <pubDate>Fri, 11 Aug 2000 18:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436165#M5121</guid>
      <dc:creator>Jennifer Chiarelli</dc:creator>
      <dc:date>2000-08-11T18:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436166#M5122</link>
      <description>Lanny:&lt;BR /&gt;&lt;BR /&gt;If you have /etc/shells then make sure /usr/bin/csh an entry therein.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Aug 2000 18:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436166#M5122</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-11T18:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436167#M5123</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i've put you the (so i hope) correct script at the attachment.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Fri, 11 Aug 2000 18:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436167#M5123</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-08-11T18:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436168#M5124</link>
      <description>Lanny:&lt;BR /&gt;&lt;BR /&gt;I'm curious.  Why are you using csh?&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Aug 2000 18:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436168#M5124</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-11T18:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436169#M5125</link>
      <description>Andreas,&lt;BR /&gt;&lt;BR /&gt;Thanks!!! I'll give this a try. However, I was just informed I cannot interrupt a solve that is currently running on that system. It may be early next week, but I will provide feedback after I try it.</description>
      <pubDate>Fri, 11 Aug 2000 19:02:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436169#M5125</guid>
      <dc:creator>Jennifer Chiarelli</dc:creator>
      <dc:date>2000-08-11T19:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436170#M5126</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;Flomerics (the software vendor) has told me that I must start the license from the csh. Also, I must source the setup file for all the environment variables. But yes, I was also thinking it could be done in the ksh like my other flex licenses.</description>
      <pubDate>Fri, 11 Aug 2000 19:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436170#M5126</guid>
      <dc:creator>Jennifer Chiarelli</dc:creator>
      <dc:date>2000-08-11T19:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436171#M5127</link>
      <description>Lanny:&lt;BR /&gt;&lt;BR /&gt;Ah, I scanned right over that in the script.  Now I see why (ugh!).  Thanks for the response back.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Aug 2000 19:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436171#M5127</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-11T19:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436172#M5128</link>
      <description>Andreas,&lt;BR /&gt;&lt;BR /&gt;I was able to test and Flexlm did not start.&lt;BR /&gt;here is the message from /etc/rc.log:&lt;BR /&gt;&lt;BR /&gt;Output from "/sbin/rc3.d/S999flotherm start":&lt;BR /&gt;----------------------------&lt;BR /&gt;mode=start: Command not found.&lt;BR /&gt;mode: Undefined variable.&lt;BR /&gt;"/sbin/rc3.d/S999flotherm start" FAILED</description>
      <pubDate>Fri, 11 Aug 2000 20:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436172#M5128</guid>
      <dc:creator>Jennifer Chiarelli</dc:creator>
      <dc:date>2000-08-11T20:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Startup csh Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436173#M5129</link>
      <description>Lanny:&lt;BR /&gt;&lt;BR /&gt;In Andreas' script, change "mode=$1" to "set mode=$1".&lt;BR /&gt;&lt;BR /&gt;I think the script should then work as he intended.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Aug 2000 21:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-startup-csh-script/m-p/2436173#M5129</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-11T21:14:11Z</dc:date>
    </item>
  </channel>
</rss>

