Description

  • Customers utilizing the Mist Dashboard may encounter a commit error when attempting to push a configuration from the Mist Portal. The following error message is displayed:

"Error: error commit-confirm: Could not open configuration database (juniper.data+). Please check space avavilable in /var/. To clear up space run the command 'request system storage cleanup"

Symptoms

  • Commit error occurs when pushing a configuration from Mist Portal. "Error: error commit-confirm: Could not open configuration database (juniper.data+). Please check space avavilable in /var/. To clear up space run the command 'request system storage cleanup"
  • The switch may display the alarm: "/var partition usage is high" under "show chassis alarms

user@switch> show chassis alarms

1 alarms currently active

Alarm time        Class Description

2023-06-16 18:48:48 EDT Minor FPC 1 /var partition usage is high

 

syslog {

       file escript.log {

           archive size 2m files 5;

       }

       file interactive-commands {

           interactive-commands any;

           match "!(.*mist.*)";

           archive size 2m files 5 archive-sites {

           /var/log } < ----------

       }

       file message {

           any any;

       }

       file messages {

           any notice;

           authorization any;

           archive size 2m files 5 archive-sites {

           /var/log } < ----------

       }

}

Solution

  • To address the memory leak issue in the /var directory related to syslog, please follow these steps:
  1. Delete the archive-sites under the [edit system syslog file interactive-commands] hierarchy level:
    1. delete system syslog file interactive-commands archive archive-sites
  2. Delete the archive-sites under the [edit system syslog file messages] hierarchy level:
    1. delete system syslog file messages archive archive-sites

 

  • After freeing up storage space on the switch, perform the following actions:
  1. Check the commit status to verify if the issue with (juniper.data+) persists.
    1. Note: In some cases, the error can be cleared by running the operational command: "request system storage cleanup" as mentioned in the error message. However, if the error persists, a reboot may be required.
  2. If the issue persists, attempt to move the file "juniper.data+" to "juniper.data" using the command: "mv juniper.data+ juniper.data".
  3. If the error still persists after running the cleanup and moving the file, perform a reboot using the command: "request system reboot". This should clear the error after the reboot.

Please perform the above steps to resolve the configuration push failure issue from the Mist Portal on EX3400-EX2300 switches. If you have any further questions or need additional assistance, feel free to contact support: https://support.juniper.net/support/requesting-support/

Modification History

2023-10-02