Problem with sh: jpegtran
-
Good evening,
First thanks a lot for writing this plugin. It’s working great on my localhost, but I have troubles to make it work on my web server.
My host is OVH.
It seems that jpegtran cannot be executed with the shell, although it is present. I copy/paste the log I get:
ewww_image_optimizer_notice_utils() ewww_image_optimizer_install_tools() Checking/Installing tools in /homez.331/marieguix/www/beta/wp-content/ewww/ wp-content/ewww permissions: 0705 ewww_image_optimizer_install_paths() generated paths: /homez.331/marieguix/www/beta/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64 /homez.331/marieguix/www/beta/wp-content/plugins/ewww-image-optimizer/optipng-linux /homez.331/marieguix/www/beta/wp-content/plugins/ewww-image-optimizer/gifsicle-linux /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran /homez.331/marieguix/www/beta/wp-content/ewww/optipng /homez.331/marieguix/www/beta/wp-content/ewww/gifsicle 64-bit linux detected while installing tools ewww_image_optimizer_md5check() /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran-custom: 7e9b4071a117aa7033d5550cf708953d Linux/UNIX style OS, checking permissions jpegtran permissions: 0755 gifislce permissions: 0755 optipng permissions: 0755 ewww_image_optimizer_path_check() found /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran, testing... ewww_image_optimizer_md5check() /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran: 4da4092708650ceb79df19d528e7956b ewww_image_optimizer_mimetype() testing mimetype: /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran ewww_image_optimizer_tool_found() /usr/bin/file: magic file from /etc/magic:/usr/share/misc/magic file command: /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped ewww_image_optimizer_tool_found() /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran: sh: /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran: No such file or directory found /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran-custom, testing... ewww_image_optimizer_mimetype() testing mimetype: /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran-custom ewww_image_optimizer_tool_found() /usr/bin/file: magic file from /etc/magic:/usr/share/misc/magic file command: /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran-custom: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped ewww_image_optimizer_tool_found() ewww_image_optimizer_tool_found() jpegtran: sh: jpegtran: command not found ewww_image_optimizer_tool_found() /usr/bin/jpegtran: sh: /usr/bin/jpegtran: No such file or directory ewww_image_optimizer_tool_found() /usr/local/bin/jpegtran: sh: /usr/local/bin/jpegtran: No such file or directory found /homez.331/marieguix/www/beta/wp-content/ewww/optipng, testing... ewww_image_optimizer_md5check() /homez.331/marieguix/www/beta/wp-content/ewww/optipng: 4eb91937291ce5038d0c68f5f2edbcfd ewww_image_optimizer_mimetype() testing mimetype: /homez.331/marieguix/www/beta/wp-content/ewww/optipng ewww_image_optimizer_tool_found() /usr/bin/file: magic file from /etc/magic:/usr/share/misc/magic file command: /homez.331/marieguix/www/beta/wp-content/ewww/optipng: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.9, from '@%ebx', not stripped ewww_image_optimizer_tool_found() /homez.331/marieguix/www/beta/wp-content/ewww/optipng: OptiPNG version 0.7.4 found /homez.331/marieguix/www/beta/wp-content/ewww/gifsicle, testing... ewww_image_optimizer_md5check() /homez.331/marieguix/www/beta/wp-content/ewww/gifsicle: 44273fad7b3fd1145bfcf35189648f66 ewww_image_optimizer_mimetype() testing mimetype: /homez.331/marieguix/www/beta/wp-content/ewww/gifsicle ewww_image_optimizer_tool_found() /usr/bin/file: magic file from /etc/magic:/usr/share/misc/magic file command: /homez.331/marieguix/www/beta/wp-content/ewww/gifsicle: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.9, from '@%ebx', not stripped ewww_image_optimizer_tool_found() /homez.331/marieguix/www/beta/wp-content/ewww/gifsicle: LCDF Gifsicle 1.70 found /homez.331/marieguix/www/beta/wp-content/ewww/pngout-static, testing... ewww_image_optimizer_md5check() /homez.331/marieguix/www/beta/wp-content/ewww/pngout-static: 670a0924e9d042be2c60cd4f3ce1d975 ewww_image_optimizer_mimetype() testing mimetype: /homez.331/marieguix/www/beta/wp-content/ewww/pngout-static ewww_image_optimizer_tool_found() /usr/bin/file: magic file from /etc/magic:/usr/share/misc/magic file command: /homez.331/marieguix/www/beta/wp-content/ewww/pngout-static: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.18, stripped ewww_image_optimizer_tool_found() /homez.331/marieguix/www/beta/wp-content/ewww/pngout-static: PNGOUT [In:{PNG,JPG,GIF,TGA,PCX,BMP}] (Out:PNG) (options...) Feb 21 2013 using: /homez.331/marieguix/www/beta/wp-content/ewww/optipng using: /homez.331/marieguix/www/beta/wp-content/ewww/gifsicle using: /homez.331/marieguix/www/beta/wp-content/ewww/pngout-static ewww_image_optimizer_options() ewww_image_optimizer_install_paths() generated paths: /homez.331/marieguix/www/beta/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64 /homez.331/marieguix/www/beta/wp-content/plugins/ewww-image-optimizer/optipng-linux /homez.331/marieguix/www/beta/wp-content/plugins/ewww-image-optimizer/gifsicle-linux /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran /homez.331/marieguix/www/beta/wp-content/ewww/optipng /homez.331/marieguix/www/beta/wp-content/ewww/gifsicle ewww_image_optimizer_tool_found() : sh: -v: command not found ewww_image_optimizer_tool_found() /homez.331/marieguix/www/beta/wp-content/ewww/optipng: OptiPNG version 0.7.4 ewww_image_optimizer_tool_found() /homez.331/marieguix/www/beta/wp-content/ewww/pngout-static: PNGOUT [In:{PNG,JPG,GIF,TGA,PCX,BMP}] (Out:PNG) (options...) Feb 21 2013 ewww_image_optimizer_gd_support() GD found, supports: GD Version: bundled (2.0.34 compatible) FreeType Support: 1 FreeType Linkage: with freetype T1Lib Support: 1 GIF Read Support: 1 GIF Create Support: 1 JPG Support: 1 PNG Support: 1 WBMP Support: 1 XPM Support: 1 XBM Support: 1 JIS-mapped Japanese Font Support: ewww_image_optimizer_tool_found() convert: Version: ImageMagick 6.6.0-4 2012-05-03 Q16 http://www.imagemagick.org disabled functions: ewww_image_optimizer_tool_found() /usr/bin/file: magic file from /etc/magic:/usr/share/misc/magic ewww_image_optimizer_tool_found() /usr/bin/nice: 0 ewww_image_optimizer_tool_found() tar: tar (GNU tar) 1.23 ewww_image_optimizer_jpeg_background() ewww_image_optimizer_jpeg_background() ewww_image_optimizer_jpg_quality()I.E. :
file command: /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped ewww_image_optimizer_tool_found() /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran: sh: /homez.331/marieguix/www/beta/wp-content/ewww/jpegtran: No such file or directoryAny idea? It’s driving me nuts 🙂
Many thanks in advance.
Best xx
Marie
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Problem with sh: jpegtran’ is closed to new replies.