Operating System - HP-UX
1748151 Members
3719 Online
108758 Solutions
New Discussion юеВ

Re: Oracle11gr2 get freeze in the OUI istallation !!

 
Ivan Azuara
Regular Advisor

Oracle11gr2 get freeze in the OUI istallation !!

Hi,

I'm fighting to resolve a strange problem with the oracle11gr2 installation procedure on 2 hpux 11.31 servers (ORACLE RAC with ASM).

When the OUI installation is running, all the prerequisites of the product pass correctly, but the installation stops in the 95%. In the "checking user mask " step. If i check the log in debug mode appears the next messages:

[Worker 2] [ 2011-03-10 11:18:08.276 CST ] [RuntimeExec.runCommand:77] /var/tmp/CVU_11.2.0.1.0_oracle/exectask.sh -getusermask 2>&1
[Worker 1] [ 2011-03-10 11:18:08.277 CST ] [Utils.getLocalHost:356] Hostname retrieved: siinb82, returned: siinb82
[Worker 1] [ 2011-03-10 11:18:08.278 CST ] [NativeSystem.isCmdScv:472] isCmdScv: cmd=[/usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 racsrv1 -n ]
[Worker 1] [ 2011-03-10 11:18:08.278 CST ] [NativeSystem.isCmdScv:522] isCmdScv: /usr/bin/ssh is present.
[Worker 1] [ 2011-03-10 11:18:08.278 CST ] [NativeSystem.isCmdScv:524] isCmdScv: /usr/bin/ssh is a file.
[Worker 2] [ 2011-03-10 11:18:08.278 CST ] [RuntimeExec.runCommand:142] runCommand: Waiting for the process
[Worker 1] [ 2011-03-10 11:18:08.278 CST ] [NativeSystem.isCmdScv:541] isCmdScv: returned true
[Worker 1] [ 2011-03-10 11:18:08.279 CST ] [RuntimeExec.runCommand:75] Calling Runtime.exec() with the command
[Worker 1] [ 2011-03-10 11:18:08.279 CST ] [RuntimeExec.runCommand:77] /usr/bin/sh
[Worker 1] [ 2011-03-10 11:18:08.279 CST ] [RuntimeExec.runCommand:77] -c
[Worker 1] [ 2011-03-10 11:18:08.279 CST ] [RuntimeExec.runCommand:77] /usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 racsrv1 -n /var/tmp/CVU_11.2.0.1.0_oracle/exectask.sh -getusermask 2>&1
[Thread-569] [ 2011-03-10 11:18:08.286 CST ] [StreamReader.run:61] In StreamReader.run
[Worker 1] [ 2011-03-10 11:18:08.287 CST ] [RuntimeExec.runCommand:142] runCommand: Waiting for the process
[Thread-570] [ 2011-03-10 11:18:08.287 CST ] [StreamReader.run:61] In StreamReader.run
[Thread-572] [ 2011-03-10 11:18:08.290 CST ] [StreamReader.run:61] In StreamReader.run
[Thread-571] [ 2011-03-10 11:18:08.292 CST ] [StreamReader.run:61] In StreamReader.run
[Thread-569] [ 2011-03-10 11:18:08.352 CST ] [StreamReader.run:65] OUTPUT>stty: : Not a typewriter
[Thread-569] [ 2011-03-10 11:18:08.363 CST ] [StreamReader.run:65] OUTPUT>Not a terminal
[Thread-571] [ 2011-03-10 11:18:08.603 CST ] [StreamReader.run:65] OUTPUT>ttytype: couldn't open /dev/tty for reading
[Thread-571] [ 2011-03-10 11:18:08.606 CST ] [StreamReader.run:65] OUTPUT>stty: : Not a typewriter
[Thread-571] [ 2011-03-10 11:18:08.625 CST ] [StreamReader.run:65] OUTPUT>Not a terminal
[Worker 2] [ 2011-03-10 11:24:38.843 CST ] [RuntimeExec.runCommand:144] runCommand: process returns 143

I don't known why the exectask.sh -getusermask script get freeze and never continue to finish the installation.

Some ideas ??

Regards !!

"Enjoy the life .."
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: Oracle11gr2 get freeze in the OUI istallation !!

OUTPUT>stty: : Not a typewriter
OUTPUT>Not a terminal
OUTPUT>ttytype: couldn't open /dev/tty for reading
OUTPUT>stty: : Not a typewriter
OUTPUT>Not a terminal

This looks a badly written .profile for the oracle user. Any interactive commands (tabs, ttytype, stty, tput, tset...) must not be executed in batch mode (or whenever there is no controlling terminal. Recode the oracle user's .profile to protect these types of commands:

tty -s
if [ $? -eq 0 ]
then
eval $(ttytype -s)
tabs
stty erase "^H" kill "^U" intr "^C"
stty eof "^D" -parity ixoff
tput clear
fi



Bill Hassell, sysadmin
Ivan Azuara
Regular Advisor

Re: Oracle11gr2 get freeze in the OUI istallation !!

Hi Bill

Taking your suggestion. This is the content of the .profile file for the oracle user:

# @(#)B.11.31_LR

# Default user .profile file (/usr/bin/sh initialization).

# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi

tty -s
if [ $? -eq 0 ]
then
eval $(ttytype -s)
tabs
stty erase "^H" kill "^U" intr "^C"
stty eof "^D" -parity ixoff
tput clear
fi

# NOTE: '.' is added to $PATH for compatibility reasons only. This
# default will be changed in a future release. If "." is not
# needed for compatibility it is better to omit this line.
# Please edit .profile according to your site requirements.

# Set up the search paths:
PATH=$PATH:.

# Set up the shell environment:
set -u
trap "echo 'logout'" 0

# Set up the shell variables:
EDITOR=vi
export EDITOR
umask 022

export ORACLE_HOME=/oracle11g/product/11.2.0.2
export ORACLE_BASE=/oracle11g/product
export ORACLE_SID=MULPSII1

What is your opinion ??

Regards.
"Enjoy the life .."