Hi, I have a Juniper vmx router running Junos 14.1R1.10. For some reason it does not find op and event scripts. For example:
root@vMX-A> file list detail /var/db/scripts/op/ /var/db/scripts/op/: total blocks: 12 -rw-r--r-- 1 root wheel 286 May 19 13:37 test.slax total files: 1 root@vMX-A> show configuration system scripts op { file test.slax; } root@vMX-A> op test.slax detail error: invalid filename: /var/db/scripts/op/test.slax root@vMX-A> ..or in case of an event script: [edit] root@vMX-A# run file list detail /var/db/scripts/event/ /var/db/scripts/event/: total blocks: 12 -rw-r--r-- 1 root wheel 286 May 19 13:25 test.slax total files: 1 [edit] root@vMX-A# run file show /var/db/scripts/event/test.slax version 1.0; ns junos = "http://xml.juniper.net/junos/*/junos"; ns xnm = "http://xml.juniper.net/xnm/1.1/xnm"; ns jcs = "http://xml.juniper.net/junos/commit-scripts/1.0"; import "../import/junos.xsl"; match / { <event-script-results> { } } [edit] root@vMX-A# show | compare [edit] + event-options { + event-script { + file test.slax; + } + } [edit] root@vMX-A# commit check error: invalid filename: /var/db/scripts/event//test.slax error: Reading the configuration from event scripts failed error: configuration check-out failed [edit] root@vMX-A# I also tried to load scripts from flash("load-scripts-from-flash") and stored the scripts in respective directory under /config, but this didn't help. Am I doing something wrong? thanks, Martin _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp