You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by rajat swarup <ra...@gmail.com> on 2005/04/01 10:17:54 UTC

Re: [Nutch-general] Crawl Problems in nutch on Sun

On Mar 30, 2005 8:06 PM, Chetan Sahasrabudhe <Ch...@kpitcummins.com> wrote:
> Hello Rajat,
> 
>         Try chaning your nutch folder structure access rights to 777
> Secondly, nutch uses some temp folder to put lock entries.
> Check if lock file is there, if it is then delete it. (I guess this lock entry thing is more related to index, so you might not have it. )
> 

Tried that did not work. However, I couldn't find the temp file. I was
looking over the web found someone was saying that there were problems
with NFS...Is that true? I don't understand it works perfectly on my
Linux box. Any help will be greatly appreciated.

Thanks and regards,
Rajat Swarup.

Re: [Nutch-general] Crawl Problems in nutch on Sun

Posted by rajat swarup <ra...@gmail.com>.
On 4/1/05, Jack Tang <hi...@gmail.com> wrote:
> Rajats
> 
> Could you tell more?
> Did you just run "crawl" command? and ur nutch version.
> Finally, log or exception will helps a lot here:)
> 
> /Jack
> 
I started the bin/nutch crawl command when I got this error. My nutch
version is 0.6.
There's nothing more in the log. 
Here is the complete log posting:
050401 000728 No NutchFileSystem indicated, so defaulting to local fs.
050401 000728 loading file:/auto/home-scf-29/swarup/nutch/conf/nutch-default.xml
050401 000733 loading file:/auto/home-scf-29/swarup/nutch/conf/crawl-tool.xml
050401 000733 loading file:/auto/home-scf-29/swarup/nutch/conf/nutch-site.xml
050401 000733 crawl started in: crawltest
050401 000733 rootUrlFile = urls
050401 000733 threads = 10
050401 000733 depth = 3
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.fs.LocalFileSystem.lock(LocalFileSystem.java:208)
        at net.nutch.db.WebDBWriter.<init>(WebDBWriter.java:1466)
        at net.nutch.db.WebDBWriter.createWebDB(WebDBWriter.java:1425)
        at net.nutch.tools.WebDBAdminTool.main(WebDBAdminTool.java:159)
        at net.nutch.tools.CrawlTool.main(CrawlTool.java:120)

Re: [Nutch-general] Crawl Problems in nutch on Sun

Posted by Jack Tang <hi...@gmail.com>.
Rajats

Could you tell more?
Did you just run "crawl" command? and ur nutch version.
Finally, log or exception will helps a lot here:)

/Jack

On Apr 1, 2005 4:17 PM, rajat swarup <ra...@gmail.com> wrote:
> On Mar 30, 2005 8:06 PM, Chetan Sahasrabudhe <Ch...@kpitcummins.com> wrote:
> > Hello Rajat,
> >
> >         Try chaning your nutch folder structure access rights to 777
> > Secondly, nutch uses some temp folder to put lock entries.
> > Check if lock file is there, if it is then delete it. (I guess this lock entry thing is more related to index, so you might not have it. )
> >
> 
> Tried that did not work. However, I couldn't find the temp file. I was
> looking over the web found someone was saying that there were problems
> with NFS...Is that true? I don't understand it works perfectly on my
> Linux box. Any help will be greatly appreciated.
> 
> Thanks and regards,
> Rajat Swarup.
>