Description

This article describes how to fix the error 'rfc-complaint;' syntax error Validation failed during upgrade 

Symptoms

While upgrading SRX devices, when no-validate or no-copy is used, we get rfc-complaint syntax error and validation fails.

Validating against /config/rescue.conf.gz
/config/rescue.conf.gz:66:(21) syntax error at 'rfc-complaint'
[edit system phone-home]
'rfc-complaint;'
syntax error
Validation failed
ERROR: Configuration validation failed with /altroot/cf/packages/install-tmp/junos-19.4R3-S1

Solution

While upgrading the firewall if you encounter Error 'rfc-complaint;' syntax error Validation failed during upgarde, kindly follow the below steps:

Save the rescue configuration of the device, using the following command: 
>request system config rescue save


Then re-validate the upgrade by request system software add /var/tmp/junos-srxsme-19.4R3-S1.tgz no-copy.

 

If the above command doesn't work, try with
request system software add /var/tmp/junos-srxsme-19.4R3-S1.tgz no-copy no-validate.

 

 

Modification History

2024-04-25 : Article Created