Description

Unable to commit the config due below error.

 

re0:

configuration check succeeds

re1:

error: invalid filename: /var/db/scripts/event//abc-event.slax

error: Reading the configuration from event scripts failed

error: configuration check-out failed

re0:

error: remote commit-configuration failed on re1

 

 

Symptoms

When RE is replaced. Scripts present in master RE needs to be copied to back to avoid the commit error.

Solution

We can use below methods to copy the scripts.

 

Method 1:

 

Manually by using below command "

 

>file copy /var/db/scripts/events/<file-name> re1:/var/db/scripts/event/

 

Method 2:

 

By using below command which copied all the scripts from master RE to back up.

 

>request system scripts synchronize all

Below Document has more details about the system scripts synchronize command
https://www.juniper.net/documentation/us/en/software/junos/automation-scripting/topics/ref/command/request-system-scripts-synchronize-command.html

 

Modification History

N/A

Related Information

N/A