is there a folder (not file) called db in the directory from which you 
are starting the script?

Dennis

Benedikt Schackenberg wrote:
> hello, after i run
>
> bin/nutch generate db segments
>
> i get
>
> 060624 145542 parsing file:/home/nutch/nutch-0.7.1/conf/nutch-default.xml
> 060624 145542 parsing file:/home/nutch/nutch-0.7.1/conf/nutch-site.xml
> 060624 145542 No FS indicated, using default:local
> 060624 145542 FetchListTool started
> java.io.IOException: No such file or directory
>         at java.io.UnixFileSystem.createFileExclusively(Native Method)
>         at java.io.File.createNewFile(File.java:850)
>         at 
> org.apache.nutch.fs.LocalFileSystem.lock(LocalFileSystem.java:215)
>         at org.apache.nutch.db.WebDBReader.<init>(WebDBReader.java:65)
>         at 
> org.apache.nutch.tools.FetchListTool.emitFetchList(FetchListTool.java:383) 
>
>         at 
> org.apache.nutch.tools.FetchListTool.emitFetchList(FetchListTool.java:319) 
>
>         at 
> org.apache.nutch.tools.FetchListTool.main(FetchListTool.java:593)
> 060624 145542 Overall processing: Sorted 0 entries in 0.0 seconds.
> 060624 145542 Overall processing: Sorted NaN entries/second
> Exception in thread "main" java.io.IOException: Database db is not a 
> directory.
>         at org.apache.nutch.db.WebDBWriter.<init>(WebDBWriter.java:1475)
>         at org.apache.nutch.db.WebDBWriter.<init>(WebDBWriter.java:1457)
>         at 
> org.apache.nutch.tools.FetchListTool.emitFetchList(FetchListTool.java:472) 
>
>         at 
> org.apache.nutch.tools.FetchListTool.emitFetchList(FetchListTool.java:319) 
>
>         at 
> org.apache.nutch.tools.FetchListTool.main(FetchListTool.java:593)
>
>
> **
>
> what do i am wrong ?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to