Post your tomcat logs so we can get some better ideas of what is wrong. It should show that you are searching an index and give you some type of clue as to what is going on...
Jason On Sat, Jun 21, 2008 at 10:40 PM, Howie Wang <[EMAIL PROTECTED]> wrote: > > Sorry if this isn't the right answer, are you sure that all > nutch-site.xml's have the correct value? There's one > under the the nutch dir and another one will be unpacked > under the tomcat webapps dir from the war file. > > If that's definitely correct, I might look for permissions issues > on the crawl directory. If tomcat runs as nobody, can it read > the crawl directory? That sort of thing. > > If that still doesn't help, turn on logging to see if it can tell > you what files are being accessed. You could also try running > tomcat through strace or attaching strace to tomcat to see > what files are being accessed, and failing. > > hth, > Howie > > >> Date: Sat, 21 Jun 2008 21:54:31 -0400 >> From: [EMAIL PROTECTED] >> To: [email protected] >> Subject: Re: No results when searching via the web >> >> Hello, >> >> Responses to several messages are inline. >> >> Jason Boss wrote: >> > Are you starting tomcat in your main nutch directory? >> >> No, I'm starting tomcat via debian's invoke-rc.d script. >> >> Howie Wang wrote: >> > Have you checked whether the nutch-site.xml under the Tomcat webapps >> > directory has the search.dir setting pointing to your crawl >> > directory? >> >> nutch-site.xml is pointed to the correct directory. If I understand >> correctly, this is so I don't have to have the directory be ./crawl >> relative to the current working directory of tomcat. >> >> John Thompson wrote: >> > I'm running on Ubuntu and I have the same problem. Are you using the >> > /etc/init.d/tomcat5.5 script to start and stop your server? When I >> > do that, my search can't find anything. However, when I use >> > /usr/share/tomcat5.5/bin/catalina.sh to start the server, it works >> > perfectly. I've read through both scripts briefly and have yet to >> > figure out what's causing the different behavior (or if there is >> > anything wrong with just starting via the catalina script). Hopefully >> > this helps! >> >> When I use catalina.sh directly, I lose the nutch-0.9 webapp. I deployed >> the WAR file via the Tomcat Manager so nutch lives at >> /var/lib/tomcat5.5/webapps/nutch-0.9/ >> >> Ricardo > > _________________________________________________________________ > The other season of giving begins 6/24/08. Check out the i'm Talkathon. > http://www.imtalkathon.com?source=TXT_EML_WLH_SeasonOfGiving
