TOP › Forums › 使い方全般(Fixing KUSANAGI) › 突然php7-fpmが使えなくなりました。
Tagged: php7
- This topic has 2 replies, 2 voices, and was last updated 9 years ago by
Byron.
-
AuthorPosts
-
-
2017年9月8日 at 14:09 #292
Byron
Participant下記のコマンドを実行しますと、失敗となります。
# sudo systemctl status php7-fpm.service
php7-fpm.service – The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php7-fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 金 2017-09-08 13:53:21 JST; 12min ago
Process: 10487 ExecStart=/usr/local/php7/sbin/php-fpm –nodaemonize –fpm-config /etc/php7-fpm.conf (code=exited, status=78)
Main PID: 10487 (code=exited, status=78)9月 08 13:53:21 rainmaker-web01 php-fpm[10487]: [08-Sep-2017 13:53:21] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/php7/lib/php/extensio…
9月 08 13:53:21 rainmaker-web01 php-fpm[10487]: [08-Sep-2017 13:53:21] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/php7/lib/php/extensio…
9月 08 13:53:21 rainmaker-web01 php-fpm[10487]: [08-Sep-2017 13:53:21] ERROR: unable to bind listening socket for address ‘127.0.0.1:9000’: Address already in use (98)
9月 08 13:53:21 rainmaker-web01 php-fpm[10487]: [08-Sep-2017 13:53:21] ERROR: FPM initialization failed
Hint: Some lines were ellipsized, use -l to show in full. -
2017年9月8日 at 15:41 #293
hasemaga
Participant9月 08 13:53:21 rainmaker-web01 php-fpm[10487]: [08-Sep-2017 13:53:21] ERROR: unable to bind listening socket for address ‘127.0.0.1:9000’: Address already in use (98)のメッセージから、127.0.0.1:9000 ポートが利用済みで php7 が新たに使えないと言われています。
まずは、php5(php-fpm)、もしくはHHVM(hhvm)が起動してしまっていないか確認してみてください。 -
2017年10月23日 at 16:14 #301
Byron
Participant解決できました!
下記が解決コマンドです。
# ps aux | grep php root 2931 0.0 0.4 590336 15936 ? Ss 09:17 0:01 php-fpm: master process (/etc/php-fpm.conf) httpd 12161 4.0 3.0 621704 119444 ? S 14:44 0:04 php-fpm: pool www httpd 12162 6.8 3.4 634168 134008 ? S 14:44 0:07 php-fpm: pool www httpd 12163 77.1 5.3 713808 206624 ? R 14:44 1:25 php-fpm: pool www root 12259 0.0 0.0 112664 972 pts/0 R+ 14:46 0:00 grep --color=auto php # kill 2931 # kusanagi php7 # kusanagi restart
-
-
AuthorPosts
- You must be logged in to reply to this topic.