<?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: rc.log warning in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597917#M232437</link>
    <description>From just looking at it, I don't see a problem and I don't have an HPUX to try it on, but you can execute this line:&lt;BR /&gt;sh -x /sbin/rc1.d/S320hostname start&lt;BR /&gt;&lt;BR /&gt;And you'll see what line gives you the error ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
    <pubDate>Sat, 06 Aug 2005 15:53:31 GMT</pubDate>
    <dc:creator>Alex Lavrov.</dc:creator>
    <dc:date>2005-08-06T15:53:31Z</dc:date>
    <item>
      <title>rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597914#M232434</link>
      <description>/etc/rc.log contains 30+ of the following type of warning/error (2 samples); any idea what is going on here; things seem to be working OK regardless:&lt;BR /&gt;&lt;BR /&gt;[sample #1]&lt;BR /&gt;Setting hostname&lt;BR /&gt;Output from "/sbin/rc1.d/S320hostname start":&lt;BR /&gt;----------------------------&lt;BR /&gt;/sbin/rc1.d/S320hostname[36]: Start:  not found.&lt;BR /&gt;&lt;BR /&gt;[sample #2]&lt;BR /&gt;Start Internet services daemon&lt;BR /&gt;Output from "/sbin/rc2.d/S500inetd start":&lt;BR /&gt;----------------------------&lt;BR /&gt;/sbin/rc2.d/S500inetd[37]: Start:  not found.&lt;BR /&gt;Internet Services started&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;</description>
      <pubDate>Sat, 06 Aug 2005 14:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597914#M232434</guid>
      <dc:creator>Lonny Balderston</dc:creator>
      <dc:date>2005-08-06T14:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597915#M232435</link>
      <description>I guess that there is some mistype in the script. For some reson it tries to execute "Start".&lt;BR /&gt;&lt;BR /&gt;If you can paste here the source of the script, we'll see the problem.</description>
      <pubDate>Sat, 06 Aug 2005 15:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597915#M232435</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-08-06T15:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597916#M232436</link>
      <description>The two scripts follow: &lt;BR /&gt;[/sbin/rc1.d/S320hostname]&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;#&lt;BR /&gt;# @(#) $Revision: 72.10 $&lt;BR /&gt;#&lt;BR /&gt;# NOTE:    This script is not configurable!  Any changes made to this&lt;BR /&gt;#          scipt will be overwritten when you upgrade to the next&lt;BR /&gt;#          release of HP-UX.&lt;BR /&gt;#&lt;BR /&gt;# WARNING: Changing this script in any way may lead to a system that&lt;BR /&gt;#          is unbootable.  Do not modify this script.&lt;BR /&gt;#&lt;BR /&gt; &lt;BR /&gt;#&lt;BR /&gt;# Set hostname&lt;BR /&gt;#&lt;BR /&gt; &lt;BR /&gt;PATH=/sbin:/usr/sbin:/usr/bin&lt;BR /&gt;export PATH&lt;BR /&gt; &lt;BR /&gt;rval=0&lt;BR /&gt;set_return() {&lt;BR /&gt;        x=$?&lt;BR /&gt;        if [ $x -ne 0 ]; then&lt;BR /&gt;                echo "EXIT CODE: $x"&lt;BR /&gt;                rval=1&lt;BR /&gt;        fi&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt;case $1 in&lt;BR /&gt;start_msg)&lt;BR /&gt;        echo "Setting hostname"&lt;BR /&gt;        ;;&lt;BR /&gt; &lt;BR /&gt;start)&lt;BR /&gt;        if [ -f /etc/rc.config ] ; then&lt;BR /&gt;                . /etc/rc.config&lt;BR /&gt;        else&lt;BR /&gt;                echo "ERROR: /etc/rc.config defaults file MISSING"&lt;BR /&gt;        fi&lt;BR /&gt; &lt;BR /&gt;        hostname $HOSTNAME&lt;BR /&gt;        set_return&lt;BR /&gt; &lt;BR /&gt;        if [ -z "$NODENAME" ] ; then&lt;BR /&gt;           uname -S ${HOSTNAME%%.*}&lt;BR /&gt;        else&lt;BR /&gt;           uname -S $NODENAME&lt;BR /&gt;        fi&lt;BR /&gt;        set_return&lt;BR /&gt; &lt;BR /&gt;        setuname -s $OPERATING_SYSTEM -t&lt;BR /&gt;        set_return&lt;BR /&gt;        ;;&lt;BR /&gt; &lt;BR /&gt;*)&lt;BR /&gt;        echo "usage: $0 {start}"&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt; &lt;BR /&gt;exit $rval&lt;BR /&gt;[/sbin/rc2.d/S500inetd]&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;#&lt;BR /&gt;# @(#) inetd $Revision: 1.4.214.2 $ $Date: 96/10/08 13:24:29 $&lt;BR /&gt;#&lt;BR /&gt;#           Copyright (C) 1993, 1994 Hewlett-Packard Company&lt;BR /&gt;#&lt;BR /&gt;# NOTE:    This script is not configurable!  Any changes made to this&lt;BR /&gt;#          script will be overwritten when you upgrade to the next&lt;BR /&gt;#          release of HP-UX.&lt;BR /&gt;#&lt;BR /&gt;unset UNIX95&lt;BR /&gt;PRE_U95=true;export PRE_U95;&lt;BR /&gt; &lt;BR /&gt;PATH=/sbin:/usr/sbin:/usr/bin&lt;BR /&gt;export PATH&lt;BR /&gt; &lt;BR /&gt;rval=0&lt;BR /&gt;set_return() {&lt;BR /&gt;        x=$?&lt;BR /&gt;        if [ $x -ne 0 ]; then&lt;BR /&gt;                echo "EXIT CODE: $x"&lt;BR /&gt;                rval=1  # always 1 so that 2 can be used for other reasons&lt;BR /&gt;        fi&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt;case "$1" in&lt;BR /&gt;start_msg)&lt;BR /&gt;        echo "Start Internet services  daemon"&lt;BR /&gt;        ;;&lt;BR /&gt; &lt;BR /&gt;stop_msg)&lt;BR /&gt;        echo "Stopping Internet services daemon"&lt;BR /&gt;        ;;&lt;BR /&gt; &lt;BR /&gt;'start')&lt;BR /&gt;        if [ -f /etc/rc.config ]; then&lt;BR /&gt;                . /etc/rc.config&lt;BR /&gt;        else&lt;BR /&gt;                echo "ERROR: /etc/rc.config defaults file MISSING"&lt;BR /&gt;        fi&lt;BR /&gt; &lt;BR /&gt;        mask=`umask`&lt;BR /&gt;        umask 000&lt;BR /&gt; &lt;BR /&gt;        [ -x /usr/sbin/inetd ] &amp;amp;&amp;amp; /usr/sbin/inetd $INETD_ARGS&lt;BR /&gt;        set_return&lt;BR /&gt;        if [ $rval -eq 0 ]; then&lt;BR /&gt;                echo "Internet Services started"&lt;BR /&gt;        else&lt;BR /&gt;                echo "Unable to start Internet Services"&lt;BR /&gt;        fi&lt;BR /&gt; &lt;BR /&gt;        umask $mask&lt;BR /&gt;        ;;&lt;BR /&gt; &lt;BR /&gt;'stop')&lt;BR /&gt;        if [ -f /etc/rc.config ]; then&lt;BR /&gt;                . /etc/rc.config&lt;BR /&gt;        else&lt;BR /&gt;                echo "ERROR: /etc/rc.config defaults file MISSING"&lt;BR /&gt;        fi&lt;BR /&gt; &lt;BR /&gt;        /usr/sbin/inetd -k&lt;BR /&gt;        set_return&lt;BR /&gt;        if [ $rval -eq 0 ]; then&lt;BR /&gt;                echo "Internet Services stopped"&lt;BR /&gt;        else&lt;BR /&gt;                echo "Unable to stop Internet Services"&lt;BR /&gt;        fi&lt;BR /&gt;        ;;&lt;BR /&gt; &lt;BR /&gt;*)&lt;BR /&gt;        echo "usage: $0 {start|stop}"&lt;BR /&gt;        rval=1&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt; &lt;BR /&gt;exit $rval&lt;BR /&gt;##############################&lt;BR /&gt;Thank you!</description>
      <pubDate>Sat, 06 Aug 2005 15:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597916#M232436</guid>
      <dc:creator>Lonny Balderston</dc:creator>
      <dc:date>2005-08-06T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597917#M232437</link>
      <description>From just looking at it, I don't see a problem and I don't have an HPUX to try it on, but you can execute this line:&lt;BR /&gt;sh -x /sbin/rc1.d/S320hostname start&lt;BR /&gt;&lt;BR /&gt;And you'll see what line gives you the error ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Sat, 06 Aug 2005 15:53:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597917#M232437</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-08-06T15:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597918#M232438</link>
      <description>Check in /sbin/init.d for junk and temp files. Same with /etc/rc.config.d. The fastest way to find these rogue files is to use ll -t (sorted by most recent time):&lt;BR /&gt; &lt;BR /&gt;ll -t /sbin/init.d&lt;BR /&gt;ll -t /etc/rc.config.d&lt;BR /&gt; &lt;BR /&gt;You cannot store any test files or temp files in these directories, particularly in /etc/rc.config.d.</description>
      <pubDate>Sat, 06 Aug 2005 19:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597918#M232438</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-06T19:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597919#M232439</link>
      <description>Just a note about troubleshooting scripts. The error message tells all:&lt;BR /&gt; &lt;BR /&gt;/sbin/rc2.d/S500inetd[37]: Start: not found.&lt;BR /&gt; &lt;BR /&gt;If you look at line 37 of the inetd script, you'll see where it sources (reads) a script called /etc/rc.config, which in turn runs all the scripts in the /etc/rc.config.d/ directory. Look for "Start" in that directory.</description>
      <pubDate>Sat, 06 Aug 2005 19:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597919#M232439</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-06T19:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597920#M232440</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can post the output of the command as suggested above as well. &lt;BR /&gt;&lt;BR /&gt;#sh -x /sbin/rc1.d/S320hostname start&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender&lt;BR /&gt;</description>
      <pubDate>Sat, 06 Aug 2005 20:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597920#M232440</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-08-06T20:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597921#M232441</link>
      <description>please verify the content of /sbin/rc file. Looks like there is some typo in that file. Please look for the lines calling add_list() function. &lt;BR /&gt;&lt;BR /&gt;The syntax must be either of &lt;BR /&gt;add_list "$name start" "$descrip"&lt;BR /&gt;or&lt;BR /&gt;add_list "$name stop" "$descrip"&lt;BR /&gt;&lt;BR /&gt;The "start" and "stop" keywords must be completely lower-case. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Amit</description>
      <pubDate>Mon, 08 Aug 2005 01:04:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597921#M232441</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-08-08T01:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: rc.log warning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597922#M232442</link>
      <description>/sbin/rc1.d/S320hostname[36]: Start: not found.&lt;BR /&gt;/sbin/rc2.d/S500inetd[37]: Start: not found.&lt;BR /&gt;&lt;BR /&gt;Its contains . /etc/rc.config in above files.&lt;BR /&gt;&lt;BR /&gt;Its seems there is a duplicate file/ non hpux configuration file exists in this  /etc/rc.config.d directory. Please move the file to different directory.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Aug 2005 04:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-log-warning/m-p/3597922#M232442</guid>
      <dc:creator>Sreedhar Nathani</dc:creator>
      <dc:date>2005-08-08T04:42:12Z</dc:date>
    </item>
  </channel>
</rss>

