<?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: inetd service issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5974789#M483364</link>
    <description>&lt;P&gt;&amp;gt;Could you please let us know that inetd uses 0x01090522?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is the semaphore key that is used in semget(2) to get the ID.&lt;/P&gt;&lt;P&gt;And tusc shows that inetd uses that key.&amp;nbsp; If you use "ipcs -sa", you should see the PID of inetd too.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Feb 2013 19:44:51 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2013-02-25T19:44:51Z</dc:date>
    <item>
      <title>inetd servi ce issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5968717#M483297</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to start the inetd services but it is not getting started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried with inetd -c command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[root@ncsqas06:/etc]#&lt;BR /&gt;#-&amp;gt; ps -ef | grep -i inetd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp; 4075 20851&amp;nbsp; 0 14:27:45 pts/5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00 grep -i inetd&lt;/P&gt;&lt;P&gt;[root@ncsqas06:/etc]#&lt;BR /&gt;#-&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[root@ncsqas06:/etc]#&lt;BR /&gt;#-&amp;gt; ll /etc/inetd.conf&lt;BR /&gt;-r--r--r--&amp;nbsp;&amp;nbsp; 1 bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5022 Feb 24&amp;nbsp; 2009 /etc/inetd.conf&lt;/P&gt;&lt;P&gt;[root@ncsqas06:/etc]#&lt;BR /&gt;#-&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone please let me know, whats the exact issue&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5968717#M483297</guid>
      <dc:creator>shikhar_1</dc:creator>
      <dc:date>2013-02-19T19:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: inetd servi ce issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5968737#M483298</link>
      <description>&lt;P&gt;'inted -c' simply tells inetd to re-read its configuration file. &amp;nbsp;If inetd isn't running then that will not accomplish anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To start inetd try doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# /sbin/init.d/inetd start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are any errors, post them and we can troubleshoot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should also check /var/adm/syslog/syslog.log for any error messages about inetd.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5968737#M483298</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2013-02-19T19:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: inetd servi ce issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5969503#M483312</link>
      <description>#-&amp;gt; /sbin/init.d/inetd start&lt;BR /&gt;An inetd is already running&lt;BR /&gt;Usage: inetd [-a] [-p proc_limit] [-r count [interval]] [-l | -s]&lt;BR /&gt;inetd [-c]&lt;BR /&gt;inetd [-k]&lt;BR /&gt;EXIT CODE: 255&lt;BR /&gt;Unable to start Internet Services&lt;BR /&gt;&lt;BR /&gt;[root@ncsqas06:/.root]#&lt;BR /&gt;#-&amp;gt;&lt;BR /&gt;&lt;BR /&gt;[root@ncsqas06:/.root]#&lt;BR /&gt;#-&amp;gt; ps -ef | grep -i inetd&lt;BR /&gt;root 14526 14099 0 07:14:45 pts/0 0:00 grep -i inetd&lt;BR /&gt;&lt;BR /&gt;[root@ncsqas06:/.root]#&lt;BR /&gt;#-&amp;gt; /sbin/init.d/inetd -k&lt;BR /&gt;usage: /sbin/init.d/inetd {start|stop}&lt;BR /&gt;&lt;BR /&gt;[root@ncsqas06:/.root]#&lt;BR /&gt;#-&amp;gt; /sbin/init.d/inetd stop&lt;BR /&gt;Terminated&lt;BR /&gt;&lt;BR /&gt;[root@ncsqas06:/.root]#&lt;BR /&gt;#-&amp;gt; /sbin/init.d/inetd start&lt;BR /&gt;An inetd is already running&lt;BR /&gt;Usage: inetd [-a] [-p proc_limit] [-r count [interval]] [-l | -s]&lt;BR /&gt;inetd [-c]&lt;BR /&gt;inetd [-k]&lt;BR /&gt;EXIT CODE: 255&lt;BR /&gt;Unable to start Internet Services&lt;BR /&gt;&lt;BR /&gt;[root@ncsqas06:/.root]#&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2013 12:15:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5969503#M483312</guid>
      <dc:creator>shikhar_1</dc:creator>
      <dc:date>2013-02-20T12:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: inetd servi ce issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5969785#M483314</link>
      <description>&lt;P&gt;I have tired to restart it but it is not getting started and these below logs are getting generated on the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#-&amp;gt; ps -ef | grep -i inetd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; root 23682 14099&amp;nbsp; 0 11:06:53 pts/0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00 grep -i inetd&lt;/P&gt;&lt;P&gt;[root@ncsqas06:/var/adm/syslog]#&lt;BR /&gt;#-&amp;gt; uname -a&lt;BR /&gt;HP-UX ncsqas06 B.11.23 U ia64 3127169658 unlimited-user license&lt;/P&gt;&lt;P&gt;[root@ncsqas06:/var/adm/syslog]#&lt;BR /&gt;#-&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feb 20 11:05:02 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23205 (/opt/TIDAL/Agent/lib/HP-UX11i/tjb) to PRMID 0&lt;BR /&gt;Feb 20 11:05:13 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23355 (/usr/openv/netbackup/bin/bpcd) to PRMID 1&lt;BR /&gt;Feb 20 11:05:14 ncsqas06 HP-PRM: [5976]: prm1d: moved pgrp 23356 (/opt/quest/qmxcm/libexec/qmxsmsoopcpp1pr) to PRMID 1&lt;BR /&gt;Feb 20 11:05:21 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23372 (/usr/openv/netbackup/bin/bpcd) to PRMID 1&lt;BR /&gt;Feb 20 11:05:30 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23397 (/usr/openv/netbackup/bin/bpcd) to PRMID 1&lt;BR /&gt;Feb 20 11:05:30 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23396 (/usr/openv/netbackup/bin/bpcd) to PRMID 1&lt;BR /&gt;Feb 20 11:05:55 ncsqas06 HP-PRM: [5976]: prm1d: moved pid 23458 (/usr/openv/netbackup/bin/bpcd) to PRMID 1&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 16:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5969785#M483314</guid>
      <dc:creator>shikhar_1</dc:creator>
      <dc:date>2013-02-20T16:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: inetd service issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5970061#M483318</link>
      <description>&lt;P&gt;&amp;gt;I have tired to restart it but it is not getting started&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may want to try tusc to see what errors inetd is getting.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 22:05:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5970061#M483318</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-02-20T22:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: inetd service issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5970905#M483323</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;#-&amp;gt; /home/sverma8/tusc/tusc/tusc-RUN/usr/local/bin/tusc -f -p -T "%c" -k -o /tmp/tusc_inetd_start inetd&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;An inetd is already running&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;Usage:&amp;nbsp; inetd [-a] [-p proc_limit] [-r count [interval]] [-l | -s]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inetd [-c]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inetd [-k]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 13:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5970905#M483323</guid>
      <dc:creator>shikhar_1</dc:creator>
      <dc:date>2013-02-21T13:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: inetd service issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5971579#M483327</link>
      <description>&lt;P&gt;&amp;gt;I have tried with inetd -c command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you get a message saying: There is no inetd running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;An inetd is already running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it now running?&amp;nbsp; Or were you very unlucky and caught it just before it died?&lt;/P&gt;&lt;P&gt;Have you changed /etc/inetd.conf recently and broken it?&amp;nbsp; (I guess not since Feb 2009.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might want to use "inetd -l" to turn on logging.&lt;/P&gt;&lt;P&gt;And look at syslog to see if any messages.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 22:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5971579#M483327</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-02-21T22:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: inetd service issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5972095#M483329</link>
      <description>&lt;P&gt;Since you ran inetd with tusc, the /tmp/tusc_inetd_start file should now contain a list of all the system calls made by inetd in that start attempt. Examining that file should reveal what inetd was checking to see if it's already running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look for the "An inetd is already running" message in the tusc output file, then look for filenames it accesses just before that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't know how to interpret the tusc output file (/tmp/tusc_inetd_start according to the command you used), please attach it to this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently inetd does not have a PID file, so the reason for this behavior cannot be a stale PID file. Maybe a stale UNIX socket/FIFO or something like that?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2013 10:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5972095#M483329</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-02-22T10:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: inetd service issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5973303#M483338</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching the file &amp;nbsp;/tmp/tusc_inetd_start.&lt;/P&gt;&lt;P&gt;Please review it.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2013 14:57:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5973303#M483338</guid>
      <dc:creator>shikhar_1</dc:creator>
      <dc:date>2013-02-24T14:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: inetd service issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5973407#M483339</link>
      <description>&lt;P&gt;Thu Feb 21 07:27:50 2013 [8057] semget(0x1090522, 1, 0) .................................. = 16390&lt;/P&gt;&lt;P&gt;Thu Feb 21 07:27:50 2013 [8057] semctl(16390, 0, GETPID, 0) .............................. = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These entries indicate that a leftover inetd semaphore with the key&amp;nbsp; 0x1090522 is the problem.&lt;/P&gt;&lt;P&gt;Did someone use a kill -9 on inetd?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may want to list it: ipcs -sa&lt;/P&gt;&lt;P&gt;You can cleanup by: ipcrm -s 16390&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;Maybe a stale UNIX socket/FIFO or something like that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmm, a stale semaphore.&amp;nbsp; And they are trying to get a PID out of it and not recognizing a PID of 0, isn't much good.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2013 21:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5973407#M483339</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-02-24T21:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: inetd service issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5974421#M483357</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply and solution. Now after doing ipcrm -s 16390. Inetd services started and looks good.&lt;BR /&gt;&lt;BR /&gt;Now I can see inetd services running after removing the semaphore with the given command.&lt;BR /&gt;&lt;BR /&gt;Could you please let us know that inetd uses 0x01090522?&lt;BR /&gt;&lt;BR /&gt;[root@ncsqas06:/home/sverma8]#&lt;BR /&gt;#-&amp;gt; ps -ef | grep -i inetd&lt;BR /&gt;root 25897 1 0 13:23:04 ? 0:00 /usr/sbin/inetd -l&lt;BR /&gt;root 12513 8464 0 14:06:22 pts/2 0:00 grep -i inetd&lt;BR /&gt;&lt;BR /&gt;[root@ncsqas06:/home/sverma8]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the previous output I can see these outputs.&lt;BR /&gt;&lt;BR /&gt;Thu Feb 21 07:27:50 2013 [8057] semget(0x1090522, 1, 0) .................................. = 16390 Thu Feb 21 07:27:50 2013 [8057] semctl(16390, 0, GETPID, 0) .............................. = 0&lt;BR /&gt;&lt;BR /&gt;============&lt;BR /&gt;From old ipcs -s&lt;BR /&gt;&lt;BR /&gt;IPC status from /dev/kmem as of Thu Feb 21 12:15:51 2013&lt;BR /&gt;T ID KEY MODE OWNER GROUP&lt;BR /&gt;Semaphores:&lt;BR /&gt;s 16390 0x01090522 --ra-r--r-- root root&lt;BR /&gt;&lt;BR /&gt;Could you please let us know that inetd uses 0x01090522?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:20:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5974421#M483357</guid>
      <dc:creator>shikhar_1</dc:creator>
      <dc:date>2013-02-25T13:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: inetd service issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5974789#M483364</link>
      <description>&lt;P&gt;&amp;gt;Could you please let us know that inetd uses 0x01090522?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is the semaphore key that is used in semget(2) to get the ID.&lt;/P&gt;&lt;P&gt;And tusc shows that inetd uses that key.&amp;nbsp; If you use "ipcs -sa", you should see the PID of inetd too.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 19:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-servi-ce-issue/m-p/5974789#M483364</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-02-25T19:44:51Z</dc:date>
    </item>
  </channel>
</rss>

