März 11, 2010

mod_mime_magic: invalid type 0 in mconvert().

Filed under: Hacking — Schlagwörter: — paddy @ 4:07 pm

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.

Keine Kommentare »

Noch keine Kommentare

RSS-Feed für Kommentare zu diesem Artikel. TrackBack URL

Schreib einen Kommentar