Anthony, thank you for your patience and kind help.
anthony wrote:It looks as if it is attempting to run command line IM but with images and extra error output in a specified application 'tmp' directory
The directory is there, and these are the permissions
[root@plesk bin]# ls -l /var/www/vhosts/genealogy.henny-savenije.pe.kr/httpdocs/gallery/g2data/
total 4156
drwxrwxrwx 8 wildejong psacln 4096 Dec 1 2007 albums
drwxrwxrwx 7 wildejong psacln 4096 Feb 6 04:26 cache
drwxrwxrwx 2 wildejong psacln 4096 Feb 6 04:38 locks
drwxrwxrwx 3 wildejong psacln 4096 Mar 1 2006 plugins_data
drwxrwxrwx 3 wildejong psacln 4096 Aug 28 2007 smarty
drwxrwxrwx 2 wildejong psacln 4096 Feb 14 14:38 tmp
anthony wrote:It is not reporting any error results from the IM commands, (are they in /usr/local/bin ?) but as the command and errors are being directed into that temporary file it may be the application is not seeing any results at all.
This is what I have in /usr/local/bin
[root@plesk bin]# ls -l
total 14528
-rwxr-xr-x 1 root root 24199 Feb 14 07:37 animate
-rwxr-xr-x 1 root root 24725 Feb 14 07:37 compare
-rwxr-xr-x 1 root root 24207 Feb 14 07:37 composite
-rwxr-xr-x 1 root root 24199 Feb 14 07:37 conjure
-rwxr-xr-x 1 root root 24199 Feb 14 07:37 convert
-rwxr-xr-x 1 root root 24199 Feb 14 07:37 display
lrwxrwxrwx 1 root root 21 Sep 16 2007 els -> /usr/local/els/els.sh
-rwxr-xr-x 1 root root 63384 Oct 15 2007 ffmpeg
-rwxr-xr-x 1 root root 234686 Oct 15 2007 ffserver
-rw-r--r-- 1 root root 3440 Feb 14 06:47 geometry.h
-rwxr-xr-x 1 root root 24727 Feb 14 07:37 identify
-rwxr-xr-x 1 root root 24193 Feb 14 07:37 import
-rw-r--r-- 1 root root 46274 Feb 14 06:46 jpeglib.h
-rwxr-xr-x 1 root root 421331 Oct 15 2007 lame
-rwxr-xr-x 1 root root 1330 Feb 14 07:37 Magick-config
-rwxr-xr-x 1 root root 1386 Feb 14 07:37 Magick++-config
-rwxr-xr-x 1 root root 1524 Feb 14 07:37 MagickCore-config
-rwxr-xr-x 1 root root 1356 Feb 14 07:37 MagickWand-config
-rwxr-xr-x 1 root root 6554024 Oct 15 2007 mencoder
-rwxr-xr-x 1 root root 24199 Feb 14 07:37 mogrify
-rwxr-xr-x 1 root root 24199 Feb 14 07:37 montage
-rwxr-xr-x 1 root root 7033492 Oct 15 2007 mplayer
-rw-r--r-- 1 root root 2367 Feb 14 06:45 png.h
-rwxr-xr-x 1 root root 151427 Sep 16 2007 rkhunter
-rwxr-xr-x 1 root root 69 Sep 5 2007 sb_config
-rwxr-xr-x 1 root root 24193 Feb 14 07:37 stream
-rw-r--r-- 1 root root 2127 Feb 14 06:44 tiff.h
-rwxr-xr-x 1 root root 1338 Feb 14 07:37 Wand-config
anthony wrote:Check that the directory is a proper 'tmp' that is read and writable, and usually with a directory sticky 't' permission (only owner can delete rename files). and that it is empty at the start.
See above, I have never seen the sticky 't' permission and wouldn't know how to make it that way. This is a linux machine.
anthony wrote:A listing should have permission flags like... drwxrwxrwt
Note the 'd' for directory and 't' for 'sticky'. that is the same permissions
used for "/tmp"
There are lots of methods that can be used for debugging the above situation, though many require experience and knowledge about how things work to use.
Well, I am not ignorant but not knowledgeable either. I can do a lot with finding solutions on the web, copy and paste, it's not my main job. I am a web hoster by chance. This machine is installed with Plesk and that's not supported by the company I am hiring from. I didn't know that from the start, so I am more or less on my own there. The other machine is installed with cPanel and that works fine. The Plesk machine is sometimes giving me headaches, but then again, I need it. My own (huge) websites are on it and a couple of other customers have websites there. I haven't had any complaints yet that imagemagick doesn't work, except from myself.
anthony wrote:For example replacing the IM command with a shell script wrapper to log things like.... time, date, environment, check permissions, run the real IM command, check results are generated and not zero, etc etc etc. In such a way it is posible to collect and check on possible problems and fix them to restore the system.
I tried some things. e.g.
/usr/local/bin/convert -size 200x200 -geometry 200x200 /var/www/vhosts/genealogy.henny-savenije.pe.kr/httpdocs/gallery/modules/imagemagick/data/test.gif /var/www/vhosts/genealogy.henny-savenije.pe.kr/httpdocs/gallery/g2data/tmp/imgk_UmiowU
gives me nicely imgk_UmiowU in the tmp directory.