My newsfeed.db was 338MB, I'm running on XP SP3, it is work well to yesterday. Now when I click a feed or delete it I got the alert: [ERROR11] Database disk image is malformed
I has 863 feed in list and 5 feeds has that error.
How to fix it? Pls help me 'cause I got 86147 topic labeled, don't tell me create a new feed list :(

_________________
Narga - http://www.narga.net 
Ideas and inspiration in my opinion!
 

Last edited by Narga on Mon Jul 20, 2009 5:28 am, edited 2 times in total. 

Top
 Profile  
 
 Post subject: Re: [ERROR11] Database disk image is malformed
PostPosted: Sat Jul 18, 2009 6:02 pm 
Offline

Joined: Tue Feb 21, 2006 1:56 pm
Posts: 133
Location: Tyneside, UK
I believe GN uses sqlite for the database, so you should be able to repair the corruption;

http://www.sqlite.org/faq.html#q21

You'll need the SQLite CLI to repair it;

http://www.sqlite.org/download.html

_________________
Regards
Steven Burn
Ur I.T. Mate Group / hpHosts
it-mate.co.uk / hosts-file.net
 

Top
 Profile  
 
 Post subject: Re: [ERROR11] Database disk image is malformed
PostPosted: Sun Jul 19, 2009 4:05 am 
Offline
User avatar

Joined: Tue May 30, 2006 4:16 pm
Posts: 13
How can I do it step by step?

_________________
Narga - http://www.narga.net 
Ideas and inspiration in my opinion!
 

Top
 Profile  
 
 Post subject: Re: [ERROR11] Database disk image is malformed
PostPosted: Sun Jul 19, 2009 9:56 am 
Offline

Joined: Tue Feb 21, 2006 1:56 pm
Posts: 133
Location: Tyneside, UK
Place your db in the same folder as the SQLite CLI, then type the following;

Code:
echo ".dump" | sqlite old.db | sqlite new.db


Replacing the filename with the name of your .db file :)

Then copy your new .db file back to the GN folder.

_________________
Regards
Steven Burn
Ur I.T. Mate Group / hpHosts
it-mate.co.uk / hosts-file.net
 

Top
 Profile  
 
 Post subject: Re: [ERROR11] Database disk image is malformed
PostPosted: Mon Jul 20, 2009 1:59 am 
Offline
User avatar

Joined: Tue May 30, 2006 4:16 pm
Posts: 13
I'm place sqlite3.exe to Greatnews folder then type:
Code:
echo ".dump" | sqlite newsfeed.db | sqlite new.db
then it display for me the
Code:
...>

I also enter the folder path but it's same result
Nothing happened. How can I do it?

_________________
Narga - http://www.narga.net 
Ideas and inspiration in my opinion!
 

Top
 Profile  
 
 Post subject: Re: [Solved] - [ERROR11] Database disk image is malformed
PostPosted: Mon Jul 20, 2009 3:01 am 
Offline
User avatar

Joined: Tue May 30, 2006 4:16 pm
Posts: 13
OK, This problem has been solved with below steps: (I'm using cmd)
Dump newsfeed.db to sql file:
Code:
sqlite3 newsfeed.db .dump > newsfeed.sql

Dump newsfeed.sql to new database
Code:
sqlite3 newsfeed.db < newsfeed.sql

It's very simple then compact my old file from 394MB to 57MB then clean up all my entries :(

_________________
Narga - http://www.narga.net 
Ideas and inspiration in my opinion!