How to recovery database when it is broken.

Zyxel_Stanley
Posts: 1,388
Zyxel Employee





When file system broken, the device is unable boot up successfully.
And may display error log like:
(1) Plug-in power cable and enter to debug mode.

(2) Enter at command:
a. atcd 0
b. atkz -f -l 192.168.1.1
c. atgof

(3) After device boots up, connect your network cable to USG Port1 and change IP address as the same subnet in 192.168.1.0/24.

(4) PC access to USG FTP by 192.168.1.1 and upload .db file to to USG.
a. bin
b. hash
c. put *the file path of .db*

(5) After uploaded successfully then do hardware reboot again.
Then system should able boots up successfully.
And may display error log like:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
You can the follow this steps to recovery device database.(Console cable is required)(1) Plug-in power cable and enter to debug mode.

(2) Enter at command:
a. atcd 0
b. atkz -f -l 192.168.1.1
c. atgof

(3) After device boots up, connect your network cable to USG Port1 and change IP address as the same subnet in 192.168.1.0/24.

(4) PC access to USG FTP by 192.168.1.1 and upload .db file to to USG.
a. bin
b. hash
c. put *the file path of .db*

(5) After uploaded successfully then do hardware reboot again.
Then system should able boots up successfully.
Tagged:
0
Categories
- All Categories
- 429 Beta Program
- 2.6K Nebula
- 163 Nebula Ideas
- 112 Nebula Status and Incidents
- 6K Security
- 350 USG FLEX H Series
- 291 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 261 Service & License
- 406 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.8K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 82 Security Highlight