<?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: getmemwindow and files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621266#M38769</link>
    <description>Thanks James....would this most likely be an&lt;BR /&gt;Oracle script or one of the many system scripts...is there a way to find out what might be the process causing my problem ??&lt;BR /&gt;&lt;BR /&gt;Jay</description>
    <pubDate>Wed, 28 Nov 2001 02:50:10 GMT</pubDate>
    <dc:creator>Jay Cantwell</dc:creator>
    <dc:date>2001-11-28T02:50:10Z</dc:date>
    <item>
      <title>getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621264#M38767</link>
      <description>Hey everyone....I have 2 questions I need help with....&lt;BR /&gt;&lt;BR /&gt;1st...what command can be used to find out which processes are using a particular file...&lt;BR /&gt;&lt;BR /&gt;2nd...I am getting the following getmemwindow errors in my /etc/rc.log...&lt;BR /&gt;&lt;BR /&gt;   /usr/bin/getmemwindow[29]: cat not found&lt;BR /&gt;   /usr/bin/getmemwindow[29]: awk not found&lt;BR /&gt;&lt;BR /&gt;can anyone tell me whats happening here ???&lt;BR /&gt;&lt;BR /&gt;thanks...Jay</description>
      <pubDate>Wed, 28 Nov 2001 01:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621264#M38767</guid>
      <dc:creator>Jay Cantwell</dc:creator>
      <dc:date>2001-11-28T01:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621265#M38768</link>
      <description>Hi Jay:&lt;BR /&gt;&lt;BR /&gt;1.  You can use 'fuser' (see man 1m 'fuser') to determine the processes used by a file or mountpoint.&lt;BR /&gt;&lt;BR /&gt;2.  The problem you report is symptomatic of a startup script that has not explictily set its PATH variable.  At the least, the script should contain:&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/sbin:/usr/bin:/sbin &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 28 Nov 2001 01:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621265#M38768</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-28T01:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621266#M38769</link>
      <description>Thanks James....would this most likely be an&lt;BR /&gt;Oracle script or one of the many system scripts...is there a way to find out what might be the process causing my problem ??&lt;BR /&gt;&lt;BR /&gt;Jay</description>
      <pubDate>Wed, 28 Nov 2001 02:50:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621266#M38769</guid>
      <dc:creator>Jay Cantwell</dc:creator>
      <dc:date>2001-11-28T02:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621267#M38770</link>
      <description>Hi Jay,&lt;BR /&gt;&lt;BR /&gt;I think rc.log lists each rc file's name as it begins to execute that file.  Can you tell from rc.log what's calling getmemwindow?  In any event, since it's from an rc file:&lt;BR /&gt;cd /sbin&lt;BR /&gt;grep getmemwindow rc?.d/*&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Wed, 28 Nov 2001 03:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621267#M38770</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-28T03:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621268#M38771</link>
      <description>/usr/bin/getmemwindow is a script and the error is found on line 29.  However, $PATH is normally set to include /usr/bin but apparently $PATH has been seriously corrupted. Troubleshooting will have to start from the top down: trace the top level script using the -x option (if the script is ksh, then start it with: ksh -x script_name &lt;ANY_OPTIONS&gt; 2&amp;gt;&amp;amp;1 | lp -d&lt;SOME_PRINTER&gt;&lt;BR /&gt;&lt;BR /&gt;This will show all the steps in the current script...look for problems.  Any errors that show up will appear in sequence where subscripts and processes were started, so you work your way down.  If you know the parent-child relationship of all the scripts, I would  search for getmemwindow and also PATH.&lt;/SOME_PRINTER&gt;&lt;/ANY_OPTIONS&gt;</description>
      <pubDate>Wed, 28 Nov 2001 03:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621268#M38771</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-11-28T03:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621269#M38772</link>
      <description>Bill....could you help me a little further...&lt;BR /&gt;what command would I use to do this...and would I use this on each script mentioned in the rc.log as the system was coming up ??&lt;BR /&gt;&lt;BR /&gt;thanks Jay</description>
      <pubDate>Wed, 28 Nov 2001 14:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621269#M38772</guid>
      <dc:creator>Jay Cantwell</dc:creator>
      <dc:date>2001-11-28T14:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621270#M38773</link>
      <description>Hi (again) Jay:&lt;BR /&gt;&lt;BR /&gt;OK.  Look at /etc/rc.log (where you first see the errors).  You are looking for something like:&lt;BR /&gt;&lt;BR /&gt;'Output from "/sbin/rc3.d/S999mything start":'&lt;BR /&gt;&lt;BR /&gt;...under which you see something like:&lt;BR /&gt;&lt;BR /&gt;'/usr/bin/getmemwindow[29]: cat not found'&lt;BR /&gt;&lt;BR /&gt;..."/sbin/rc3.d/SSSmything" is a link to the script you want to examine.  Do:&lt;BR /&gt;&lt;BR /&gt;# ls -l /sbin/rc3.d/S999mything&lt;BR /&gt;&lt;BR /&gt;...to expose the link (for instance):&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/mything&lt;BR /&gt;&lt;BR /&gt;Then, in /sbin/init.d/mything add at least, a  PATH statement containing:&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/sbin:/usr/bin:/sbin &lt;BR /&gt; &lt;BR /&gt;This should resolve your problem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 29 Nov 2001 04:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621270#M38773</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-29T04:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621271#M38774</link>
      <description>James...I understand what you are saying. However, all my scripts have a PATH statement in them.  I have attached my rc.log.  Please take a look and let me know what you think.  It is quite big (200k) because of the errors.&lt;BR /&gt;&lt;BR /&gt;Thanks...Jay</description>
      <pubDate>Thu, 29 Nov 2001 17:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621271#M38774</guid>
      <dc:creator>Jay Cantwell</dc:creator>
      <dc:date>2001-11-29T17:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621272#M38775</link>
      <description>Hi Jay,&lt;BR /&gt;&lt;BR /&gt;You've got a bunch of errors in your rc.log.&lt;BR /&gt;&lt;BR /&gt;The first shows up in the output from /sbin/rc1.d/S112kminit.  Notice the _______________not found.  Looks like you may have added ______________ as a comment line in a bunch of rc scripts but forgot to put a "#" at the beginning of the line.  That's a minor problem.&lt;BR /&gt;&lt;BR /&gt;Why are so many of your rc scripts trying to add routes?  It seems that all those rc scripts with _____________ lines that should be comment lines are also trying to add routes.&lt;BR /&gt;&lt;BR /&gt;As far as the getmemwindow problems, I'm guessing they are from /sbin/rc3.d/S933filerep which shows:&lt;BR /&gt;Execution error : file 'rd_replicator'&lt;BR /&gt;error code: 114, pc=0, call=1, seg=0&lt;BR /&gt;114 Attempt to access item beyond bounds of memory (Signal 11)&lt;BR /&gt;&lt;BR /&gt;The oracle start up needs work also.&lt;BR /&gt;&lt;BR /&gt;I'd start with the simple (?) things first:  take care of the ___________ lines and figure out the cause of the route adds.&lt;BR /&gt;&lt;BR /&gt;After cleaning that up perhaps you can re-post rc.log and go from there.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 29 Nov 2001 19:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621272#M38775</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-29T19:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: getmemwindow and files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621273#M38776</link>
      <description>Hi Jay:&lt;BR /&gt;&lt;BR /&gt;From your /etc/rc.log output, it appears that you may have a file that doesn't belong in the '/etc/rc.config.d' directory.  This directory is designed to hold files containing configuration variables (only) for startup and shutdown scripts (see the comments in '/etc/rc.config').&lt;BR /&gt;&lt;BR /&gt;To help locate any problems in this directory, do this and post the output:&lt;BR /&gt;&lt;BR /&gt;# sh -vx /etc/rc.config 2&amp;gt; /tmp/rc.config.out&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 29 Nov 2001 20:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getmemwindow-and-files/m-p/2621273#M38776</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-29T20:05:58Z</dc:date>
    </item>
  </channel>
</rss>

