<?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: after modify /etc/inittab, my daemon never work, unless reboot the machine in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063447#M306241</link>
    <description>After modify the /etc/inittab file, then &lt;BR /&gt;i type 'init q', 'init Q' or 'telinit q' anyway, my daemon process cannot start. &lt;BR /&gt;&lt;BR /&gt;my modification as following: &lt;BR /&gt;mydm:2345:respawn:/sbin/mydm &lt;BR /&gt;&lt;BR /&gt;but if reboot the machine, then everything is ok. (every times) &lt;BR /&gt;&lt;BR /&gt;why and how can I deal with this problem? &lt;BR /&gt;( I want to after modify the /etc/inittab and type 'init q' then my process immediately running. need not reboot) &lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;--Incle</description>
    <pubDate>Fri, 31 Aug 2007 01:17:14 GMT</pubDate>
    <dc:creator>incle</dc:creator>
    <dc:date>2007-08-31T01:17:14Z</dc:date>
    <item>
      <title>after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063446#M306240</link>
      <description>after modify /etc/inittab, my daemon never work, unless reboot the machine</description>
      <pubDate>Fri, 31 Aug 2007 01:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063446#M306240</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-08-31T01:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063447#M306241</link>
      <description>After modify the /etc/inittab file, then &lt;BR /&gt;i type 'init q', 'init Q' or 'telinit q' anyway, my daemon process cannot start. &lt;BR /&gt;&lt;BR /&gt;my modification as following: &lt;BR /&gt;mydm:2345:respawn:/sbin/mydm &lt;BR /&gt;&lt;BR /&gt;but if reboot the machine, then everything is ok. (every times) &lt;BR /&gt;&lt;BR /&gt;why and how can I deal with this problem? &lt;BR /&gt;( I want to after modify the /etc/inittab and type 'init q' then my process immediately running. need not reboot) &lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;--Incle</description>
      <pubDate>Fri, 31 Aug 2007 01:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063447#M306241</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-08-31T01:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063448#M306242</link>
      <description>Can you brief what modifications have you done in you /etc/inittab? Have you got a copy or backup of /etc/inittab file before changes done, check out the differences. &lt;BR /&gt;&lt;BR /&gt;diff changed previous</description>
      <pubDate>Fri, 31 Aug 2007 01:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063448#M306242</guid>
      <dc:creator>Amit Parui</dc:creator>
      <dc:date>2007-08-31T01:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063449#M306243</link>
      <description>#!/bin/bash &lt;BR /&gt;&lt;BR /&gt;echo "Let's begin" &lt;BR /&gt;&lt;BR /&gt;[ -f /home/incle/daemon_other ] &amp;amp;&amp;amp; { &lt;BR /&gt;while fgrep daemon_other /etc/inittab &amp;gt;/dev/null &lt;BR /&gt;do &lt;BR /&gt;echo -e "/daemon_other\nd\nw\nq\n" | ed /etc/inittab - &amp;gt;/dev/null &lt;BR /&gt;done &lt;BR /&gt;echo -e "$\na\ndoor:2345:respawn:/home/incle/daemon_other\n.\nw\nq\n" | &lt;BR /&gt;ed /etc/inittab - &amp;gt;/dev/null &lt;BR /&gt;&lt;BR /&gt;/sbin/init q &lt;BR /&gt;} &lt;BR /&gt;[ -f /home/incle/daemon_loop ] &amp;amp;&amp;amp; { &lt;BR /&gt;while fgrep daemon_loop /etc/inittab &amp;gt;/dev/null &lt;BR /&gt;do &lt;BR /&gt;echo -e "/daemon_loop\nd\nw\nq\n" | ed /etc/inittab - &amp;gt;/dev/null &lt;BR /&gt;done &lt;BR /&gt;echo -e "$\na\ndaem:2345:respawn:/home/incle/daemon_loop\n.\nw\nq\n" | &lt;BR /&gt;ed /etc/inittab - &amp;gt;/dev/null &lt;BR /&gt;&lt;BR /&gt;/sbin/init q &lt;BR /&gt;} &lt;BR /&gt;echo "Good job, bye!"</description>
      <pubDate>Fri, 31 Aug 2007 01:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063449#M306243</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-08-31T01:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063450#M306244</link>
      <description>&amp;gt;And you mean that I should use 'sh' as my shell in the script.&lt;BR /&gt;&lt;BR /&gt;Yes, actually /sbin/sh.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;in my HP machine the /usr never mounted.&lt;BR /&gt;&lt;BR /&gt;/usr/ is mounted with the rest of the file systems when you go to multiuser mode.</description>
      <pubDate>Fri, 31 Aug 2007 02:19:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063450#M306244</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-31T02:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063451#M306245</link>
      <description>Well what's your current/deafult run-level?&lt;BR /&gt;&lt;BR /&gt;who -r&lt;BR /&gt;&lt;BR /&gt;grep initdefault /etc/iniitab&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Fri, 31 Aug 2007 02:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063451#M306245</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2007-08-31T02:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063452#M306246</link>
      <description>&amp;gt;&amp;gt; /usr/ is mounted with the rest of the file systems when you go to multiuser &lt;BR /&gt;&lt;BR /&gt;mode.&lt;BR /&gt;  how to make /usr/ isnt't mounted?  changes the runlever?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Well what's your current/deafult run-level?&lt;BR /&gt;bash-3.2# who -r&lt;BR /&gt;   .       run-level 3  Sep 29 10:25    3    0    S&lt;BR /&gt;bash-3.2#  grep initdefault /etc/inittab&lt;BR /&gt;init:3:initdefault:&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Aug 2007 02:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063452#M306246</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-08-31T02:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063453#M306247</link>
      <description>&amp;gt;how to make /usr/ isn't mounted?  change the run level?&lt;BR /&gt;&lt;BR /&gt;The easiest is to boot into single user mode.</description>
      <pubDate>Fri, 31 Aug 2007 02:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063453#M306247</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-31T02:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063454#M306248</link>
      <description>hmmm - can we do a little test here to confirm this is an init problem and not your daemon (as root):&lt;BR /&gt;&lt;BR /&gt;cat &amp;gt; /init-test &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;#!/sbin/sh&lt;BR /&gt;while true do&lt;BR /&gt;sleep 10&lt;BR /&gt;done&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;chmod u+x /init-test&lt;BR /&gt;&lt;BR /&gt;echo "test:2345:respawn:/init-test" &amp;gt;&amp;gt; /etc/inittab&lt;BR /&gt;&lt;BR /&gt;init q&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep init-test&lt;BR /&gt;&lt;BR /&gt;Do you see the process running or not?&lt;BR /&gt;&lt;BR /&gt;(This little test works fine on my system) &lt;BR /&gt;&lt;BR /&gt;Don't forget to remove this test line from inittab and 'init q' after running all this.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Aug 2007 02:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063454#M306248</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2007-08-31T02:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063455#M306249</link>
      <description>oops - typo:&lt;BR /&gt;&lt;BR /&gt;cat &amp;gt; /init-test &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;#!/sbin/sh&lt;BR /&gt;while true &lt;BR /&gt;do&lt;BR /&gt;sleep 10&lt;BR /&gt;done&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;chmod u+x /init-test&lt;BR /&gt;&lt;BR /&gt;echo "test:2345:respawn:/init-test" &amp;gt;&amp;gt; /etc/inittab&lt;BR /&gt;&lt;BR /&gt;init q&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep init-test&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Aug 2007 02:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063455#M306249</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2007-08-31T02:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063456#M306250</link>
      <description>bash-3.2# vi /etc/inittab&lt;BR /&gt;init:3:initdefault:&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;/etc/opt/resmon/persistence/runlevel4_flag"&lt;BR /&gt;ems4:0123456:respawn:/etc/opt/resmon/lbin/p_client&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;bash-3.2# ./daemon.sh&lt;BR /&gt;+ echo Let's begin&lt;BR /&gt;Let's begin&lt;BR /&gt;+ [ -f /home/incle/daemon_other ]&lt;BR /&gt;+ fgrep daemon_other /etc/inittab&lt;BR /&gt;+ 1&amp;gt; /dev/null&lt;BR /&gt;+ ed /etc/inittab -&lt;BR /&gt;+ echo -e $\na\ndoor:2345:respawn:/home/incle/daemon_other\n.\nw\nq\n&lt;BR /&gt;+ 1&amp;gt; /dev/null&lt;BR /&gt;+ /sbin/init q&lt;BR /&gt;+ [ -f /home/incle/daemon_loop ]&lt;BR /&gt;+ fgrep daemon_loop /etc/inittab&lt;BR /&gt;+ 1&amp;gt; /dev/null&lt;BR /&gt;+ echo -e $\na\ndaem:2345:respawn:/home/incle/daemon_loop\n.\nw\nq\n&lt;BR /&gt;+ ed /etc/inittab -&lt;BR /&gt;+ 1&amp;gt; /dev/null&lt;BR /&gt;+ /sbin/init q&lt;BR /&gt;+ echo Good job, bye!&lt;BR /&gt;Good job, bye!&lt;BR /&gt;bash-3.2#&lt;BR /&gt;bash-3.2#&lt;BR /&gt;bash-3.2# ps -ef|grep daemon_&lt;BR /&gt;    root  3015  2919  1 11:07:29 pts/ta    0:00 grep daemon_&lt;BR /&gt;    root  3009     1 153 11:06:34 ?         0:54 /home/incle/daemon_other&lt;BR /&gt;bash-3.2#&lt;BR /&gt;bash-3.2# uname -a&lt;BR /&gt;HP-UX l1000 B.11.11 U 9000/800 545706547 unlimited-user license&lt;BR /&gt;bash-3.2#&lt;BR /&gt;bash-3.2#init Q&lt;BR /&gt;bash-3.2# ps -ef|grep daemon_&lt;BR /&gt;    root  3020  2919  2 11:08:37 pts/ta    0:00 grep daemon_&lt;BR /&gt;    root  3009     1 229 11:06:34 ?         2:02 /home/incle/daemon_other&lt;BR /&gt;bash-3.2#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-----&lt;BR /&gt;bash-3.2# vi /etc/inittab&lt;BR /&gt;init:3:initdefault:&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;./etc/opt/resmon/persistence/runlevel4_flag"&lt;BR /&gt;ems4:0123456:respawn:/etc/opt/resmon/lbin/p_client&lt;BR /&gt;door:2345:respawn:/home/incle/daemon_other&lt;BR /&gt;daem:2345:respawn:/home/incle/daemon_loop</description>
      <pubDate>Fri, 31 Aug 2007 03:03:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063456#M306250</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-08-31T03:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063457#M306251</link>
      <description>bash-3.2# chmod u+x init-test&lt;BR /&gt;bash-3.2# ls -lat init-test&lt;BR /&gt;-rwxrw-rw-   1 root       sys             39 Sep 29 11:26 init-test&lt;BR /&gt;bash-3.2# echo -e "test:2345:respawn:/home/incle/init-test"&amp;gt;&amp;gt;/etc/inittab&lt;BR /&gt;bash-3.2# init q&lt;BR /&gt;bash-3.2# ps -ef|grep init-test&lt;BR /&gt;    root  3054     1  0 11:27:57 ?         0:00 /sbin/sh /home/incle/init-test&lt;BR /&gt;    root  3058  2919  1 11:28:08 pts/ta    0:00 grep init-test&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Aug 2007 03:16:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063457#M306251</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-08-31T03:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063458#M306252</link>
      <description>see also in my running the ./daemon.sh&lt;BR /&gt;&lt;BR /&gt;you can see just the first(daemon_other) daemon work, but the second(daemon_loop) never work.</description>
      <pubDate>Fri, 31 Aug 2007 03:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063458#M306252</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-08-31T03:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063459#M306253</link>
      <description>And I found use the same script(daemon.sh) to run this daemons( daemon_loop and daemon_other) was OK on RedHat linux-2.6</description>
      <pubDate>Fri, 31 Aug 2007 03:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063459#M306253</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-08-31T03:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063460#M306254</link>
      <description>hi, friends. do you got the same problem?&lt;BR /&gt;and how to deal with it?</description>
      <pubDate>Mon, 03 Sep 2007 21:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063460#M306254</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-09-03T21:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063461#M306255</link>
      <description>hi incle, try assigning points to those who have assisted you. this will encourage more people to participate in the forum. :)</description>
      <pubDate>Mon, 03 Sep 2007 21:57:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063461#M306255</guid>
      <dc:creator>tkc</dc:creator>
      <dc:date>2007-09-03T21:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: after modify /etc/inittab, my daemon never work, unless reboot the machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063462#M306256</link>
      <description>thanks your advice.</description>
      <pubDate>Mon, 03 Sep 2007 22:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-modify-etc-inittab-my-daemon-never-work-unless-reboot-the/m-p/4063462#M306256</guid>
      <dc:creator>incle</dc:creator>
      <dc:date>2007-09-03T22:21:53Z</dc:date>
    </item>
  </channel>
</rss>

