<?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: Init Script Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378485#M197101</link>
    <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;at first a question:&lt;BR /&gt;Do you have any entry in /etc/rc.log?&lt;BR /&gt;&lt;BR /&gt;Try a set -x as the first line in the script.&lt;BR /&gt;This will print all commands and the execution to stdout.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Michael</description>
    <pubDate>Tue, 14 Sep 2004 05:05:39 GMT</pubDate>
    <dc:creator>Michael_356</dc:creator>
    <dc:date>2004-09-14T05:05:39Z</dc:date>
    <item>
      <title>Init Script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378484#M197100</link>
      <description>Hi together, &lt;BR /&gt;i have a little problem with one of my init scripts and canÂ´t figure out what the problem should be (or im just standing on the line :)&lt;BR /&gt;Would be nie if someone could have look on that script. &lt;BR /&gt;When i try to start the script with &lt;BR /&gt;/sbin/init.d/phoenix-server start &lt;BR /&gt;nothing happens no error, it writes no Log File in the /tmp. &lt;BR /&gt;When i try to stop the script &lt;BR /&gt;/sbin/init.d/phoenix-server stop&lt;BR /&gt;it works pretty fine.&lt;BR /&gt;&lt;BR /&gt;Would be pleased about some help&lt;BR /&gt;greetings &amp;amp; thanks&lt;BR /&gt;Pet</description>
      <pubDate>Tue, 14 Sep 2004 04:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378484#M197100</guid>
      <dc:creator>Peter Reuschlein</dc:creator>
      <dc:date>2004-09-14T04:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Init Script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378485#M197101</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;at first a question:&lt;BR /&gt;Do you have any entry in /etc/rc.log?&lt;BR /&gt;&lt;BR /&gt;Try a set -x as the first line in the script.&lt;BR /&gt;This will print all commands and the execution to stdout.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 14 Sep 2004 05:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378485#M197101</guid>
      <dc:creator>Michael_356</dc:creator>
      <dc:date>2004-09-14T05:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Init Script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378486#M197102</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Having a look...&lt;BR /&gt;&lt;BR /&gt;It seem to exit with 0 if you have nothing...&lt;BR /&gt;&lt;BR /&gt;I would suggest to add some more test to see if it continues after:&lt;BR /&gt;'start')&lt;BR /&gt;        if [ -f /etc/rc.config.d/phoenix-server ] ; then&lt;BR /&gt;echo OK!!!&lt;BR /&gt;sleep 3&lt;BR /&gt;                . /etc/rc.config.d/phoenix-server&lt;BR /&gt;        else&lt;BR /&gt;                echo "ERROR: /etc/rc.config.d/phoenix-server defaults file MISSING"&lt;BR /&gt;sleep 3&lt;BR /&gt;    exit 1&lt;BR /&gt;        fi&lt;BR /&gt;        if [ "$RUN_PHX_SERVER" -ne 1 ]; then&lt;BR /&gt;     echo "Phoenix Server deactivated!!"&lt;BR /&gt; echo RUN_PHX_SERVER = " "$RUN_PHX_SERVER"!"&lt;BR /&gt;sleep 5&lt;BR /&gt;     exit 0&lt;BR /&gt;      etc...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 14 Sep 2004 05:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378486#M197102</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-09-14T05:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Init Script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378487#M197103</link>
      <description>I ment nothing = no output...&lt;BR /&gt;Oh and I forgot..&lt;BR /&gt;You should initialize RUN_PHX_SERVER in order to understand whats going on&lt;BR /&gt;&lt;BR /&gt;Let us know how you are getting on&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 14 Sep 2004 05:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378487#M197103</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-09-14T05:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Init Script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378488#M197104</link>
      <description>Try to run on command shell first with debug mode as,&lt;BR /&gt;&lt;BR /&gt; set -x in the init script file.&lt;BR /&gt;&lt;BR /&gt;is there any message's on /etc/rc.log file.?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Sep 2004 05:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378488#M197104</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-14T05:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Init Script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378489#M197105</link>
      <description>Your script seems to be confusing 14259 and 14240, which is correct?&lt;BR /&gt;&lt;BR /&gt;All su commands should be of the form:&lt;BR /&gt;su phoenix -c &lt;CMD&gt;&lt;BR /&gt;&lt;BR /&gt;If as I suspect that 14240 is the correct value, your code should read something like...&lt;BR /&gt;  cd $PHOENIX_SERVER_PATH&lt;BR /&gt;  if [ -x PurchaseServer14240 ] ;&lt;BR /&gt;  then /usr/bin/su phoenix -c ./PurchaseServer14240 &amp;gt; /tmp/Phoenix_PU.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;     echo "Phoenix Server Started"&lt;BR /&gt;  else echo "Phoenix Servet NOT FOUND"&lt;BR /&gt;      exit 1&lt;BR /&gt;  fi&lt;BR /&gt;  cd $PHOENIX_SERVER_PATH/../../spool/server&lt;BR /&gt;  if [ -x SpoolServer14240 ] ;&lt;BR /&gt;  then /usr/bin/su phoenix -c ./spool/server/SpoolServer14240 &amp;gt; /tmp/Phoenix_SP_S.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;     echo "SpoolServer started"&lt;BR /&gt;  else echo "Spoolserver NOT FOUND"&lt;BR /&gt;     exit 1&lt;BR /&gt;  fi&lt;BR /&gt;  if [ -x SpoolWorker14240 ] ;&lt;BR /&gt;  then /usr/bin/su phoenix -c ./SpoolWorker14240 &amp;gt; /tmp/Phoenix_SP_W.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;      echo "SpoolWorker started"&lt;BR /&gt;  else echo "SpoolWorker NOT FOUND"&lt;BR /&gt;       exit 1&lt;BR /&gt;  fi&lt;/CMD&gt;</description>
      <pubDate>Tue, 14 Sep 2004 05:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/init-script-problem/m-p/3378489#M197105</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2004-09-14T05:56:28Z</dc:date>
    </item>
  </channel>
</rss>

