- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- getmemwindow and files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 05:33 PM
11-27-2001 05:33 PM
1st...what command can be used to find out which processes are using a particular file...
2nd...I am getting the following getmemwindow errors in my /etc/rc.log...
/usr/bin/getmemwindow[29]: cat not found
/usr/bin/getmemwindow[29]: awk not found
can anyone tell me whats happening here ???
thanks...Jay
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 05:44 PM
11-27-2001 05:44 PM
Re: getmemwindow and files
1. You can use 'fuser' (see man 1m 'fuser') to determine the processes used by a file or mountpoint.
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:
PATH=/usr/sbin:/usr/bin:/sbin
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 06:50 PM
11-27-2001 06:50 PM
Re: getmemwindow and files
Oracle script or one of the many system scripts...is there a way to find out what might be the process causing my problem ??
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 07:09 PM
11-27-2001 07:09 PM
Re: getmemwindow and files
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:
cd /sbin
grep getmemwindow rc?.d/*
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 07:13 PM
11-27-2001 07:13 PM
SolutionThis 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.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 06:49 AM
11-28-2001 06:49 AM
Re: getmemwindow and files
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 ??
thanks Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 08:59 PM
11-28-2001 08:59 PM
Re: getmemwindow and files
OK. Look at /etc/rc.log (where you first see the errors). You are looking for something like:
'Output from "/sbin/rc3.d/S999mything start":'
...under which you see something like:
'/usr/bin/getmemwindow[29]: cat not found'
..."/sbin/rc3.d/SSSmything" is a link to the script you want to examine. Do:
# ls -l /sbin/rc3.d/S999mything
...to expose the link (for instance):
# /sbin/init.d/mything
Then, in /sbin/init.d/mything add at least, a PATH statement containing:
PATH=/usr/sbin:/usr/bin:/sbin
This should resolve your problem.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 09:10 AM
11-29-2001 09:10 AM
Re: getmemwindow and files
Thanks...Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 11:43 AM
11-29-2001 11:43 AM
Re: getmemwindow and files
You've got a bunch of errors in your rc.log.
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.
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.
As far as the getmemwindow problems, I'm guessing they are from /sbin/rc3.d/S933filerep which shows:
Execution error : file 'rd_replicator'
error code: 114, pc=0, call=1, seg=0
114 Attempt to access item beyond bounds of memory (Signal 11)
The oracle start up needs work also.
I'd start with the simple (?) things first: take care of the ___________ lines and figure out the cause of the route adds.
After cleaning that up perhaps you can re-post rc.log and go from there.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 12:05 PM
11-29-2001 12:05 PM
Re: getmemwindow and files
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').
To help locate any problems in this directory, do this and post the output:
# sh -vx /etc/rc.config 2> /tmp/rc.config.out
Regards!
...JRF...