lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Au" <bill.w...@gmail.com>
Subject Re: Replication script file issues..
Date Wed, 18 Jul 2007 17:17:26 GMT
You should specify snapshooter by its full path, as in:

<str name="exe">/opt/solr/bin/snapshooter</str>

Bill


On 7/18/07, Matthew Runo <mruno@zappos.com> wrote:
>
> I'm sorry about this guys, but I'm having the strangest path errors
> with replication..
>
> SEVERE: java.io.IOException: Cannot run program "snapshooter" (in
> directory "/opt/solr/bin"): java.io.IOException: error=2, No such
> file or directory
>
> but.. cd /opt/solr/bin and the snapshooter file is there. And owned
> by the tomcat user... so what's the deal? Obviously I'm overlooking
> something.. but I'm not sure what..
>
> Here's the solrconfig.conf file section
>
>
>      <listener event="postCommit" class="solr.RunExecutableListener">
>        <str name="exe">snapshooter</str>
>        <str name="dir">/opt/solr/bin</str>
>        <bool name="wait">true</bool>
>        <arr name="args"> <str>-u tomcat5</str> <str>-d /opt/solr/
> data</str> </arr>
>        <arr name="env"></arr>
>      </listener>
>
> I'd think it would work. I guess, since SOLR runs in tomcat, I don't
> really need the -u option in there.
>
>
> +--------------------------------------------------------+
>   | Matthew Runo
>   | Zappos Development
>   | mruno@zappos.com
>   | 702-943-7833
> +--------------------------------------------------------+
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message