导航

执行rootpre.sh时不能成功

Posted on 2011-03-15 19:41  datalife  阅读(674)  评论(0编辑  收藏  举报
今天在aix上安装Oracle软件过程中 执行./runInstaller.sh前 先在root用户下执行rootpre.sh时报
# ls
ORCLcluster   loadext       pw-syscall    pw-syscall32  pw-syscall64  rootpre.sh
# whoami
root
# ./rootpre.sh
./rootpre.sh output will be logged in /tmp/rootpre.out_10-09-08.16:44:54
Kernel extension /etc/pw-syscall.64bit_kernel is loaded.
Previously loaded kernel extension may be in use. Shutdown all
the instances of oracle and then rerun the rootpre.sh script.
Aborting pre-installation procedure. Installations of Oracle may fail.

看问题说是关闭oracle实例我用ps -ef 一看原来oracle进程没kill掉(机器以前有装的oracle)那只能kill掉oracle进程了命令如下:其中-9表示强制杀掉
ps -ef | grep oracle |  grep -v grep | awk '{ print $2}' | xargs kill -9
进程杀掉后执行rootpre.sh执行成功