<?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: startup script get executed but process is not running in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383800#M14170</link>
    <description>when i start the script manually, all the processes would be up and running fine.</description>
    <pubDate>Tue, 28 Sep 2004 02:41:08 GMT</pubDate>
    <dc:creator>sofian wijaya</dc:creator>
    <dc:date>2004-09-28T02:41:08Z</dc:date>
    <item>
      <title>startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383794#M14164</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I am running Documentum product. We put the product start-up into our startup script at run level 3.&lt;BR /&gt;&lt;BR /&gt;I monitor the server during boot up. And notice the following (same result as in /var/adm/rc.log)&lt;BR /&gt;&lt;BR /&gt;1. Documentum script is executed&lt;BR /&gt;2. A process ID is created&lt;BR /&gt;3. Documentum log file said that it is started with the process id as mentioned above&lt;BR /&gt;4. Next i run ps - ef |grep docbroker (docbroker should be the process name created)&lt;BR /&gt;&lt;BR /&gt;Then, the magic started ... I could not find the process. Try to grep the process id also return nothing.&lt;BR /&gt;&lt;BR /&gt;Go back to /var/adm/rc.log, i could not find any line to say that process being terminated.&lt;BR /&gt;&lt;BR /&gt;check on the syslog also couldnt find why the process is not there.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 21 Sep 2004 21:03:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383794#M14164</guid>
      <dc:creator>sofian wijaya</dc:creator>
      <dc:date>2004-09-21T21:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383795#M14165</link>
      <description>Just to review the process....&lt;BR /&gt;&lt;BR /&gt;cd /sbin/rc3.d&lt;BR /&gt;&lt;BR /&gt;or for linux&lt;BR /&gt;&lt;BR /&gt;cd /etc/rc3.d&lt;BR /&gt;ln -s /etc/init.d/docscript S99doc #linux&lt;BR /&gt;ln -s /sbin/init.d/docscript S99doc #hpux&lt;BR /&gt;&lt;BR /&gt;Now if thats okay then&lt;BR /&gt;&lt;BR /&gt;check the docscript or whatever it is named.&lt;BR /&gt;&lt;BR /&gt;Right after the line that actually starts the daemon,add this code....&lt;BR /&gt;rc=$?&lt;BR /&gt;echo "return code doc $rc" &amp;gt;&amp;gt; /var/adm/rc.log&lt;BR /&gt;&lt;BR /&gt;If you get a zero, the script is executing all right and the problem is the daemon or deamon configuration. If you get an error you have an start time error and need to figure out whats happening and why its not starting right.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 21 Sep 2004 21:44:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383795#M14165</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-21T21:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383796#M14166</link>
      <description>I think the daemon process is segfaulting.  Can you run strace and pipe its output to debug on the 'docbroker' binary?</description>
      <pubDate>Tue, 21 Sep 2004 23:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383796#M14166</guid>
      <dc:creator>Ragu_3</dc:creator>
      <dc:date>2004-09-21T23:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383797#M14167</link>
      <description>hi there,&lt;BR /&gt;&lt;BR /&gt;i've checked the return value of  the script is 0.&lt;BR /&gt;&lt;BR /&gt;when you say something wrong with daemon configuration, what does it mean? any idea how to solve this?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 27 Sep 2004 03:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383797#M14167</guid>
      <dc:creator>sofian wijaya</dc:creator>
      <dc:date>2004-09-27T03:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383798#M14168</link>
      <description>Change the check on script as,&lt;BR /&gt;&lt;BR /&gt; 1&amp;gt; Execute on command line on the shell as&lt;BR /&gt;&lt;BR /&gt; /sbin/init.d/script start &lt;BR /&gt;&lt;BR /&gt; 2&amp;gt; Stop and Execute it with debugging mode set -x &lt;BR /&gt; &lt;BR /&gt; ( put set -x on the second line after shell inclusion of #!&lt;SHELL type=""&gt; there to get debugging informations )&lt;BR /&gt;&lt;BR /&gt; /sbin/init.d/script start &lt;BR /&gt;&lt;BR /&gt; 3&amp;gt; Execute that script in background so that monitor that script's PID with ps for some time.&lt;BR /&gt; &lt;BR /&gt; 4&amp;gt; Check weather is there any core file formed there.&lt;BR /&gt;&lt;BR /&gt; Note: Do everything on user terminal execution. No need to boot and test it there.&lt;BR /&gt;&lt;BR /&gt; Send that information to us to further analyse the problem.&lt;/SHELL&gt;</description>
      <pubDate>Mon, 27 Sep 2004 06:16:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383798#M14168</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-27T06:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383799#M14169</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think this is on HP-UX server, though this is from Linux category.&lt;BR /&gt;&lt;BR /&gt;When you say the problem may be due to daemon or daemon configuration, or the daemon may be segfaulting, may I know if the daemon is referring to the docbroker process or the HP-UX start-up process (as I never heard of daemon from HP-UX start-up process)?&lt;BR /&gt;&lt;BR /&gt;Btw Sofian, do you encounter any problem if you run the script manually? For eg: /sbin/init.d/script start</description>
      <pubDate>Tue, 28 Sep 2004 02:36:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383799#M14169</guid>
      <dc:creator>Mei Jiao</dc:creator>
      <dc:date>2004-09-28T02:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383800#M14170</link>
      <description>when i start the script manually, all the processes would be up and running fine.</description>
      <pubDate>Tue, 28 Sep 2004 02:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383800#M14170</guid>
      <dc:creator>sofian wijaya</dc:creator>
      <dc:date>2004-09-28T02:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383801#M14171</link>
      <description>Did you try all the way, in my prev. mail there.&lt;BR /&gt;&lt;BR /&gt;Try to stop the started daemon and try as,&lt;BR /&gt;&lt;BR /&gt; sh -x /sbin/init.d/script start &lt;BR /&gt; what are you getting there.&lt;BR /&gt;&lt;BR /&gt;Did you get any related informations to problem there.&lt;BR /&gt;&lt;BR /&gt;Second try as,&lt;BR /&gt;&lt;BR /&gt;Edit the script as,&lt;BR /&gt;set -x in the second line after shell preprocessor #! there.&lt;BR /&gt;&lt;BR /&gt;Reboot system and see what is in the rc.log file there. Send it.&lt;BR /&gt;&lt;BR /&gt;Note: If you send more informations and test results so that you will get successful suggestion from ITRC forums.&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Tue, 28 Sep 2004 02:54:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383801#M14171</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-28T02:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: startup script get executed but process is not running</title>
      <link>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383802#M14172</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I havent tried, because i dont have any physical access or remote access from my office. I will try doing this tomorrow and revert back to you :)&lt;BR /&gt;&lt;BR /&gt;Thanks so much for your help</description>
      <pubDate>Tue, 28 Sep 2004 02:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/startup-script-get-executed-but-process-is-not-running/m-p/3383802#M14172</guid>
      <dc:creator>sofian wijaya</dc:creator>
      <dc:date>2004-09-28T02:58:04Z</dc:date>
    </item>
  </channel>
</rss>

