That was the solution! Thank you

________________________________

From: Gora Mohanty [mailto:[email protected]]
Sent: Wed 11/24/2010 11:39 PM
To: [email protected]
Subject: Re: No Such File or directory problem



On Thu, Nov 25, 2010 at 6:40 AM, Chris Woolum <[email protected]> wrote:
> Hello everyone,
>
>
>
> I am new to nutch and am having a problem with my initial deployment of
> it. It does not seem that nutch is properly parsing the SEGMENT string
> and is trying to search invalid folders. I am using Ubuntu Server 10.10
> with Nutch 1.1. I am wondering if this might be something to do with
> Ubuntu. Any Ideas?
>
>
>
> If I do an echo $SEGMENT I get :       "crawl/segments/ls -tr
> crawl/segments|tail -1"
>
>
>
> r...@nutchmaster:/usr/share/nutch# export SEGMENT=crawl/segments/'ls -tr
> crawl/segments|tail -1'

The definition of SEGMENT does not seem right. I think that you are using
single-quotes instead of back-ticks (grave accent), i.e., you should have
  export SEGMENT=crawl/segments/`ls -tr crawl/segments|tail -1`

Regards,
Gora


Reply via email to