安裝或執行clone報錯 Unable to find 'kshell' in path

dakulaDL發表於2012-11-26

今天在試驗透過autoconfig修改ebs 11i的主機名和IP,執行perl adcfgclone.pl appsTier的時候報錯:

 Checking for make...    found - /usr/bin/make
 Checking for ld...     found - /usr/bin/ld
 Checking for cc...     found - /usr/bin/cc
 Checking for ar...     found - /usr/bin/ar
 Checking for ksh...
 Unable to find 'kshell' in path
 Unable to locate all utilities with system path.

檢查ksh版本

[oracle@ebs11i webui]$ which ksh
/usr/bin/ksh
[oracle@ebs11i webui]$ ll /usr/bin/ksh
lrwxrwxrwx 1 root root 28 Sep  7  2009 /usr/bin/ksh -> /etc/alternatives/ksh-usrbin
[oracle@ebs11i webui]$ ll /etc/alternatives/ksh-usrbin
lrwxrwxrwx 1 root root 8 Nov 26 09:53 /etc/alternatives/ksh-usrbin -> /bin/ksh93

作業系統的版本redhat linux 5.4,ksh是ksh93的,

 

EBS 11i上歲數了,這麼生猛的東西好像消化不了,還是吃點米粥鹹菜吧

執行 export KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2',讓它相容ksh88的規範,然後再執行clone操作。


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11289933/viewspace-749949/,如需轉載,請註明出處,否則將追究法律責任。

相關文章