<?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: csh startup script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844494#M91876</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;after much testing Darrell the additions seam to have worked well.&lt;BR /&gt;&lt;BR /&gt;I appreciate your help and thank-you kindly.&lt;BR /&gt;&lt;BR /&gt;I aslo tried the nohup command (since it was a lot less work) however, that did the same thing. ie startup and then die.&lt;BR /&gt;&lt;BR /&gt;Once again,&lt;BR /&gt;&lt;BR /&gt;thank-you all for helping me.</description>
    <pubDate>Fri, 15 Nov 2002 02:17:32 GMT</pubDate>
    <dc:creator>maria paschali</dc:creator>
    <dc:date>2002-11-15T02:17:32Z</dc:date>
    <item>
      <title>csh startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844489#M91871</link>
      <description>hi everyone,&lt;BR /&gt;&lt;BR /&gt;i would like to pick some brains please. I have created a csh startup script in /sbin/init.d directory. I have also created the symbolic links to Start and Kill these process when the server comes up and goes down.&lt;BR /&gt;&lt;BR /&gt;When i test this script manually the process is started and stopped.&lt;BR /&gt;&lt;BR /&gt;However, when i try rebooting the server, the rc.log tells me that the process has been started.&lt;BR /&gt;&lt;BR /&gt;starting mpnet daemon: srvstart mpnet&lt;BR /&gt;Output from "/sbin/rc2.d/S900mpnet start":&lt;BR /&gt;----------------------------&lt;BR /&gt;Masterpiece Net Daemon Startup in progress&lt;BR /&gt;  &lt;BR /&gt;Rights for non-DOD U.S. Government Departments and Agencies are as set&lt;BR /&gt;forth in FAR 52.227-19(c)(1,2).&lt;BR /&gt;[1] 1077&lt;BR /&gt;mpmaster  1077  1073  0 13:31:29 console   0:00 mpcommsrv mpnet -s -j&lt;BR /&gt;mpnet daemon started&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;however, when i check to see if the process is actually running i get nothing.&lt;BR /&gt;&lt;BR /&gt;#ps -ef | grep mpnet&lt;BR /&gt;&lt;BR /&gt;root@k&lt;BR /&gt;&lt;BR /&gt;Ive checked the ownership and file permissions of the file and they are owned by bin:bin and have permissions 555 set.&lt;BR /&gt;&lt;BR /&gt;Any ideas, as i am fresh out of what i can try next.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help.</description>
      <pubDate>Thu, 14 Nov 2002 02:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844489#M91871</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-11-14T02:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: csh startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844490#M91872</link>
      <description>It may be that "mpnet" is dependent on other service/daemon to startup first before it can be started up successfully. Have you try starting it in rc3.d instead ? Make it the last process to run after everything had been started. Are all the paths defined correctly in the script ?</description>
      <pubDate>Thu, 14 Nov 2002 03:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844490#M91872</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-11-14T03:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: csh startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844491#M91873</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have tried your suggestion and moved the it to rc3.d&lt;BR /&gt;&lt;BR /&gt;however, im still getting the same problem.&lt;BR /&gt;&lt;BR /&gt;ie, rc.log says it has started up however, there is no record in the process listing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;starting mpnet daemon: srvstart mpnet&lt;BR /&gt;Output from "/sbin/rc3.d/S990mpnet start":&lt;BR /&gt;----------------------------&lt;BR /&gt;Masterpiece Net Daemon Startup in progress&lt;BR /&gt;&lt;BR /&gt;Rights for non-DOD U.S. Government Departments and Agencies are as set&lt;BR /&gt;forth in FAR 52.227-19(c)(1,2).&lt;BR /&gt;[1] 1156&lt;BR /&gt;mpmaster  1156  1152  1 15:15:37 console   0:00 mpcommsrv mpnet -s -j&lt;BR /&gt;mpnet daemon started&lt;BR /&gt;&lt;BR /&gt;**************************************************&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;maria</description>
      <pubDate>Thu, 14 Nov 2002 04:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844491#M91873</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-11-14T04:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: csh startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844492#M91874</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;It looks like your script does start but then dies for some reason.  I've had the same problem.  The application vendor was no help so I came up with the following, crude work-around.&lt;BR /&gt;&lt;BR /&gt;I check to see if the rc script is being called at boot (/sbin/rc is running).  If so, I schedule an at job  to re-run the rc script in 5 minutes.  I've not had a problem since.&lt;BR /&gt;&lt;BR /&gt;If you do this, just be sure the rc script is the last one to run (or at least make sure that /sbin/rc will have completed within 5 minutes).&lt;BR /&gt;&lt;BR /&gt;# If called at boot time schedule an at job because the daemon starts then dies when called by /sbin/rc&lt;BR /&gt;/usr/bin/ps -ef | grep -q [/]sbin/rc&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;echo "/path_to_my_script &amp;gt;&amp;gt;/var/tmp/script.log 2&amp;gt;&amp;amp;1" | at now + 5 minutes&lt;BR /&gt;exit&lt;BR /&gt;fi&lt;BR /&gt;# normal "start" commands go here&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 14 Nov 2002 14:52:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844492#M91874</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-11-14T14:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: csh startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844493#M91875</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Try launching the process in the background with 'nohup'.&lt;BR /&gt; &lt;BR /&gt;Make sure too, sure that the environment variables are defined, particularly PATH.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 14 Nov 2002 15:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844493#M91875</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-11-14T15:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: csh startup script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844494#M91876</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;after much testing Darrell the additions seam to have worked well.&lt;BR /&gt;&lt;BR /&gt;I appreciate your help and thank-you kindly.&lt;BR /&gt;&lt;BR /&gt;I aslo tried the nohup command (since it was a lot less work) however, that did the same thing. ie startup and then die.&lt;BR /&gt;&lt;BR /&gt;Once again,&lt;BR /&gt;&lt;BR /&gt;thank-you all for helping me.</description>
      <pubDate>Fri, 15 Nov 2002 02:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/csh-startup-script/m-p/2844494#M91876</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-11-15T02:17:32Z</dc:date>
    </item>
  </channel>
</rss>

