What Should I Do If the One-Click Password Reset Plug-ins Installed on a Linux ECS Fail to Be Started?
Scenarios
The one-click password reset plug-ins installed on a Linux ECS fail to be started.
Symptom
When a user ran sudo sh setup.sh to install one-click password reset plug-ins, the following error message is displayed:
begin install CloudResetPwdAgent ===============cp LinuxCloudResetPwdAgent====================== ===============vi /etc/profile====================== ===============begin install CloudrResetPwdAgent=================== Detected RHEL or Fedora: Installing the cloudResetPwdAgent daemon using systemd... creating default service file... Reading file /etc/systemd/system/cloudResetPwdAgent.service Job for cloudResetPwdAgent.service failed because the control process exited with error code. See "systemctl status cloudResetPwdAgent.service" and "journalctl -xe" for details. Failed to start service cloudResetPwdAgent /CloudResetPwdAgent/CloudResetPwdAgent.Linux cloudResetPwdAgent install successfully.
In the /var/log/message file, the following error information is displayed:
systemd[1]: Starting cloudResetPwdAgent... systemd[2324]: cloudResetPwdAgent.service: Failed to execute command: Permission denied systemd[2324]: cloudResetPwdAgent.service: Failed at step EXEC spawning /CloudrResetPwdAgent/bin/./cloudResetPwdAgent.script: Permission denied systemd[1]: cloudResetPwdAgent.service: Control process exited, code=exited status=203 systemd[1]: cloudResetPwdAgent.service: Failed with result 'exit-code'. systemd[1]: Failed to start cloudResetPwdAgent.
The password reset plug-ins can be executed in the root directory only after Security-Enhanced Linux (SELinux) is disabled.
Solution
- Disable SELinux temporarily.
setenforce 0
- Disable SELinux permanently.
- Install the password reset plug-ins again.
sudo sh setup.sh
- If "cloudResetPwdAgent install successfully." is displayed and "Failed to start service cloudResetPwdAgent" is not displayed, the installation is successful.
- If the installation failed, check whether the installation environment meets requirements and install the plug-in again.
Passwords FAQs
- How Can I Change the Password for Logging In to a Linux ECS?
- What Is the Default Password for Logging In to a Linux ECS?
- How Can I Set the Validity Period of the Image Password?
- Changing the Login Password on an ECS
- Resetting the Password for Logging In to a Windows ECS Without the Password Reset Plug-in Installed
- Resetting the Password for Logging In to a Linux ECS Without the Password Reset Plug-in Installed
- What Should I Do If the System Displays a Message Indicating that the Password Is Incorrect When I Remotely Log In to My ECS?
- What Should I Do If I Cannot Log In to My ECS Using the Initial Password After I Use It for a Period of Time?
- Why Does Login to My ECS Using the Reset Password Fail?
- Why Am I Seeing the Message Indicating That the Port Is Used by a One-Click Password Reset Plug-in?
- Why Does the One-Click Password Reset Plug-in Use Too Much VIRT and SHR?
- Disabling SELinux
- What Should I Do If the One-Click Password Reset Plug-ins Installed on a Linux ECS Fail to Be Started?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore