Oracle Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0xxxxxx, proc name
一套Oracle 12.2.0.1環境的RAC,在1月4日的時候發生了叢集重啟
【重啟原因和下面沒關係,我們只是說下emcp_pseudo_ctl_ioctl錯誤哦!!~】
在/var/log/message顯示如下報錯ecmp_pseudo_ctl_ioctl錯誤,那麼這個錯誤是什麼?是否對我的資料庫有影響?或者說是潛在的io錯誤嗎?我們帶著這樣的疑問來看下。
Jan 4 10:12:11 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x80081272, proc name: ora_rbal_topprd Jan 4 10:12:11 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x2285, proc name: ora_rbal_topprd Jan 4 10:12:11 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x127b, proc name: ora_rbal_topprd Jan 4 10:12:11 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: ora_rbal_topprd Jan 4 10:12:11 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: ora_rbal_topprd Jan 4 10:12:20 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x80081272, proc name: mdb_rbal_-mgmtd Jan 4 10:12:20 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x2285, proc name: mdb_rbal_-mgmtd Jan 4 10:12:20 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x127b, proc name: mdb_rbal_-mgmtd Jan 4 10:12:20 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: mdb_rbal_-mgmtd Jan 4 10:12:20 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: mdb_rbal_-mgmtd Jan 4 10:12:20 racdb2 kernel: sd 16:0:0:4: [sdf] Very big device. Trying to use READ CAPACITY(16). Jan 4 10:12:20 racdb2 kernel: sd 16:0:1:4: [sdn] Very big device. Trying to use READ CAPACITY(16). Jan 4 10:12:20 racdb2 kernel: sd 16:0:0:3: [sde] Very big device. Trying to use READ CAPACITY(16). Jan 4 10:12:20 racdb2 kernel: sd 16:0:1:3: [sdm] Very big device. Trying to use READ CAPACITY(16). Jan 4 10:12:22 racdb2 systemd-logind: New session 33129 of user grid. Jan 4 10:12:22 racdb2 systemd: Started Session 33129 of user grid. Jan 4 10:12:22 racdb2 systemd-logind: Removed session 33129. Jan 4 10:12:29 racdb2 su: (to grid) root on none Jan 4 10:12:29 racdb2 systemd: Started Session c11794 of user grid. Jan 4 10:12:30 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x80081272, proc name: ora_rbal_topprd Jan 4 10:12:30 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x2285, proc name: ora_rbal_topprd Jan 4 10:12:30 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x127b, proc name: ora_rbal_topprd Jan 4 10:12:30 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: ora_rbal_topprd Jan 4 10:12:30 racdb2 kernel: Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: ora_rbal_topprd
這個錯誤在MOS上找到了原因:
Error:emcp:emcp_pseudo_ctl_ioctl" output in messages on ASM env. ( Doc ID 2648758.1 )
APPLIES TO:
Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Oracle Database - Standard Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.
SYMPTOMS
When using ASM and EMC powerpath, "Error:emcp:emcp_pseudo_ctl_ioctl" output in messages.
Messages indicates (messages inside /var/log location):
Mar 12 20:26:10 <HOSTNAME> kernel: Error:emcp:emcp_pseudo_ctl_ioctl: Invalid cmd 0x80081272, proc name: kfod.bin
Mar 12 20:26:10 <HOSTNAME> kernel: Error:emcp:emcp_pseudo_ctl_ioctl: Invalid cmd 0x127b, proc name: kfod.bin
Mar 12 20:26:10 <HOSTNAME> kernel: Error:emcp:emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: kfod.bin
:
Mar 12 20:31:06 <HOSTNAME> kernel: Error:emcp:emcp_pseudo_ctl_iocltl: Invalid cmd 0x1268, proc name: kfod.bin
Mar 12 20:31:06 <HOSTNAME> kernel: Error:emcp:emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: kfod.bin
:
Mar 12 20:31:58 <HOSTNAME> kernel: Error:emcp:emcp_pseudo_ctl_ioctl: Invalid cmd 0x80081272, proc name: asm_rbal_+asm
Mar 12 20:31:58 <HOSTNAME> kernel: Error:emcp:emcp_pseudo_ctl_ioctl: Invalid cmd 0x127b, proc name: asm_rbal_+asm
Mar 12 20:31:58 <HOSTNAME> kernel: Error:emcp:emcp_pseudo_ctl_ioctl: Invalid cmd 0x1268, proc name: asm_rbal_+asm
CAUSE
These messages which shows kfod.bin and ASM rbal process open '/dev/emcpower' and call ioctl to it and failed.
The '/dev/emcpower' is used in PowerPath internal.
We can confirm the following parameter value.
In this case, name of some disks used for ASM are '/dev/emcpower<string>'.
Therefore CRS/ASM can start successfully and mount diskgroup start successfully too.
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
asm_diskstring string /dev/emcpower*
SOLUTION
We can ignore this message.
To control invalid ioctl for '/dev/emcpower', and to control this output("Error:emcp:emcp_pseudo_ctl_ioctl"),
edit asm_diskstring so that '/dev/emcpower' isn't made the detection target.
只用於12.2.0.1之後的版本
我們可以忽略此訊息。
控制 '/dev/emcpower' 的無效 ioctl,並控制此輸出(“Error:emcp:emcp_pseudo_ctl_ioctl”), 編輯 asm_diskstring,使“/dev/emcpower”不會成為檢測目標。
[oracle@rac1 ~]$ cd /dev/ [oracle@rac1 dev]$ ls -l |grep emc crw-r--r-- 1 root root 10, 55 Jan 5 23:18 emcpower brw-rw---- 1 grid oinstall 120, 0 Jan 7 16:31 emcpowera brw-rw---- 1 grid oinstall 120, 16 Jan 7 16:31 emcpowerb brw-rw---- 1 grid oinstall 120, 32 Jan 7 16:31 emcpowerc brw-rw---- 1 grid oinstall 120, 48 Jan 7 16:31 emcpowerd brw-rw---- 1 grid oinstall 120, 64 Jan 7 16:31 emcpowere brw-rw---- 1 grid oinstall 120, 80 Jan 7 16:31 emcpowerf brw-rw---- 1 grid oinstall 120, 96 Jan 7 16:31 emcpowerg brw-rw---- 1 grid oinstall 120, 112 Jan 7 16:31 emcpowerh [oracle@racdb1 dev]$ exit logout [root@racdb1 grid]# multipath -ll Jan 07 16:32:00 | DM multipath kernel driver not loaded Jan 07 16:32:00 | /etc/multipath.conf does not exist, blacklisting all devices. Jan 07 16:32:00 | A default multipath.conf file is located at Jan 07 16:32:00 | /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf Jan 07 16:32:00 | You can run /sbin/mpathconf --enable to create Jan 07 16:32:00 | /etc/multipath.conf. See man mpathconf(8) for more details Jan 07 16:32:00 | DM multipath kernel driver not loaded [root@racdb1 grid]# cd /etc/udev/rules.d/ [root@racdb1 rules.d]# ls -ltr total 28 -rw-r--r--. 1 root root 628 Sep 26 2019 70-persistent-ipoib.rules -rw-r--r--. 1 root root 148 Apr 2 2020 99-vmware-scsi-timeout.rules -rw-r--r--. 1 root root 512 Aug 3 17:57 99-oracleasm.rules -rw-r--r-- 1 root root 175 Aug 4 22:13 55-usm.rules -rw-r--r-- 1 root root 318 Jan 5 23:18 04-nvme-pp.rules -rw-r--r-- 1 root root 879 Jan 5 23:18 05-udev-pp.rules -rw-r--r-- 1 root root 412 Jan 5 23:18 80-udev-pp2.rules [root@racdb1 rules.d]# more 99-oracleasm.rules KERNEL=="emcpowera", OWNER="grid" GROUP="oinstall", MODE="0660" KERNEL=="emcpowerb", OWNER="grid" GROUP="oinstall", MODE="0660" KERNEL=="emcpowerc", OWNER="grid" GROUP="oinstall", MODE="0660" KERNEL=="emcpowerd", OWNER="grid" GROUP="oinstall", MODE="0660" KERNEL=="emcpowere", OWNER="grid" GROUP="oinstall", MODE="0660" KERNEL=="emcpowerf", OWNER="grid" GROUP="oinstall", MODE="0660" KERNEL=="emcpowerg", OWNER="grid" GROUP="oinstall", MODE="0660" KERNEL=="emcpowerh", OWNER="grid" GROUP="oinstall", MODE="0660" [root@racdb1 rules.d]# su - grid Last login: Fri Jan 7 16:25:28 CST 2022 [grid@racdb1 ~]$ sqlplus / as sysasm SQL*Plus: Release 12.2.0.1.0 Production on Fri Jan 7 16:33:31 2022 Copyright (c) 1982, 2016, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production SQL> show parameter disk NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ asm_diskgroups string MGMT, DATA, ARCH asm_diskstring string /dev/emcpower* ASM Disk Information ====================== --------------------------------------------------------------------------------------------------------------------- | G# | GROUP_NAME | PATH | FAILGROUP | DISK_NAME | STATE | MODE_S | HEAD_S | MOUNT_S | REPAIR? | --------------------------------------------------------------------------------------------------------------------- | 1 | ARCH | /dev/emcpowerf | ARCH_0000 | ARCH_0000 | NORMAL | ONLINE | MEMBER | CACHED | 0 | | 1 | ARCH | /dev/emcpowerg | ARCH_0001 | ARCH_0001 | NORMAL | ONLINE | MEMBER | CACHED | 0 | | 2 | DATA | /dev/emcpowerd | DATA_0000 | DATA_0000 | NORMAL | ONLINE | MEMBER | CACHED | 0 | | 2 | DATA | /dev/emcpowere | DATA_0001 | DATA_0001 | NORMAL | ONLINE | MEMBER | CACHED | 0 | | 3 | MGMT | /dev/emcpowerh | MGMT_0000 | MGMT_0000 | NORMAL | ONLINE | MEMBER | CACHED | 0 | | 4 | OCR_VOTE | /dev/emcpowera | OCR_VOTE_0000 | OCR_VOTE_0000 | NORMAL | ONLINE | MEMBER | CACHED | 0 | | 4 | OCR_VOTE | /dev/emcpowerb | OCR_VOTE_0001 | OCR_VOTE_0001 | NORMAL | ONLINE | MEMBER | CACHED | 0 | | 4 | OCR_VOTE | /dev/emcpowerc | OCR_VOTE_0002 | OCR_VOTE_0002 | NORMAL | ONLINE | MEMBER | CACHED | 0 | ---------------------------------------------------------------------------------------------------------------------
可以看到都正常的,那麼/var/log/message中的報錯資訊是可以忽略的。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29990276/viewspace-2851198/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 'oracle.sysman.emcp.oms.OmsPlugIn has failed' Error [ID 436605.1]OraclePluginAIError
- Troubleshooting oracle.sysman.emcp.agent.AgentPlugIn has failed error_734981.1OraclePluginAIError
- error: '[class name]' does not name a typeError
- error :does not name a typeError
- Elasticsearch 6 建立索引報錯 invalid_index_name_exception Invalid index name [testDemo], must be lowercaseElasticsearch索引IndexException
- error: 'cout' does not name a type|Error
- 小程式 · 報錯:Error: errCode: -501007 ,errMsg: Invalid Key Name (__keyPath)Error
- Caused by: Error: ' ' is not a valid resource name characterError
- error: ‘xxx’ does not name a typeError
- Error creating bean with name ‘dataSource‘ErrorBean
- error: ‘變數名‘ does not name a type|Error變數
- emulator: ERROR: unknown virtual device nameErrordev
- oracle ProC程式設計OracleC程式程式設計
- iOS解決CUICatalog: Invalid asset name supplied問題iOSUI
- Error creating bean with name 解決ErrorBean
- DB_NAME&TANCE_NAME&DB_UNIQUE_NAME&ORACLE_SID&GLOBAL_NAME&DB_DOMAIN&SERVICE_NAMEOracleAI
- C連線oracle(PROC*C)Oracle
- oracle proc 開發環境Oracle開發環境
- error: invalid type argument of unary ‘*‘ (have ‘int‘) *__first = __tmp;Error
- Import Error: cannot import name ‘export_saved_modelImportErrorExport
- IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokensExceptionHTTP
- 10gRAC 安裝遇到Invalid node name "RACTEST1” entered
- ERROR ITMS-90542: “Invalid CFBundleSupportedPlatforms value.”ErrorPlatform
- nagios監控windows 報NSClient - ERROR: Invalid passwordiOSWindowsclientError
- ERROR: failed to establish dependency between database db_name and diskgroupErrorAIDatabase
- CUUG 筆記ORACLE db_name instance_name gobal_name service_name db_unique_name分析筆記OracleGo
- cmd介面,進adb命令提示符errorError
- ORACLE db相關nameOracle
- Rename db_name for OracleOracle
- Oracle identifiers :Database NameOracleIDEDatabase
- [轉]ORACLE中的DB_NAME,SERVICE_NAME,INSTANCE_NAME,ORACLE_SID,GLOBAL_DBNAMEOracle
- error creating overlay mount to invalid argument unbuntu系統Error
- DataPump Export (EXPDP) Fails With Error LPX-216 Invalid CharacterExportAIError
- Sublime修復錯誤【xcrun: error: invalid active developer path… 】ErrorDeveloper
- opatch error code 73 PrereqSession failed Invalid patch location 解決ErrorSessionAI
- Oracle修改instance_name、db_name、db_unique_name、service_namesOracle
- Error creating bean with name 'tomcatEmbeddedServletContainerFactory'ErrorBeanTomcatServletAI
- ndk編譯錯誤:error: 'override' does not name a type編譯ErrorIDE