• 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

Issue Creating physical hosting error to add a domain

Hi everyone ,

Creating physical hosting
phpinimng failed: Cannot execute /usr/bin/python3: No such file or directory

I have this error when i tri to add a domain


thank you
 
Install the missing Python3 package.

On Ubuntu:

# apt-get install python3-minimal

On CentOS:

# yum install python3
 
Thank you

Hi have this :


[centos@relaxed-wilbur ~]$ yum install python3


Modules complémentaires chargés : fastestmirror


Vous devez être super-utilisateur pour exécuter cette commande.


[centos@relaxed-wilbur ~]$ sudo yum install python3


Modules complémentaires chargés : fastestmirror


Loading mirror speeds from cached hostfile


epel/x86_64/metalink | 32 kB 00:00


* base: centos.mirrors.proxad.net


* epel: mirror.23m.com


* extras: centos.mirrors.proxad.net


* updates: centos.mirrors.proxad.net


PLESK_17_PHP73 | 2.9 kB 00:00


PLESK_17_PHP74 | 2.9 kB 00:00


PLESK_18_0_46-extras | 2.9 kB 00:00


base | 3.6 kB 00:00


extras | 2.9 kB 00:00


ius | 1.3 kB 00:00


plesk-ext-grafana | 2.9 kB 00:00


plesk-ext-panel-migrator | 2.9 kB 00:00


plesk-ext-site-import | 2.9 kB 00:00


updates | 2.9 kB 00:00


Le paquet python3-3.6.8-18.el7.x86_64 est déjà installé dans sa dernière version


Rien à faire


[centos@relaxed-wilbur ~]$
 
What is your OS version?
What is the output of

# ls -la /usr/bin/python3

Have you tried to fix it with

# plesk repair installation

?
 
For output of # ls -la /usr/bin/python3
[centos@relaxed-wilbur ~]$ ls -la /usr/bin/python3
lrwxrwxrwx. 1 root root 25 25 mars 17:36 /usr/bin/python3 -> /etc/alternatives/python3


centos version:
CentOS Linux release 7.9.2009 (Core)

i currently try to repair plesk

thank you
 
On my test Plesk Obsidian 18.0.46 version on CentOS 7.2 I see:

Code:
[root@igubaidullin-sites ~]# plesk version
Product version: Plesk Obsidian 18.0.46.1
     OS version: CentOS 7.9.2009 x86_64
     Build date: 2022/09/05 16:00
       Revision: 3e8ad64cffa0bec7a50305dbf03ab390725e4efb

[root@igubaidullin-sites ~]# ll /usr/bin/python3
lrwxrwxrwx. 1 root root 9 Feb 25  2021 /usr/bin/python3 -> python3.6

[root@igubaidullin-sites ~]# ll /usr/bin/python3.6
-rwxr-xr-x. 2 root root 11328 Nov 16  2020 /usr/bin/python3.6

[root@igubaidullin-sites ~]# rpm -qf /usr/bin/python3.6
python3-3.6.8-18.el7.x86_64
 
plesk repair installation:


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.46-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...
Checking for the system groups and users necessary for Apache...
Group 'apache' already exists
Checking for the user 'apache'...
User 'apache' already exists
Group 'psaserv' already exists
Trying to add supplementary group 'psaserv' for user 'apache'... already there
Group 'psacln' already exists

===> Installing Apache Server
Trying to stop service httpd... active
done
done
===> Installing /usr/sbin/suexec replacement
Trying to backup original /usr/sbin/suexec... done
Trying to comment default ssl virtual host in /etc/httpd/conf.d/ssl.conf... done
Trying to comment default ssl port in /etc/httpd/conf.d/ssl.conf... done
Trying to configure SSL ciphers and protocols for: apache... Cannot execute /usr/bin/python3: No such file or directory

Warning: configure SSL ciphers and protocols for: apache

***** problem report *****
Warning: configure SSL ciphers and protocols for: apache
Reconfiguring ProFTPD FTP server...
===> Configuring ProFTPD server
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
Restoring SELinux context on '/usr/local/psa'
Restoring SELinux context on '/var/qmail/popuser'
Restoring SELinux context on '/var/lib/plesk'
Restoring SELinux context on '/usr/libexec/postfix'
Restoring SELinux context on '/usr/lib64/plesk-9.0'
Restoring SELinux context on '/etc/nginx'
Restoring SELinux context on '/usr/sbin/nginx'
Restoring SELinux context on '/var/lib/nginx'
Restoring SELinux context on '/var/log/nginx'
Restoring SELinux context on '/var/run/nginx.pid'
Restoring SELinux context on '/usr/share/passenger_temp'
Restoring SELinux context on '/var/lib/plesk/mail'
Restoring SELinux context on '/usr/lib64/php/modules'
Restoring SELinux context on '/var/run'
Restoring SELinux context on '/var/lib/php/session'
Restoring SELinux context on '/etc/resolv.conf'
Restoring SELinux context on '/var/www/vhosts'
Restoring SELinux context on '/var/qmail/mailnames'
 
Back
Top