You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Andy Morris <an...@woodward.edu> on 2006/01/08 04:38:45 UTC
newbie install...errors help
First I want to say what a great find and great programming. My company
is thinking about getting the Google mini but I thought if I could get
nutch going on our site that would be great. I have a few errors and
questions.
I got java, tomcat, nutch installed all fine. I am not sure of what
file I need to edit to set NUTCH_JAVA_HOME=/usr/bin/java. This is a
fedora core 2 box that I am working on.
When I run
bin/nutch crawl urls -dir crawl.test -depth 3 >& crawl.log
the log looks like this..
060107 221039 parsing
file:/root/nutch_binaries/nutch-0.7/conf/nutch-site.xml
060107 221039 No FS indicated, using default:local
060107 221039 crawl started in: crawl.test
060107 221039 rootUrlFile = urls
060107 221039 threads = 10
060107 221039 depth = 3
060107 221040 Created webdb at
LocalFS,/root/nutch_binaries/nutch-0.7/crawl.test/db
Exception in thread "main" java.io.FileNotFoundException: urls (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at
org.apache.nutch.db.WebDBInjector.injectURLFile(WebDBInjector.java:372)
at
org.apache.nutch.db.WebDBInjector.main(WebDBInjector.java:535)
at org.apache.nutch.tools.CrawlTool.main(CrawlTool.java:134)
and if I go to my tomcat site and do a search it get an error...can
someone help me?
http://www.mbproduction.com:8080/en/search.html
Thanks,
Andy
Re: newbie install...errors help
Posted by RJ <ry...@sympatico.ca>.
Hi Andy,
catalina.sh must be started from your nutch-0.7 directory.
Try this:
cd :/root/nutch_binaries/nutch-0.7
/path-to-catalina/cataline.sh stop
/path-to-catalina/cataline.sh start
----- Original Message -----
From: "Andy Morris" <an...@woodward.edu>
To: <nu...@lucene.apache.org>
Sent: Saturday, January 07, 2006 10:38 PM
Subject: newbie install...errors help
First I want to say what a great find and great programming. My company
is thinking about getting the Google mini but I thought if I could get
nutch going on our site that would be great. I have a few errors and
questions.
I got java, tomcat, nutch installed all fine. I am not sure of what
file I need to edit to set NUTCH_JAVA_HOME=/usr/bin/java. This is a
fedora core 2 box that I am working on.
When I run
bin/nutch crawl urls -dir crawl.test -depth 3 >& crawl.log
the log looks like this..
060107 221039 parsing
file:/root/nutch_binaries/nutch-0.7/conf/nutch-site.xml
060107 221039 No FS indicated, using default:local
060107 221039 crawl started in: crawl.test
060107 221039 rootUrlFile = urls
060107 221039 threads = 10
060107 221039 depth = 3
060107 221040 Created webdb at
LocalFS,/root/nutch_binaries/nutch-0.7/crawl.test/db
Exception in thread "main" java.io.FileNotFoundException: urls (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at
org.apache.nutch.db.WebDBInjector.injectURLFile(WebDBInjector.java:372)
at
org.apache.nutch.db.WebDBInjector.main(WebDBInjector.java:535)
at org.apache.nutch.tools.CrawlTool.main(CrawlTool.java:134)
and if I go to my tomcat site and do a search it get an error...can
someone help me?
http://www.mbproduction.com:8080/en/search.html
Thanks,
Andy
----------------------------------------------------------------------------
----
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 06/01/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 06/01/2006