• 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

Errors in Plesk driving me crazy

bogstench

New Pleskian
Hi guys
have been having errors in Plesk for some days now since the last blimmin update, so far I have traweled these forums and others online and attempting various so called solutions whihc none of which have yet solved.

Failed to update Plesk. To solve this problem, you can send the update log to Odin support. View the update logs (Mar 1, 2016). View the update logs (Mar 2, 2016). View the update logs (Mar 3, 2016). Copy the logs to your computer before you close this message. To close this message, click here.

Before anybody sdays anything about clearing yum, it is something I have tried and failed, infact I have probley tried just about every soltution indicated on the first 20-30 pages found in google when searching on this subject. error log is below, please help and provide me with a valid solution.

Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
[4] => --include-components-from-class
[5] => vendor=parallels
[6] => --include-components-from-class
[7] => patched
)

Details: Unable to create compatibility symlink in /tmp for : /var/log/plesk/install/autoinstaller3.log
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 12%..21%..30%..40%..50%..60%..71%..80%..91%..100% was finished.
File downloading ppsmbe.inf3: 18%..49%..70%..100% was finished.
File downloading sitebuilder.inf3: 10%..35%..48%..74%..87%..100% was finished.
File downloading sso.inf3: 24%..37%..100% was finished.
File downloading setemplates.inf3: 94%..100% was finished.
File downloading pp-sitebuilder.inf3: 15%..30%..42%..59%..61%..74%..81%..96%..100% was finished.
File downloading billing.inf3: 12%..30%..40%..59%..61%..71%..80%..91%..100% was finished.
File downloading mysql.inf3: 100% was finished.
File downloading apache.inf3: 35%..100% was finished.
File downloading nginx.inf3: 26%..48%..58%..100% was finished.
File downloading php70.inf3: 43%..100% was finished.
File downloading php56.inf3: 100% was finished.
File downloading php55.inf3: 32%..100% was finished.
File downloading php54.inf3: 31%..100% was finished.
File downloading php53.inf3: 100% was finished.
File downloading php52.inf3: 100% was finished.
File downloading pmm.inf3: 74%..100% was finished.
Checking for installed packages...
File downloading PSA_12.5.30/plesk-12.5.30-cos6-x86_64.inf3: 15%..36%..40%..50%..71%..89%..94%..100% was finished.
Downloading extension catalog feed...
File downloading PSA_12.5.30/plesk-patches-12.5.30-cos6-x86_64.inf3: 13%..21%..31%..40%..50%..60%..70%..80%..93%..100% was finished.
File downloading SITEBUILDER_12.5.29/sitebuilder-12.5.29-rhall-all.inf3: 100% was finished.
File downloading BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 100% was finished.
File downloading NGINX_1.9.4/nginx-1.9.4-cos6-x86_64.inf3: 100% was finished.
File downloading PHP_7.0.3/php70-7.0.3-cos6-x86_64.inf3: 90%..100% was finished.
File downloading PHP_5.6.18/php56-5.6.18-cos6-x86_64.inf3: 79%..100% was finished.
File downloading PHP_5.5.32/php55-5.5.32-cos6-x86_64.inf3: 13%..100% was finished.
File downloading PHP_5.4.45/php54-5.4.45-cos6-x86_64.inf3: 29%..100% was finished.
File downloading PHP_5.3.29/php53-5.3.29-cos6-x86_64.inf3: 13%..79%..100% was finished.
File downloading PHP_5.2.17/php52-5.2.17-cos6-x86_64.inf3: 81%..100% was finished.
File downloading PMM_0.1.10/pmm-0.1.10-cos6-x86_64.inf3: 100% was finished.
gpg-pubkey-0608b895-4bd22942 gpg(EPEL (6) <[email protected]>)
gpg-pubkey-5ebd2744-418ffac9 gpg(Atomic Rocket Turtle <[email protected]>)
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
gpg-pubkey-c105b9de-4e0fd3a3 gpg(CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]>)
gpg-pubkey-4520afa9-50ab914c gpg(Atomicorp (Atomicorp Official Signing Key) <[email protected]>)
ConfigError: Parsing file failed: File contains no section headers.
file: file:///etc/yum.conf, line: 1
'22><tr><td =\n'
Detecting installed product components.
Gathering information about installed license key...
Launching component checkers...
File downloading PSA_12.5.30/examiners/panel_preupgrade_checker.php: 10%..20%..34%..41%..55%..62%..71%..80%..94%..100% was finished.
File downloading PSA_12.5.30/examiners/php_launcher.sh: 100% was finished.
ConfigError: Parsing file failed: File contains no section headers.
file: file:///etc/yum.conf, line: 1
'22><tr><td =\n'

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



Thanks in advance!"
 
well, it seems you got a corrupted etc/yum.conf file. Ours [on CentOS7; Plesk 12.5 -] for example looks like

Code:
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release


#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

which then point to /etc/yum.repos.d for actual files holding your repo list.

Correct me if I'm wrong...
 
Last edited:
Hi, sorry for delay in answering. was out of reach...

log into console and try
# mv /etc/yum.conf /etc/yum.conf.old

if any errors, let us know exact error message.
If it works, just recreate a blank yum.conf and add above info as is in our yum.conf

