我的服务器现在非常慢。我要求我的提供商检查出了什么问题,我得到了这个:
root@Pixel:~# tail -f /var/log/apache2/error.log
sh: 1: compgen: not found
ls: cannot access /usr/bin/convert: No such file or directory
ls: cannot access /usr/local/bin/convert: No such file or directory
sh: 1: compgen: not found
ls: cannot access /usr/bin/convert: No such file or directory
ls: cannot access /usr/local/bin/convert: No such file or directory
sh: 1: compgen: not found
ls: cannot access /usr/bin/convert: No such file or directory
ls: cannot access /usr/local/bin/convert: No such file or directory
sh: 1: compgen: not found
并且 apache 正在消耗 CPU。 我们在网站上使用 Wordpress 和 woocommerce
有什么解决办法吗?
最佳答案
您有一个程序或 WordPress 的附加组件,尝试使用 ImageMagick 转换程序进行图像处理。但是ImageMagick还没有安装,所以毫无疑问你需要安装它。
如果您有 SSH 访问权限,我建议:
sudo apt-get install imagemagick
如果这不是一个选项或没有帮助,请告诉我。
关于linux - 编译器 : not found ls: cannot access/usr/bin/convert,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29163717/