• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 4 Documentation Website Mango 5 Documentation Website Radix IoT LinkedIn

    Error without mysql dump directories on env.properties

    Scheduled Pinned Locked Moved How-To
    5 Posts 2 Posters 1.8k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Malaguena
      last edited by

      Dear All,

      We use our customer's remote Mysql in our installation. Customer do not prefer to share mysql dump directories. So that, we make comment the properties shown below in env.properties file. Then we get an error on the console like below. what should we do to prevent this error without adding mysql dump directories.

      #db.mysqldump=<location/command for mysqldump executable for backups>
      #db.mysql=<location/command for mysql executable for restore>

      Error:

      ERROR 2020-11-19T18:27:26,889 (com.infiniteautomation.mango.spring.components.DiskUsageMonitoringService.doPoll:159) - Unable to get Filestore partition usage
      java.nio.file.NoSuchFileException: \data01\mysql
      at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79) ~[?:1.8.0_252]
      at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:1.8.0_252]
      at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[?:1.8.0_252]
      at sun.nio.fs.WindowsLinkSupport.getFinalPath(WindowsLinkSupport.java:107) ~[?:1.8.0_252]
      at sun.nio.fs.WindowsFileStore.create(WindowsFileStore.java:83) ~[?:1.8.0_252]
      at sun.nio.fs.WindowsFileSystemProvider.getFileStore(WindowsFileSystemProvider.java:482) ~[?:1.8.0_252]
      at java.nio.file.Files.getFileStore(Files.java:1461) ~[?:1.8.0_252]
      at com.infiniteautomation.mango.spring.components.DiskUsageMonitoringService.doPoll(DiskUsageMonitoringService.java:155) ~[mango-3.7.7.jar:?]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_252]
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_252]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_252]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_252]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_252]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_252]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

      Thanks!

      1 Reply Last reply Reply Quote 1
      • M Offline
        Malaguena
        last edited by

        @CraigWeb told me that DiskUsageMonitoringService error is because of permission of mysql user.

        What is the exact permission we should give to mysql user?

        Thanks!

        1 Reply Last reply Reply Quote 0
        • CraigWebC Offline
          CraigWeb
          last edited by

          @Nurr The user that Mango is running as will need permissions to that R/W permissions to the MySQL directories.

          1 Reply Last reply Reply Quote 0
          • M Offline
            Malaguena
            last edited by

            Do you have a mysql script to give this permisson?

            1 Reply Last reply Reply Quote 0
            • CraigWebC Offline
              CraigWeb
              last edited by

              It is an operating system permission, not a MySQL permission

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post