Please let us now result

Cheers,
Tom
 
Hi and thx for the reply.
Logging into terminal and running the command gave no errors or any kind of acknowldgement.
When trying to update the server I still receive error messages, opening the plesk update options displays the following:
Failed to check system configuration - Yum utility finished with errors. Installation may fail.
ConfigError: Error accessing file for config file:///etc/yum.conf

I have also asked my host support for some help on this and the only solution they have given me is to reset the server, which is something I really do not want to do as I have clients who need a 24 hours service, so am really hopping that we can get this solved in some other way.

Thanks in advance for your help on this matter.
 
Here is also the latest error report, which I believe to be the same as previous:

Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
[4] => --include-components-from-class
[5] => vendor=parallels
[6] => --include-components-from-class
[7] => patched
)

Details: File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 12%..21%..30%..40%..50%..60%..71%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 39%..49%..90%..100% was finished.
File downloading sitebuilder.inf3: 61%..99%..100% was finished.
File downloading sso.inf3: 10%..78%..100% was finished.
File downloading setemplates.inf3: 19%..100% was finished.
File downloading pp-sitebuilder.inf3: 12%..30%..42%..58%..61%..71%..80%..90%..100% was finished.
File downloading billing.inf3: 12%..30%..42%..53%..61%..74%..81%..93%..100% was finished.
File downloading mysql.inf3: 17%..100% was finished.
File downloading apache.inf3: 35%..100% was finished.
File downloading nginx.inf3: 26%..48%..58%..100% was finished.
File downloading php70.inf3: 99%..100% was finished.
File downloading php56.inf3: 32%..100% was finished.
File downloading php55.inf3: 100% was finished.
File downloading php54.inf3: 100% was finished.
File downloading php53.inf3: 100% was finished.
File downloading php52.inf3: 100% was finished.
File downloading pmm.inf3: 32%..100% was finished.
Checking for installed packages...
File downloading PSA_12.5.30/plesk-12.5.30-cos6-x86_64.inf3: 15%..36%..40%..59%..69%..71%..82%..94%..100% was finished.
Downloading extension catalog feed...
File downloading PSA_12.5.30/plesk-patches-12.5.30-cos6-x86_64.inf3: 13%..21%..30%..44%..51%..61%..73%..85%..90%..100% was finished.
File downloading SITEBUILDER_12.5.29/sitebuilder-12.5.29-rhall-all.inf3: 55%..100% was finished.
File downloading BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 100% was finished.
File downloading NGINX_1.9.4/nginx-1.9.4-cos6-x86_64.inf3: 100% was finished.
File downloading PHP_7.0.3/php70-7.0.3-cos6-x86_64.inf3: 71%..100% was finished.
File downloading PHP_5.6.18/php56-5.6.18-cos6-x86_64.inf3: 13%..100% was finished.
File downloading PHP_5.5.32/php55-5.5.32-cos6-x86_64.inf3: 100% was finished.
File downloading PHP_5.4.45/php54-5.4.45-cos6-x86_64.inf3: 13%..79%..100% was finished.
File downloading PHP_5.3.29/php53-5.3.29-cos6-x86_64.inf3: 13%..79%..100% was finished.
File downloading PHP_5.2.17/php52-5.2.17-cos6-x86_64.inf3: 13%..98%..100% was finished.
File downloading PMM_0.1.10/pmm-0.1.10-cos6-x86_64.inf3: 33%..100% was finished.
gpg-pubkey-0608b895-4bd22942 gpg(EPEL (6) <[email protected]>)
gpg-pubkey-5ebd2744-418ffac9 gpg(Atomic Rocket Turtle <[email protected]>)
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
gpg-pubkey-c105b9de-4e0fd3a3 gpg(CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]>)
gpg-pubkey-4520afa9-50ab914c gpg(Atomicorp (Atomicorp Official Signing Key) <[email protected]>)
ConfigError: Parsing file failed: File contains no section headers.
file: file:///etc/yum.conf, line: 1
'22><tr><td =\n'
Detecting installed product components.
Gathering information about installed license key...
Launching component checkers...
File downloading PSA_12.5.30/examiners/panel_preupgrade_checker.php: 10%..20%..34%..41%..51%..60%..72%..83%..93%..100% was finished.
File downloading PSA_12.5.30/examiners/php_launcher.sh: 100% was finished.
ConfigError: Parsing file failed: File contains no section headers.
file: file:///etc/yum.conf, line: 1
'22><tr><td =\n'

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
 
your message still sais
etc/yum.conf, line: 1
'22><tr><td =\n'
but of course etc/yum.conf doesn't nclude any <tr> or <td> html tags.

You need to find a way to remove/delete/rename your corrupted file and replace it with a proper one.
Just a guess, but it may have been caused by hard drive corruption. in that case
Code:
fsck

For another possiblity please look at
http://serverfault.com/questions/565914/remove-corrupt-file-with-bad-file-name-linux
http://serverfault.com/questions/487113/cant-delete-corrupt-files-on-linux
http://unix.stackexchange.com/questions/1511/remove-a-corrupted-file-in-a-linux-system

My knowledge is limited when it comes to file system issues, unfortunately.

Hope above helps
Tom
 
Back
Top