forgot to cc the list...
----- Weitergeleitete Nachricht von Markus Hoenicka
<markus.hoenicka@xxxxxxxxxxxx> -----
Datum: Wed, 04 Jan 2006 09:58:11 +0100
Von: Markus Hoenicka <markus.hoenicka@xxxxxxxxxxxx>
Antwort an: Markus Hoenicka <markus.hoenicka@xxxxxxxxxxxx>
Betreff: Re: [Refdb-users] refdb-0.9.6 and sqlite3 default database directory ?
An: Sven Crouse <svenc@xxxxxxxx>
Hi,
Sven Crouse <svenc@xxxxxxxx> was heard to say:
> Hi list. I'm new to refdb and installing it for use with sqlite3. The
> default database location cited in manpage and online html documentation
> is "/usr/local/share/refdb/db". Without any arguments to 'configure'
> when installing refdb, running 'refdbd -D sqlite3 -s -e 0 -l 7' returns
> the following which seems to indicate otherwise:
>
[...]
> Database directory:
> /var/lib/refdb/db
In this case the documentation is incorrect. The default database directory used
to be where the docs think it is, but this was changed while RefDB was
debianized. The current default location follows the FSH standard and puts the
database and the version file in a folder which is supposed to hold
often-changed files. There is no real difference if you use one partition and
one filesystem on your standalone box, but on a server /usr and /var may be
located on different partitions or drives and use different filesystems,
optimized for fast reading and fast writing, respectively. /usr/share and
/usr/local/share may even be mounted read-only from a remote box in weird
cases. I'll have to fix the docs at this point.
>
> Trying to set this to cited location with "with-db-dir" config flag
> seems to have not effect.
It should have an effect. However, this setting affects only the
refdbdrc.example file which does not take effect unless you rename it to
refdbdrc.
> Furthermore "serverip
> /usr/local/share/refdb/db" in refdbcrc seems to have no effect ( if I'm
> reading refdbd manpage correctly ). So, are the powers that be telling
> me to use "/var/lib/refdb/db" ?
>
The serverip variable in refdbcrc (and refdbarc, refdbibrc) tells the client on
which box the server process refdbd runs. It must be the servername or IP
address of a computer running refdbd. The database location is managed solely
by the server process, so you'd have to fiddle with refdbdrc.
And yes, "/var/lib/refdb/db" is probably the best place for your sqlite3
database files.
regards,
Markus
--
Markus Hoenicka
markus.hoenicka@xxxxxxx
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
----- Ende der weitergeleiteten Nachricht -----
--
Markus Hoenicka
markus.hoenicka@xxxxxxx
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
|