Hôm nay chúng tôi có thể giúp gì cho bạn?

How to remove the message “PowerChute Services are disabled due to invalid credentials.” on the PowerChute VM.

Issue:
After installing PowerChute Network Shutdown for an ESXi host, the PowerChute VM reports
“PowerChute Services are disabled due to invalid credentials. Please refer to the PowerChute User Guide for recovery procedures.”

Product:
PowerChute Network Shutdown versions 4.4.x, 5.x

Environment:
PowerChute Appliance/VM on a single ESXi host.

Cause:
The PowerChute web interface username and password are not set when the VM is installed.

Solution:

1. Log into the PowerChute VM as root


PowerChute VM login prompt

2. Enter the command systemctl enable PowerChute to enable PowerChute to start when the VM is powered on.
3. Enter the command systemctl start PowerChute to start the PowerChute service.
Open the PowerChute web interface and run the setup wizard.
4. Once the setup has been completed and a username and password have been assigned to the PowerChute web interface, log back into the PowerChute VM as root.
5. If you are familiar with the vi editor, open /etc/NetworkManager/dispatcher.d/99-login-prompt and comment out the lines below by adding a leading # symbol and save the file.

# Check for an ovf environment...
#vmtoolsd --cmd 'info-get guestinfo.ovfenv' > /dev/null 2>&1
#if [ $? -ne 0 ]; then
#    echo -e "\n\nPowerChute Services are disabled due to invalid credentials. Please refer to the PowerChute User Guide for recovery procedures.\n\n" >> /etc/issue
#fi

Next, edit the file /etc/motd. Delete all the lines and save the file.

After the next reboot when you log in, you will not see the error message “PowerChute Services are disabled due to invalid credentials. Please refer to the PowerChute User Guide for recovery procedures.”

NOTE: If you are not comfortable with using vi editor:

1. Verify that SSH is running on the PowerChute VM. The command is systemctl status sshd.
If SSH is not running, enter the command systemctl start sshd.
NOTE: If the error Access is Denied appears while attempting to SSH/SFTP to the PowerChute VM see Schneider ElectricFAQ000271236
2. Next, from a Windows system, open a connection to the PowerChute VM using an SSH program, e.g., Filezilla or WinSCP.
3. Log into the PowerChute VM as root
4. On the PowerChute VM, navigate to /etc/NetworkManager/dispatcher.d
5. Right-click on the 99-login-prompt file and select viewed/edited.

PowerChute VM login using Filezilla
Select veiw-edit txt file

6. Comment out these lines by adding a leading # as shown below and save the file.


# Check for an ovf environment...
#vmtoolsd --cmd 'info-get guestinfo.ovfenv' > /dev/null 2>&1
#if [ $? -ne 0 ]; then
#    echo -e "\n\nPowerChute Services are disabled due to invalid credentials. Please refer to the PowerChute User Guide for recovery procedures.\n\n" >> /etc/issue
#fi

Next, edit the file /etc/motd. Delete the lines and save the file.
screenshot of the etc directory
screenshot of notepad with motd file
After the next reboot when you log in, you will not see the error message “PowerChute Services are disabled due to invalid credentials. Please refer to the PowerChute User Guide for recovery procedures.”


Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:

Bạn cần trợ giúp?

Bạn cần trợ giúp?

Công cụ chọn sản phẩm

Công cụ chọn sản phẩm

Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

Nhận báo giá

Nhận báo giá

Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

Nơi mua hàng?

Nơi mua hàng?

Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

Trung tâm Hỗ trợ

Trung tâm Hỗ trợ

Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cộng đồng Schneider Electric
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings