Please help my new juniper ex-3400. This is my first juniper switch, when i go to ezsetup, after fill the device hostname i can't enter my root password. i always get this warning message and can't continue the step :
/var/tmp/tmp_opmAM2Kr/import/junos.xsl:failed to load external entity "/var/tmp/tmp_opmAM2Kr/import/junos.xsl"
error: compilation error: file /var/tmp/tmp_opmAM2Kr/tmp-op-script.2Zxus9/passwdutil.slax line 8 element import
error: xsl:import : unable to load /var/tmp/tmp_opmAM2Kr/import/junos.xsl
error: error reading stylesheet: /var/tmp/tmp_opmAM2Kr/tmp-op-script.2Zxus9/passwdutil.slax
Try entering the password again.
this is happen in first configuration and i confused to find the root cause. need your help regarding this issue.
I would guess that the password is not meeting the complexity or length requirement which I think are at least 8 characters with 3 of the 4 types upper/lower, numbers, special character.
already input the password with combination uppercase, lowercase, number and symbol but the warning message still appear.
Can you try to enter the CLI instead of ezsetup and check the date. Try to set the correct date and also root password using CLI:
% cli>configure#set date YYYYMMDDHHMM.ss#Set system root-authentication plain-text-password
It might be a problem with the incorrect time as you state that this is a new EX3400 device.
Thanks,PradeepPlease Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!
Looked into some internal cases and form the error messages, looks like the folder for /var/db/scripts is missing from the device. Found a PR but that says this issue of directory missing happens after a "request system zeroize", not sure if it matches your case.
But can you try adding the directory using below commands and check if it solves the issue.
mkdir -p /var/db/scripts
mkdir -p /var/db/scripts/commit
mkdir -p /var/db/scripts/event
mkdir -p /var/db/scripts/jet
mkdir -p /var/db/scripts/op
mkdir -p /var/db/scripts/snmp
mkdir -p /var/db/scripts/translation
mkdir -p /var/db/scripts/lib
ln -s /usr/libdata/cscript/import /var/db/scripts/import
chmod -R 2770 /var/db/scripts
Thank you for your suggestion above, the switch can running normally right now.