#26 Le 16/10/2014, à 14:16
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Oui, je me rappelle que je l’avais installé pour quelque chose mais je ne me souviens plus pour quoi.
Y a-t-il une commande magique pour voir quels processus utilisent php-cgi ? ^^'
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#27 Le 16/10/2014, à 17:45
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Humm...
Tu peux faire un :
ps ax
et ensuite faire un :
sudo lsof | grep "pid de php-cgi"
ou bien directement :
sudo lsof | grep "php"
mais d'autres choses peuvent remonter
Hors ligne
#28 Le 16/10/2014, à 18:13
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Merci mais je n’ai pas tout compris au retour des commandes… Je vais prendre le risque de désinstaller php-cgi et d’installer php-fpm à la place ! Si je fais un back-up avant, je fais le back-up de /etc/php5 ?
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#29 Le 16/10/2014, à 18:19
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Non, ça ne fonctionnera pas.
copie colle le retour des commandes ici.
Hors ligne
#30 Le 16/10/2014, à 18:22
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Oh ok… Merci beaucoup de ton aide !
Alors, voici le retour :
% ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:02 init [2]
2 ? S 0:00 [kthreadd]
3 ? S 0:02 [ksoftirqd/0]
5 ? S 0:02 [kworker/u:0]
6 ? S 0:01 [rcu_kthread]
7 ? S< 0:00 [khelper]
8 ? S 0:00 [kdevtmpfs]
9 ? S< 0:00 [netns]
10 ? S 0:00 [sync_supers]
11 ? S 0:00 [bdi-default]
12 ? S< 0:00 [kblockd]
13 ? S 0:00 [khubd]
14 ? S< 0:00 [rpciod]
15 ? S 0:03 [kworker/0:1]
16 ? S 0:00 [khungtaskd]
17 ? S 0:01 [kswapd0]
18 ? S 0:00 [fsnotify_mark]
19 ? S< 0:00 [nfsiod]
20 ? S< 0:00 [crypto]
27 ? S< 0:00 [kthrotld]
28 ? S< 0:00 [VCHIQ-0]
29 ? S< 0:00 [VCHIQr-0]
30 ? S< 0:00 [dwc_otg]
31 ? S< 0:00 [DWC Notificatio]
32 ? S 0:00 [kworker/u:1]
33 ? S 0:31 [mmcqd/0]
34 ? S 0:00 [scsi_eh_0]
35 ? S 0:04 [usb-storage]
39 ? S 0:00 [jbd2/mmcblk0p2-]
40 ? S< 0:00 [ext4-dio-unwrit]
160 ? Ss 0:00 udevd --daemon
277 ? S 0:00 udevd --daemon
281 ? S 0:00 udevd --daemon
328 ? S 0:00 [kworker/0:2]
1316 ? S 0:00 [jbd2/sda1-8]
1317 ? S< 0:00 [ext4-dio-unwrit]
1348 ? S 0:00 [flush-8:0]
1360 ? S 0:00 [jbd2/sda2-8]
1361 ? S< 0:00 [ext4-dio-unwrit]
1623 ? S 0:11 /usr/sbin/ifplugd -i eth0 -q -f -u0 -d10 -w -I
1645 ? S 0:02 /usr/sbin/ifplugd -i lo -q -f -u0 -d10 -w -I
1689 ? Ss 0:00 /sbin/rpcbind -w
1720 ? Ss 0:00 /sbin/rpc.statd
1732 ? Ss 0:00 /usr/sbin/rpc.idmapd
1968 ? Sl 0:01 /usr/sbin/rsyslogd -c5
2022 ? Ss 0:00 /usr/bin/dbus-daemon --system
2117 ? Ss 0:00 /usr/sbin/bluetoothd
2135 ? S< 0:00 [krfcommd]
2148 ? Ssl 0:00 /usr/sbin/NetworkManager
2171 ? Sl 0:00 /usr/lib/policykit-1/polkitd --no-debug
2198 ? S 0:00 /usr/sbin/modem-manager
2215 ? S 0:00 /sbin/dhclient -d -4 -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf /var/lib/dhcp/dhclient-d829ac32-859e-4726-a607-66c041801dee-eth0.lease -cf /var/run/nm-dhclient-eth0.conf eth0
2299 ? Ss 0:00 /usr/sbin/cron
2399 ? S 0:00 /bin/sh /usr/bin/mysqld_safe
2808 ? Sl 1:25 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
2809 ? S 0:00 logger -t mysqld -p daemon.error
2883 ? Sl 0:25 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
2972 ? Ss 0:00 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf
2976 ? S 0:00 dovecot/anvil
2977 ? S 0:00 dovecot/log
3107 ? Ss 0:03 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 119:127
3130 ? Ss 0:00 /usr/bin/php5-cgi
3165 ? S 0:00 /usr/bin/php5-cgi
3166 ? S 0:00 /usr/bin/php5-cgi
3175 ? S 0:12 lua5.1 /usr/bin/prosody
3305 ? Ss 0:00 /usr/lib/postfix/master
3312 ? Ss 0:00 /usr/sbin/sshd
3317 ? S 0:00 qmgr -l -t fifo -u
3355 ? Ssl 0:13 /usr/bin/transmission-daemon --config-dir /var/lib/transmission-daemon/info
3390 ? Ss 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
3412 ? Ss 0:01 /usr/sbin/minissdpd -i 0.0.0.0
3425 tty1 Ss+ 0:00 /sbin/getty 115200 tty1
3426 ? Ss+ 0:00 /sbin/getty -L ttyAMA0 115200 vt100
3427 tty3 Ss+ 0:00 /sbin/getty 115200 tty3
3428 tty4 Ss+ 0:00 /sbin/getty 115200 tty4
3429 tty5 Ss+ 0:00 /sbin/getty 115200 tty5
3430 tty6 Ss+ 0:00 /sbin/getty 115200 tty6
3442 ? Sl 0:00 /usr/sbin/console-kit-daemon --no-daemon
3535 ? Ss 0:00 nginx: master process /usr/sbin/nginx
3536 ? S 0:03 nginx: worker process
3537 ? S 0:02 nginx: worker process
3538 ? S 0:00 nginx: worker process
3539 ? S 0:03 nginx: worker process
3660 ? S 0:00 tlsmgr -l -t unix -u -c
3664 ? S 0:00 dovecot/imap-login
3665 ? S 0:00 dovecot/config
3667 ? S 0:00 dovecot/imap-login
3671 ? S 0:00 dovecot/imap
3672 ? S 0:00 dovecot/imap
3675 ? S 0:00 dovecot/imap-login
3676 ? S 0:00 dovecot/imap
3728 ? S 0:00 pickup -l -t fifo -u -c
3779 ? Ss 0:00 sshd: pi [priv]
3784 ? S 0:00 sshd: pi@pts/0
3785 pts/0 Ss 0:01 -zsh
3796 ? S 0:00 [flush-179:0]
3955 pts/0 R+ 0:00 ps ax
Du coup, j’ai ensuite fait :
% sudo lsof | grep 3130
php5-cgi 3130 www-data cwd DIR 179,2 4096 2 /
php5-cgi 3130 www-data rtd DIR 179,2 4096 2 /
php5-cgi 3130 www-data txt REG 179,2 7163728 29481 /usr/bin/php5-cgi
php5-cgi 3130 www-data mem REG 179,2 221612 7369 /usr/lib/libqdbm.so.14.14.0
php5-cgi 3130 www-data mem REG 179,2 7520 128939 /usr/lib/arm-linux-gnueabi/libXau.so.6.0.0
php5-cgi 3130 www-data mem REG 179,2 122136 279951 /lib/arm-linux-gnueabi/ld-2.13.so
php5-cgi 3130 www-data mem REG 179,2 9804 279962 /lib/arm-linux-gnueabi/libdl-2.13.so
php5-cgi 3130 www-data mem REG 179,2 9788 256806 /lib/arm-linux-gnueabi/libcom_err.so.2.1
php5-cgi 3130 www-data mem REG 179,2 87788 268543 /lib/arm-linux-gnueabi/libz.so.1.2.7
php5-cgi 3130 www-data mem REG 179,2 9612 264839 /lib/arm-linux-gnueabi/libkeyutils.so.1.4
php5-cgi 3130 www-data mem REG 179,2 276596 29470 /usr/lib/libonig.so.2.0.0
php5-cgi 3130 www-data mem REG 179,2 271160 11953 /usr/lib/libssl.so.0.9.8
php5-cgi 3130 www-data mem REG 179,2 70140 253155 /lib/arm-linux-gnueabi/libbz2.so.1.0.4
php5-cgi 3130 www-data mem REG 179,2 75712 279956 /lib/arm-linux-gnueabi/libnsl-2.13.so
php5-cgi 3130 www-data mem REG 179,2 26364 127471 /usr/lib/arm-linux-gnueabi/libkrb5support.so.0.1
php5-cgi 3130 www-data mem REG 179,2 96784 127723 /usr/lib/php5/20090626+lfs/gd.so
php5-cgi 3130 www-data mem REG 179,2 231444 265205 /lib/arm-linux-gnueabi/libpcre.so.3.13.1
php5-cgi 3130 www-data mem REG 179,2 71520 279948 /lib/arm-linux-gnueabi/libresolv-2.13.so
php5-cgi 3130 www-data mem REG 179,2 15516 128941 /usr/lib/arm-linux-gnueabi/libXdmcp.so.6.0.0
php5-cgi 3130 www-data mem REG 179,2 38468 279950 /lib/arm-linux-gnueabi/libcrypt-2.13.so
php5-cgi 3130 www-data mem REG 179,2 1344428 45960 /usr/lib/libdb-4.8.so
php5-cgi 3130 www-data mem REG 179,2 657004 280017 /lib/arm-linux-gnueabi/libm-2.13.so
php5-cgi 3130 www-data mem REG 179,2 197036 125644 /usr/lib/arm-linux-gnueabi/libgssapi_krb5.so.2.2
php5-cgi 3130 www-data mem REG 179,2 684848 127470 /usr/lib/arm-linux-gnueabi/libkrb5.so.3.3
php5-cgi 3130 www-data mem REG 179,2 157580 138051 /usr/lib/arm-linux-gnueabi/libk5crypto.so.3.1
php5-cgi 3130 www-data mem REG 179,2 1216584 128556 /usr/lib/arm-linux-gnueabi/libxml2.so.2.8.0
php5-cgi 3130 www-data mem REG 179,2 137844 256453 /lib/arm-linux-gnueabi/libgcc_s.so.1
php5-cgi 3130 www-data mem REG 179,2 1228948 279959 /lib/arm-linux-gnueabi/libc-2.13.so
php5-cgi 3130 www-data mem REG 179,2 1247928 11952 /usr/lib/libcrypto.so.0.9.8
php5-cgi 3130 www-data mem REG 179,2 119869 280019 /lib/arm-linux-gnueabi/libpthread-2.13.so
php5-cgi 3130 www-data mem REG 179,2 128680 258210 /lib/arm-linux-gnueabi/liblzma.so.5.0.0
php5-cgi 3130 www-data mem REG 179,2 55472 125998 /usr/lib/arm-linux-gnueabi/libXpm.so.4.11.0
php5-cgi 3130 www-data mem REG 179,2 81768 127660 /usr/lib/php5/20090626+lfs/pdo.so
php5-cgi 3130 www-data mem REG 179,2 251028 126000 /usr/lib/arm-linux-gnueabi/libgd.so.2.0.0
php5-cgi 3130 www-data mem REG 179,2 276896 5434 /usr/lib/libt1.so.5.1.2
php5-cgi 3130 www-data mem REG 179,2 506212 125510 /usr/lib/arm-linux-gnueabi/libfreetype.so.6.8.1
php5-cgi 3130 www-data mem REG 179,2 1126040 128560 /usr/lib/arm-linux-gnueabi/libX11.so.6.3.0
php5-cgi 3130 www-data mem REG 179,2 133180 258311 /lib/arm-linux-gnueabi/libpng12.so.0.49.0
php5-cgi 3130 www-data mem REG 179,2 130856 125700 /usr/lib/arm-linux-gnueabi/libjpeg.so.62.0.0
php5-cgi 3130 www-data mem REG 179,2 253880 125691 /usr/lib/arm-linux-gnueabi/libjpeg.so.8.4.0
php5-cgi 3130 www-data mem REG 179,2 187160 125788 /usr/lib/arm-linux-gnueabi/libfontconfig.so.1.5.0
php5-cgi 3130 www-data mem REG 179,2 96060 128558 /usr/lib/arm-linux-gnueabi/libxcb.so.1.1.0
php5-cgi 3130 www-data mem REG 179,2 140788 256564 /lib/arm-linux-gnueabi/libexpat.so.1.6.0
php5-cgi 3130 www-data mem REG 179,2 144000 127690 /usr/lib/php5/20090626+lfs/suhosin.so
php5-cgi 3130 www-data mem REG 179,2 42684 280015 /lib/arm-linux-gnueabi/libnss_files-2.13.so
php5-cgi 3130 www-data 0u IPv4 5614 0t0 TCP localhost:9000 (LISTEN)
php5-cgi 3130 www-data 1u CHR 1,3 0t0 1709 /dev/null
php5-cgi 3130 www-data 2u CHR 1,3 0t0 1709 /dev/null
% sudo lsof | grep 3165
php5-cgi 3165 www-data cwd DIR 179,2 4096 2 /
php5-cgi 3165 www-data rtd DIR 179,2 4096 2 /
php5-cgi 3165 www-data txt REG 179,2 7163728 29481 /usr/bin/php5-cgi
php5-cgi 3165 www-data mem REG 179,2 221612 7369 /usr/lib/libqdbm.so.14.14.0
php5-cgi 3165 www-data mem REG 179,2 7520 128939 /usr/lib/arm-linux-gnueabi/libXau.so.6.0.0
php5-cgi 3165 www-data mem REG 179,2 122136 279951 /lib/arm-linux-gnueabi/ld-2.13.so
php5-cgi 3165 www-data mem REG 179,2 9804 279962 /lib/arm-linux-gnueabi/libdl-2.13.so
php5-cgi 3165 www-data mem REG 179,2 9788 256806 /lib/arm-linux-gnueabi/libcom_err.so.2.1
php5-cgi 3165 www-data mem REG 179,2 87788 268543 /lib/arm-linux-gnueabi/libz.so.1.2.7
php5-cgi 3165 www-data mem REG 179,2 9612 264839 /lib/arm-linux-gnueabi/libkeyutils.so.1.4
php5-cgi 3165 www-data mem REG 179,2 276596 29470 /usr/lib/libonig.so.2.0.0
php5-cgi 3165 www-data mem REG 179,2 271160 11953 /usr/lib/libssl.so.0.9.8
php5-cgi 3165 www-data mem REG 179,2 70140 253155 /lib/arm-linux-gnueabi/libbz2.so.1.0.4
php5-cgi 3165 www-data mem REG 179,2 75712 279956 /lib/arm-linux-gnueabi/libnsl-2.13.so
php5-cgi 3165 www-data mem REG 179,2 26364 127471 /usr/lib/arm-linux-gnueabi/libkrb5support.so.0.1
php5-cgi 3165 www-data mem REG 179,2 96784 127723 /usr/lib/php5/20090626+lfs/gd.so
php5-cgi 3165 www-data mem REG 179,2 231444 265205 /lib/arm-linux-gnueabi/libpcre.so.3.13.1
php5-cgi 3165 www-data mem REG 179,2 71520 279948 /lib/arm-linux-gnueabi/libresolv-2.13.so
php5-cgi 3165 www-data mem REG 179,2 15516 128941 /usr/lib/arm-linux-gnueabi/libXdmcp.so.6.0.0
php5-cgi 3165 www-data mem REG 179,2 38468 279950 /lib/arm-linux-gnueabi/libcrypt-2.13.so
php5-cgi 3165 www-data mem REG 179,2 1344428 45960 /usr/lib/libdb-4.8.so
php5-cgi 3165 www-data mem REG 179,2 657004 280017 /lib/arm-linux-gnueabi/libm-2.13.so
php5-cgi 3165 www-data mem REG 179,2 197036 125644 /usr/lib/arm-linux-gnueabi/libgssapi_krb5.so.2.2
php5-cgi 3165 www-data mem REG 179,2 684848 127470 /usr/lib/arm-linux-gnueabi/libkrb5.so.3.3
php5-cgi 3165 www-data mem REG 179,2 157580 138051 /usr/lib/arm-linux-gnueabi/libk5crypto.so.3.1
php5-cgi 3165 www-data mem REG 179,2 1216584 128556 /usr/lib/arm-linux-gnueabi/libxml2.so.2.8.0
php5-cgi 3165 www-data mem REG 179,2 137844 256453 /lib/arm-linux-gnueabi/libgcc_s.so.1
php5-cgi 3165 www-data mem REG 179,2 1228948 279959 /lib/arm-linux-gnueabi/libc-2.13.so
php5-cgi 3165 www-data mem REG 179,2 1247928 11952 /usr/lib/libcrypto.so.0.9.8
php5-cgi 3165 www-data mem REG 179,2 119869 280019 /lib/arm-linux-gnueabi/libpthread-2.13.so
php5-cgi 3165 www-data mem REG 179,2 128680 258210 /lib/arm-linux-gnueabi/liblzma.so.5.0.0
php5-cgi 3165 www-data mem REG 179,2 55472 125998 /usr/lib/arm-linux-gnueabi/libXpm.so.4.11.0
php5-cgi 3165 www-data mem REG 179,2 81768 127660 /usr/lib/php5/20090626+lfs/pdo.so
php5-cgi 3165 www-data mem REG 179,2 251028 126000 /usr/lib/arm-linux-gnueabi/libgd.so.2.0.0
php5-cgi 3165 www-data mem REG 179,2 276896 5434 /usr/lib/libt1.so.5.1.2
php5-cgi 3165 www-data mem REG 179,2 506212 125510 /usr/lib/arm-linux-gnueabi/libfreetype.so.6.8.1
php5-cgi 3165 www-data mem REG 179,2 1126040 128560 /usr/lib/arm-linux-gnueabi/libX11.so.6.3.0
php5-cgi 3165 www-data mem REG 179,2 133180 258311 /lib/arm-linux-gnueabi/libpng12.so.0.49.0
php5-cgi 3165 www-data mem REG 179,2 130856 125700 /usr/lib/arm-linux-gnueabi/libjpeg.so.62.0.0
php5-cgi 3165 www-data mem REG 179,2 253880 125691 /usr/lib/arm-linux-gnueabi/libjpeg.so.8.4.0
php5-cgi 3165 www-data mem REG 179,2 187160 125788 /usr/lib/arm-linux-gnueabi/libfontconfig.so.1.5.0
php5-cgi 3165 www-data mem REG 179,2 96060 128558 /usr/lib/arm-linux-gnueabi/libxcb.so.1.1.0
php5-cgi 3165 www-data mem REG 179,2 140788 256564 /lib/arm-linux-gnueabi/libexpat.so.1.6.0
php5-cgi 3165 www-data mem REG 179,2 144000 127690 /usr/lib/php5/20090626+lfs/suhosin.so
php5-cgi 3165 www-data mem REG 179,2 42684 280015 /lib/arm-linux-gnueabi/libnss_files-2.13.so
php5-cgi 3165 www-data 0u IPv4 5614 0t0 TCP localhost:9000 (LISTEN)
php5-cgi 3165 www-data 1u CHR 1,3 0t0 1709 /dev/null
php5-cgi 3165 www-data 2u CHR 1,3 0t0 1709 /dev/null
% sudo lsof | grep 3166
cphp5-cgi 3166 www-data cwd DIR 179,2 4096 2 /
php5-cgi 3166 www-data rtd DIR 179,2 4096 2 /
php5-cgi 3166 www-data txt REG 179,2 7163728 29481 /usr/bin/php5-cgi
php5-cgi 3166 www-data mem REG 179,2 221612 7369 /usr/lib/libqdbm.so.14.14.0
php5-cgi 3166 www-data mem REG 179,2 7520 128939 /usr/lib/arm-linux-gnueabi/libXau.so.6.0.0
php5-cgi 3166 www-data mem REG 179,2 122136 279951 /lib/arm-linux-gnueabi/ld-2.13.so
php5-cgi 3166 www-data mem REG 179,2 9804 279962 /lib/arm-linux-gnueabi/libdl-2.13.so
php5-cgi 3166 www-data mem REG 179,2 9788 256806 /lib/arm-linux-gnueabi/libcom_err.so.2.1
php5-cgi 3166 www-data mem REG 179,2 87788 268543 /lib/arm-linux-gnueabi/libz.so.1.2.7
php5-cgi 3166 www-data mem REG 179,2 9612 264839 /lib/arm-linux-gnueabi/libkeyutils.so.1.4
php5-cgi 3166 www-data mem REG 179,2 276596 29470 /usr/lib/libonig.so.2.0.0
php5-cgi 3166 www-data mem REG 179,2 271160 11953 /usr/lib/libssl.so.0.9.8
php5-cgi 3166 www-data mem REG 179,2 70140 253155 /lib/arm-linux-gnueabi/libbz2.so.1.0.4
php5-cgi 3166 www-data mem REG 179,2 75712 279956 /lib/arm-linux-gnueabi/libnsl-2.13.so
php5-cgi 3166 www-data mem REG 179,2 26364 127471 /usr/lib/arm-linux-gnueabi/libkrb5support.so.0.1
php5-cgi 3166 www-data mem REG 179,2 96784 127723 /usr/lib/php5/20090626+lfs/gd.so
php5-cgi 3166 www-data mem REG 179,2 231444 265205 /lib/arm-linux-gnueabi/libpcre.so.3.13.1
php5-cgi 3166 www-data mem REG 179,2 71520 279948 /lib/arm-linux-gnueabi/libresolv-2.13.so
php5-cgi 3166 www-data mem REG 179,2 15516 128941 /usr/lib/arm-linux-gnueabi/libXdmcp.so.6.0.0
php5-cgi 3166 www-data mem REG 179,2 38468 279950 /lib/arm-linux-gnueabi/libcrypt-2.13.so
php5-cgi 3166 www-data mem REG 179,2 1344428 45960 /usr/lib/libdb-4.8.so
php5-cgi 3166 www-data mem REG 179,2 657004 280017 /lib/arm-linux-gnueabi/libm-2.13.so
php5-cgi 3166 www-data mem REG 179,2 197036 125644 /usr/lib/arm-linux-gnueabi/libgssapi_krb5.so.2.2
php5-cgi 3166 www-data mem REG 179,2 684848 127470 /usr/lib/arm-linux-gnueabi/libkrb5.so.3.3
php5-cgi 3166 www-data mem REG 179,2 157580 138051 /usr/lib/arm-linux-gnueabi/libk5crypto.so.3.1
php5-cgi 3166 www-data mem REG 179,2 1216584 128556 /usr/lib/arm-linux-gnueabi/libxml2.so.2.8.0
php5-cgi 3166 www-data mem REG 179,2 137844 256453 /lib/arm-linux-gnueabi/libgcc_s.so.1
php5-cgi 3166 www-data mem REG 179,2 1228948 279959 /lib/arm-linux-gnueabi/libc-2.13.so
php5-cgi 3166 www-data mem REG 179,2 1247928 11952 /usr/lib/libcrypto.so.0.9.8
php5-cgi 3166 www-data mem REG 179,2 119869 280019 /lib/arm-linux-gnueabi/libpthread-2.13.so
php5-cgi 3166 www-data mem REG 179,2 128680 258210 /lib/arm-linux-gnueabi/liblzma.so.5.0.0
php5-cgi 3166 www-data mem REG 179,2 55472 125998 /usr/lib/arm-linux-gnueabi/libXpm.so.4.11.0
php5-cgi 3166 www-data mem REG 179,2 81768 127660 /usr/lib/php5/20090626+lfs/pdo.so
php5-cgi 3166 www-data mem REG 179,2 251028 126000 /usr/lib/arm-linux-gnueabi/libgd.so.2.0.0
php5-cgi 3166 www-data mem REG 179,2 276896 5434 /usr/lib/libt1.so.5.1.2
php5-cgi 3166 www-data mem REG 179,2 506212 125510 /usr/lib/arm-linux-gnueabi/libfreetype.so.6.8.1
php5-cgi 3166 www-data mem REG 179,2 1126040 128560 /usr/lib/arm-linux-gnueabi/libX11.so.6.3.0
php5-cgi 3166 www-data mem REG 179,2 133180 258311 /lib/arm-linux-gnueabi/libpng12.so.0.49.0
php5-cgi 3166 www-data mem REG 179,2 130856 125700 /usr/lib/arm-linux-gnueabi/libjpeg.so.62.0.0
php5-cgi 3166 www-data mem REG 179,2 253880 125691 /usr/lib/arm-linux-gnueabi/libjpeg.so.8.4.0
php5-cgi 3166 www-data mem REG 179,2 187160 125788 /usr/lib/arm-linux-gnueabi/libfontconfig.so.1.5.0
php5-cgi 3166 www-data mem REG 179,2 96060 128558 /usr/lib/arm-linux-gnueabi/libxcb.so.1.1.0
php5-cgi 3166 www-data mem REG 179,2 140788 256564 /lib/arm-linux-gnueabi/libexpat.so.1.6.0
php5-cgi 3166 www-data mem REG 179,2 144000 127690 /usr/lib/php5/20090626+lfs/suhosin.so
php5-cgi 3166 www-data mem REG 179,2 42684 280015 /lib/arm-linux-gnueabi/libnss_files-2.13.so
php5-cgi 3166 www-data 0u IPv4 5614 0t0 TCP localhost:9000 (LISTEN)
php5-cgi 3166 www-data 1u CHR 1,3 0t0 1709 /dev/null
php5-cgi 3166 www-data 2u CHR 1,3 0t0 1709 /dev/null
Et enfin :
% sudo lsof | grep "php"
php5-cgi 3130 www-data cwd DIR 179,2 4096 2 /
php5-cgi 3130 www-data rtd DIR 179,2 4096 2 /
php5-cgi 3130 www-data txt REG 179,2 7163728 29481 /usr/bin/php5-cgi
php5-cgi 3130 www-data mem REG 179,2 221612 7369 /usr/lib/libqdbm.so.14.14.0
php5-cgi 3130 www-data mem REG 179,2 7520 128939 /usr/lib/arm-linux-gnueabi/libXau.so.6.0.0
php5-cgi 3130 www-data mem REG 179,2 122136 279951 /lib/arm-linux-gnueabi/ld-2.13.so
php5-cgi 3130 www-data mem REG 179,2 9804 279962 /lib/arm-linux-gnueabi/libdl-2.13.so
php5-cgi 3130 www-data mem REG 179,2 9788 256806 /lib/arm-linux-gnueabi/libcom_err.so.2.1
php5-cgi 3130 www-data mem REG 179,2 87788 268543 /lib/arm-linux-gnueabi/libz.so.1.2.7
php5-cgi 3130 www-data mem REG 179,2 9612 264839 /lib/arm-linux-gnueabi/libkeyutils.so.1.4
php5-cgi 3130 www-data mem REG 179,2 276596 29470 /usr/lib/libonig.so.2.0.0
php5-cgi 3130 www-data mem REG 179,2 271160 11953 /usr/lib/libssl.so.0.9.8
php5-cgi 3130 www-data mem REG 179,2 70140 253155 /lib/arm-linux-gnueabi/libbz2.so.1.0.4
php5-cgi 3130 www-data mem REG 179,2 75712 279956 /lib/arm-linux-gnueabi/libnsl-2.13.so
php5-cgi 3130 www-data mem REG 179,2 26364 127471 /usr/lib/arm-linux-gnueabi/libkrb5support.so.0.1
php5-cgi 3130 www-data mem REG 179,2 96784 127723 /usr/lib/php5/20090626+lfs/gd.so
php5-cgi 3130 www-data mem REG 179,2 231444 265205 /lib/arm-linux-gnueabi/libpcre.so.3.13.1
php5-cgi 3130 www-data mem REG 179,2 71520 279948 /lib/arm-linux-gnueabi/libresolv-2.13.so
php5-cgi 3130 www-data mem REG 179,2 15516 128941 /usr/lib/arm-linux-gnueabi/libXdmcp.so.6.0.0
php5-cgi 3130 www-data mem REG 179,2 38468 279950 /lib/arm-linux-gnueabi/libcrypt-2.13.so
php5-cgi 3130 www-data mem REG 179,2 1344428 45960 /usr/lib/libdb-4.8.so
php5-cgi 3130 www-data mem REG 179,2 657004 280017 /lib/arm-linux-gnueabi/libm-2.13.so
php5-cgi 3130 www-data mem REG 179,2 197036 125644 /usr/lib/arm-linux-gnueabi/libgssapi_krb5.so.2.2
php5-cgi 3130 www-data mem REG 179,2 684848 127470 /usr/lib/arm-linux-gnueabi/libkrb5.so.3.3
php5-cgi 3130 www-data mem REG 179,2 157580 138051 /usr/lib/arm-linux-gnueabi/libk5crypto.so.3.1
php5-cgi 3130 www-data mem REG 179,2 1216584 128556 /usr/lib/arm-linux-gnueabi/libxml2.so.2.8.0
php5-cgi 3130 www-data mem REG 179,2 137844 256453 /lib/arm-linux-gnueabi/libgcc_s.so.1
php5-cgi 3130 www-data mem REG 179,2 1228948 279959 /lib/arm-linux-gnueabi/libc-2.13.so
php5-cgi 3130 www-data mem REG 179,2 1247928 11952 /usr/lib/libcrypto.so.0.9.8
php5-cgi 3130 www-data mem REG 179,2 119869 280019 /lib/arm-linux-gnueabi/libpthread-2.13.so
php5-cgi 3130 www-data mem REG 179,2 128680 258210 /lib/arm-linux-gnueabi/liblzma.so.5.0.0
php5-cgi 3130 www-data mem REG 179,2 55472 125998 /usr/lib/arm-linux-gnueabi/libXpm.so.4.11.0
php5-cgi 3130 www-data mem REG 179,2 81768 127660 /usr/lib/php5/20090626+lfs/pdo.so
php5-cgi 3130 www-data mem REG 179,2 251028 126000 /usr/lib/arm-linux-gnueabi/libgd.so.2.0.0
php5-cgi 3130 www-data mem REG 179,2 276896 5434 /usr/lib/libt1.so.5.1.2
php5-cgi 3130 www-data mem REG 179,2 506212 125510 /usr/lib/arm-linux-gnueabi/libfreetype.so.6.8.1
php5-cgi 3130 www-data mem REG 179,2 1126040 128560 /usr/lib/arm-linux-gnueabi/libX11.so.6.3.0
php5-cgi 3130 www-data mem REG 179,2 133180 258311 /lib/arm-linux-gnueabi/libpng12.so.0.49.0
php5-cgi 3130 www-data mem REG 179,2 130856 125700 /usr/lib/arm-linux-gnueabi/libjpeg.so.62.0.0
php5-cgi 3130 www-data mem REG 179,2 253880 125691 /usr/lib/arm-linux-gnueabi/libjpeg.so.8.4.0
php5-cgi 3130 www-data mem REG 179,2 187160 125788 /usr/lib/arm-linux-gnueabi/libfontconfig.so.1.5.0
php5-cgi 3130 www-data mem REG 179,2 96060 128558 /usr/lib/arm-linux-gnueabi/libxcb.so.1.1.0
php5-cgi 3130 www-data mem REG 179,2 140788 256564 /lib/arm-linux-gnueabi/libexpat.so.1.6.0
php5-cgi 3130 www-data mem REG 179,2 144000 127690 /usr/lib/php5/20090626+lfs/suhosin.so
php5-cgi 3130 www-data mem REG 179,2 42684 280015 /lib/arm-linux-gnueabi/libnss_files-2.13.so
php5-cgi 3130 www-data 0u IPv4 5614 0t0 TCP localhost:9000 (LISTEN)
php5-cgi 3130 www-data 1u CHR 1,3 0t0 1709 /dev/null
php5-cgi 3130 www-data 2u CHR 1,3 0t0 1709 /dev/null
php5-cgi 3165 www-data cwd DIR 179,2 4096 2 /
php5-cgi 3165 www-data rtd DIR 179,2 4096 2 /
php5-cgi 3165 www-data txt REG 179,2 7163728 29481 /usr/bin/php5-cgi
php5-cgi 3165 www-data mem REG 179,2 221612 7369 /usr/lib/libqdbm.so.14.14.0
php5-cgi 3165 www-data mem REG 179,2 7520 128939 /usr/lib/arm-linux-gnueabi/libXau.so.6.0.0
php5-cgi 3165 www-data mem REG 179,2 122136 279951 /lib/arm-linux-gnueabi/ld-2.13.so
php5-cgi 3165 www-data mem REG 179,2 9804 279962 /lib/arm-linux-gnueabi/libdl-2.13.so
php5-cgi 3165 www-data mem REG 179,2 9788 256806 /lib/arm-linux-gnueabi/libcom_err.so.2.1
php5-cgi 3165 www-data mem REG 179,2 87788 268543 /lib/arm-linux-gnueabi/libz.so.1.2.7
php5-cgi 3165 www-data mem REG 179,2 9612 264839 /lib/arm-linux-gnueabi/libkeyutils.so.1.4
php5-cgi 3165 www-data mem REG 179,2 276596 29470 /usr/lib/libonig.so.2.0.0
php5-cgi 3165 www-data mem REG 179,2 271160 11953 /usr/lib/libssl.so.0.9.8
php5-cgi 3165 www-data mem REG 179,2 70140 253155 /lib/arm-linux-gnueabi/libbz2.so.1.0.4
php5-cgi 3165 www-data mem REG 179,2 75712 279956 /lib/arm-linux-gnueabi/libnsl-2.13.so
php5-cgi 3165 www-data mem REG 179,2 26364 127471 /usr/lib/arm-linux-gnueabi/libkrb5support.so.0.1
php5-cgi 3165 www-data mem REG 179,2 96784 127723 /usr/lib/php5/20090626+lfs/gd.so
php5-cgi 3165 www-data mem REG 179,2 231444 265205 /lib/arm-linux-gnueabi/libpcre.so.3.13.1
php5-cgi 3165 www-data mem REG 179,2 71520 279948 /lib/arm-linux-gnueabi/libresolv-2.13.so
php5-cgi 3165 www-data mem REG 179,2 15516 128941 /usr/lib/arm-linux-gnueabi/libXdmcp.so.6.0.0
php5-cgi 3165 www-data mem REG 179,2 38468 279950 /lib/arm-linux-gnueabi/libcrypt-2.13.so
php5-cgi 3165 www-data mem REG 179,2 1344428 45960 /usr/lib/libdb-4.8.so
php5-cgi 3165 www-data mem REG 179,2 657004 280017 /lib/arm-linux-gnueabi/libm-2.13.so
php5-cgi 3165 www-data mem REG 179,2 197036 125644 /usr/lib/arm-linux-gnueabi/libgssapi_krb5.so.2.2
php5-cgi 3165 www-data mem REG 179,2 684848 127470 /usr/lib/arm-linux-gnueabi/libkrb5.so.3.3
php5-cgi 3165 www-data mem REG 179,2 157580 138051 /usr/lib/arm-linux-gnueabi/libk5crypto.so.3.1
php5-cgi 3165 www-data mem REG 179,2 1216584 128556 /usr/lib/arm-linux-gnueabi/libxml2.so.2.8.0
php5-cgi 3165 www-data mem REG 179,2 137844 256453 /lib/arm-linux-gnueabi/libgcc_s.so.1
php5-cgi 3165 www-data mem REG 179,2 1228948 279959 /lib/arm-linux-gnueabi/libc-2.13.so
php5-cgi 3165 www-data mem REG 179,2 1247928 11952 /usr/lib/libcrypto.so.0.9.8
php5-cgi 3165 www-data mem REG 179,2 119869 280019 /lib/arm-linux-gnueabi/libpthread-2.13.so
php5-cgi 3165 www-data mem REG 179,2 128680 258210 /lib/arm-linux-gnueabi/liblzma.so.5.0.0
php5-cgi 3165 www-data mem REG 179,2 55472 125998 /usr/lib/arm-linux-gnueabi/libXpm.so.4.11.0
php5-cgi 3165 www-data mem REG 179,2 81768 127660 /usr/lib/php5/20090626+lfs/pdo.so
php5-cgi 3165 www-data mem REG 179,2 251028 126000 /usr/lib/arm-linux-gnueabi/libgd.so.2.0.0
php5-cgi 3165 www-data mem REG 179,2 276896 5434 /usr/lib/libt1.so.5.1.2
php5-cgi 3165 www-data mem REG 179,2 506212 125510 /usr/lib/arm-linux-gnueabi/libfreetype.so.6.8.1
php5-cgi 3165 www-data mem REG 179,2 1126040 128560 /usr/lib/arm-linux-gnueabi/libX11.so.6.3.0
php5-cgi 3165 www-data mem REG 179,2 133180 258311 /lib/arm-linux-gnueabi/libpng12.so.0.49.0
php5-cgi 3165 www-data mem REG 179,2 130856 125700 /usr/lib/arm-linux-gnueabi/libjpeg.so.62.0.0
php5-cgi 3165 www-data mem REG 179,2 253880 125691 /usr/lib/arm-linux-gnueabi/libjpeg.so.8.4.0
php5-cgi 3165 www-data mem REG 179,2 187160 125788 /usr/lib/arm-linux-gnueabi/libfontconfig.so.1.5.0
php5-cgi 3165 www-data mem REG 179,2 96060 128558 /usr/lib/arm-linux-gnueabi/libxcb.so.1.1.0
php5-cgi 3165 www-data mem REG 179,2 140788 256564 /lib/arm-linux-gnueabi/libexpat.so.1.6.0
php5-cgi 3165 www-data mem REG 179,2 144000 127690 /usr/lib/php5/20090626+lfs/suhosin.so
php5-cgi 3165 www-data mem REG 179,2 42684 280015 /lib/arm-linux-gnueabi/libnss_files-2.13.so
php5-cgi 3165 www-data 0u IPv4 5614 0t0 TCP localhost:9000 (LISTEN)
php5-cgi 3165 www-data 1u CHR 1,3 0t0 1709 /dev/null
php5-cgi 3165 www-data 2u CHR 1,3 0t0 1709 /dev/null
php5-cgi 3166 www-data cwd DIR 179,2 4096 2 /
php5-cgi 3166 www-data rtd DIR 179,2 4096 2 /
php5-cgi 3166 www-data txt REG 179,2 7163728 29481 /usr/bin/php5-cgi
php5-cgi 3166 www-data mem REG 179,2 221612 7369 /usr/lib/libqdbm.so.14.14.0
php5-cgi 3166 www-data mem REG 179,2 7520 128939 /usr/lib/arm-linux-gnueabi/libXau.so.6.0.0
php5-cgi 3166 www-data mem REG 179,2 122136 279951 /lib/arm-linux-gnueabi/ld-2.13.so
php5-cgi 3166 www-data mem REG 179,2 9804 279962 /lib/arm-linux-gnueabi/libdl-2.13.so
php5-cgi 3166 www-data mem REG 179,2 9788 256806 /lib/arm-linux-gnueabi/libcom_err.so.2.1
php5-cgi 3166 www-data mem REG 179,2 87788 268543 /lib/arm-linux-gnueabi/libz.so.1.2.7
php5-cgi 3166 www-data mem REG 179,2 9612 264839 /lib/arm-linux-gnueabi/libkeyutils.so.1.4
php5-cgi 3166 www-data mem REG 179,2 276596 29470 /usr/lib/libonig.so.2.0.0
php5-cgi 3166 www-data mem REG 179,2 271160 11953 /usr/lib/libssl.so.0.9.8
php5-cgi 3166 www-data mem REG 179,2 70140 253155 /lib/arm-linux-gnueabi/libbz2.so.1.0.4
php5-cgi 3166 www-data mem REG 179,2 75712 279956 /lib/arm-linux-gnueabi/libnsl-2.13.so
php5-cgi 3166 www-data mem REG 179,2 26364 127471 /usr/lib/arm-linux-gnueabi/libkrb5support.so.0.1
php5-cgi 3166 www-data mem REG 179,2 96784 127723 /usr/lib/php5/20090626+lfs/gd.so
php5-cgi 3166 www-data mem REG 179,2 231444 265205 /lib/arm-linux-gnueabi/libpcre.so.3.13.1
php5-cgi 3166 www-data mem REG 179,2 71520 279948 /lib/arm-linux-gnueabi/libresolv-2.13.so
php5-cgi 3166 www-data mem REG 179,2 15516 128941 /usr/lib/arm-linux-gnueabi/libXdmcp.so.6.0.0
php5-cgi 3166 www-data mem REG 179,2 38468 279950 /lib/arm-linux-gnueabi/libcrypt-2.13.so
php5-cgi 3166 www-data mem REG 179,2 1344428 45960 /usr/lib/libdb-4.8.so
php5-cgi 3166 www-data mem REG 179,2 657004 280017 /lib/arm-linux-gnueabi/libm-2.13.so
php5-cgi 3166 www-data mem REG 179,2 197036 125644 /usr/lib/arm-linux-gnueabi/libgssapi_krb5.so.2.2
php5-cgi 3166 www-data mem REG 179,2 684848 127470 /usr/lib/arm-linux-gnueabi/libkrb5.so.3.3
php5-cgi 3166 www-data mem REG 179,2 157580 138051 /usr/lib/arm-linux-gnueabi/libk5crypto.so.3.1
php5-cgi 3166 www-data mem REG 179,2 1216584 128556 /usr/lib/arm-linux-gnueabi/libxml2.so.2.8.0
php5-cgi 3166 www-data mem REG 179,2 137844 256453 /lib/arm-linux-gnueabi/libgcc_s.so.1
php5-cgi 3166 www-data mem REG 179,2 1228948 279959 /lib/arm-linux-gnueabi/libc-2.13.so
php5-cgi 3166 www-data mem REG 179,2 1247928 11952 /usr/lib/libcrypto.so.0.9.8
php5-cgi 3166 www-data mem REG 179,2 119869 280019 /lib/arm-linux-gnueabi/libpthread-2.13.so
php5-cgi 3166 www-data mem REG 179,2 128680 258210 /lib/arm-linux-gnueabi/liblzma.so.5.0.0
php5-cgi 3166 www-data mem REG 179,2 55472 125998 /usr/lib/arm-linux-gnueabi/libXpm.so.4.11.0
php5-cgi 3166 www-data mem REG 179,2 81768 127660 /usr/lib/php5/20090626+lfs/pdo.so
php5-cgi 3166 www-data mem REG 179,2 251028 126000 /usr/lib/arm-linux-gnueabi/libgd.so.2.0.0
php5-cgi 3166 www-data mem REG 179,2 276896 5434 /usr/lib/libt1.so.5.1.2
php5-cgi 3166 www-data mem REG 179,2 506212 125510 /usr/lib/arm-linux-gnueabi/libfreetype.so.6.8.1
php5-cgi 3166 www-data mem REG 179,2 1126040 128560 /usr/lib/arm-linux-gnueabi/libX11.so.6.3.0
php5-cgi 3166 www-data mem REG 179,2 133180 258311 /lib/arm-linux-gnueabi/libpng12.so.0.49.0
php5-cgi 3166 www-data mem REG 179,2 130856 125700 /usr/lib/arm-linux-gnueabi/libjpeg.so.62.0.0
php5-cgi 3166 www-data mem REG 179,2 253880 125691 /usr/lib/arm-linux-gnueabi/libjpeg.so.8.4.0
php5-cgi 3166 www-data mem REG 179,2 187160 125788 /usr/lib/arm-linux-gnueabi/libfontconfig.so.1.5.0
php5-cgi 3166 www-data mem REG 179,2 96060 128558 /usr/lib/arm-linux-gnueabi/libxcb.so.1.1.0
php5-cgi 3166 www-data mem REG 179,2 140788 256564 /lib/arm-linux-gnueabi/libexpat.so.1.6.0
php5-cgi 3166 www-data mem REG 179,2 144000 127690 /usr/lib/php5/20090626+lfs/suhosin.so
php5-cgi 3166 www-data mem REG 179,2 42684 280015 /lib/arm-linux-gnueabi/libnss_files-2.13.so
php5-cgi 3166 www-data 0u IPv4 5614 0t0 TCP localhost:9000 (LISTEN)
php5-cgi 3166 www-data 1u CHR 1,3 0t0 1709 /dev/null
php5-cgi 3166 www-data 2u CHR 1,3 0t0 1709 /dev/null
zsh 3785 pi cwd DIR 179,2 4096 127739 /etc/php5
sudo 3970 root cwd DIR 179,2 4096 127739 /etc/php5
grep 3971 pi cwd DIR 179,2 4096 127739 /etc/php5
lsof 3972 root cwd DIR 179,2 4096 127739 /etc/php5
lsof 3973 root cwd DIR 179,2 4096 127739 /etc/php5
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#31 Le 16/10/2014, à 18:29
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Humm..
C'est en fait difficile à dire si tu utilises ou non php-cgi car php va ouvrir uniquement le fichier php si il est consulté mais a priori il tourne.
Quel sont tes autres vhost/sites que tu utilises sur ton serveur ? (ta du wordpress/symfony/joomla)
Hors ligne
#32 Le 16/10/2014, à 18:34
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Alors, en fait, voilà les services qui tournent sur mon serveur :
- un serveur nginx avec quelques pages web (dont une une mini-galerie photo mais que je vais peut-être changer car elle est buguée sous firefox ^^')
- un serveur mail (postfix et dovecot si je me souviens bien)
Et c’est à peu près tout… J’avais pour ambition d’y mettre également un owncloud et roundcube mais ce n’est pas à l’ordre du jour ! (surtout si je n’arrive même pas à mettre un simple calendrier ^^')
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#33 Le 16/10/2014, à 19:00
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Minigal_nano a bien besoin de php.
Je ne connais pas dovecot, mais si c'est un service auquel tu accède via firefox/chrome, il est possible qu'il utilise php.
Si tu passe sous PHP-FPM, ces services risquent de ne pas fonctionner. Cela nécessitera des ajustements des fichiers de configurations.
Je te conseilles, si tu le peux de faire un snapshot de ton serveur OVH avant de tout "casser" ((si possible et disponible) accessible depuis l'administration OVH) pour pouvoir restaurer ton serveur à son état avant les modifications. Comme tu l'a également préciser plus haut, sauvegarde les fichiers de configurations dans /etc/php5 au cas où.
J’avais pour ambition d’y mettre également un owncloud et roundcube mais ce n’est pas à l’ordre du jour ! (surtout si je n’arrive même pas à mettre un simple calendrier ^^')
Le owncloud n'est pas compliqué à mettre en place une fois que tu comprends le fonctionnement de php-fpm,nginx,mysql. Il faut juste apprendre où chercher, lire les documentations et faire des essais sans trop s’énerver.
Pour le roundcube, je ne saurais pas te dire car je n'en ai jamais installé (je m'occupe d'un zimbra mais ce n'est pas pareil), mais part du principe que c'est un peu plus complexe car l'interface web doit être "calé" sur le service mail.
Hors ligne
#34 Le 16/10/2014, à 19:04
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Bon, si c’est juste la galerie, je m’en fiche un peu, ce n’est pas très grave.
Si je résume, je fais un sudo apt-get purge php-cgi puis après, je tente sudo apt-get install php-fpm pour voir si ça marche ?
(et sinon, pour mon serveur, il n’est pas hébergé chez OVH mais sur un Raspberry pi, chez moi ! Mais je vais faire un back-up complet du serveur, au cas où !)
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#35 Le 16/10/2014, à 19:46
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Mon serveur est hébergé chez ovh, faut-il que je déclare quelque chose de particulier chez eux ? (au niveau des champs ou redirections ?)
Ok, j'ai du mal comprendre alors ou tu devais parler de nom de domaine.
Je pense même que tu devrait faire :
sudo apt-get purge php5
pour repartir de "zéro" et faire
sudo apt-get install php5-fpm php5-cli
Hors ligne
#36 Le 16/10/2014, à 20:37
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
J’avais un pressentiment…
% sudo apt-get purge php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
php5*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 20.5 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 100019 files and directories currently installed.)
Removing php5 ...
Puis…
% sudo apt-get install php5-fpm php5-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-cli is already the newest version.
php5-cli set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5-fpm : Depends: php5-common (= 5.4.4-14+deb7u14) but 5.3.3-7+squeeze8 is to be installed
E: Unable to correct problems, you have held broken packages.
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#37 Le 16/10/2014, à 20:42
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Essaie :
sudo apt-get autoclean && sudo apt-get clear cache && sudo apt-get update && sudo apt-get install php5-fpm
Hors ligne
#38 Le 20/10/2014, à 06:02
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Il semble que mon apt-get n'ait pas clear…
% sudo apt-get autoclean && sudo apt-get clear cache && sudo apt-get update && sudo apt-get install php5-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Invalid operation clear
(J'ai essayé avec aptitude mais sans résultat...)
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#39 Le 20/10/2014, à 11:58
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Essaie sans le clear :
sudo apt-get autoclean && sudo apt-get update && sudo apt-get install php5-fpm
Si ça ne marche toujours pas essaie de mettre à jour ton système avant d'installer php-fpm :
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install php5-fpm
Hors ligne
#40 Le 20/10/2014, à 14:32
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
J’ai dingue, j’ai à chaque fois la même erreur ):
% sudo apt-get autoclean && sudo apt-get update && sudo apt-get install php5-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Get:1 http://ftp.fr.debian.org wheezy Release.gpg [1,655 B]
Get:2 http://ftp.debian.org wheezy-updates Release.gpg [836 B]
Get:3 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:4 http://ftp.debian.org wheezy-updates Release [124 kB]
Get:5 http://security.debian.org wheezy/updates Release [102 kB]
Get:6 http://ftp.fr.debian.org stable Release.gpg [1,655 B]
Get:7 http://ftp.fr.debian.org wheezy Release [168 kB]
Get:8 http://ftp.debian.org wheezy-updates/main Sources [14 B]
Get:9 http://security.debian.org wheezy/updates/main Sources [140 kB]
Get:10 http://ftp.debian.org wheezy-updates/contrib Sources [14 B]
Get:11 http://ftp.debian.org wheezy-updates/non-free Sources [14 B]
Get:12 http://ftp.debian.org wheezy-updates/main armel Packages/DiffIndex [1,609 B]
Get:13 http://ftp.debian.org wheezy-updates/contrib armel Packages [14 B]
Get:14 http://ftp.fr.debian.org stable Release [168 kB]
Get:15 http://ftp.debian.org wheezy-updates/non-free armel Packages [14 B]
Get:16 http://ftp.debian.org wheezy-updates/contrib Translation-en [14 B]
Get:17 http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex [1,057 B]
Get:18 http://ftp.debian.org wheezy-updates/non-free Translation-en [14 B]
Get:19 http://ftp.debian.org wheezy-updates/main armel 2014-10-17-2038.01.pdiff [27 B]
Get:20 http://ftp.debian.org wheezy-updates/main 2014-10-17-2038.01.pdiff [27 B]
Get:21 http://ftp.debian.org wheezy-updates/main armel 2014-10-17-2038.01.pdiff [27 B]
Get:22 http://ftp.debian.org wheezy-updates/main 2014-10-17-2038.01.pdiff [27 B]
Get:23 http://ftp.fr.debian.org wheezy/main armel Packages [5,709 kB]
Get:24 http://security.debian.org wheezy/updates/contrib Sources [14 B]
Get:25 http://security.debian.org wheezy/updates/non-free Sources [14 B]
Get:26 http://security.debian.org wheezy/updates/main armel Packages [221 kB]
Get:27 http://security.debian.org wheezy/updates/contrib armel Packages [14 B]
Get:28 http://security.debian.org wheezy/updates/non-free armel Packages [14 B]
Get:29 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
Get:30 http://security.debian.org wheezy/updates/main Translation-en [123 kB]
Get:31 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
Get:32 http://ftp.fr.debian.org wheezy/main Translation-en [3,846 kB]
Get:33 http://ftp.fr.debian.org stable/main Sources [5,955 kB]
Get:34 http://ftp.fr.debian.org stable/contrib Sources [47.8 kB]
Get:35 http://ftp.fr.debian.org stable/non-free Sources [93.4 kB]
Get:36 http://ftp.fr.debian.org stable/main armel Packages [5,709 kB]
Get:37 http://ftp.fr.debian.org stable/contrib armel Packages [34.0 kB]
Get:38 http://ftp.fr.debian.org stable/non-free armel Packages [57.8 kB]
Get:39 http://ftp.fr.debian.org stable/contrib Translation-en [34.8 kB]
Get:40 http://ftp.fr.debian.org stable/main Translation-en [3,846 kB]
Get:41 http://ftp.fr.debian.org stable/non-free Translation-en [66.1 kB]
Fetched 26.5 MB in 3min 42s (119 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5-fpm : Depends: php5-common (= 5.4.4-14+deb7u14) but 5.3.3-7+squeeze8 is to be installed
E: Unable to correct problems, you have held broken packages.
% sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install php5-fpm
Hit http://ftp.fr.debian.org wheezy Release.gpg
Hit http://ftp.debian.org wheezy-updates Release.gpg
Hit http://ftp.fr.debian.org stable Release.gpg
Hit http://ftp.debian.org wheezy-updates Release
Hit http://ftp.fr.debian.org wheezy Release
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://ftp.fr.debian.org stable Release
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.debian.org wheezy-updates/main Sources
Hit http://ftp.debian.org wheezy-updates/contrib Sources
Hit http://ftp.debian.org wheezy-updates/non-free Sources
Hit http://ftp.fr.debian.org wheezy/main armel Packages
Hit http://ftp.debian.org wheezy-updates/main armel Packages/DiffIndex
Hit http://ftp.fr.debian.org wheezy/main Translation-en
Hit http://ftp.debian.org wheezy-updates/contrib armel Packages
Hit http://ftp.debian.org wheezy-updates/non-free armel Packages
Hit http://ftp.debian.org wheezy-updates/contrib Translation-en
Hit http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex
Hit http://ftp.debian.org wheezy-updates/non-free Translation-en
Hit http://ftp.fr.debian.org stable/main Sources
Hit http://ftp.fr.debian.org stable/contrib Sources
Hit http://ftp.fr.debian.org stable/non-free Sources
Hit http://ftp.fr.debian.org stable/main armel Packages
Hit http://ftp.fr.debian.org stable/contrib armel Packages
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://ftp.fr.debian.org stable/non-free armel Packages
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://ftp.fr.debian.org stable/contrib Translation-en
Hit http://security.debian.org wheezy/updates/non-free Sources
Hit http://ftp.fr.debian.org stable/main Translation-en
Hit http://ftp.fr.debian.org stable/non-free Translation-en
Hit http://security.debian.org wheezy/updates/main armel Packages
Hit http://security.debian.org wheezy/updates/contrib armel Packages
Hit http://security.debian.org wheezy/updates/non-free armel Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
base-files ca-certificates debian-archive-keyring libc-bin libc-dev-bin libc6 libc6-dev libkeyutils1 libssl-dev libssl-doc libssl1.0.0 linux-libc-dev locales multiarch-support openssl perl perl-base perl-modules tzdata unattended-upgrades wireless-regdb wpasupplicant
xdg-utils
23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.3 MB of archives.
After this operation, 428 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.fr.debian.org/debian/ wheezy/main base-files armel 7.1wheezy7 [75.5 kB]
Get:2 http://security.debian.org/ wheezy/updates/main libssl-doc all 1.0.1e-2+deb7u13 [1,198 kB]
Get:3 http://ftp.fr.debian.org/debian/ wheezy/main perl armel 5.14.2-21+deb7u2 [3,670 kB]
Get:4 http://security.debian.org/ wheezy/updates/main libssl-dev armel 1.0.1e-2+deb7u13 [1,523 kB]
Get:5 http://security.debian.org/ wheezy/updates/main libssl1.0.0 armel 1.0.1e-2+deb7u13 [1,053 kB]
Get:6 http://security.debian.org/ wheezy/updates/main openssl armel 1.0.1e-2+deb7u13 [704 kB]
Get:7 http://ftp.fr.debian.org/debian/ wheezy/main perl-base armel 5.14.2-21+deb7u2 [1,482 kB]
Get:8 http://security.debian.org/ wheezy/updates/main wpasupplicant armel 1.0-3+deb7u1 [541 kB]
Get:9 http://ftp.fr.debian.org/debian/ wheezy/main perl-modules all 5.14.2-21+deb7u2 [3,442 kB]
Get:10 http://ftp.fr.debian.org/debian/ wheezy/main libc-dev-bin armel 2.13-38+deb7u6 [222 kB]
Get:11 http://ftp.fr.debian.org/debian/ wheezy/main libc6-dev armel 2.13-38+deb7u6 [2,519 kB]
Get:12 http://ftp.fr.debian.org/debian/ wheezy/main libc-bin armel 2.13-38+deb7u6 [1,210 kB]
Get:13 http://ftp.fr.debian.org/debian/ wheezy/main libc6 armel 2.13-38+deb7u6 [4,222 kB]
Get:14 http://ftp.fr.debian.org/debian/ wheezy/main linux-libc-dev armel 3.2.63-2 [809 kB]
Get:15 http://ftp.fr.debian.org/debian/ wheezy/main libkeyutils1 armel 1.5.5-3+deb7u1 [7,872 B]
Get:16 http://ftp.fr.debian.org/debian/ wheezy/main debian-archive-keyring all 2014.1~deb7u1 [37.1 kB]
Get:17 http://ftp.fr.debian.org/debian/ wheezy/main multiarch-support armel 2.13-38+deb7u6 [151 kB]
Get:18 http://ftp.fr.debian.org/debian/ wheezy/main tzdata all 2014h-0wheezy1 [447 kB]
Get:19 http://ftp.fr.debian.org/debian/ wheezy/main locales all 2.13-38+deb7u6 [5,652 kB]
Get:20 http://ftp.fr.debian.org/debian/ wheezy/main ca-certificates all 20130119+deb7u1 [210 kB]
Get:21 http://ftp.fr.debian.org/debian/ wheezy/main unattended-upgrades all 0.79.5+wheezy1 [49.2 kB]
Get:22 http://ftp.fr.debian.org/debian/ wheezy/main wireless-regdb all 2014.06.13-1~deb7u1 [6,654 B]
Get:23 http://ftp.fr.debian.org/debian/ wheezy/main xdg-utils all 1.1.0~rc1+git20111210-6+deb7u1 [78.3 kB]
Fetched 29.3 MB in 1min 31s (320 kB/s)
Preconfiguring packages ...
(Reading database ... 100019 files and directories currently installed.)
Preparing to replace base-files 7.1wheezy6 (using .../base-files_7.1wheezy7_armel.deb) ...
Unpacking replacement base-files ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Setting up base-files (7.1wheezy7) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 100019 files and directories currently installed.)
Preparing to replace perl 5.14.2-21+deb7u1 (using .../perl_5.14.2-21+deb7u2_armel.deb) ...
Unpacking replacement perl ...
Preparing to replace perl-base 5.14.2-21+deb7u1 (using .../perl-base_5.14.2-21+deb7u2_armel.deb) ...
Unpacking replacement perl-base ...
Processing triggers for man-db ...
Setting up perl-base (5.14.2-21+deb7u2) ...
(Reading database ... 100029 files and directories currently installed.)
Preparing to replace perl-modules 5.14.2-21+deb7u1 (using .../perl-modules_5.14.2-21+deb7u2_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace libc-dev-bin 2.13-38+deb7u4 (using .../libc-dev-bin_2.13-38+deb7u6_armel.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc6-dev:armel 2.13-38+deb7u4 (using .../libc6-dev_2.13-38+deb7u6_armel.deb) ...
Unpacking replacement libc6-dev:armel ...
Preparing to replace libc-bin 2.13-38+deb7u4 (using .../libc-bin_2.13-38+deb7u6_armel.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.13-38+deb7u6) ...
(Reading database ... 100030 files and directories currently installed.)
Preparing to replace libc6:armel 2.13-38+deb7u4 (using .../libc6_2.13-38+deb7u6_armel.deb) ...
Unpacking replacement libc6:armel ...
Setting up libc6:armel (2.13-38+deb7u6) ...
(Reading database ... 100030 files and directories currently installed.)
Preparing to replace linux-libc-dev:armel 3.2.60-1+deb7u3 (using .../linux-libc-dev_3.2.63-2_armel.deb) ...
Unpacking replacement linux-libc-dev:armel ...
Preparing to replace libssl-doc 1.0.1e-2+deb7u12 (using .../libssl-doc_1.0.1e-2+deb7u13_all.deb) ...
Unpacking replacement libssl-doc ...
Preparing to replace libssl-dev 1.0.1e-2+deb7u12 (using .../libssl-dev_1.0.1e-2+deb7u13_armel.deb) ...
Unpacking replacement libssl-dev ...
Preparing to replace libssl1.0.0:armel 1.0.1e-2+deb7u12 (using .../libssl1.0.0_1.0.1e-2+deb7u13_armel.deb) ...
Unpacking replacement libssl1.0.0:armel ...
Preparing to replace libkeyutils1:armel 1.5.5-3 (using .../libkeyutils1_1.5.5-3+deb7u1_armel.deb) ...
Unpacking replacement libkeyutils1:armel ...
Preparing to replace debian-archive-keyring 2012.4 (using .../debian-archive-keyring_2014.1~deb7u1_all.deb) ...
Unpacking replacement debian-archive-keyring ...
Processing triggers for man-db ...
Setting up debian-archive-keyring (2014.1~deb7u1) ...
(Reading database ... 100031 files and directories currently installed.)
Preparing to replace multiarch-support 2.13-38+deb7u4 (using .../multiarch-support_2.13-38+deb7u6_armel.deb) ...
Unpacking replacement multiarch-support ...
Setting up multiarch-support (2.13-38+deb7u6) ...
(Reading database ... 100031 files and directories currently installed.)
Preparing to replace tzdata 2014e-0wheezy1 (using .../tzdata_2014h-0wheezy1_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2014h-0wheezy1) ...
Current default time zone: 'Europe/London'
Local time is now: Mon Oct 20 14:25:58 BST 2014.
Universal Time is now: Mon Oct 20 13:25:58 UTC 2014.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
(Reading database ... 100037 files and directories currently installed.)
Preparing to replace locales 2.13-38+deb7u4 (using .../locales_2.13-38+deb7u6_all.deb) ...
Unpacking replacement locales ...
Preparing to replace openssl 1.0.1e-2+deb7u12 (using .../openssl_1.0.1e-2+deb7u13_armel.deb) ...
Unpacking replacement openssl ...
Preparing to replace ca-certificates 20130119 (using .../ca-certificates_20130119+deb7u1_all.deb) ...
Unpacking replacement ca-certificates ...
Preparing to replace unattended-upgrades 0.79.5 (using .../unattended-upgrades_0.79.5+wheezy1_all.deb) ...
Unpacking replacement unattended-upgrades ...
Preparing to replace wireless-regdb 2013.11.27-0wheezy1 (using .../wireless-regdb_2014.06.13-1~deb7u1_all.deb) ...
Unpacking replacement wireless-regdb ...
Preparing to replace wpasupplicant 1.0-3+b1 (using .../wpasupplicant_1.0-3+deb7u1_armel.deb) ...
Unpacking replacement wpasupplicant ...
Preparing to replace xdg-utils 1.1.0~rc1+git20111210-6 (using .../xdg-utils_1.1.0~rc1+git20111210-6+deb7u1_all.deb) ...
Unpacking replacement xdg-utils ...
Processing triggers for man-db ...
Setting up libc-dev-bin (2.13-38+deb7u6) ...
Setting up linux-libc-dev:armel (3.2.63-2) ...
Setting up libc6-dev:armel (2.13-38+deb7u6) ...
Setting up libssl-doc (1.0.1e-2+deb7u13) ...
Setting up libssl1.0.0:armel (1.0.1e-2+deb7u13) ...
Setting up libssl-dev (1.0.1e-2+deb7u13) ...
Setting up libkeyutils1:armel (1.5.5-3+deb7u1) ...
Setting up locales (2.13-38+deb7u6) ...
Generating locales (this might take a while)...
en_GB.UTF-8... done
Generation complete.
Setting up openssl (1.0.1e-2+deb7u13) ...
Setting up ca-certificates (20130119+deb7u1) ...
Setting up unattended-upgrades (0.79.5+wheezy1) ...
Installing new version of config file /etc/apt/apt.conf.d/50unattended-upgrades ...
Setting up wireless-regdb (2014.06.13-1~deb7u1) ...
Setting up wpasupplicant (1.0-3+deb7u1) ...
Setting up xdg-utils (1.1.0~rc1+git20111210-6+deb7u1) ...
Setting up perl-modules (5.14.2-21+deb7u2) ...
Setting up perl (5.14.2-21+deb7u2) ...
Processing triggers for ca-certificates ...
Updating certificates in /etc/ssl/certs... 18 added, 5 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5-fpm : Depends: php5-common (= 5.4.4-14+deb7u14) but 5.3.3-7+squeeze8 is to be installed
E: Unable to correct problems, you have held broken packages.
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#41 Le 20/10/2014, à 18:11
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
As tu modifié : "/etc/apt/sources.list" ou des fichiers dans "/etc/apt/" ou ajouté des ppa ?
Malheureusement, je ne plus beaucoup d'autres solutions pour corriger ce problème.
Essaie peut être ce qui à marqué sur ce post :
http://askubuntu.com/questions/140246/h … ding-a-ppa même si c'est pour ubuntu, ça doit être applicable sur un raspberry.
Hors ligne
#42 Le 25/10/2014, à 11:34
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Encore une fois Inglebard, merci pour ton aide mais j’ai tout essayé, rien ne marche ):
Connais-tu par hasard d’autres serveurs caldav qui ne nécessiteraient pas php-fpm ?
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#43 Le 25/10/2014, à 12:57
- Inglebard
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Malheureusement, si tu ne peux pas installer php-fpm tu va être assez limité.
Je ne connais pas très bien les caldav donc je ne peux te conseiller.
Peut être que quelqu'un d'autre aura une idée qui réglera ton problème.
Hors ligne
#44 Le 25/10/2014, à 12:59
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
D’accord et encore merci pour tes conseils (:
J’vais essayer de changer l’intitulé du topic pour que ça soit plus explicite.
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#45 Le 01/11/2014, à 13:21
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Up !
Je rappelle que je cherche à installer le serveur CALDAV Baikal mais que lors de l’installation, je ne parviens pas à installer php-fpm qui semble nécessaire pour faire tourner le serveur… Je suis preneur de toute idée pour résoudre ce problème !
D’avance, merci
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#46 Le 03/11/2014, à 12:36
- bruno
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Bonjour,
Tu as visiblement un mélange squeeze/wheezy dans tes paquets (sûrement suite à des upgrade, dist-upgrade… ou des dépôts exotiques)
Évite d'enchaîner les commandes avec des &&, c'est beaucoup plus difficile à interpréter et utilise aptitude plutôt que apt-get :
sudo aptitude clean
sudo aptitude update
sudo aptitude full-upgrade
Si cette dernière commande renvoie toujours des problèmes de dépendances, teste les différentes solutions proposées par aptitude.
#47 Le 03/11/2014, à 16:13
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Bonjour Bruno et merci d’avoir pris le temps de me lire et de me répondre
Le full-upgrade n'a pas donné d’erreurs :
% sudo aptitude full-upgrade
The following packages will be upgraded:
libtasn1-3 libxml2 linux-libc-dev wget
4 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,454 kB of archives. After unpacking 1,024 B will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://security.debian.org/ wheezy/updates/main libtasn1-3 armel 2.13-2+deb7u1 [63.9 kB]
Get: 2 http://security.debian.org/ wheezy/updates/main libxml2 armel 2.8.0+dfsg1-7+wheezy2 [827 kB]
Get: 3 http://security.debian.org/ wheezy/updates/main wget armel 1.13.4-3+deb7u2 [753 kB]
Get: 4 http://security.debian.org/ wheezy/updates/main linux-libc-dev armel 3.2.63-2+deb7u1 [810 kB]
Fetched 2,454 kB in 3s (727 kB/s)
(Reading database ... 99772 files and directories currently installed.)
Preparing to replace libtasn1-3:armel 2.13-2 (using .../libtasn1-3_2.13-2+deb7u1_armel.deb) ...
Unpacking replacement libtasn1-3:armel ...
Preparing to replace libxml2:armel 2.8.0+dfsg1-7+wheezy1 (using .../libxml2_2.8.0+dfsg1-7+wheezy2_armel.deb) ...
Unpacking replacement libxml2:armel ...
Preparing to replace wget 1.13.4-3+deb7u1 (using .../wget_1.13.4-3+deb7u2_armel.deb) ...
Unpacking replacement wget ...
Preparing to replace linux-libc-dev:armel 3.2.63-2 (using .../linux-libc-dev_3.2.63-2+deb7u1_armel.deb) ...
Unpacking replacement linux-libc-dev:armel ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Setting up libtasn1-3:armel (2.13-2+deb7u1) ...
Setting up libxml2:armel (2.8.0+dfsg1-7+wheezy2) ...
Setting up wget (1.13.4-3+deb7u2) ...
Setting up linux-libc-dev:armel (3.2.63-2+deb7u1) ...
Current status: 0 updates [-4].
J’ai voulu alors retenter l’installation de php-fpm avec aptitude ce que j’ai il me semble réussi :
% sudo aptitude install php5-fpm
The following NEW packages will be installed:
php5-fpm{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,465 kB of archives. After unpacking 7,415 kB will be used.
The following packages have unmet dependencies:
php5-fpm : Depends: php5-common (= 5.4.4-14+deb7u14) but 5.3.3-7+squeeze8 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) php5-fpm [Not Installed]
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Remove the following packages:
1) php5-cli
2) php5-suhosin
Upgrade the following packages:
3) php5-cgi [5.3.3-7+squeeze8 (now) -> 5.4.4-14+deb7u14 (stable)]
4) php5-common [5.3.3-7+squeeze8 (now) -> 5.4.4-14+deb7u14 (stable)]
5) php5-gd [5.3.3-7+squeeze8 (now) -> 5.4.4-14+deb7u14 (stable)]
Accept this solution? [Y/n/q/?] 3
Action "3": Installing php5-cgi 5.4.4-14+deb7u14 (stable)
Package: php5-cgi
New: yes
State: not installed
Automatically installed: no
Version: 5.4.4-14+deb7u14
Priority: optional
Section: php
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Architecture: armel
Uncompressed Size: 14.6 M
Depends: libbz2-1.0, libc6 (>= 2.11), libcomerr2 (>= 1.01), libdb5.1, libgcc1 (>= 1:4.4.0), libgssapi-krb5-2 (>= 1.6.dfsg.2), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.6.dfsg.2), libonig2 (>= 5.2.0), libpcre3 (>= 8.10), libqdbm14 (>= 1.8.74), libssl1.0.0 (>= 1.0.0), libxml2
(>= 2.8.0), zlib1g (>= 1:1.1.4), mime-support, php5-common (= 5.4.4-14+deb7u14), libmagic1, ucf, tzdata
Suggests: php-pear
Provides: phpapi-20100525+lfs
Description: server-side, HTML-embedded scripting language (CGI binary)
This package provides the /usr/lib/cgi-bin/php5 CGI interpreter built for use in Apache 2 with mod_actions, or any other CGI httpd that supports a similar mechanism. Note that MOST Apache users probably want the libapache2-mod-php5 package. The following extensions are built
in: bcmath bz2 calendar Core ctype date dba dom ereg exif fileinfo filter ftp gettext hash iconv json libxml mbstring mhash openssl pcntl pcre Phar posix Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter
zip zlib.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
Homepage: http://www.php.net/
This action was selected because php5-cgi depends upon php5-common (= 5.3.3-7+squeeze8).
Enter "r 3" to prevent this action from appearing in new solutions.
Enter "a 3" to require that new solutions include this action if possible.
Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
php5-fpm
The following packages will be REMOVED:
libjpeg62{u} libt1-5{u} php5-cli{a} php5-suhosin{a}
The following packages will be upgraded:
php5-cgi php5-common php5-gd
3 packages upgraded, 1 newly installed, 4 to remove and 0 not upgraded.
Need to get 7,940 kB of archives. After unpacking 569 kB will be freed.
Do you want to continue? [Y/n/?] Y
Get: 1 http://ftp.fr.debian.org/debian/ wheezy/main php5-gd armel 5.4.4-14+deb7u14 [34.1 kB]
Get: 2 http://ftp.fr.debian.org/debian/ wheezy/main php5-cgi armel 5.4.4-14+deb7u14 [4,853 kB]
Get: 3 http://ftp.fr.debian.org/debian/ wheezy/main php5-common armel 5.4.4-14+deb7u14 [588 kB]
Get: 4 http://ftp.fr.debian.org/debian/ wheezy/main php5-fpm armel 5.4.4-14+deb7u14 [2,465 kB]
Fetched 7,940 kB in 35s (224 kB/s)
(Reading database ... 99772 files and directories currently installed.)
Removing php5-suhosin ...
Removing php5-cli ...
Processing triggers for man-db ...
(Reading database ... 99760 files and directories currently installed.)
Preparing to replace php5-gd 5.3.3-7+squeeze8 (using .../php5-gd_5.4.4-14+deb7u14_armel.deb) ...
Unpacking replacement php5-gd ...
Preparing to replace php5-cgi 5.3.3-7+squeeze8 (using .../php5-cgi_5.4.4-14+deb7u14_armel.deb) ...
Unpacking replacement php5-cgi ...
Preparing to replace php5-common 5.3.3-7+squeeze8 (using .../php5-common_5.4.4-14+deb7u14_armel.deb) ...
Unpacking replacement php5-common ...
Selecting previously unselected package php5-fpm.
Unpacking php5-fpm (from .../php5-fpm_5.4.4-14+deb7u14_armel.deb) ...
Processing triggers for man-db ...
(Reading database ... 99774 files and directories currently installed.)
Removing libjpeg62:armel ...
Removing libt1-5 ...
Setting up php5-common (5.4.4-14+deb7u14) ...
Installing new version of config file /etc/cron.d/php5 ...
Creating config file /etc/php5/mods-available/pdo.ini with new version
Setting up php5-fpm (5.4.4-14+deb7u14) ...
Creating config file /etc/php5/fpm/php.ini with new version
Setting up php5-cgi (5.4.4-14+deb7u14) ...
Replacing config file /etc/php5/cgi/php.ini with new version
[ ok ] Reloading web server config: apache2 not running.
Setting up php5-gd (5.4.4-14+deb7u14) ...
Creating config file /etc/php5/mods-available/gd.ini with new version
Processing triggers for php5-fpm ...
[ ok ] Restarting PHP5 FastCGI Process Manager: php5-fpm.
Current status: 0 updates [-3], 35595 new [-1].
Puis après pour être certain :
% sudo aptitude install php5-fpm
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Mais finalement, pour revenir à l’installation de Baikal, lorsque je me rends à dav.mondomaine.com, je tombe toujours sur une erreur 403. J’ai cherché un petit peu plus dans les dossiers et en me rendant à la page http://mondomaine.com/dav.mondomaine.com/html/index.php (bizarrement, le chemin dav.mondomaine.com/html/index.php retourne une retourne 404…), je tombe sur ce message : Baikal Fatal Error: Both PDO::sqlite and PDO::mysql are unavailable. One of them at least is required by Baikal.
Pourtant mysql-server est installé ! Quel est donc ce mystère ?
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#48 Le 03/11/2014, à 17:12
- bruno
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Il te manque donc des paquets ou des modules PHP sont désactivés
Pour installer le paquet fournissant pdo-mysql
sudo aptitude install php5-mysql
Pour activer le module PHP s'il ne l'est pas (voir dans /etc/php5/fpm/conf.d)
sudo php5enmod pdo_mysql
Vérifier la présence des fichiers mysql.ini et pdo_mysql.ini dans /etc/php5/fpm/conf.d et relancer le service php-fpm
sudo service php5-fpm restart
Dernière modification par bruno (Le 03/11/2014, à 17:13)
#49 Le 03/11/2014, à 17:21
- PounkyM
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
L’installation de php5-mysql semble avoir bien marché :
% sudo aptitude install php5-mysql
The following NEW packages will be installed:
php5-mysql
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 68.0 kB of archives. After unpacking 224 kB will be used.
Get: 1 http://ftp.fr.debian.org/debian/ wheezy/main php5-mysql armel 5.4.4-14+deb7u14 [68.0 kB]
Fetched 68.0 kB in 0s (77.9 kB/s)
Selecting previously unselected package php5-mysql.
(Reading database ... 100033 files and directories currently installed.)
Unpacking php5-mysql (from .../php5-mysql_5.4.4-14+deb7u14_armel.deb) ...
Processing triggers for php5-fpm ...
[ ok ] Restarting PHP5 FastCGI Process Manager: php5-fpm.
Setting up php5-mysql (5.4.4-14+deb7u14) ...
Creating config file /etc/php5/mods-available/mysql.ini with new version
Creating config file /etc/php5/mods-available/mysqli.ini with new version
Creating config file /etc/php5/mods-available/pdo_mysql.ini with new version
Processing triggers for php5-fpm ...
[ ok ] Restarting PHP5 FastCGI Process Manager: php5-fpm.
Par contre je rencontre des difficultés à activer le module PHP
% sudo php5enmod pdo_mysql
sudo: php5enmod: command not found
Et sinon, voici le contenu de mon dossier /etc/php5/fpm/conf.d :
% ls /etc/php5/fpm/conf.d
10-pdo.ini 20-gd.ini 20-mysqli.ini 20-mysql.ini 20-pdo_mysql.ini mcrypt.ini pdo_sqlite.ini sqlite3.ini sqlite.ini suhosin.ini
"La liberté est un bagne aussi longtemps qu'un seul homme est asservi sur la terre"
Hors ligne
#50 Le 03/11/2014, à 17:32
- bruno
Re : [Résolu] [NGINX] Sous-domaine renvoie une erreur 403
Donc tout est bien installé et activé, cela devrait fonctionner.
Edit ; ça c'est pas normal :
sudo: php5enmod: command not found
Le paquet php5-common est bien installé ?
sudo aptitude install php5-common
Dernière modification par bruno (Le 03/11/2014, à 17:35)