[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: session freezé -> dpkg planté




Le 24/07/2012 09:22, Grégoire COUTANT a écrit :
Bonjour à tous,

J'ai lancé hier soir un petit aptitude update && aptitude safe-upgrade
PHP se lance et se met à jour, je suis en pleine comparaison de fichier de conf quand ma session SSH freeze.

Je me relogue, je kille les process en stand by, j'arrive à relancer aptitude qui ne me met plus rien à jour, mais quand j'essaie de relancer php, il ne rend jamais le shell (pourtant tout fonctionne, php se lance, se stoppe etc...)

j'ai tenté un "aptitude reinstall php-fpm"

Ca freeze, j'ai de plus en plus de process en "defunct" :

#ps faux
root 12780 0.0 0.0 71360 7932 ? S Jul23 0:00 /usr/sbin/php5-fpm --fpm-config /etc/php5/fpm/php-fpm.conf root 12781 0.0 0.0 0 0 ? Zs Jul23 0:00 \_ [php5-fpm] <defunct> root 14315 0.0 0.0 71360 7936 ? S Jul23 0:00 /usr/sbin/php5-fpm --fpm-config /etc/php5/fpm/php-fpm.conf root 14316 0.0 0.0 0 0 ? Zs Jul23 0:00 \_ [php5-fpm] <defunct> root 11234 0.0 0.0 71360 7936 ? S 00:47 0:00 /usr/sbin/php5-fpm --fpm-config /etc/php5/fpm/php-fpm.conf root 11235 0.0 0.0 0 0 ? Zs 00:47 0:00 \_ [php5-fpm] <defunct>

Un casse tête ce truc.
Sinon en désinstallant et réinstallant ? Je vais finir par me croire sous windows...

# tail -f dpkg.log
[...]
2012-07-24 00:50:27 status unpacked php5-fpm 5.3.15-1~dotdeb.0
2012-07-24 00:50:27 status unpacked php5-fpm 5.3.15-1~dotdeb.0
2012-07-24 00:50:27 status unpacked php5-fpm 5.3.15-1~dotdeb.0
2012-07-24 00:50:27 status unpacked php5-fpm 5.3.15-1~dotdeb.0
2012-07-24 00:50:27 status half-configured php5-fpm 5.3.15-1~dotdeb.0

# ps faux|grep dpkg
root 28554 0.0 0.0 10140 844 pts/2 S+ 01:26 0:00 | \_ grep dpkg root 24912 0.0 0.0 14420 4156 pts/1 Ss+ 01:18 0:00 \_ /usr/bin/dpkg --status-fd 24 --configure php5-fpm root 24913 0.0 0.0 13200 1384 pts/1 S+ 01:18 0:00 \_ /bin/sh /var/lib/dpkg/info/php5-fpm.postinst configure 5.3.15-1~dotdeb.0

# kill -9 24913 24912

# mv /var/lib/dpkg/info/php5-fpm.postinst /var/lib/dpkg/info/php5-fpm.postinst.old

# aptitude reinstall php5-fpm
The following packages will be REINSTALLED:
  php5-fpm
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 0 B/3,252 kB of archives. After unpacking 0 B will be used.
(Reading database ... 46345 files and directories currently installed.)
Preparing to replace php5-fpm 5.3.15-1~dotdeb.0 (using .../php5-fpm_5.3.15-1~dotdeb.0_amd64.deb) ...
Unpacking replacement php5-fpm ...
Processing triggers for man-db ...
Setting up php5-fpm (5.3.15-1~dotdeb.0) ...

Et là plus rien ne se passe, j'ai juste dans le dpkg.log la ligne suivante :

2012-07-24 01:27:51 status half-configured php5-fpm 5.3.15-1~dotdeb.0

Donc un reinstall ne permet pas de solutionner le souci.

Voyez-vous une solution ?

Greg


Un dpkg-reconfigure peut-etre?

--
Cordialement,
Yohann POILVERT


Reply to: