• 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

Resolved No such file or directory: '/opt/plesk/python/2.7/bin/python2.7'

Maz

New Pleskian
Hi,
running "plesk repair installation" I get an exit status 1 with the message :
ERROR:[Error 2] No such file or directory: '/opt/plesk/python/2.7/bin/python2.7' .
I attach the complete log.
Reconfiguring the Plesk installation

Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
===> Plesk database scheme upgrade has been started.
Applying migrations from: /usr/local/psa/bootstrapper/pp18.0.43-bootstrapper/migrations/
===> Plesk database scheme upgrade has been completed.
===> Cumulative Plesk upgrade and repair (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade and repair of Plesk (final stage) has been completed.
Reconfiguring mail subsystem...
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
===> Configuring ProFTPD server
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
Synchronizing state of sw-cp-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable sw-cp-server
Synchronizing state of sw-engine.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable sw-engine
Synchronizing state of dovecot.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable dovecot
Synchronizing state of nginx.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable nginx
Synchronizing state of psa.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable psa
Reconfiguring SSL ciphers and protocols...
Regenerating web servers' configuration files...
Cleaning active Panel sessions...
Fixing permissions on Panel packages files
ERROR:[Errno 2] No such file or directory: '/opt/plesk/python/2.7/bin/python2.7'

Bootstrapper repair finished.
Errors occurred while performing the following actions: fix Plesk packages permissions.
Check '/var/log/plesk/install/plesk_18.0.43_repair.log' and '/var/log/plesk/install/plesk_18.0.43_repair_problems.log' for details.
If you can't resolve the issue on your own, please address Plesk support.
.
Plesk: Obsidian v18.0.43_build1800220414.18 os_RedHat el8
OS: CloudLinux 8.5 (Vladimir Shatalov) (Based Alma Linux 8.5) .

Thanks to all.
 
hello @Maz ,

Is this error appear during each execution of plesk repair command ?

is packages plesk-py27 installed in your system ?
 
hello @Maz ,

Is this error appear during each execution of plesk repair command ?

is packages plesk-py27 installed in your system ?
Hello, thanks for the reply, the problem appeared only by launching "plesk rapair installation".
I verified and fixed it by launching yum reinstall plesk-py27 as suggested and now it works, maybe package was damaged.

Thank you.
 
Back
Top