Right my bad it was bin directory, but even when i fire commit no snapshot created ?? Does it check the number of document even when i fire it and another question I dont rember have put in the conf file the path to commit, but even manually it doesnt work
[EMAIL PROTECTED]:/# ./data/solr/book/bin/commit -V + [[ -n '' ]] + [[ -z 8180 ]] + [[ -z localhost ]] + [[ -z solr ]] + curl_url=http://localhost:8180/solr/update + fixUser -V + [[ -z root ]] ++ whoami + [[ root != root ]] ++ who -m ++ cut '-d ' -f1 ++ sed '-es/^.*!//' + oldwhoami=root + [[ root == '' ]] + setStartTime + [[ Linux == \S\u\n\O\S ]] ++ date +%s + start=1222180545 + logMessage started by root ++ timeStamp ++ date '+%Y/%m/%d %H:%M:%S' + echo 2008/09/23 16:35:45 started by root + [[ -n '' ]] + logMessage command: ./data/solr/book/bin/commit -V ++ timeStamp ++ date '+%Y/%m/%d %H:%M:%S' + echo 2008/09/23 16:35:45 command: ./data/solr/book/bin/commit -V + [[ -n '' ]] ++ curl http://localhost:8180/solr/update -s -H 'Content-type:text/xml; charset=utf-8' -d '<commit/>' + rs='<result status="0"></result>' + [[ 0 != 0 ]] + echo '<result' 'status="0"></result>' + grep '<result.*status="0"' + [[ 0 != 0 ]] + logExit ended 0 + [[ Linux == \S\u\n\O\S ]] ++ date +%s + end=1222180546 ++ expr 1222180546 - 1222180545 + diff=1 ++ timeStamp ++ date '+%Y/%m/%d %H:%M:%S' + echo '2008/09/23 16:35:46 ended (elapsed time: 1 sec)' + exit 0 Shalin Shekhar Mangar wrote: > > On Tue, Sep 23, 2008 at 7:36 PM, sunnyfr <[EMAIL PROTECTED]> wrote: > >> >> My snapshooter too: >> <!-- A postCommit event is fired after every commit or optimize >> command >> --> >> <listener event="postCommit" class="solr.RunExecutableListener"> >> <str name="exe">./data/solr/book/logs/snapshooter</str> >> <str name="dir">data/solr/book/bin</str> >> <bool name="wait">true</bool> >> <arr name="args"> <str>arg1</str> <str>arg2</str> </arr> >> <arr name="env"> <str>MYVAR=val1</str> </arr> >> </listener> >> and everything is at the good place I think, my path are good ... >> >> > Those paths look strange. Are you sure your snapshooter script is inside a > directory named "logs"? > > Try giving absolute paths to the snapshooter script in the "exe" section. > Also, put the absolute path to the bin directory in the "dir" section and > try again. > > -- > Regards, > Shalin Shekhar Mangar. > > -- View this message in context: http://www.nabble.com/commit-tp19628500p19629217.html Sent from the Solr - User mailing list archive at Nabble.com.