Help Center > > User Guide> Managing Active Clusters> Alarm Reference> ALM-12040 Insufficient System Entropy

ALM-12040 Insufficient System Entropy

Updated at: Apr 13, 2020 GMT+08:00


At 00:00:00 every day, the system checks the entropy five times consecutively. First, the system checks the rng-tools is enabled and correctly configured. If not, the system checks the current entropy. This alarm is generated when the entropy is less than 500 in the five checks.

This alarm is cleared in any of the following scenarios:

  • True random number mode is configured.
  • Random numbers are configured in pseudo-random number mode.
  • Neither the true random number mode nor pseudo-random number mode is configured but the entropy is greater than or equal to 500 in at least one of the five checks.


Alarm ID

Alarm Severity

Automatically Cleared








Specifies the service for which the alarm is generated.


Specifies the role for which the alarm is generated.


Specifies the host for which the alarm is generated.

Impact on the System

Decryption failures occur and functions related to decryption are affected, for example, DBService installation.

Possible Causes

The rngd service is abnormal.


  1. On the MRS cluster details page, click Alarms.

    For MRS 1.8.10 or earlier, log in to MRS Manager and click Alarms.

  2. View detailed alarm information to obtain the value of the HostName field.
  3. Log in to the node for which the alarm is generated. Run the sudo su - root command to switch the user.
  4. Run the /bin/rpm -qa | grep -w "rng-tools" command. If the command is executed successfully, run the ps -ef | grep -v "grep" | grep rngd | tr -d " " | grep "\-o/dev/random" | grep "\-r/dev/urandom" command and view the command output.

    • If the command is executed successfully, the rngd service is correctly installed and configured, and is running properly. Go to 8.
    • If the command is not executed successfully, the rngd service is not running properly. Go to 5.

  5. Run the following command to start the rngd service:

    echo 'EXTRAOPTIONS="-r /dev/urandom -o /dev/random"' >> /etc/sysconfig/rngd

    service rngd start

  6. Run the service rngd status command to check whether the rngd service status is running.

    • If yes, go to 7.
    • If no, go to 8.

  7. Wait until 00:00:00, at which time the system checks the entropy again. Check whether the alarm is cleared automatically.

    • If yes, no further action is required.
    • If no, go to 8.

  8. Collect fault information.

    1. On MRS Manager, choose System > Export Log.
    2. Contact the O&M personnel and send the collected log information.

Related Information


Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel