• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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