You are on page 1of 6

+353851344444
WHO WE ARE | andre@abit.ie
WHAT WE DO Help Tools Blog  FAQ 
Contact Us My Account  CART 

Dude issue with database Malformed db repair Home / MikroTik / Dude issue with database Malformed db repair

 Previous Next  Search ... 

Recent Posts

 How to clean Your


computer

 Let google know


about new domain
with 301 redirect

 MikroTik Tips and


tricks

 Dude issue with


database
Dude issue with database Malformed db repair
Malformed db
repair
Dude issue with Malformed database
 MikroTik useful
Dude issue after router upgrade with Dude on-board to V 6.42.3 my
Scripts and
dude is connecting for about a minute than i receive error:
commands
“server status: db failure: database disk image is malformed:
stopped”
First of all Dude server is installed on x86 virtual machine.
Recent Comments
While there is Quick temporary x to login using winbox and go to
new terminal to put commands.


/dude set enabled=no
WHO WE ARE WHAT WE DO Help Tools Contact Us    The Dude • Re: The
/dude set enabled=yes
Dude 6.40.8 – db
failure: database
That will bring Dude to live for another minute in case you need
disk image is
quick access but the x is only temporary.
malformed – Mags
Permanent x involve downloading “sqllite3” and using text editor
Forum Technology
on Dude issue with
Recommended Downloads.
database
Links: Malformed db
sqlite3 >>> Download A bundle of command-line tools from repair
Precompiled Binaries for Wondows section
TxtPad >>> My favorite TXT Editor – You may use notepad++  Dmitry Predchenko
on Dude issue with
FIX PROCEDURE: ( historical data will be gone database

after xing Dude issue) Malformed db


repair
On C drive create folder “sqlite3” and unpack les there from
sqlite3 download link listed above.  Cory on How to
Move 3 unpacked les from thier folder to “c:\sqlite3\” folder. clean Your
Login to dude server with Winbox and disable dude by computer
terminal command /dude set enabled=no
 Larae Millard on
Go to les , right click on dude.db le and select download.
Dude issue with
destination should be your c:\sqlite3 folder
database
Open command prompt as administrator and navigate to
Malformed db
your folder by using “cd c:\sqlite3” command
repair
 run commands:
sqlite3.exe dude.db
 Alexander on Dude
pragma integrity_check;
issue with database
vacuum;
Malformed db
At this stage you probably will be able to see errors like Error:
repair
“database disk image is malformed”
.output dude.sql
.dump
Archives
check your folder sqlite3 you should see there dude.sql le
much bigger than database le. at this stage we can exit  June 2018
sqllite3
.exit
Raname “dude.db” to “dude.db.old” in “sqlight3” folder to Categories
make sure you have copy.
login back to Dude server with Winbox software and delete  Hosting
“dude.db” le from “dude” folder.
 MikroTik

In terminal use commands to recreate empty database
WHO WE ARE WHAT WE DO Help Tools Contact Us    Uncategorised
/dude set enabled=yes
/dude set enabled=no
Download new dude.db le to sqlite3 folder, then delete it Meta
from router hence we will need space for new database le
later.  Log in
Open dude.sql in your favorite editor and delete all lines
except the once that starts with:  Entries RSS
INSERT INTO objs
Save le as objs.sql  Comments RSS

Go back to command prompt window same as at start and


 WordPress.org
use commands below.
sqlite3.exe dude.db
pragma integrity_check;
vacuum; Popular Recent 
This time there should be no error because we use clean
database. Dude
delete from objs; issue
with
.read objs.sql database
.exit Malformed
db repair
June 23rd, 2018
Final Steps which as a result will bring your Dude server
back to live
How to clean Your
Upload “dude.db” le to your router by going to “ les” option computer
in Winbox and pressing “upload…” button. June 28th, 2018

Move le to dude subfolder otherwise it will not work. ( I sort


les by type and move le over yellow dude folder) MikroTik Tips and
In terminal type command tricks
June 24th, 2018
/dude set enabled=no

Your Dude software should work now as expected. I do not see


historical outages but Map backgrounds are still working
 Our Company
Mission

 The Avada
Philosophy

 The Avada
Promise

 We Can Deliver
On Projects


Recent Works
WHO WE ARE WHAT WE DO Help Tools Contact Us  

Recent Posts

 How to clean Your


computer
For more MikroTik scripts visit http://www.abit.ie/mikrotik-useful-
scripts-and-commands/  Let google know
about new domain

By admin | June 23rd, 2018 | Categories: MikroTik | Tags: Dude, Mikrotik | 5 Comments with 301 redirect

 MikroTik Tips and


tricks

      Dude issue with


Share This Story, Choose Your
database
Platform!
  Malformed db
repair

 MikroTik useful
About the Author: admin Scripts and
commands

Neque porro
quisquam est,
qui dolorem
5 Comments ipsum quia
dolor sit amet,
consec tetur,
Alexander Manuel Huarancca Ventura 23rd December 2018 at 12:15 am - adipisci velit,
Reply
sed quia non
Thanks numquam eius
modi tempora
voluptas amets
unser.
Alexander 14th May 2019 at 1:09 pm - Reply

Contact Info
gracias. me sirvio John Doe, My
 Company

Larae Millard 31st May 2019 at 9:32 am - Reply
12345 north Street
WHO WE ARE WHAT WE DO Help Tools Contact Us  
Oh my goodness! a tremendous article dude. Thank you New York City, NY
Nonetheless Com SB I am experiencing di culty with ur 555555
rss . Don’t know why Unable to subscribe to it. Is there
Phone: 555-555-5555
anyone getting an identical rss downside? Anybody who
Fax: 555-555-5555
is aware of kindly respond. Thnkx
Email:
info@yourwebsite.com
Dmitry Predchenko 26th June 2019 at 11:42 am - Reply Web: Yourwebsite.com

Thank you. It works!

The Dude • Re: The Dude 6.40.8 – db failure: database disk image is malformed – Mags
Forum Technology 2nd July 2019 at 9:54 pm - Reply

[…] Posted on 3 July 2019 by magsforumtekno6399 This


article helps me. Thanks author! CHR 6.43.4, 240 objects
in DUDE.http://www.abit.ie/how_to_solve_dude_is …
_database/ […]

Leave A Comment

Comment...

Name (required) Email (required) Website

Save my name, email, and website in this browser for the next
time I comment.

POST COMMENT

RECENT POSTS CATEGORIES RECENT WORKS

 Hosting

Lorem ipsum ex vix  How to clean Your MikroTik
WHO WE ARE WHAT WE DO Help Tools Contact Us  
illud nonummy, computer
novum tation et his.  Uncategorised
At vix scriptaset  Let google know

patrioque scribentur, about new domain

at pro fugit erts with 301 redirect

verterem molestiae,
 MikroTik Tips and
sed et vivendo ali
tricks
Lorem ipsum ex vix
illud nonummy,  Dude issue with
novum tation et his.
database
At vix scripta
Malformed db
patrioque scribentur...
repair

 MikroTik useful
Scripts and
commands

© Copyright 2015 - 2020 | ABIT by Abit Web Design | All Rights Reserved       

You might also like