Re: main database is too old or corrupt

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

I'm sorry, I must have missed this mail somehow. In any case, I had a look at
the file you sent today, and it looks all ok to me, just like the one I
received and tested last week.

What are the file permission after you create the refdb database? I assume that
Debian/Ubuntu run the refdbd daemon under a particular account which is most
likely not root. Does this account have read/write permissions for the database
file? If not, could you set the permissions appropriately, e.g. by running
something like chmod a+rw /path/to/refdb, and see whether this makes a
difference?

If you temporarily disable the daemon, e.g. by running "refdbctl stop" as root,
and start refdbd under your own user account, e.g. by running "refdbd -s -e 0
-P ~/refdbd.pid" (-e 0 sends the log output to stderr, -P sets the path of the
PID file to a file that you have write access to), does this allow you to run
viewstat?

regards,
Markus

Ďoďo <[email protected]> was heard to say:

> Markus, I sent you the database file couple of weeks ago ...
> Here it is again.
>


-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
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.