Menu

Inotify thread caught exception

Help
Dirk
2008-03-10
2013-05-30
  • Dirk

    Dirk - 2008-03-10

    After updating to mediatomb 0.11 the following error appears in my log file when scanning an added directory:
    ERROR: Inotify thread caught exception: Permission denied

    It happens both on my nlsu2 (debian) as on my laptop (gentoo, built from source)

    There is no problem in mediatomb 0.10, what could cause this?

     
    • Dirk

      Dirk - 2008-03-10

      After recursively setting permissions on the folder things are working again on my laptop. Seems like there was some file somewhere with strange permissions.

      The permission problem also disappeared on the nslu2, but now it crashed when scanning a certain folder (daemon is gone).
      I have a suspicion it is being caused by and idx subtitle file, it is being added to the database and then the daemon disappears.
      Maybe caused by an older version of ffmpeg on the nslu2, that fails in trying to get media info from a subtitle file?

      Setting ignore-unknown="yes" in the extension-mimetype section of the config causes the file to be ignored and fixes the problem.

      I can send you the idx file in question if you want to test it yourself.

       
    • Jin

      Jin - 2008-03-11

      Hi,

      nice to see that you figured it out.

      Regarding ffmpeg: I once had an .flv which also crashed ffmpeg, still have to try ffmpeg from svn, reproduce and send them a bugreport.

      I am also not sure if using ffmpeg on the NSLU2 is a good idea - ffmpeg is significantly leaking memory...

      Please email the .idx to jin at mediatomb dot cc

      Kind regards,
      Jin

       
      • Dirk

        Dirk - 2008-03-11

        Ok, I will send you the idx file.

        I'm not explicitly using ffmpeg, I actually meant libavformat that is being used to read media info.

         
    • [NICK]

      [NICK] - 2008-03-11

      Dirk,

      What permissions did you set?

      With my issue (https://sourceforge.net/forum/forum.php?thread_id=1961180&forum_id=440751) I'm also seeing "ERROR: Inotify thread caught exception: Permission denied"

      Cheers,
      Nick

       
      • Dirk

        Dirk - 2008-03-11

        I just did a "chmod -R 755" and a "chgrp -R users" on the specific directory. I think some of my files belonged to a weird group...

         
        • [NICK]

          [NICK] - 2008-03-12

          Thanks Dirk, I'll check that  :)

           

Log in to post a comment.

MongoDB Logo MongoDB