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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 小程式 · 報錯:Error: errCode: -501007 ,errMsg: Invalid Key Name (__keyPath)Error
- Elasticsearch 6 建立索引報錯 invalid_index_name_exception Invalid index name [testDemo], must be lowercaseElasticsearch索引IndexException
- error: 'cout' does not name a type|Error
- error: ‘xxx’ does not name a typeError
- Error creating bean with name 'tomcatEmbeddedServletContainerFactory'ErrorBeanTomcatServletAI
- Error creating bean with name ‘dataSource‘ErrorBean
- Caused by: Error: ' ' is not a valid resource name characterError
- Error creating bean with name 解決ErrorBean
- iOS解決CUICatalog: Invalid asset name supplied問題iOSUI
- error: ‘變數名‘ does not name a type|Error變數
- 關於“INS-40922 Invalid Scan Name – Unresolvable to IP address”
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)ErrorDeveloper
- error creating overlay mount to invalid argument unbuntu系統Error
- error: invalid type argument of unary ‘*‘ (have ‘int‘) *__first = __tmp;Error
- IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokensExceptionHTTP
- Oracle修改instance_name、db_name、db_unique_name、service_namesOracle
- Import Error: cannot import name ‘export_saved_modelImportErrorExport
- ORACLE STREAM ERROROracleError
- DataPump Export (EXPDP) Fails With Error LPX-216 Invalid CharacterExportAIError
- raksmart伺服器部署SSL報錯:ERR_CERT_COMMON_NAME_INVALID伺服器
- QT中error: xxx does not name a type xxx錯誤QTError
- ERROR: failed to establish dependency between database db_name and diskgroupErrorAIDatabase
- Error creating bean with name ‘dataSource‘: Unsatisfied dependency expressed through fieldErrorBeanExpress
- Dynamics CRM Error- Creating Entity with an invalid parent. Entity: EmailErrorAI
- Oracle 資料庫的眾多 “NAME”Oracle資料庫
- Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using anErrorObjectZed
- Android之NDK開發錯誤 error: unknown type name 'JNIEXPORT'AndroidErrorExport
- 異常解決——Spring Cloud FeignClient: BeanCreationException: Error creating bean with name XXXServiceSpringCloudclientBeanExceptionError
- 關於報錯Error creating bean with name 'xxxxx': Invocation of init method....ErrorBean
- PostgreSQL/LightDB copy ERROR: invalid byte sequence for encoding "UTF8": 0x00SQLErrorEncoding
- ISSAC GYM解決RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch)的問題ErrorVRGPU
- UDI-03113: operation generated ORACLE error 3113OracleError
- oracle OGG-01232 Receive TCP params error:TCP/IP error 232(connection reset)OracleTCPError
- [Ruby Notes] Proc
- Oracle案例05——ORA-12162: TNS:net service name is incorrectly specifiedOracle
- 【問題解決】remote: parse error: Invalid numeric literal at line 1, column 20,解決思路REMError
- 快閃記憶體eMCP和eMMC5.1哪個好?宏旺半導體簡述國產eMCP有哪些優點?記憶體
- arco-init 專案初始化失敗!Error: spawnSync pnpm.cmd ENOENTErrorNPM