Re: main database is too old or corrupt

Markus Hoenicka <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi,

[email protected] was heard to say:

> My name is Ignasi. I am new here. I'd like to be a new user of refdb. I
> have installed it in my box. The OS is Ubuntu 6.0.6., and the database
> engine will be sqlite. The "main database is too old or corrupt" error
> appears each time I type "viewstat" (or any other command) in the refdba
> prompt. I know you have been discussing about that error, and it seems
> that Dan O'Donell could solve the problem by changing the default
> database and user name in the config files. It didn'n work for me. I'm

In order to check this, could you run the refdb-bug script and send the output
to the list? The script creates a file refdb-bug.txt in the current working
directory and lists all configuration details and such.

> - As I don't know which directory should contain the HTML files, I
> specified that simple URL direction (file:///refdb), that my browser may
> understand. I'm not sure if it is correct.
>

This is nothing to worry about unless you use the web interface (which is still
a bit shaky at the moment).

> - I created the database successfully and run refdbd and refdba without
> problems. And then the error appeared.
>

What are the permissions of the refdb database file?

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.