Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    After 2.6 RC upgrade, "failed to open stream: Permission denied" error

    Scheduled Pinned Locked Moved CE 2.6.0 Development Snapshots (Retired)
    7 Posts 3 Posters 1.2k Views
    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.
    • T
      tbird635
      last edited by tbird635

      Got an error message after upgrading to 2.6 RC CE ,
      I'm sure it's a simple fix. Also happens on reboot. The message is:

      "[21-Jan-2022 12:33:50 US/Michigan] PHP Warning: file_put_contents(/var/db/notifyqueue.messages): failed to open stream: Permission denied in /etc/inc/notices.inc on line 261"

      I'm sure there must be a quick and easy fix for this. Anyone have any ideas?
      Thanks

      M 1 Reply Last reply Reply Quote 1
      • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Nobody here has been able to replicate that, but someone else reported it the other day. Seemed to be from an attempt by the NUT package to send an e-mail notification early in the boot process.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        T 1 Reply Last reply Reply Quote 0
        • T
          tbird635 @jimp
          last edited by

          @jimp It's on an older Lanner FW-7551B Atom C2358 with 4gb ram if that helps . Yep... NUT is installed.

          Other than an occasional Unbound crash that also happens (but was happening on 2.5.1 before the 2.6 RC upgrade) , it all seems to be working just fine.( BTW, I just let the watchdog restart Unbound. )

          Is there another log or anything I can post that may help you guys out ? I will disable NUT and reboot it later, see if it goes away. Thanks for the info.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Do you ever receive any e-mail notifications from NUT?

            It's not clear if it's a problem in general any time it's trying to send them or just something at boot time.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              OK, I found the cause and we'll have a workaround in place soon.

              https://redmine.pfsense.org/issues/12281#note-4

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              T 1 Reply Last reply Reply Quote 1
              • T
                tbird635 @jimp
                last edited by tbird635

                @jimp I read the issue link .
                The error suppression is working fine for me as of the last update. Thanks !

                1 Reply Last reply Reply Quote 0
                • M
                  mfld LAYER 8 @tbird635
                  last edited by

                  @tbird635 +1, Just updated an install that uses NUT and has e-mail and other notification types enabled to 2.6.0.r.20220124.1828 and got a bunch of

                  [02-Feb-2022 07:26:33 Etc/UTC] PHP Warning:  file_put_contents(/var/db/notifyqueue.messages): failed to open stream: Permission denied in /etc/inc/notices.inc on line 261
                  

                  Great to see it is being dealt with already :)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.