1827802 Members
2330 Online
109969 Solutions
New Discussion

getmemwindow

 
Prabhu_7
Frequent Advisor

getmemwindow

sh: /usr/bin/getmemwindow: not found.

Why am i getting this error?

attaching my rc.log file.
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: getmemwindow

Well, is the file actually there?

# ll /usr/bin/getmemwindow

What does it return? If it is there are the permissions OK? Does the file size look right? Here is the one off of one of my systems:

r-xr-xr-x 1 bin bin 524 Apr 4 2001 /usr/bin/getmemwindow

Do you have the latest memory windows patch?

For 11.0 - PHCO_23705
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_23705&context=hpux:800:11:00

Prabhu_7
Frequent Advisor

Re: getmemwindow

ll /usr/bin/getmemwindow

I get,

-r-xr-xr-x 1 bin bin 421 Jan 14 1998 /usr/bin/getmemwindow

I use,

HP-UX dmevserv B.11.00 U 9000/800 76037 unlimited-user license

What could be the problem?

Patrick Wallek
Honored Contributor

Re: getmemwindow

Are you actually using memory windows with Oracle? What do you get if you do:

# cat /etc/services.window

I notice your /usr/bin/getmemwindow binary is different from mine. You might try installing the latest memory windows path I mentioned above.

Prabhu_7
Frequent Advisor

Re: getmemwindow

cat /etc/services.window

i get,

#
# /etc/services.window
#
# The format of this file is name followed by a space/tab followed by
# a unique user key. A memory window application uses the
# getmemwindow(1M) command to extract the user key and then passes that
# key to the setmemwindow(1M) command. Using the same key places
# those applications in the same memory window.
#
# For example:
#
# winid=getmemwindow database1
# setmemwindow -i $winid startup_script arg1 arg2 arg3.
#
database1 20
database2 30
database3 40
Jarle Bjorgeengen
Trusted Contributor

Re: getmemwindow

Check that /etc/services.window is readable by the user that executes getmemwindow. (oracle ?)

Otherwise, /usr/bin/getmemwindow is a script that can be debugged.

Put "set -x" at the top of the script, su - to the user that does getmemwindow in the startup and try:

$/usr/bin/getmemwindow database1

and see what it returns.

Rgds Jarle
Massimo Bianchi
Honored Contributor

Re: getmemwindow

Hi,
from the rc i see:

Output from "/sbin/rc2.d/S991oracle start":
----------------------------
/sbin/rc2.d/S991oracle[87]: ORACLE_START: not found.
STARTING ORACLE
stty: : Not a typewriter
(c)Copyright 1983-1997 Hewlett-Packard Co., All Rights Reserved.
(c)Copyright



I think:
- oracle instance isn't properly started with that rc script, check it

- getmemewindow messages are appearing more than once -> a process was started -> check for oracle intelligent agent or similar

- as stated previously, check for the latest memory windows patches, may be you are a little back with them

- oracle should try to use the memory window only when sga does not fit in a single contiuus are -> did you recently changed your initSID.ora ?

HTH,
Massimo