/etc/init.d/PHP5-fpm restart
Jan 20 14:25:48.171577 [ERROR] bind() for address
‘/var/lib/PHP5-fpm/apps.sock’ Failed: Address already in use (98)
你可以使用lsof
原文链接:https://www.f2er.com/nginx/435150.htmllsof /var/lib/PHP5-fpm/apps.sock
@H_403_22@
输出是包含信息的行
COMMAND,PID,USER,FD,TYPE,DEVICE,SIZE / OFF,NODE,NAME,例如
lsof /lib64/libnss_files-2.12.so
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bash 2240 iain mem REG 253,0 65928 142129 /lib64/libnss_files-2.12.so
bash 4700 iain mem REG 253,0 65928 142129 /lib64/libnss_files-2.12.so
@H_403_22@