前两天更新了某些有用的东西,结果不知道怎么回事lnmp的php-fpm无法启动,显示错误:
Starting php-fpm /usr/local/php/sbin/php-fpm: error while loading shared libraries: libicui18n.so.48: cannot open shared object file: No such file or directory
failed
于是:
whereis libicui18n.so.48
没有结果,看样子应该是系统里真的没有libicui18n.so.48这个DD,于是乎尝试:
sudo apt-get install libicui18n
不出意料果然
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libicui18n
最后在http://www.cnblogs.com/xiaoCon/p/3147716.html找到了包的名字,于是:
apt-get install libicu48
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libicu48
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/4626 kB of archives.
After this operation, 22.6 MB of additional disk space will be used.
Selecting previously unselected package libicu48:i386.
(Reading database ... 37626 files and directories currently installed.)
Preparing to unpack .../libicu48_4.8.1.1-12+deb7u6_i386.deb ...
Unpacking libicu48:i386 (4.8.1.1-12+deb7u6) ...
Setting up libicu48:i386 (4.8.1.1-12+deb7u6) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
最后:
lnmp restart
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| http://lnmp.org |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx... done
[ ok ] Stopping mysql (via systemctl): mysql.service.
Gracefully shutting down php-fpm /etc/init.d/php-fpm: 82: kill: No such process
…………………………….. failed. Use force-quit
Starting LNMP…
Starting nginx… done
[ ok ] Starting mysql (via systemctl): mysql.service.
Starting php-fpm done
本人小白,做一下记录