Please note: This website includes an accessibility system. Press Control-F11 to adjust the website to the visually impaired who are using a screen reader; Press Control-F10 to open an accessibility menu.

DE Series SMCLI returns error code 12 - Lenovo System x and OEM Storage

DE Series SMCLI returns error code 12 - Lenovo System x and OEM Storage

DE Series SMCLI returns error code 12 - Lenovo System x and OEM Storage

Symptom

When attempting to use SMCLI to execute a script or enter interactive mode at the following code levels:

  • SMcli 01.40.00.9001
  • JDK 16 or 17

the following error occurs:

"An internal error, error code 12, has occurred.
Possible causes include:
(1) The CLI session was run without administrator permissions, or
(2) The software installation is incomplete or corrupt.
Retry the CLI with administrator permissions or reinstall the software.
If problems persist, contact your Technical Support Engineer.
SMcli failed."

Affected Configurations

The system may be any of the following Lenovo servers:

  • Lenovo ThinkSystem DE Series Storage Arrays, model All

This tip is not software specific.

This tip is not option specific.

The system has the symptom described above.

Solution

This behavior will be corrected in a future release of SMCLI.

The target date for this release is scheduled for First Quarter 2023.

The file is or will be available by selecting the appropriate Product Group, type of System, Product name, Product machine type, and Operating system on Lenovo Support web page, at the following URL:

http://datacentersupport.lenovo.com/

Workaround

Workaround 1
Open Environment Variables
New System Variable
Set the name and value as below:
Variable name: JAVA_OPTS

Variable value: -Ddevmgr.datadir=

Complete the setting by clicking OK

Workaround 2
Open \bin\SMcli.bat via notepad
Find where DEFAULT_JVM_OPTS is defined
set the value to -Ddevmgr.datadir= as below:
BEFORE: set DEFAULT_JVM_OPTS=
AFTER : set DEFAULT_JVM_OPTS=-Ddevmgr.datadir=

Additional Information

This is a known issue that will be fixed in a later release.

Alias Id:103995
Document ID:HT514122
Original Publish Date:08/16/2022
Last Modified Date:08/16/2022