ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    FreePBX Error /var/spool/asterisk/cache is not writeable

    IT Discussion
    freepbx asterisk
    3
    3
    726
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      FreePBX users might run into a new error this past week. We've seen it suddenly on multiple machines. While using the web interface, we get the error screen stating that /var/spool/asterisk/cache is not writeable. We expect that a bad module update has caused this, but we have not identified which one, yet. But the fix is easy.

      What has happened (in the cases that we have seen), is simply that the directory in question has become owned by root instead of asterisk. We can change this easily enough.

      chown asterisk:asterisk -R /var/spool/asterisk/cache
      

      You might want to restart the FreePBX processes...

      fwconsole restart
      

      These commands assume that you are logged in as root. If you are not, be sure to prepend with sudo.

      Happy calling.

      JaredBuschJ tonyshowoffT 2 Replies Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @scottalanmiller
        last edited by JaredBusch

        @scottalanmiller said in FreePBX Error /var/spool/asterisk/cache is not writeable:

        FreePBX users might run into a new error this past week. We've seen it suddenly on multiple machines. While using the web interface, we get the error screen stating that /var/spool/asterisk/cache is not writeable. We expect that a bad module update has caused this, but we have not identified which one, yet. But the fix is easy.

        What has happened (in the cases that we have seen), is simply that the directory in question has become owned by root instead of asterisk. We can change this easily enough.

        chown asterisk:asterisk -R /var/spool/asterisk/cache
        

        You might want to restart the FreePBX processes...

        fwconsole restart
        

        These commands assume that you are logged in as root. If you are not, be sure to prepend with sudo.

        Happy calling.

        FreePBX has a command built in to fix things.

        fwconsole chown
        

        80b3e4aa-c95b-4c61-b95f-20a8824f6db9-image.png

        1 Reply Last reply Reply Quote 1
        • tonyshowoffT
          tonyshowoff @scottalanmiller
          last edited by

          @scottalanmiller said in FreePBX Error /var/spool/asterisk/cache is not writeable:

          These commands assume that you are logged in as root. If you are not, be sure to prepend with sudo.

          Or use root like a man, it'll put hair on your chest, even if you're a woman... so watch out I guess.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post