mod_mime_magic: invalid type 0 in mconvert().

If the error „mod_mime_magic: invalid type 0 in mconvert()“ appears in your HTTP-Server e.g. apache log, it’s most probably a faulty mime-magic configuration. Do the following:

tail -f /var/log/apache2/error.log

Go to another console

sudo apache2ctl restart

Look at the errors uncomment the lines causing the Problems in

/usr/share/file/magic.mime

with your favorite editor. Repeat »apache2ctl restart« and watch the log again until tail does not show any more errors of this kind.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.