Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: moodle.org
-
Labels:None
Description
Hi, was looking apace error logs in moodle.org, looking for some causes for recent problems in the M & P database activity... when I've detected TONS of entries like these:
sh: /usr/bin/latex: No such file or directory
sh: /usr/bin/dvips: No such file or directory
sh: /usr/bin/latex: No such file or directory
sh: /usr/bin/latex: No such file or directory
sh: /usr/bin/latex: No such file or directory
sh: /usr/bin/dvips: No such file or directory
sh: /usr/bin/dvips: No such file or directory
sh: /usr/bin/dvips: No such file or directory
and
[Wed Mar 25 01:56:05 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19585 for worker proxy:reverse
[Wed Mar 25 01:56:06 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19588 for worker proxy:reverse
[Wed Mar 25 01:56:06 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19589 for worker proxy:reverse
[Wed Mar 25 01:56:07 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19593 for worker proxy:reverse
[Wed Mar 25 01:56:07 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19594 for worker proxy:reverse
[Wed Mar 25 01:56:07 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19592 for worker proxy:reverse
[Wed Mar 25 01:56:07 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19595 for worker proxy:reverse
[Wed Mar 25 01:56:08 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19596 for worker proxy:reverse
[Wed Mar 25 01:56:08 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19597 for worker proxy:reverse
[Wed Mar 25 01:56:08 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19598 for worker proxy:reverse
[Wed Mar 25 01:56:08 2009] [error] proxy: ap_get_scoreboard_lb(3) failed in child 19599 for worker proxy:reverse
Seems the the latex filter is miss configured (we should be using internal mimetex) and also something is wrong with proxy... perhaps the reverse entry is missing? Take a look to talk.moodle.org apache conf (I think I added there the two proxy rules). Perhaps that will fix the problem...
Ciao ![]()
Is there any chance to install some distribution of latex (for example TeX Live 2008) or change the current values from Administration > Modules > Filters > Manage filters > Tex filter to point the existing Path of latex binary, Path of dvips binary and Path of convert binary (Ghostscript or ImageMagick)
TeX filter is trying to find the default paths first and if they are not found mimetex is used (mimetex.linux or symbolic link to existing mimetex elsewhere)
Debugging TeX gives
Checking executables
Error: latex executable (/usr/bin/latex) is not readable
Error: dvips executable (/usr/bin/dvips) is not readable
Error: convert executable (/usr/bin/convert) is not readable
so either those files are not readable (and not executable either) or do not exist at all.