Ah yes, the correct syntax does help! Thank you, good eye. On to the next problem!
--- Chih How Bong <[EMAIL PROTECTED]> wrote: > 2 comments from me: > > 1. Your "bin/nutch crawl urls.txt -dir crawl.test -d > 2" is incorrect accord > to the crawltool function. It should be -depth > > 2. Check your working directory permission. > > Hope this help. > > > On 1/13/06, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > > > I think you need to create the crawl.test > directory > > manually, before you run the command. > > > > > ----------------------------------------------------------- > > Dave Campbell [EMAIL PROTECTED] - > ---------- > > > ----------------------------------------------------------- > > > > Mike Markzon <[EMAIL PROTECTED]> wrote on > 01/12/2006 03:29:04 PM: > > > > > I've tried 0.7 and the nightly build of 0.8. > Neither > > > is working for me. I'm just trying to follow > the > > > tutorials. Here's what i'm getting with 0.7 > when I > > > try and crawl (FileNotFoundException). > > > > > > $ ls urls.txt > > > urls.txt > > > $ bin/nutch crawl urls.txt -dir crawl.test -d 2 > > > 060112 122459 parsing > > > > file:/apps/user/vignette/nutch-0.7/conf/nutch-default.xml > > > 060112 122459 parsing > > > > file:/apps/user/vignette/nutch-0.7/conf/crawl-tool.xml > > > 060112 122459 parsing > > > > file:/apps/user/vignette/nutch-0.7/conf/nutch-site.xml > > > 060112 122459 No FS indicated, using > default:local > > > 060112 122459 crawl started in: > crawl-20060112122459 > > > 060112 122459 rootUrlFile = urls.txt -dir > crawl.test > > > -d 2 > > > 060112 122459 threads = 10 > > > 060112 122459 depth = 5 > > > 060112 122459 Created webdb at > > > > LocalFS,/apps/user/vignette/nutch-0.7/crawl-20060 > > > 112122459/db > > > Exception in thread "main" > > > java.io.FileNotFoundException: urls.txt -dir > crawl.te > > > st -d 2 (No such file or directory) > > > at java.io.FileInputStream.open(Native > Method) > > > at > > > > java.io.FileInputStream.<init>(FileInputStream.java:106) > > > at > > > java.io.FileReader.<init>(FileReader.java:55) > > > at > > > > org.apache.nutch.db.WebDBInjector.injectURLFile(WebDBInjector.java:37 > > > 2) > > > at > > > > org.apache.nutch.db.WebDBInjector.main(WebDBInjector.java:535) > > > at > > > > org.apache.nutch.tools.CrawlTool.main(CrawlTool.java:134) > > > $ > > > > > > If I follow the tutorial at > > > > http://wiki.media-style.com/display/nutchDocu/Home > > > everytime I execute a command I get a Usage > statement > > > and the command doesn't do anything. > > > $ bin/nutch admin db/ -create > > > Usage: java > org.apache.nutch.tools.WebDBAdminTool > > > (-local | -ndfs <namenode:port > > > >) db [-create] [-textdump dumpPrefix] > [-scoredump] > > > [-top k] > > > > > > Any ideas? Thanks! Also thanks to those who > answered > > > my first question about using a server besides > Tomcat. > > > -Mike > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > protection around > > > http://mail.yahoo.com > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com