SRX Services Gateway
Reply
Contributor
anawaz
Posts: 131
Registered: ‎01-12-2010
0

Password Recovery - SRX100B

Hi all,

 

Following this, but not working for me:

 

http://www.juniper.net/techpubs/en_US/junos9.5/information-products/topic-collections/swconfig-syste...

 

At prompt '#' after executing boot -s

 

any help would be appreciated. Unix skills not great :-(

Ajaz Nawaz
CCIE#15721, CCVP
JNCIA-FWV / JUNOS
Recognized Expert
rasmus
Posts: 379
Registered: ‎02-28-2010

Re: Password Recovery - SRX100B

[ Edited ]

you are not getting loader prompt ...

 

wait and press spacebar only when you get this

 

Hit [Enter] to boot immediately, or space bar for command prompt.



regards

Hafiz Muhammad Farooq
JNCIE-SEC, JNCIP-SEC, JNCIS-SEC, JNCIS-FWV
JNCIS-SP, JNCIS-SA, JNCIA-JUNOS
IBM Qradar Deployment Professional

[Please mark it as Accepted Solution if it works, Kudos if you like]

Visitor
Bilal.Nawaz
Posts: 8
Registered: ‎11-21-2010
0

Re: Password Recovery - SRX100B

[ Edited ]

Hafiz, we get that prompt and get this far....

 

We get the following errors: 

 

root> configure 
warning: Clustering enabled; using private edit
error: shared configuration database modified
Please temporarily use 'configure shared' to commit
outstanding changes in the shared database, exit,
and return to configuration mode using 'configure'
============================================
root# set system root-authentication plain-text-password      
New password:
Retype new password:
{hold:node0}[edit]
root# 
============================================
root# commit 
warning: error reading /var/db/feature.db: expecting 828 bytes, version 68 andread 768 and version 63
[edit interfaces fe-0/0/1 unit 0]
  'family'
    Ethernet-switching family not supported in HA mode for srx100b platform
error: configuration check-out failed
We cant save the config due to clustering i believe (please correct me if im wrong)? We're unfortunately with the secondary of the two therefore can't make any changes to the config? If so, how do we do this...?
tia
Bilal
CCNA,CCNP,CCIE RS Written, JNCIA-FWV
Visitor
Bilal.Nawaz
Posts: 8
Registered: ‎11-21-2010

Re: Password Recovery - SRX100B

Under configuration "shared" option delete the interface that has been configured for HA

 

juniper#delete interfaces fe-0/0/1

juniper#commit

 

This should now let you change the root-password

 

juniper# set system root-authentication plain-text-password      
New password:
Retype new password:
{hold:node0}[edit]
juniper#commit
This should do the trick.
CCNA,CCNP,CCIE RS Written, JNCIA-FWV
Contributor
anawaz
Posts: 131
Registered: ‎01-12-2010
0

Re: Password Recovery - SRX100B

thank you this fix worked :smileyhappy:

Ajaz Nawaz
CCIE#15721, CCVP
JNCIA-FWV / JUNOS
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.