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
error: remote commit-configuration failed on re1
When RE is replaced. Scripts present in master RE needs to be copied to back to avoid the commit error.
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 allBelow Document has more details about the system scripts synchronize commandhttps://www.juniper.net/documentation/us/en/software/junos/automation-scripting/topics/ref/command/request-system-scripts-synchronize-command.html
N/A