The yum install tomcat does not have the bin directory for tomcat, thus no Catalina.sh script.
I have downloaded tomcat from the Jakarta apache site. It does have the bin folder and the .sh files. So I just need to run the Catalina.sh from within the nutch folder..my java is installed in /usr/bin/java which is a sym link to another folder. Do I need to put this the java_home or just /usr/bin since it is looking for java.. Andy -----Original Message----- From: RJ [mailto:[EMAIL PROTECTED] Sent: Sunday, January 08, 2006 8:59 AM To: [email protected] Subject: Re: newbie install...errors help Re: catalina.sh It's part of tomcat. I'm using Freebsd6.0 and it's localed at /usr/local/jakarta-tomcat5.0/bin/catalina.sh. Andy it's on your system. Once you find it remember the path then: cd :/root/nutch_binaries/nutch-0.7 /usr/local/jakarta-tomcat5.0/bin/catalina.sh stop /usr/local/jakarta-tomcat5.0/bin/catalina.sh start ----- Original Message ----- From: "Andy Morris" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, January 08, 2006 8:32 AM Subject: RE: newbie install...errors help I can't find cataline.sh..this is an install from yum. I don't have Catalina.sh either..here is the default page, I made a back up copy of ROOT so I can show it to you. This is on a Fedora core 2 box, it says all I need to do is do a service tomcat start to get things working. I can see the default page and all fine? http://www.mbproduction.com:8080/ROOT.bak/index.jsp Andy -----Original Message----- From: RJ [mailto:[EMAIL PROTECTED] Sent: Sunday, January 08, 2006 3:16 AM To: [email protected] Subject: Re: newbie install...errors help 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" <[EMAIL PROTECTED]> To: <[email protected]> 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 -- 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
