Thanks for
everyone's comments.
With some big help
from a perl expert the solution was found.
Sometime ago a
folder /root/tmp was created and it looks like the problem took
affect
when apache was restarted.
Perl 5 (which
we have installed) looks for tmp folders to write to in a certain
order and
was not able to and
wanted to write to /root/tmp. The Perl module was
changed
and the problem was
solved. In Perl 6 it is stated that this feature, searching for
a
tmp folder,
was
problematic and that it has been changed in Perl
6.