Apache fails to start: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

Follow

Comments

5 comments

  • Avatar
    José Ramón León Somovilla

    Hi Pavel!


    First a lot of Thanks Pavel for the info!

    I have the problem that you write about, but i have one more problem:

    -bash: /usr/sbin/plesk: /usr/local/psa/bin/sw-engine-pleskrun: bad interpreter: No such file or directory

    Plesk Command does not work properly, so your solution does not work.

    Could you give me some light to resolve my problem? All my websites are kao! :-(

     

    Thanks!!!! Best regards,

    Jose Ramon Leon Somovilla

  • Avatar
    Bulat Tsydenov

    @José Ramón León Somovilla, Hi!
    It seems that important Plesk packages on your system are corrupted. I would recommend you contact Plesk support in order to resolve the issue.

  • Avatar
    José Ramón León Somovilla (Edited )

    Hi again Bulat!

    My web hosting tech support told me that they contacted to Plesk and it was not solution, but i just worked hard from command line and your code into your .sh file:

    dpkg -P --force-all `dpkg -l | egrep psa-php.?-configurator | awk '{ print $2}'`
    plesk installer --select-release-current --reinstall-patch --upgrade-installed-components

    Just solved the problem!! And today i am going to sleep like a child!!!

    Best regards from Spain,

     
  • Avatar
    Arnoldas Kukulskis

    Hey, I tried to fix  the issue with the solution you offered, but for some reason, I get conflicts with php:

     

    [root@localhost ~]# ./reinstall.sh
    rpm: no packages given for erase
    Downloading file products.inf3: 0%
    Downloading file products.inf3: 100% was finished.
    Downloading file plesk.inf3: 0%
    Downloading file plesk.inf3: 100% was finished.
    Downloading file ppsmbe.inf3: 0%
    Downloading file ppsmbe.inf3: 100% was finished.
    Downloading file sitebuilder.inf3: 0%
    Downloading file sitebuilder.inf3: 100% was finished.
    Downloading file sso.inf3: 0%
    Downloading file sso.inf3: 100% was finished.
    Downloading file setemplates.inf3: 0%
    Downloading file setemplates.inf3: 100% was finished.
    Downloading file pp-sitebuilder.inf3: 0%
    Downloading file pp-sitebuilder.inf3: 100% was finished.
    Downloading file billing.inf3: 0%
    Downloading file billing.inf3: 100% was finished.
    Downloading file mysql.inf3: 0%
    Downloading file mysql.inf3: 100% was finished.
    Downloading file apache.inf3: 0%
    Downloading file apache.inf3: 100% was finished.
    Downloading file nginx.inf3: 0%
    Downloading file nginx.inf3: 100% was finished.
    Downloading file php72.inf3: 0%
    Downloading file php72.inf3: 100% was finished.
    Downloading file php71.inf3: 0%
    Downloading file php71.inf3: 100% was finished.
    Downloading file php70.inf3: 0%
    Downloading file php70.inf3: 100% was finished.
    Downloading file php56.inf3: 0%
    Downloading file php56.inf3: 100% was finished.
    Downloading file php55.inf3: 0%
    Downloading file php55.inf3: 100% was finished.
    Downloading file php54.inf3: 0%
    Downloading file php54.inf3: 100% was finished.
    Downloading file php53.inf3: 0%
    Downloading file php53.inf3: 100% was finished.
    Downloading file php52.inf3: 0%
    Downloading file php52.inf3: 100% was finished.
    Downloading file pmm.inf3: 0%
    Downloading file pmm.inf3: 100% was finished.
    Checking for installed packages...
    Downloading file PSA_17.8.11/plesk-17.8.11-cos7-x86_64.inf3: 0%
    Downloading file PSA_17.8.11/plesk-17.8.11-cos7-x86_64.inf3: 100% was finished.
    Downloading Extensions Catalog feed...
    Downloading file PSA_17.8.11/plesk-patches-17.8.11-cos7-x86_64.inf3: 0%
    Downloading file PSA_17.8.11/plesk-patches-17.8.11-cos7-x86_64.inf3: 100% was finished.
    Downloading file PHP52_17/php52-cos7-x86_64.plesk17.inf3: 0%
    Downloading file PHP52_17/php52-cos7-x86_64.plesk17.inf3: 100% was finished.
    Downloading file PHP53_17/php53-cos7-x86_64.plesk17.inf3: 0%
    Downloading file PHP53_17/php53-cos7-x86_64.plesk17.inf3: 100% was finished.
    Downloading file PHP54_17/php54-cos7-x86_64.plesk17.inf3: 0%
    Downloading file PHP54_17/php54-cos7-x86_64.plesk17.inf3: 100% was finished.
    Downloading file PHP55_17/php55-cos7-x86_64.plesk17.inf3: 0%
    Downloading file PHP55_17/php55-cos7-x86_64.plesk17.inf3: 100% was finished.
    Downloading file PHP56_17/php56-cos7-x86_64.plesk17.inf3: 0%
    Downloading file PHP56_17/php56-cos7-x86_64.plesk17.inf3: 100% was finished.
    Downloading file PHP70_17/php70-cos7-x86_64.plesk17.inf3: 0%
    Downloading file PHP70_17/php70-cos7-x86_64.plesk17.inf3: 100% was finished.
    Downloading file PHP71_17/php71-cos7-x86_64.plesk17.inf3: 0%
    Downloading file PHP71_17/php71-cos7-x86_64.plesk17.inf3: 100% was finished.
    Downloading file PHP72_17/php72-cos7-x86_64.plesk17.inf3: 0%
    Downloading file PHP72_17/php72-cos7-x86_64.plesk17.inf3: 100% was finished.
    Downloading file SITEBUILDER_17.8.12/sitebuilder-17.8.12-rhall-all.inf3: 0%
    Downloading file SITEBUILDER_17.8.12/sitebuilder-17.8.12-rhall-all.inf3: 100% was finished.
    gpg-pubkey-352c64e5-52ae6884 gpg(Fedora EPEL (7) <epel@fedoraproject.org>)
    gpg-pubkey-f4a80eb5-53a7ff4b gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>)
    gpg-pubkey-9cd4953f-4a9da118 gpg(IUS Community Project <coredev@iuscommunity.org>)
    gpg-pubkey-1bb943db-511147a9 gpg(MariaDB Package Signing Key <package-signing-key@mariadb.org>)
    gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <info@plesk.com>)
    Loaded plugins: fastestmirror


    Detecting installed product components.
    gpg-pubkey-352c64e5-52ae6884 gpg(Fedora EPEL (7) <epel@fedoraproject.org>)
    gpg-pubkey-f4a80eb5-53a7ff4b gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>)
    gpg-pubkey-9cd4953f-4a9da118 gpg(IUS Community Project <coredev@iuscommunity.org>)
    gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <info@plesk.com>)
    gpg-pubkey-1bb943db-511147a9 gpg(MariaDB Package Signing Key <package-signing-key@mariadb.org>)
    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.
    Downloading file PSA_17.8.11/examiners/panel_preupgrade_checker.php: 0%
    Downloading file PSA_17.8.11/examiners/panel_preupgrade_checker.php: 100% was finished.
    Downloading file PSA_17.8.11/examiners/php_launcher.sh: 0%
    Downloading file PSA_17.8.11/examiners/php_launcher.sh: 100% was finished.
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.coreix.net
    * extras: mirrors.coreix.net
    * ius: lon.mirror.rackspace.com
    * updates: centos.serverspace.co.uk
    PHP_7_0-thirdparty | 2.9 kB 00:00
    PHP_7_1-thirdparty | 2.9 kB 00:00
    PHP_7_2-thirdparty | 2.9 kB 00:00
    PLESK_17_8_11-dist | 2.9 kB 00:00
    PLESK_17_8_11-extras | 2.9 kB 00:00
    PLESK_17_8_11-thirdparty | 2.9 kB 00:00
    PLESK_17_PHP70 | 2.9 kB 00:00
    PLESK_17_PHP71 | 2.9 kB 00:00
    PLESK_17_PHP72 | 2.9 kB 00:00
    No package matched to remove: php72u-common
    Attempt to remove 'php72u-common' to resolve conflict has failed
    Attempt to remove 'php-common' to resolve conflict has succeeded
    No package matched to remove: php72u-cli
    Attempt to remove 'php72u-cli' to resolve conflict has failed
    No package matched to remove: php56u-cli
    Attempt to remove 'php56u-cli' to resolve conflict has failed
    No package matched to remove: php72u-pdo
    Attempt to remove 'php72u-pdo' to resolve conflict has failed
    No package matched to remove: php56u-pdo
    Attempt to remove 'php56u-pdo' to resolve conflict has failed
    No package matched to remove: php72u-xml
    Attempt to remove 'php72u-xml' to resolve conflict has failed
    No package matched to remove: php56u-xml
    Attempt to remove 'php56u-xml' to resolve conflict has failed
    No package matched to remove: php72u-common
    Attempt to remove 'php72u-common' to resolve conflict has failed
    No package matched to remove: php56u-common
    Attempt to remove 'php56u-common' to resolve conflict has failed
    Attempt to remove 'php72u-cli' to resolve conflict has failed
    No package matched to remove: php56u-cli
    Attempt to remove 'php56u-cli' to resolve conflict has failed
    No package matched to remove: php72u-pdo
    Attempt to remove 'php72u-pdo' to resolve conflict has failed
    No package matched to remove: php56u-pdo
    Attempt to remove 'php56u-pdo' to resolve conflict has failed
    No package matched to remove: php72u-xml
    Attempt to remove 'php72u-xml' to resolve conflict has failed
    No package matched to remove: php56u-xml
    Attempt to remove 'php56u-xml' to resolve conflict has failed
    No package matched to remove: php72u-common
    Attempt to remove 'php72u-common' to resolve conflict has failed
    No package matched to remove: php56u-common
    Attempt to remove 'php56u-common' to resolve conflict has failed
    No package matched to remove: php72u-cli
    Attempt to remove 'php72u-cli' to resolve conflict has failed
    No package matched to remove: php56u-cli
    Attempt to remove 'php56u-cli' to resolve conflict has failed
    No package matched to remove: php72u-pdo
    Attempt to remove 'php72u-pdo' to resolve conflict has failed
    No package matched to remove: php56u-pdo
    Attempt to remove 'php56u-pdo' to resolve conflict has failed
    No package matched to remove: php72u-xml
    Attempt to remove 'php72u-xml' to resolve conflict has failed
    No package matched to remove: php56u-xml
    Attempt to remove 'php56u-xml' to resolve conflict has failed
    No package matched to remove: php72u-common
    Attempt to remove 'php72u-common' to resolve conflict has failed
    No package matched to remove: php56u-common
    Attempt to remove 'php56u-common' to resolve conflict has failed
    No package matched to remove: php72u-cli
    Attempt to remove 'php72u-cli' to resolve conflict has failed
    No package matched to remove: php56u-cli
    Attempt to remove 'php56u-cli' to resolve conflict has failed
    No package matched to remove: php72u-pdo
    Attempt to remove 'php72u-pdo' to resolve conflict has failed
    No package matched to remove: php56u-pdo
    Attempt to remove 'php56u-pdo' to resolve conflict has failed
    No package matched to remove: php72u-xml
    Attempt to remove 'php72u-xml' to resolve conflict has failed
    No package matched to remove: php56u-xml
    Attempt to remove 'php56u-xml' to resolve conflict has failed
    No package matched to remove: php72u-common
    Attempt to remove 'php72u-common' to resolve conflict has failed
    No package matched to remove: php56u-common
    Attempt to remove 'php56u-common' to resolve conflict has failed
    Exception: Failed to solve dependencies:
    php72u-pdo conflicts with php56u-pdo-5.6.38-1.ius.centos7.x86_64
    php72u-cli conflicts with php56u-cli-5.6.38-1.ius.centos7.x86_64
    php72u-fpm-7.2.10-1.ius.centos7.x86_64 requires libargon2.so.0()(64bit)
    php72u-xml conflicts with php56u-xml-5.6.38-1.ius.centos7.x86_64
    php72u-cli-7.2.10-1.ius.centos7.x86_64 requires libargon2.so.0()(64bit)
    php-mbstring-5.4.16-45.el7.x86_64 requires php-common(x86-64) = 5.4.16-45.el7
    mod_php72u-7.2.10-1.ius.centos7.x86_64 requires libargon2.so.0()(64bit)
    php72u-common conflicts with php56u-common-5.6.38-1.ius.centos7.x86_64

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

  • Avatar
    Bato Tsydenov

    @Arnoldas Kukulskis

    According to the error it looks like you have php 5.6 installed from IUS repository.

    To fix this remove PHP packages, disable IUS repository and try applying solution once again.

Please sign in to leave a comment.

Have more questions? Submit a request