Merci pour ton aide Athar !
Posts by wepicurien
-
-
Je me suis renseigné auprès de mon dev qui est intervenu dernièrement sur notre site e-Commerce.
Comme précisé, il a bien installé php (7.4) + des dépendances qui manquaient pour faire tourner notre PrestaShop.
Il précise que le seul gros changement qui aurai pu impacter i-MSCP est la mise à jour de php.
Il ne connait pas i-MSCP et m'invite à voir avec des pros du panel !
Par ailleurs, je confirme que le fichier est manquant : /usr/local/sbin/imscp_panel
Celui-ci est bien présent : /usr/local/etc/imscp_panel/php-fpm.conf
Peux-tu m'aider ? Ca dépasse là mes compétences i-MSCP
-
Merci de ton retour !
Le souci semble venir d'ici :-> systemctl status imscp_panel.service
* imscp_panel.service - PHP FastCGI process Manager Daemon for i-MSCP FrontEnd
Loaded: loaded (/etc/systemd/system/imscp_panel.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-04-10 02:04:33 UTC; 1 day 17h ago
Process: 222 ExecStart=/usr/local/sbin/imscp_panel --nodaemonize --fpm-config /usr/local/etc/imscp_panel/php-fpm.conf
Main PID: 222 (code=exited, status=203/EXEC)
CPU: 391us
Apr 10 02:04:33 wepiWEBeCom1prod systemd[1]: Starting PHP FastCGI process Manager Daemon for i-MSCP FrontEnd...
Apr 10 02:04:33 wepiWEBeCom1prod systemd[222]: imscp_panel.service: Failed to execute command: No such file or directory
Apr 10 02:04:33 wepiWEBeCom1prod systemd[222]: imscp_panel.service: Failed at step EXEC spawning /usr/local/sbin/imscp_p
Apr 10 02:04:33 wepiWEBeCom1prod systemd[1]: imscp_panel.service: Main process exited, code=exited, status=203/EXEC
Apr 10 02:04:33 wepiWEBeCom1prod systemd[1]: imscp_panel.service: Failed with result 'exit-code'.
Apr 10 02:04:33 wepiWEBeCom1prod systemd[1]: Failed to start PHP FastCGI process Manager Daemon for i-MSCP FrontEnd.
Apr 10 02:04:33 wepiWEBeCom1prod systemd[1]: imscp_panel.service: Consumed 391us CPU time.
Peux-tu m'aider ?
-
Salut Athar,
Merci de répondre si rapidement Tu m'avais déjà aidé sur l'installation de php7.2
Oui, désolé, le contexte n'est pas très détaillé.Debian 10 est installé sur la machine depuis longtemps. Nous avons installé dernièrement php7.4 sur la machine.
L'erreur apparaît lorsque je suis accéder au panel. Les sites hébergés fonctionnent normalement.
Merci d'avance de ton aide précieuse,
Romain.
-
Bonjour à tous,
J'ai un souci avec i-MSCP. Je suis en version 1.5.3 2018120800 avec Debian 10.
Le message d'erreur Error 502 Bad Gateway apparaît sur une de nos machines tournant avec i-MSCP.
Savez-vous ce qu'il se passe ?
Merci,Romain.
-
Thanks Athar for helping me!
Nevertheless, Sury repos are still in sources.list file.
What's more, I tried to remove and reinstall the plugin phpswitcher but the plugin is still using stretch distribution... I don't know why!
One detail: I upgraded Debian 9 to Debian 10.
-
Hi Athar,
Thanks for your answer.
Sources list in /etc/apt/sources.list is with buster upgrades. That is why I don't understand why phpswitcher is using stretch sources...
Is it the right repository that I need to update?
Thanks,
Romain. -
Hi everyone!
Hop ethis message finds you well
I am working on Debian 10 (buster) with i-MSCP 1.5.3 2018120800 and I have that issue to install php7.2.
Could you help me?
Thanks,
Romain.
Code- # sudo perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register --packaged 7.2
- [INFO] Scanning PHP site for the PHP 7.2 sources...
- [INFO] Found PHP 7.2 sources at http://php.net/distributions/php-7.2.24.tar.gz
- [INFO] The PHP 7.2.24 sources are already present in the /usr/local/src/phpswitcher directory. Skipping download.
- [INFO] Extracting the PHP 7.2.24 archive into /usr/local/src/phpswitcher/php-7.2.24 ...
- [INFO] Setup PHP build environment...
- I: Copying COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.809435
- I: forking: cp -al /var/cache/pbuilder/psw-debian-stretch.cow /var/cache/pbuilder/build/cow.809435
- I: unlink for ilistfile /var/cache/pbuilder/build/cow.809435/.ilist failed, it didn't exist?
- I: Invoking pbuilder
- I: forking: pbuilder update --override-config --configfile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/.pbuilderrc --hookdir /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/build/cow.809435 --mirror http://deb.debian.org/debian --distribution stretch --extrapackages 'apt-transport-https apt-utils ca-certificates devscripts eatmydata equivs gnupg2 quilt wget' --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.809435'
- I: Running in no-targz mode
- I: Upgrading for distribution stretch
- I: Current time: Mon Apr 17 10:39:40 CEST 2023
- I: pbuilder-time-stamp: 1681720780
- I: copying local configuration
- I: Installing apt-lines
- I: mounting /proc filesystem
- I: mounting /sys filesystem
- I: creating /{dev,run}/shm
- I: mounting /dev/pts filesystem
- I: redirecting /dev/ptmx to /dev/pts/ptmx
- I: policy-rc.d already exists
- I: using eatmydata during job
- I: Refreshing the base.tgz
- I: upgrading packages
- Hit:1 http://deb.debian.org/debian-security stretch/updates InRelease
- Hit:2 http://deb.debian.org/debian stretch-updates InRelease
- Ign:3 http://deb.debian.org/debian stretch InRelease
- Hit:4 http://deb.debian.org/debian stretch Release
- Reading package lists...
- I: Obtaining the cached apt archive contents
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Reading package lists...
- Building dependency tree...
- Reading state information...
- apt-transport-https is already the newest version (1.4.11).
- apt-utils is already the newest version (1.4.11).
- ca-certificates is already the newest version (20200601~deb9u2).
- dpkg-dev is already the newest version (1.18.26).
- wget is already the newest version (1.18-5+deb9u3).
- aptitude is already the newest version (0.8.7-1).
- build-essential is already the newest version (12.3).
- devscripts is already the newest version (2.17.6+deb9u2).
- equivs is already the newest version (2.0.9+nmu1).
- gnupg2 is already the newest version (2.1.18-8~deb9u4).
- eatmydata is already the newest version (105-5).
- quilt is already the newest version (0.63-8).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: Copying back the cached apt archive contents
- I: user script /var/cache/pbuilder/build/cow.809435/tmp/hooks/E10psw-install-extra-packages starting
- Reading package lists...
- Building dependency tree...
- Reading state information...
- apt-transport-https is already the newest version (1.4.11).
- apt-utils is already the newest version (1.4.11).
- ca-certificates is already the newest version (20200601~deb9u2).
- wget is already the newest version (1.18-5+deb9u3).
- devscripts is already the newest version (2.17.6+deb9u2).
- equivs is already the newest version (2.0.9+nmu1).
- gnupg2 is already the newest version (2.1.18-8~deb9u4).
- eatmydata is already the newest version (105-5).
- libfile-fcntllock-perl is already the newest version (0.22-3+b2).
- quilt is already the newest version (0.63-8).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: user script /var/cache/pbuilder/build/cow.809435/tmp/hooks/E10psw-install-extra-packages finished
- I: unmounting dev/ptmx filesystem
- I: unmounting dev/pts filesystem
- I: unmounting dev/shm filesystem
- I: unmounting proc filesystem
- I: unmounting sys filesystem
- I: removing cowbuilder working copy
- I: Moving work directory [/var/cache/pbuilder/build/cow.809435] to final location [/var/cache/pbuilder/psw-debian-stretch.cow] and cleaning up old copy
- I: forking: rm -rf /var/cache/pbuilder/build/cow.809435-809435-tmp
- [INFO] Executing the clean, install MAKE(1) target(s) for PHP 7.2.24...
- I: Copying COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.810237
- I: forking: cp -al /var/cache/pbuilder/psw-debian-stretch.cow /var/cache/pbuilder/build/cow.810237
- I: unlink for ilistfile /var/cache/pbuilder/build/cow.810237/.ilist failed, it didn't exist?
- I: Invoking pbuilder
- I: forking: pbuilder execute --autocleanaptcache --configfile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/.pbuilderrc --bindmounts '/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler /usr/local/src/phpswitcher/php-7.2.24 /opt/phpswitcher/20230417' --hookdir /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/build/cow.810237 --mirror http://deb.debian.org/debian --distribution stretch --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.810237 cow-shell' /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/make_wrapper.sh --directory /usr/local/src/phpswitcher/php-7.2.24 --makefile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile PREFIX=/opt/phpswitcher/20230417 PHP_QUILT_PATCH_DIR=/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/patches/7.2 BUILD_OPTIONS=parallel=5 clean install
- I: Running in no-targz mode
- I: copying local configuration
- I: mounting /proc filesystem
- I: mounting /sys filesystem
- I: creating /{dev,run}/shm
- I: mounting /dev/pts filesystem
- I: redirecting /dev/ptmx to /dev/pts/ptmx
- I: Mounting /opt/phpswitcher/20230417
- I: Mounting /usr/local/src/phpswitcher/php-7.2.24
- I: Mounting /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler
- I: policy-rc.d already exists
- I: using eatmydata during job
- I: Obtaining the cached apt archive contents
- I: user script /var/cache/pbuilder/build/cow.810237/tmp/hooks/F10psw-setup-ondrej-sury-php-repo starting
- OK
- Hit:1 http://deb.debian.org/debian-security stretch/updates InRelease
- Hit:2 http://deb.debian.org/debian stretch-updates InRelease
- Ign:3 http://deb.debian.org/debian stretch InRelease
- Hit:4 http://deb.debian.org/debian stretch Release
- Ign:5 https://packages.sury.org/php stretch InRelease
- Ign:6 https://packages.sury.org/php stretch Release
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Ign:8 https://packages.sury.org/php stretch/main amd64 Packages
- Ign:7 https://packages.sury.org/php stretch/main all Packages
- Err:8 https://packages.sury.org/php stretch/main amd64 Packages
- 403 Forbidden
- Reading package lists...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Calculating upgrade...
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- I: user script /var/cache/pbuilder/build/cow.810237/tmp/hooks/F10psw-setup-ondrej-sury-php-repo finished
- I: user script /var/cache/pbuilder/build/cow.810237/tmp/hooks/F20psw-install-php-build-dependencies starting
- dh_testdir
- dh_testroot
- dh_prep
- dh_testdir
- dh_testroot
- dh_install
- dh_installdocs
- dh_installchangelogs
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
- dpkg-deb: building package 'imscp-psw-php7.2-build-deps' in '../imscp-psw-php7.2-build-deps_1.0_amd64.deb'.
- The package has been created.
- Attention, the package has been created in the current directory,
- not in ".." as indicated by the message above!
- Selecting previously unselected package imscp-psw-php7.2-build-deps.
- (Reading database ... 16118 files and directories currently installed.)
- Preparing to unpack imscp-psw-php7.2-build-deps_1.0_amd64.deb ...
- Unpacking imscp-psw-php7.2-build-deps (1.0) ...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Correcting dependencies... Done
- The following packages will be REMOVED:
- imscp-psw-php7.2-build-deps
- 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
- 1 not fully installed or removed.
- After this operation, 10.2 kB disk space will be freed.
- (Reading database ... 16122 files and directories currently installed.)
- Removing imscp-psw-php7.2-build-deps (1.0) ...
- I: Copying back the cached apt archive contents
- I: unmounting /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler filesystem
- I: unmounting /usr/local/src/phpswitcher/php-7.2.24 filesystem
- I: unmounting /opt/phpswitcher/20230417 filesystem
- I: unmounting dev/ptmx filesystem
- I: unmounting dev/pts filesystem
- I: unmounting dev/shm filesystem
- I: unmounting proc filesystem
- I: unmounting sys filesystem
- I: Cleaning COW directory
- I: forking: rm -rf /var/cache/pbuilder/build/cow.810237
- [ERROR] main: An error occurred while executing MAKE(1) target(s) for PHP 7.2.24: W: --override-config is not set; not updating apt.conf Read the manpage for details.
- W: The repository 'https://packages.sury.org/php stretch Release' does not have a Release file.
- E: Failed to fetch https://packages.sury.org/php/dists/stretch/main/binary-amd64/Packages 403 Forbidden
- E: Some index files failed to download. They have been ignored, or old ones used instead.
- dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
- dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
- dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
- Starting pkgProblemResolver with broken count: 1
- Starting 2 pkgProblemResolver with broken count: 1
- Investigating (0) imscp-psw-php7.2-build-deps:amd64 < 1.0 @iU mK Nb Ib >
- Broken imscp-psw-php7.2-build-deps:amd64 Depends on libpcre2-dev:amd64 < none | 10.22-3 @un uH > (>= 10.30)
- Removing imscp-psw-php7.2-build-deps:amd64 because I can't find libpcre2-dev:amd64
- Done
- Starting pkgProblemResolver with broken count: 0
- Starting 2 pkgProblemResolver with broken count: 0
- Done
- mk-build-deps: Unable to install imscp-psw-php7.2-build-deps at /usr/bin/mk-build-deps line 402.
- mk-build-deps: Unable to install all build-dep packages