What Do I Do If I Get Error "WARNING: Install the haveged service by referring to the installation guide" When Starting MindStudio IDE?

Symptom

During the startup, the message "WARNING: Install the haveged service by referring to the installation guide." is displayed, indicating that the haveged service is not installed, as shown in Figure 1.

Figure 1 Prompt message

Possible Cause

The system entropy is insufficient. As a result, the ssh-manager plugin will be blocked when encrypting or decrypting passwords.

Solution

To solve this problem, perform the following steps to install the haveged service:

If you install MindStudio as a non-root user, you may need to use the privilege escalation commands. In this case, obtain the required sudo permissions. After the installation is complete, cancel the permissions related to high-risk commands. Otherwise, sudo privilege escalation risks exist.

  1. Install the haveged service.
    • For CentOS, openEuler, EulerOS, and Kylin OS, run the following command:
      sudo yum install haveged
    • For the Ubuntu OS, run the following command:
      sudo apt-get install haveged
  2. Check whether the service has been started.
    systemctl status haveged.service
    • If the command output contains "Active: active (running)", the service has been started.
    • If the command output contains "Active: inactive (dead)", the service has not been started. Run the following command to start the service:
      systemctl start haveged.service
  3. Enable automatic start of the service during system startup.
    systemctl enable haveged.service