You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Jason Tang <ja...@commcentral.com> on 2005/03/30 02:32:01 UTC

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

Rajat

Tell us what you have done before the exception was thrown out:). That helps.
You just type the "crawl" command?

/Jack
  
======= At 2005-03-29, 20:47:19 you wrote: =======

>Hi,
>I'm getting the following error on a Sun machine when I'm trying to
>crawl in nutch.
>I can't seem to find any help on this on the web too. Can someone help me?
>Follwoing are the versions of software:
>java: 1.4.0_01-b03
>nutch 0.6
>
>[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]
>
>Thanks and regards,
>Rajat Swarup.
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Nutch-general mailing list
>Nutch-general@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nutch-general

= = = = = = = = = = = = = = = = = = = =
			
Jason Tang
jason.tang@commcentral.com
2005-03-30



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

Posted by rajat swarup <ra...@gmail.com>.
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.