On 12. des.. 2009, at 12.20, William Wollis wrote:
> Hi,
> I have just installed opengrok 0.8.1, set it up: DATA_ROOT=/var/opt/
> opengrok/data SRC_ROOT=/var/opt/opengrok/src and checkout SVN
> repository to SRC_ROOT. Initial indexing has proceeded, but search
> (web or CLI) failed on "Error: Index database not found" resp.
> "java.io.FileNotFoundException: no segments* file found in
> org.apache.lucene.store.FSDirectory@/usr/local/opengrok/data/index:
> files:".
> The problem is in location of segments.gen file (and propably other
> ones). File is in $DATA_ROOT/index/<myproject>/segments.gen but is
> expected in $DATA_ROOT/index/segments.gen:
> open("/usr/local/opengrok/data/index/segments.gen", O_RDONLY) = -1
> ENOENT (No such file or directory). /var/opt/opengrok/data is
> symlink to /usr/local/opengrok/data.
> SRC_ROOT contains <myproject> directory with sources (exactly what i
> get through svn co .... )
>
> Not sure, where I configured it incorrectly... Any suggestion will
> be appreciate.
Try to open the file: http://myserver/source/status.jsp in your web
browser and see if the configuration looks right
Cheers.
trond