linux - 编译器 : not found ls: cannot access/usr/bin/convert

标签 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

有什么解决办法吗?

最佳答案

您有一个程序或 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/

相关文章:

linux -/etc/shadow 文件 : I need to know how to display it on one line 的 awk 脚本

php - 消息系统,显示对话列表

php - HTML 到 WordPress 转换页面

regex - 提取包含一个或多个数字的文件名,然后将 cat 内容提取到输出文件

linux - 比较linux中两个未排序的列表,列出第二个文件中的唯一性

regex - 如何使用 sed 将第一个空格替换为空字符串

php - 用于生产的 LAMP 堆栈?使用 PHP 5.4.x、Apache 2.4.x、MySQL 5.5.x

linux - 我应该使用 Docker 在 Linux 操作系统中创建 Linux 操作系统吗?

linux - 使用 sh 运行 bash 脚本

javascript - 通过 AJAX 显示 WordPress 最后的帖子