compgen:找不到ls:无法访问/ usr / bin / convert

时间:2015-03-20 09:53:54

标签: linux wordpress bash shell

我的服务器现在非常慢。我让我的提供商检查什么是错的,我得到了这个:

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

任何修复?

1 个答案:

答案 0 :(得分:0)

你有一个程序,或wordpress的附加组件,试图使用ImageMagick转换程序进行图像处理。但是没有安装ImageMagick,所以你无需安装它。

如果您有SSH访问权限,我建议:

sudo apt-get install imagemagick

如果这不是一个选项或者没有帮助,请告诉我。