Hi Jack,
> 1.Make sure index dir exists
The crawl.test directory exists. There are "db" and "segments" folders
inside that directory also.
>2.Dig index file using Luke
But the index inside the directory was just 8 bytes long. I think my
shell had crashed when the crawl was going on. So, probably the index
was not properly created. I crawled again and now it works. This is my
linux box. So finally ... nutch is working on my linux box! :-)
Thanks for your help!
But unfortunately my problems aren't over...on a Sun machine (with
nutch 0.5) I get following errors. Anyone has any idea?
[error-log]
Exception in thread "main" java.io.IOException: No record locks available
at sun.nio.ch.FileChannelImpl.lock0(Native Method)
at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:490)
at net.nutch.db.WebDBWriter.<init>(WebDBWriter.java:1464)
at net.nutch.db.WebDBWriter.createWebDB(WebDBWriter.java:1424)
at net.nutch.tools.WebDBAdminTool.main(WebDBAdminTool.java:157)
at net.nutch.tools.CrawlTool.main(CrawlTool.java:84)
[/error-log]
Thanks,
Rajat.