lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Runo <mr...@zappos.com>
Subject Replication script file issues..
Date Wed, 18 Jul 2007 16:53:08 GMT
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