<?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: missing some scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996620#M779628</link>
    <description>I have a typical another server, do you think copying the scripts will be a good idea?&lt;BR /&gt;&lt;BR /&gt;I checked Apache it seems ok, no unusual swremove has been done different than the other server. maybe some changes in /etc/rc.config.d/nfsconf but nothing more.</description>
    <pubDate>Thu, 10 Aug 2006 15:19:13 GMT</pubDate>
    <dc:creator>simon_164</dc:creator>
    <dc:date>2006-08-10T15:19:13Z</dc:date>
    <item>
      <title>missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996616#M779624</link>
      <description>I have the error on shutdown:&lt;BR /&gt;&lt;BR /&gt;/sbin/rc2.d/K177hpws_apache[46]: 1: not found.&lt;BR /&gt;/sbin/rc2.d/K177hpws_tomcat[46]: 1: not found.&lt;BR /&gt;/sbin/rc2.d/K177hpws_webmin[45]: 1: not found.&lt;BR /&gt;/sbin/rc2.d/K177hpws_webproxy[44]: 1: not found.&lt;BR /&gt;/sbin/rc2.d/K177hpws_xmltools[42]: 1: not found.&lt;BR /&gt;/sbin/rc1.d/K300acct [39]: 1: not found.&lt;BR /&gt;/sbin/rc1.d/K410Rpcd[30]: 1: not found.&lt;BR /&gt;/sbin/rc1.d/K604runner[21]: 1: not found.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and the error on startup:&lt;BR /&gt;&lt;BR /&gt;/sbin/rc2.d/S130pfilboot[5]: 1:  not found.&lt;BR /&gt;/sbin/rc2.d/S131ipfboot[6]: 1:  not found.&lt;BR /&gt;/sbin/rc2.d/S590Rpcd[30]: 1:  not found.&lt;BR /&gt;/sbin/rc2.d/S606runner[21]: 1:  not found.&lt;BR /&gt;/sbin/rc2.d/S700acct[39]: 1:  not found.&lt;BR /&gt;/sbin/rc3.d/S823hpws_apache[46]: 1:  not found.&lt;BR /&gt;/sbin/rc3.d/S823hpws_tomcat[46]: 1:  not found.&lt;BR /&gt;/sbin/rc3.d/S823hpws_webmin[45]: 1:  not found.&lt;BR /&gt;/sbin/rc3.d/S823hpws_webproxy[44]: 1:  not found.&lt;BR /&gt;/sbin/rc3.d/S823hpws_xmltools[42]: 1:  not found.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any one have an idea? why i am missing these files?</description>
      <pubDate>Thu, 10 Aug 2006 15:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996616#M779624</guid>
      <dc:creator>simon_164</dc:creator>
      <dc:date>2006-08-10T15:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996617#M779625</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It looks that APACHE has been uninstalled wrongly.&lt;BR /&gt;Install it and the messages will disappear.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Thu, 10 Aug 2006 15:14:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996617#M779625</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-08-10T15:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996618#M779626</link>
      <description>have any of the following occurred recently:&lt;BR /&gt;&lt;BR /&gt;swinstall (possibly one that failed)&lt;BR /&gt;swremove&lt;BR /&gt;recent patching?&lt;BR /&gt;&lt;BR /&gt;it looks like either some web services were removed, or that they didn't get all the way installed&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2006 15:16:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996618#M779626</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2006-08-10T15:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996619#M779627</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't think, a file or command '1' is missing. I think, there is an invalid assignment to variables.&lt;BR /&gt;Look at this:&lt;BR /&gt;&lt;BR /&gt;a= 1  # blank seperated&lt;BR /&gt;will result in&lt;BR /&gt;ksh: 1: not found&lt;BR /&gt;&lt;BR /&gt;Check for such changes in &lt;BR /&gt;/etc/rc.config.d/*&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2006 15:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996619#M779627</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-08-10T15:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996620#M779628</link>
      <description>I have a typical another server, do you think copying the scripts will be a good idea?&lt;BR /&gt;&lt;BR /&gt;I checked Apache it seems ok, no unusual swremove has been done different than the other server. maybe some changes in /etc/rc.config.d/nfsconf but nothing more.</description>
      <pubDate>Thu, 10 Aug 2006 15:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996620#M779628</guid>
      <dc:creator>simon_164</dc:creator>
      <dc:date>2006-08-10T15:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996621#M779629</link>
      <description>I would bet that you have a file somewhere in /etc/rc.config.d that has some bad syntax.&lt;BR /&gt;&lt;BR /&gt;Try the following (as just a normal user, not root):&lt;BR /&gt;&lt;BR /&gt;set -x&lt;BR /&gt;. /etc/rc.config&lt;BR /&gt;&lt;BR /&gt;See if the error pops up, and then see what fname= was immediately above it. The fname is a file, so look in /etc/rc.config.d at that file and see if there is a syntax issue somewhere.</description>
      <pubDate>Thu, 10 Aug 2006 15:20:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996621#M779629</guid>
      <dc:creator>Jonathan Fife</dc:creator>
      <dc:date>2006-08-10T15:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996622#M779630</link>
      <description>Hi Simon:&lt;BR /&gt;&lt;BR /&gt;You don't have missing scripts but rather a corrupted file(s) in '/etc/rc.config.d/'.&lt;BR /&gt;&lt;BR /&gt;If you look at the comments in '/etc/rc.config' you will see that files in this directory are expected to follow a strict naming convention if they are not to be processed during startup and shutdown.&lt;BR /&gt;&lt;BR /&gt;When '/sbin/rc' runs, the '/etc/rc.config.d' directory is examined by the script '/etc/rc.config'. This script skips any file whose basename contains an "extension" that begins with the characters [.,~#].&lt;BR /&gt;&lt;BR /&gt;Thus, it is permissible to have 'netconf' and 'netconf.old'. The '.old' backup will *not* be processed.&lt;BR /&gt;&lt;BR /&gt;If, however, you had kept an old version of your 'netconf' file named as, 'oldnetconf', then *both* 'netconf' and 'oldnetconf' would be sourced. Since the letter "o" follows "n", the result would be undesirable insofar as the last variable declarations seen would be from the wrong file. &lt;BR /&gt;&lt;BR /&gt;One way to find bogus files that cause prolems is to do:&lt;BR /&gt;&lt;BR /&gt;# sh -vx /etc/rc.config 2&amp;gt;&amp;amp;1|more&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2006 15:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996622#M779630</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-08-10T15:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996623#M779631</link>
      <description>Check the directory contents in:&lt;BR /&gt;/etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;If you do an ls -l, I'd almost bet you will find it comes up with trash, like a filename w/ control characters or something along those lines, maybe a &lt;BLANK&gt;1. &lt;BR /&gt;&lt;BR /&gt;this is related to your other post as well&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1050553" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1050553&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;as the rpc daemons aren't coming up&lt;BR /&gt;&lt;BR /&gt;the file listed are complaining about a file "1" not being found.  The scripts referred to are running /etc/rc.config&lt;BR /&gt;which in turn tries to "source" files in /etc/rc.config.d.&lt;/BLANK&gt;</description>
      <pubDate>Thu, 10 Aug 2006 15:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996623#M779631</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2006-08-10T15:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996624#M779632</link>
      <description>sh -vx --- did not show anything i can understand as errors.&lt;BR /&gt;ls -l also did not show any particular error.&lt;BR /&gt;I am comparing with a different system, I am having the same scripts and file on both systems in the same location. Any other idea?&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2006 15:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996624#M779632</guid>
      <dc:creator>simon_164</dc:creator>
      <dc:date>2006-08-10T15:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996625#M779633</link>
      <description>Try this:&lt;BR /&gt;&lt;BR /&gt;# cd /etc/rc.config.d&lt;BR /&gt;# grep "= 1" *&lt;BR /&gt;&lt;BR /&gt;And see what comes back.  If anything is returned, the edit the script and remove the space between the = and the 1.  There should never be and spaces between the variable names, the = signs and the values in any files.  Everything should look like:&lt;BR /&gt;&lt;BR /&gt;VAR=0&lt;BR /&gt;VAR=1</description>
      <pubDate>Thu, 10 Aug 2006 15:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996625#M779633</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-08-10T15:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996626#M779634</link>
      <description>Ah, a classic HP-UX startup/shutdown puzzle.&lt;BR /&gt;&lt;BR /&gt;The numbers in square brackets are line numbers in each script. For example,&lt;BR /&gt;&lt;BR /&gt;/sbin/rc2.d/S590Rpcd[30]: ...&lt;BR /&gt;&lt;BR /&gt;means that an error has occurred on the 30th line of the script /sbin/rc2.d/S590Rpcd.&lt;BR /&gt;&lt;BR /&gt;The rest of the message is a description of the error: "1: not found." It turns out that HP-UX is trying to find a command that would be named simply as "1". Unix is terse, but not quite *that* terse.&lt;BR /&gt;&lt;BR /&gt;At this point, you could figure this one out by sitting down and working your way through the totality of the HP-UX startup/shutdown sequences. While that might be enlightening, it would require quite a lot of time that might be better spent more constructively.&lt;BR /&gt;&lt;BR /&gt;It turns out that most scripts called from /sbin/rc?.d directories have something in common. A snippet like this:&lt;BR /&gt;&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;Each script that has this snippet in it will read /etc/rc.config and execute it as a part of itself. You might note that all the line numbers in your error messages, in each script that produces the error message, will refer to a line that says:&lt;BR /&gt;&lt;BR /&gt;        . /etc/rc.config&lt;BR /&gt;&lt;BR /&gt;So the actual problem might be with /etc/rc.config. But no HP-UX administrator has any reason to modify that script, and any typos in that would be noticed, reported as a bug and patched long ago. &lt;BR /&gt;&lt;BR /&gt;Actually, /etc/rc.config loops through each file in /etc/rc.config.d and... executes each of them in the same way as /etc/rc.config was executed in the original script. So if several startup/shutdown scripts give similar error messages, the problem is somewhere in /etc/rc.config.d.&lt;BR /&gt;&lt;BR /&gt;Let me emphasize: the problem is *not* with the scripts in /sbin/rc?.d directories. The problem is in one of the files in /etc/rc.config.d/ directory.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2006 15:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996626#M779634</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-08-10T15:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996627#M779635</link>
      <description>no significant output.&lt;BR /&gt;someone mentioned my other thread about showmount not working, I have another system similar to this one, absolutely the same, other than IP and ..&lt;BR /&gt;now Showmount on the other system does not work although no error at startup or shutdown.&lt;BR /&gt;&lt;BR /&gt;I have to /usr/sbin/rpc.mountd to be able to make showmount and not get the error RPC: program not registered</description>
      <pubDate>Thu, 10 Aug 2006 16:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996627#M779635</guid>
      <dc:creator>simon_164</dc:creator>
      <dc:date>2006-08-10T16:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996628#M779636</link>
      <description>Hi (again) Simon:&lt;BR /&gt;&lt;BR /&gt;Thy this:&lt;BR /&gt;&lt;BR /&gt;# sh -vx /etc/rc.config &amp;gt; /tmp/myrcerrs 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;...Now 'vi' the file and find the string 'found'.  When you do, look for the script that was sourced when the error occured.  You should see a line above the "not found" (for example) like:&lt;BR /&gt;&lt;BR /&gt;+ . /etc/rc.config.d/netconf &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2006 16:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996628#M779636</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-08-10T16:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: missing some scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996629#M779637</link>
      <description>I found the solution , Yuppeeee !!&lt;BR /&gt;I am not gonna tell you what :d.&lt;BR /&gt;No really there was an extra file over there, I removed it and Voila !.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2006 17:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/missing-some-scripts/m-p/4996629#M779637</guid>
      <dc:creator>simon_164</dc:creator>
      <dc:date>2006-08-10T17:36:43Z</dc:date>
    </item>
  </channel>
</rss>

