Je sais même pas comment on fait ça. .....phifi a écrit :et si tu fais : systemctl restart php5-fpm ?
ou systemctl restart php5-fpm.service
J'ai redémarre la mini+ et tout est passé en ok par contre j'ai toujours icône qui manque:
Je sais même pas comment on fait ça. .....phifi a écrit :et si tu fais : systemctl restart php5-fpm ?
ou systemctl restart php5-fpm.service
Code : Tout sélectionner
sudo: /etc/init.d/php5: command not found
Restarting php5-fpm (via systemctl): php5-fpm.service
Code : Tout sélectionner
Lancement de l'installation du module php5-ssh2 - Launch install of module php5-ssh2
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://fr.archive.ubuntu.com trusty InRelease
Get:2 http://fr.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:3 http://security.ubuntu.com trusty-security/main Sources [105 kB]
Hit https://deb.nodesource.com trusty InRelease
Hit http://fr.archive.ubuntu.com trusty-backports InRelease
Hit https://deb.nodesource.com trusty/main Sources
Hit http://fr.archive.ubuntu.com trusty Release.gpg
Get:4 http://fr.archive.ubuntu.com trusty-updates/main Sources [260 kB]
Hit https://deb.nodesource.com trusty/main amd64 Packages
Get:5 http://security.ubuntu.com trusty-security/restricted Sources [4035 B]
Get:6 http://security.ubuntu.com trusty-security/universe Sources [33.0 kB]
Hit https://deb.nodesource.com trusty/main i386 Packages
Get:7 http://security.ubuntu.com trusty-security/multiverse Sources [2767 B]
Get:8 https://deb.nodesource.com trusty/main Translation-en
Get:9 http://security.ubuntu.com trusty-security/main amd64 Packages [421 kB]
Get:10 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Get:11 http://security.ubuntu.com trusty-security/universe amd64 Packages [124 kB]
Get:12 http://fr.archive.ubuntu.com trusty-updates/restricted Sources [5351 B]
Ign https://deb.nodesource.com trusty/main Translation-en
Get:13 http://fr.archive.ubuntu.com trusty-updates/universe Sources [150 kB]
Ign https://deb.nodesource.com trusty/main Translation-fr
Get:14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4990 B]
Get:15 http://security.ubuntu.com trusty-security/main i386 Packages [393 kB]
Get:16 http://fr.archive.ubuntu.com trusty-updates/multiverse Sources [5547 B]
Get:17 http://fr.archive.ubuntu.com trusty-updates/main amd64 Packages [706 kB]
Get:18 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Get:19 http://security.ubuntu.com trusty-security/universe i386 Packages [124 kB]
Get:20 http://security.ubuntu.com trusty-security/multiverse i386 Packages [5164 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Get:21 http://fr.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:22 http://fr.archive.ubuntu.com trusty-updates/universe amd64 Packages [338 kB]
Get:23 http://fr.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [13.2 kB]
Get:24 http://fr.archive.ubuntu.com trusty-updates/main i386 Packages [684 kB]
Get:25 http://fr.archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:26 http://fr.archive.ubuntu.com trusty-updates/universe i386 Packages [339 kB]
Get:27 http://fr.archive.ubuntu.com trusty-updates/multiverse i386 Packages [13.4 kB]
Get:28 http://fr.archive.ubuntu.com trusty-updates/main Translation-en [356 kB]
Get:29 http://fr.archive.ubuntu.com trusty-updates/multiverse Translation-en [6947 B]
Get:30 http://fr.archive.ubuntu.com trusty-updates/restricted Translation-en [3699 B]
Get:31 http://fr.archive.ubuntu.com trusty-updates/universe Translation-en [180 kB]
Hit http://fr.archive.ubuntu.com trusty-backports/main Sources
Hit http://fr.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://fr.archive.ubuntu.com trusty-backports/universe Sources
Hit http://fr.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://fr.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://fr.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://fr.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://fr.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://fr.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://fr.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://fr.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://fr.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://fr.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://fr.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://fr.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://fr.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://fr.archive.ubuntu.com trusty Release
Hit http://fr.archive.ubuntu.com trusty/main Sources
Hit http://fr.archive.ubuntu.com trusty/restricted Sources
Hit http://fr.archive.ubuntu.com trusty/universe Sources
Hit http://fr.archive.ubuntu.com trusty/multiverse Sources
Hit http://fr.archive.ubuntu.com trusty/main amd64 Packages
Hit http://fr.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://fr.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://fr.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://fr.archive.ubuntu.com trusty/main i386 Packages
Hit http://fr.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://fr.archive.ubuntu.com trusty/universe i386 Packages
Hit http://fr.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://fr.archive.ubuntu.com trusty/main Translation-en
Hit http://fr.archive.ubuntu.com trusty/main Translation-fr
Hit http://fr.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://fr.archive.ubuntu.com trusty/multiverse Translation-fr
Hit http://fr.archive.ubuntu.com trusty/restricted Translation-en
Hit http://fr.archive.ubuntu.com trusty/restricted Translation-fr
Hit http://fr.archive.ubuntu.com trusty/universe Translation-en
Hit http://fr.archive.ubuntu.com trusty/universe Translation-fr
Fetched 4464 kB in 30s (148 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package php5-ssh2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5-ssh2' has no installation candidate
sudo: /etc/init.d/php5: command not found
Tout est installé avec succès - Everything is successfully installed!
Code : Tout sélectionner
200 : SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Code : Tout sélectionner
Lancement de l'installation du module php5-ssh2 - Launch install of module php5-ssh2
Hit http://archive.raspberrypi.org jessie InRelease
Get:1 http://mirrordirector.raspbian.org jessie InRelease [15.0 kB]
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Get:2 http://mirrordirector.raspbian.org jessie/main armhf Packages [8963 kB]
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:3 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [37.5 kB]
Get:4 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [70.3 kB]
Get:5 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1356 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 9087 kB in 21s (415 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
php5-ssh2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hello!phifi a écrit :Je vais forcement réussir à comprendre un jour
En SSH, tu peux me donner le résultat de chacune des commandes ci-dessous :
sudo systemctl restart php5.service
sudo systemctl restart php5-fpm.service
sudo /etc/init.d/php5-fpm restart
sudo /etc/init.d/php5 restart
Mon objectif, suite installation du module PHP, pour prise en compte immédiate, il faut relancer PHP (j'imagine mal faire une demande de redémarrer Jeedom)
Pour les personnes qui ont le pb, merci de me donner le résultat.
Code : Tout sélectionner
jeedom@Jeedom:~$ sudo systemctl restart php5.service
Failed to restart php5.service: Unit php5.service failed to load: No such file or directory.
jeedom@Jeedom:~$ sudo systemctl restart php5-fpm.service
jeedom@Jeedom:~$ sudo /etc/init.d/php5-fpm restart
[ ok ] Restarting php5-fpm (via systemctl): php5-fpm.service.
jeedom@Jeedom:~$ sudo /etc/init.d/php5 restart
sudo: /etc/init.d/php5: command not found
Code : Tout sélectionner
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
Code : Tout sélectionner
Les paquets suivants ont été conservés :
libgl1-mesa-dri raspi-config
Les paquets suivants seront mis à jour :
apt apt-transport-https apt-utils ca-certificates cpio curl file git-man
isc-dhcp-client isc-dhcp-common libapt-inst1.5 libapt-pkg4.12 libc-bin
libc-dev-bin libc6 libc6-dev libcurl3 libcurl3-gnutls libdns-export100
libdrm-freedreno1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libgcrypt20
libgl1-mesa-glx libglapi-mesa libgssapi-krb5-2 libirs-export91
libisc-export95 libisccfg-export90 libk5crypto3 libkrb5-3 libkrb5support0
libmagic1 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
libpam0g libpcre3 libpcre3-dev libpcrecpp0 libpng12-0 libraspberrypi-bin
libraspberrypi0 libsystemd0 libtiff5 libvdpau1 libxml2 locales login
multiarch-support nginx-common nginx-full openssh-client openssh-server
openssh-sftp-server passwd php-pear php5-cli php5-common php5-curl php5-dev
php5-fpm php5-gd php5-ldap php5-mysql php5-readline python-pygments
raspberrypi-bootloader rsyslog sudo systemd systemd-sysv tzdata
75 mis à jour, 0 nouvellement installés, 0 à enlever et 2 non mis à jour.
Il est nécessaire de prendre 66,6 Mo dans les archives.
Code : Tout sélectionner
Lancement de l'installation du module php5-ssh2 - Launch install of module php5-ssh2
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://archive.raspberrypi.org jessie InRelease
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
php5-ssh2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Nombre de messages
Code : Tout sélectionner
jeedom@jeedom:~$ sudo systemctl restart php5.service
[sudo] password for jeedom:
Failed to restart php5.service: Unit php5.service failed to load: No such file or directory.
jeedom@jeedom:~$ sudo systemctl restart php5-fpm.service
jeedom@jeedom:~$ sudo /etc/init.d/php5-fpm restart
[ ok ] Restarting php5-fpm (via systemctl): php5-fpm.service.
jeedom@jeedom:~$ sudo /etc/init.d/php5 restart
sudo: /etc/init.d/php5: command not found
Code : Tout sélectionner
Lancement de l'installation du module php5-ssh2 - Launch install of module php5-ssh2
Ign http://repo.jeedom.com ./ InRelease
Hit http://repo.jeedom.com ./ Release.gpg
Hit http://repo.jeedom.com ./ Release
Hit http://repo.jeedom.com ./ Sources
Ign http://httpredir.debian.org jessie InRelease
Hit http://repo.jeedom.com ./ Packages
Get:1 http://httpredir.debian.org jessie-updates InRelease [136 kB]
Ign http://repo.jeedom.com ./ Translation-en
Hit http://httpredir.debian.org jessie Release.gpg
Hit http://httpredir.debian.org jessie Release
Hit http://security.debian.org jessie/updates InRelease
Get:2 http://httpredir.debian.org jessie-updates/main Translation-en [2506 B]
Get:3 http://httpredir.debian.org jessie-updates/main armhf Packages/DiffIndex [367 B]
Get:4 http://httpredir.debian.org jessie-updates/main Sources [2296 B]
Hit http://httpredir.debian.org jessie/main Sources
Get:5 https://repo.solid-build.xyz ./ InRelease [354 B]
Ign https://repo.solid-build.xyz ./ InRelease
Hit http://httpredir.debian.org jessie/main armhf Packages
Hit https://deb.nodesource.com jessie InRelease
Hit http://httpredir.debian.org jessie/main Translation-en
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main armhf Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit https://deb.nodesource.com jessie/main Sources
Hit https://deb.nodesource.com jessie/main armhf Packages
Hit https://repo.solid-build.xyz ./ Release.gpg
Get:6 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit https://repo.solid-build.xyz ./ Release
Get:8 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit https://repo.solid-build.xyz ./ Sources
Hit https://repo.solid-build.xyz ./ Packages
Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:11 https://repo.solid-build.xyz ./ Translation-en [351 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Get:12 https://repo.solid-build.xyz ./ Translation-en [351 B]
Get:13 https://repo.solid-build.xyz ./ Translation-en [351 B]
Get:14 https://repo.solid-build.xyz ./ Translation-en [351 B]
Get:15 https://repo.solid-build.xyz ./ Translation-en [351 B]
Ign https://repo.solid-build.xyz ./ Translation-en
Fetched 141 kB in 39s (3610 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
php5-ssh2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 110 not upgraded.
J'ai effectué un redémarrage au cas où : plus d'erreurmeuuuh a écrit :Hello!phifi a écrit :Je vais forcement réussir à comprendre un jour
En SSH, tu peux me donner le résultat de chacune des commandes ci-dessous :
sudo systemctl restart php5.service
sudo systemctl restart php5-fpm.service
sudo /etc/init.d/php5-fpm restart
sudo /etc/init.d/php5 restart
Mon objectif, suite installation du module PHP, pour prise en compte immédiate, il faut relancer PHP (j'imagine mal faire une demande de redémarrer Jeedom)
Pour les personnes qui ont le pb, merci de me donner le résultat.
Voici mon résultat (avec le même bug que signalé précédemment) :
Code : Tout sélectionner
jeedom@Jeedom:~$ sudo systemctl restart php5.service Failed to restart php5.service: Unit php5.service failed to load: No such file or directory. jeedom@Jeedom:~$ sudo systemctl restart php5-fpm.service jeedom@Jeedom:~$ sudo /etc/init.d/php5-fpm restart [ ok ] Restarting php5-fpm (via systemctl): php5-fpm.service. jeedom@Jeedom:~$ sudo /etc/init.d/php5 restart sudo: /etc/init.d/php5: command not found
Pour info, j'ai réalisé ceci juste avant :Le résultat après le Upgrade :Code : Tout sélectionner
sudo apt-get autoremove sudo apt-get update sudo apt-get upgrade
Et le résultat de la mise à jour des dépendances:Code : Tout sélectionner
Les paquets suivants ont été conservés : libgl1-mesa-dri raspi-config Les paquets suivants seront mis à jour : apt apt-transport-https apt-utils ca-certificates cpio curl file git-man isc-dhcp-client isc-dhcp-common libapt-inst1.5 libapt-pkg4.12 libc-bin libc-dev-bin libc6 libc6-dev libcurl3 libcurl3-gnutls libdns-export100 libdrm-freedreno1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libgcrypt20 libgl1-mesa-glx libglapi-mesa libgssapi-krb5-2 libirs-export91 libisc-export95 libisccfg-export90 libk5crypto3 libkrb5-3 libkrb5support0 libmagic1 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpcre3 libpcre3-dev libpcrecpp0 libpng12-0 libraspberrypi-bin libraspberrypi0 libsystemd0 libtiff5 libvdpau1 libxml2 locales login multiarch-support nginx-common nginx-full openssh-client openssh-server openssh-sftp-server passwd php-pear php5-cli php5-common php5-curl php5-dev php5-fpm php5-gd php5-ldap php5-mysql php5-readline python-pygments raspberrypi-bootloader rsyslog sudo systemd systemd-sysv tzdata 75 mis à jour, 0 nouvellement installés, 0 à enlever et 2 non mis à jour. Il est nécessaire de prendre 66,6 Mo dans les archives.
Code : Tout sélectionner
Lancement de l'installation du module php5-ssh2 - Launch install of module php5-ssh2 Hit http://mirrordirector.raspbian.org jessie InRelease Hit http://mirrordirector.raspbian.org jessie/main armhf Packages Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages Hit http://archive.raspberrypi.org jessie InRelease Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Hit http://archive.raspberrypi.org jessie/main armhf Packages Ign http://archive.raspberrypi.org jessie/main Translation-en Reading package lists... Reading package lists... Building dependency tree... Reading state information... php5-ssh2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Nombre de messages
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 4 invités