SRX Services Gateway
Highlighted
SRX Services Gateway

SRX345 Recovery help

‎01-10-2020 04:41 AM

Hi Experts

 

I have run in to some issuese trying to recover a  SRX345.

First off it has been locked in a few places, console is disabled when it the boot is completed.

So logging in to Junos is not possible.

and reset button is disabled so password recovery seen to be out off the question, but i am not interrested in the configuration, just to  get in to Junos and configure as a new fw.

 

I have tried to reinstall Junos using USB but it fails:

 

loader> install file:///junos.tgz

Target device selected for installation: internal media

/kernel data=0xba0974+0x152ba4 pkg_seek: negative file seek (-1362)

 

lseek failed

syms=[0x4+0xa0810+0x4+0xf0441]

 

any other surgestions ?

 

Unfortunately i dont have a working SRX345 (but proberly any other model Smiley Frustrated ), so i cant boot from a USB snapshot.

 

Hope you guys can give me a little assistance, it would be very much appreciated

 

 

6 REPLIES 6
Highlighted
SRX Services Gateway

Re: SRX345 Recovery help

‎01-10-2020 07:38 AM

@WOLF_OF_DK

 

Without console and/or the reset button, you're out of luck. All recovery routes require some form of this. Even to get the device to boot from USB to recover requires a press of the reset button at turn on.

 

I'd try the USB boot with turning the device on and pressign the reset button just in case the reset block is set and takes effect after boot.

 

USB Automatic Recovery documentation can be found here
https://kb.juniper.net/InfoCenter/index?page=content&id=KB23882&actp=METADATA

KR
Adam

~~~~~~~~~~~~~~~~~~~~~~~
- Please Kudos if you found my response helpful
- Please accept my response as a 'Accepted Solution' if it solved your query
Highlighted
SRX Services Gateway

Betreff: SRX345 Recovery help

‎01-10-2020 08:26 AM

Hello WOLF_OF_DK,

 

the re-installation at the loader prompt would be the right procedure. For me it seems that your installation image is corrupted. Please download a new image and perform a checksum check, if it matches with the provided checksum on the Juniper download site.

 

E.g. for JUNOS 18.2R3, the command you should use looks like:

 

install file:///junos-srxsme-18.2R3.4.tgz

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
Highlighted
SRX Services Gateway

Betreff: SRX345 Recovery help

‎01-10-2020 01:56 PM

@AdamHartley

Password recovery yes, that i imposible but, perhaps the title is misleading, what i need is a reinstall, config is not important.
It should be possible, but i am having some trouble doing it.


@F1ght3r

I have CRC checked the file on the drive and even downloaded and new and different file, but same result.
I am gonna try another USB pen, perhaps its not compatible, so i will try a new Sandisk USB.

I did exactly what what you recommend, but had no succes, as you can see i got some errors when i tried and i have no idea what they mean:

loader> install file:///junos.tgz

Target device selected for installation: internal media

/kernel data=0xba0974+0x152ba4 pkg_seek: negative file seek (-1362)

 

lseek failed

syms=[0x4+0xa0810+0x4+0xf0441]

 


If some one have a USB snapshot image from a new SRX345 or another suggestion i would be very grateful.

Highlighted
SRX Services Gateway

Betreff: SRX345 Recovery help

‎01-11-2020 02:38 AM

I can assure you that the "loader> install file:///" command is the right one. Please check some other USB devices, make sure they are error free and that they are FAT32 formatted. After copying the JUNOS image to the USB device, please verify the checksum again, to make sure that there were no errors during copying.

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
Highlighted
SRX Services Gateway

Betreff: SRX345 Recovery help

‎01-12-2020 09:29 PM

Hi,

 

Can you please verify the size/formatting of the USB drive? I would try both FAT and FAT32 

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB31622

 

Alternately you could run a TFTP daemon on the laptop connecting to the firewall:

https://kb.juniper.net/InfoCenter/index?page=content&id=KB20643

 

I hope this helps. Regards,

 

Nelumbo

 

Highlighted
SRX Services Gateway

Re: SRX345 Recovery help

[ Edited ]
‎01-21-2020 02:04 AM

I did succeed with a Sandisk USB and fimware "junos-srxsme-19.4R1.10.tgz", it even let me see the configuration even though i didnt think that it was possible because the customer it very tightly locked down, but it worked 🙂

 

 

Thanks for all your input 🙂

Feedback