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. )

Regards 
Chetan 


-----Original Message-----
From: rajat swarup [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 12:52 AM
To: [email protected]
Subject: Re: [Nutch-general] Crawl Problems in nutch on Sun


Hi Jack,

> Tell us what you have done before the exception was thrown out:). That helps.
> You just type the "crawl" command?
All I did was install the files of Nutch on the Sun Machine (the Sun
machine uses NFS to access directory structure).
Then I just gave the nutch crawl command as mentioned in the tutorial.
>[error-log]
>Exception in thread "main" java.io.IOException:
>       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]

And then these errors were thrown.

Thanks and regards,
Rajat Swarup.

Reply via email to