Johannes Beus wrote:
Seems that something is weird. By looking into source code I have found outKir Kolyshkin wrote:The problem is not that aspssek uses /www/var/dbname, the problem is that it uses /usr/local/aspseek/var/dbname. You can see my aspseek.conf at http://admin.sistrix.com/aspseek.conf if that helps.Johannes Beus wrote:Hello,
in etc/aspseek.conf it says:
# DataDir is the root directory delta files and for files with information
# about words, subsets, spaces.
# Defaults to var directory under ASPseek installation.
But when I set var dir to another dir by "DataDir /www/var" aspseek still uses var/aspseek12.
Name of the SQL database (last word in DBAddr directive) is appended to DataDir, so you can have multiple databases and not mix them all. So, if you set DBAddr mysql://user:pass@localhost/dbname/ DataDir /var/www ASPseek will put data files into /var/www/dbname/ subdirectory.
Johannes
that 'searchd' will write its log file to precompiled location and does not
honour DataDir set in config file. But I can't find any problem in index (at least by looking into it's source code - src/config.cpp).
Can somebody who knows C/C++ debug the case and find out the problem? Patch is warmly welcome. I'm currently _extremely_ busy with other things, sorry.
As a workaround, I suggest you to recompile ASPseek using
./configure --localstatedir=/var/www
make
make install
--
[EMAIL PROTECTED] 7551596@ICQ [EMAIL PROTECTED]
Dream like you'll live forever...Love like you've never been hurt...
Work like you don't need the money...and Dance like nobody is watching!
-- Satchel Paige
