<?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: Problem with /etc/rc.log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446310#M769550</link>
    <description>As mentioned before, raw mode will not print messages to /etc/rc.log.  A variable called LIST_MODE can override the default which is to print messages to /etc/rc.log based on a valid return code of 0,1,2, or 3.  &lt;BR /&gt;&lt;BR /&gt;LIST_MODE has 4 options.  0 is the default. 3 is the option which puts your script in raw mode notification and prints output only to the console.&lt;BR /&gt;&lt;BR /&gt;Take a look at /etc/rc.config.d/list_mode file for this info.&lt;BR /&gt;&lt;BR /&gt;It is probably unlikely that you are setting the LIST_MODE variable in your script but I just wanted to clarify the issue.&lt;BR /&gt;&lt;BR /&gt;Tony</description>
    <pubDate>Tue, 19 Sep 2000 13:14:16 GMT</pubDate>
    <dc:creator>Anthony deRito</dc:creator>
    <dc:date>2000-09-19T13:14:16Z</dc:date>
    <item>
      <title>Problem with /etc/rc.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446303#M769543</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have 4 engines D220 HP-UX 10.20 with a C home-made application.&lt;BR /&gt;The daemons are launched from shell-scripts with nohup during the boot (links from /sbin/init.d to /etc/rc2.d)&lt;BR /&gt;&lt;BR /&gt;All the logs on this application are on a /var/adm/syslog file or nohup.out files. But, on one machine, there is logs on /etc/rc.log file.&lt;BR /&gt;&lt;BR /&gt;Do you have some ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Tue, 19 Sep 2000 11:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446303#M769543</guid>
      <dc:creator>PUJOL Gregory</dc:creator>
      <dc:date>2000-09-19T11:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/rc.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446304#M769544</link>
      <description>The /etc/rc.log is the boot up/shutdown log file for all startup/shutdown scripts.</description>
      <pubDate>Tue, 19 Sep 2000 11:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446304#M769544</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-09-19T11:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/rc.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446305#M769545</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;/etc/rc.log receives the start/stop entries for all standard rc&lt;N&gt;.d scripts.  /var/adm/syslog/syslog.log can be the recipient of log messages when logging is enabled, as for instance, when the ftpd daemon is initiated.  See man 1M 'syslogd', man 'syslog', man 'logger', and man 'ftpd' for more information and examples.&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/N&gt;</description>
      <pubDate>Tue, 19 Sep 2000 12:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446305#M769545</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-09-19T12:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/rc.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446306#M769546</link>
      <description>There are 2 modes of notification when startup scripts run from /sbin/init.d.  They are raw mode and checklist mode.  If the script is using checklist mode, both stderr and stdout is redirected to /etc/rc.log.  If the script is using raw mode, both stderr and stdout go to the console.&lt;BR /&gt;&lt;BR /&gt;What mode the script is in is based on the exit value of the startup script. They are:&lt;BR /&gt;&lt;BR /&gt;0 - no error, OK in checklist (rc.log)&lt;BR /&gt;1 - error, fail in checklist (rc.log)&lt;BR /&gt;2 - skipped, N/A in checklist (rc.log)&lt;BR /&gt;3 - reserved&lt;BR /&gt;&lt;BR /&gt;These are the ONLY values acceptable. Any other value will appear as Skipped in checklist.&lt;BR /&gt;&lt;BR /&gt;Take a look at the /sbin/init.d/template file which will explain this in more detail.  All of your startup scripts should use this template for consistency.&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Tue, 19 Sep 2000 12:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446306#M769546</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-09-19T12:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/rc.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446307#M769547</link>
      <description>The standard output and standard error of all startup scripts are directed to /etc/rc.log - see man rc.&lt;BR /&gt;&lt;BR /&gt;There must be a difference in the way that you start your application on this one server or the application itself.&lt;BR /&gt;&lt;BR /&gt;Are you not using nohup?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Sep 2000 12:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446307#M769547</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-19T12:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/rc.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446308#M769548</link>
      <description>Yes, we use nohup...&lt;BR /&gt;&lt;BR /&gt;The main script launch differents scripts, then these scripts launch binary programs with nohup.</description>
      <pubDate>Tue, 19 Sep 2000 12:41:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446308#M769548</guid>
      <dc:creator>PUJOL Gregory</dc:creator>
      <dc:date>2000-09-19T12:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/rc.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446309#M769549</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;On all the machines are the scripts launched at the same point?  I assume that syslogd is running, when the script in question is started?  Perhaps you could post the startup script that is misbehaving, too.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 19 Sep 2000 13:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446309#M769549</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-09-19T13:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with /etc/rc.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446310#M769550</link>
      <description>As mentioned before, raw mode will not print messages to /etc/rc.log.  A variable called LIST_MODE can override the default which is to print messages to /etc/rc.log based on a valid return code of 0,1,2, or 3.  &lt;BR /&gt;&lt;BR /&gt;LIST_MODE has 4 options.  0 is the default. 3 is the option which puts your script in raw mode notification and prints output only to the console.&lt;BR /&gt;&lt;BR /&gt;Take a look at /etc/rc.config.d/list_mode file for this info.&lt;BR /&gt;&lt;BR /&gt;It is probably unlikely that you are setting the LIST_MODE variable in your script but I just wanted to clarify the issue.&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Tue, 19 Sep 2000 13:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-etc-rc-log/m-p/2446310#M769550</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-09-19T13:14:16Z</dc:date>
    </item>
  </channel>
</rss>

