• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved CentOS 7 / Plesk 17.8.11 Update 2 - Bind install error

Sander Scheer

New Pleskian
Hi,

I'm trying to install Bind on my fresh installed CentOS 7 / Plesk 17.8.11 Update 2 machine, but the following error encounters when I try to remove a (likely) corrupt installed one:
# plesk installer --select-release-current --remove-component bind
Code:
Retrieving information about the installed license key...
Launching component and product checkers...
Downloading file PSA_17.8.11/examiners/disk_space_check.sh: 0%
Downloading file PSA_17.8.11/examiners/disk_space_check.sh: 100% was finished.
Geladen plugins: fastestmirror

- plesk-dns-bind-driver
Installing packages
Geladen plugins: fastestmirror
Uitvoeren Transactie Check
Waarschuwing: RPMDB buiten yum om veranderd.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xeb' in position 6: ordinal not in range(128)
Wissen: plesk-dns-bind-driver [1/1]

ERROR: Failed to run the Yum utility.
The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please contact product technical support.
exit status 1

When I try to run the install command:
# plesk installer --select-release-current --install-component bind
Code:
plesk-dns-bind-driver-17.8.11-cos7.build1708180301.19.no | 1.0 MB     00:00
Uitvoeren Transactie Check
Waarschuwing: RPMDB buiten yum om veranderd.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xeb' in position 6: ordinal not in range(128)
Installeren: plesk-dns-bind-driver-17.8.11-cos7.build1708180301.19.noarch [1/1]

ERROR: Failed to run the Yum utility.
The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please contact product technical support.
exit status 1
Some errors are in Dutch, but it seems that the RPMDB has changed in some way.

I also ran the following commands to try to fix the RPMDB, but that didn't work either:
Code:
# rm /var/lib/rpm/__db.*
# rpm --rebuilddb
# yum clean all
# yum update
# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
 
Hi Igor, that helped me looking in the right direction.
I first removed Bind completely on RPM level according to these instructions: Plesk 12.5 -> Onyx update problem
Then I altered my .bashrc with the following lines (since I don't like a Dutch bash anyway):
Code:
export LC_ALL=C
export LANG=C
export LANGUAGE=en_US
After that I executed this command:
plesk installer --select-release-current --remove-component bind
And then again the install command:
plesk installer --select-release-current --install-component bind

And it now works! Thank you! The "G" in IgorG must stand for "Greatest" ;)
 
Back
Top