The shell command
"/l/www/moodle/filter/tex/mimetex.linux" -e "/m/floppy/avle/moodledata/filter/tex/eb46a3ac5963141a789a90c258c3c191.gif" -- '\Large 2x+3 = A(x+5)+B(x-4) = (A+B)x +5A -4B.'
returned status = 126
Image not found!
Please try the debugging script