close
還原ERP測試環境,要變更apps的密碼時,出現了錯誤。
bash-3.2$ FNDCPASS apps/XXXXX 0 Y system/XXXXX SYSTEM APPLSYS XXXXX
ld.so.1: FNDCPASS: fatal: libclntsh.so.1.0: open failed: No such file or directory Killed
這是因為環境變數沒有執行或錯誤的環境變數,檢查$AU_TOP、$ORACLE_HOME
$ echo $AU_TOP
/erpdr/AP/testappl/au/11.5.0
$ echo $ORACLE_HOME
[空的]
因為$ORACLE_HOME沒有值,所以無法成功執行FNDCPASS的指令
重新執行AP的環境變數
$ . /erpdr/AP/testappl/APPS_.env
重新執行變更apps密碼,這次就成功了。
bash-3.2$ FNDCPASS apps/XXXXX 0 Y system/XXXXX SYSTEM APPLSYS XXXXX
Log filename : L3447789.log
Report filename : O3447789.out
如果出現下列的錯誤,是因為DB及Listener沒有開啟的緣故
bash-3.2$ FNDCPASS apps/XXXXX 0 Y system/XXXXX SYSTEM APPLSYS XXXXX
APP-FND-01564: ORACLE error 12224 in AFPCOA
Cause: AFPCOA failed due to ORA-12224: TNS:no listener
The SQL statement being executed at the time of the error was: and was executed from the file .
bash-3.2$ FNDCPASS apps/XXXXX 0 Y system/XXXXX SYSTEM APPLSYS XXXXX
ld.so.1: FNDCPASS: fatal: libclntsh.so.1.0: open failed: No such file or directory Killed
這是因為環境變數沒有執行或錯誤的環境變數,檢查$AU_TOP、$ORACLE_HOME
$ echo $AU_TOP
/erpdr/AP/testappl/au/11.5.0
$ echo $ORACLE_HOME
[空的]
因為$ORACLE_HOME沒有值,所以無法成功執行FNDCPASS的指令
重新執行AP的環境變數
$ . /erpdr/AP/testappl/APPS
重新執行變更apps密碼,這次就成功了。
bash-3.2$ FNDCPASS apps/XXXXX 0 Y system/XXXXX SYSTEM APPLSYS XXXXX
Log filename : L3447789.log
Report filename : O3447789.out
如果出現下列的錯誤,是因為DB及Listener沒有開啟的緣故
bash-3.2$ FNDCPASS apps/XXXXX 0 Y system/XXXXX SYSTEM APPLSYS XXXXX
APP-FND-01564: ORACLE error 12224 in AFPCOA
Cause: AFPCOA failed due to ORA-12224: TNS:no listener
The SQL statement being executed at the time of the error was: and was executed from the file .
全站熱搜
留言列表