2016年7月28日 星期四

【Oracle ERP Note 】Request a concurrent job and display "No Manager" error

Problem:

Request 一個 current job,回覆 No Manager

Solution:

[prodmgr@srv]$ adcmctl.sh start

You are running adcmctl.sh version 120.17.12010000.5


Enter the APPS username : apps

Enter the APPS password :
Starting concurrent manager for FUN ...
Starting FUN_0888@FUN Internal Concurrent Manager
Default printer is noprint

adcmctl.sh: exiting with status 0


adcmctl.sh: check the logfile /u01/apps/PROD/inst/apps/PROD_twhc-srv-erp/apps/FUN_srv/logs/appl/admin/log/adcmctl.txt for more information ...

Reference:

1. Concurrent Processing - Command-Line Utility OR Recovery Wizard (Doc ID 134007.1)

【Oracle ERP Note 】Orace EBS 登入後出現 There are no active responsibilities available for this user. 錯誤訊息

Problem:

Orace EBS 登入後出現 There are no active responsibilities available for this user. 錯誤訊息

Solution:

要執行這支程式 : Workflow Directory Services User/Role Validation
Super User裡面注意要執行兩次
第一次參數下100000, Yes, No, No
第二次參數下100000, No, Yes, No

可參考這個Metalink文件 : How To Fix Missing Responsibilities For A User (Doc ID 429852.1)


/end

【Oracle ERP Note 】Warning: The system has not been taken off maintenance mode completely

Problem:

登入 Oracle EBS 時,無法登入,出現下列錯誤訊息:

Warning: The system has not been taken off maintenance mode completely


Solution:

1. 以 adadmin 工具檢查 maintence mode,確認其為 disable
2. bounce HTTP (在 $INST_TOP/admin/scripts)
   $(prodmgr) adapcctl.sh stop
   wait 30 seconds
   $(prodmgr) adapcctl.sh start
3. shut down AP Tier (在 $INST_TOP/admin/scripts)
   $(prodmgr) adstpall.sh
4. start up AP Tier
   $(prodmgr) adstrtal.sh

Reference:

1. https://community.oracle.com/thread/599372

2016年7月26日 星期二

【Oracle ERP Note 】RSA host key has just been changed

Problem:

以 scp 將檔案 copy 至遠端時,系統抱怨 "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! " (因系統重灌 OS,但仍沿用之前 IP)

# scp app-.tar.gz  root@10.20.1.45:/               @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
38:49:5d:16:58:36:c5:10:6c:53:36:b2:52:0e:c3:18.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:4
RSA host key for 10.20.1.45 has changed and you have requested strict checking.
Host key verification failed.
lost connection

Solution:

以 vi 刪除 /root/.ssh/known_hosts 的 IP 10.20.1.45 (含 key)

# scp app-.tar.gz root@10.20.1.45:/
The authenticity of host '10.20.1.45 (10.20.1.45)' can't be established.
RSA key fingerprint is 38:49:5d:16:58:36:c5:10:6c:53:36:b2:52:0e:c3:18..
Are you sure you want to continue connecting (yes/no)? yes

此時新的一筆 IP 加入 /root/.ssh/known_hosts

Reference:

1. How To Fix Offending key in ~/.ssh/known_hosts file, http://www.thegeekstuff.com/2010/04/how-to-fix-offending-key-in-sshknown_hosts-file

2016年7月22日 星期五

【Oracle ERP Note 】Oracle EBS 已新增 User 某 data collection plan 使用權限,但點選此 plan program 的選項時,沒有列出任何 collection plan

Problem:

Oracle EBS 已新增 User 某 data collection plan 使用權限,但點選此 plan program 的選項時,沒有列出任何 collection plan

Solution:

1. 以 Super User 身分,點選  System Administration > Concurrent > Request
2. 點選 Submit a new Request,選擇 Single Request
3. 在 Submit Request 視窗,選擇 Synchronize WF LOCAL tables.

注意: 在 Parameters 的 Orig System 要選 All (此為 Default 值)

2016年7月21日 星期四

【Oracle ERP Note 】Oracle ERP 印表機無法列印 ?

Problem:

Oracle ERP 印表機無法列印

Solution:

# service cups restart
Stopping cups:                                             [  OK  ]
Starting cups:                                               [  OK  ]
# cupsenable P_6_2_P2

Test:

# ls
 src   test.file
# lp -c -d P_6_2_P2 test.file
request id is P_6_2_P2-501506 (1 file(s))

【Oracle ERP Note 】Oracle ERP 的 Log 存放路徑 ?


 adpreclone.pl =>
(db tier) RDBMS $ORACLE_HOME/appsutil/log/<context>/StageDBTier_<timestamp>.log 
(ap tier) $INST_TOP/admin/log/StageAppsTier_<timestamp>.log 

admkappsutil.pl =>
(ap tier) $INST_TOP/admin/log/MakeAppsUtil_<timestamp>.log 

adcfgclone.pl =>
(db tier) RDBMS $ORACLE_HOME/appsutil/log/<context>/ApplyDBTier_<timestamp>.log 
(ap tier) $INST_TOP/admin/log/ApplyAppsTier_<timestamp>.log 

adconfig =>
(db tier) RDBMS $ORACLE_HOME/appsutil/log/<context>/<timestamp>/adconfig.log 
(db tier) RDBMS $ORACLE_HOME/appsutil/log/<context>/<timestamp>/NetServiceHandler.log 
(ap tier) $INST_TOP/admin/log/<timestamp>/adconfig.log 
(ap tier) $INST_TOP/admin/log/<timestamp>/NetServiceHandler.log

 Refererence :

1. How to find Clone and AutoConfig log files in E-Business Suite R12 (Doc ID 467095.1)

2016年7月14日 星期四

【Oracle ERP Note 】Oracle EBS 測試區刪除無用的 Archive Log

Oracle EBS 測試區儲存 Size 近況如下:

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       38G   12G   25G  32% /
/dev/sda1              99M   16M   79M  17% /boot
tmpfs                 4.0G  3.2M  3.9G   1% /dev/shm
/dev/mapper/VolGroup00-LogVol02
                       40G   23G   15G  62% /ora01
/dev/mapper/VolGroup00-LogVol03
                      5.0G  631M  4.1G  14% /misap
/dev/mapper/VolGroup00-LogVol05
                      9.9G  1.5G  8.0G  16% /var
/dev/mapper/VolGroup01-LogVol05
                      352G  200G  138G  60% /ora03
/dev/mapper/VolGroup01-LogVol05
                      352G  200G  138G  60% /u01

如用 rman 清除 archive log:

$ rman
RMAN > connect target /
RMAN> delete noprompt archivelog all;

刪除 archive log 後,測試區儲存 Size 如下:

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       38G   12G   25G  32% /
/dev/sda1              99M   16M   79M  17% /boot
tmpfs                 4.0G  3.2M  3.9G   1% /dev/shm
/dev/mapper/VolGroup00-LogVol02
                       40G   23G   15G  62% /ora01
/dev/mapper/VolGroup00-LogVol03
                      5.0G  631M  4.1G  14% /misap
/dev/mapper/VolGroup00-LogVol05
                      9.9G  1.5G  8.0G  16% /var
/dev/mapper/VolGroup01-LogVol05
                      352G  177G  161G  53% /ora03
/dev/mapper/VolGroup01-LogVol05
                      352G  177G  161G  53% /u01



prettyPrint();