Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22450

Mongodb sub-folders sometimes don't get u+x permission

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 3.2.1
    • Admin, Storage, WiredTiger
    • None
    • ALL
    • Hide

      It's hard to reproduce... usually it happens only on slaves... We create a new database every day... and there were no problems since december... and then it could not create/replicate files from in db: ZZZZZZ-160130 (30.I.2016) at midnight.

      That means, on previous days, there were no problems with permissions.

      And now the same problem with ./diagnostic.data/ means – the issue still presists in 3.2.1...

      Show
      It's hard to reproduce... usually it happens only on slaves... We create a new database every day... and there were no problems since december... and then it could not create/replicate files from in db: ZZZZZZ-160130 (30.I.2016) at midnight. That means, on previous days, there were no problems with permissions. And now the same problem with ./diagnostic.data/ means – the issue still presists in 3.2.1...

    Description

      Same problem as described here:
      https://jira.mongodb.org/browse/SERVER-20235

      This time:
      upgrade from MongoDB 3.0.3 to 3.2.1
      after upgrade & restart - mongo can't write to ./diagnostic.data/ (no x attribute/permission):

      $ ls -la /ssd/mongodb-wt/diagnostic.data/
      razem 8
      drw-r-xr-x  2 mongodb nogroup 4096 lut  3 14:13 .
      drwxr-xr-x 18 mongodb mongodb 4096 lut  3 14:30 ..
      

      Context mongodb.log in attachement.

      Most important lines:

        2016-02-03T14:13:50.516+0100 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory '/ssd/mongodb-wt/diagnostic.data'
      

      and then:

      2016-02-03T14:13:51.000+0100 W FTDC     [ftdc] Uncaught exception in 'UnknownError Caught std::exception of type boost::filesystem::filesystem_error: boost::filesystem::status: Permission denied: "/ssd/mongodb-wt/diagnostic.data/metrics.interim"' in full-time diagnostic data capture subsystem. Shutting down the full-time diagnostic data capture subsystem.
      

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            radek Radek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: