I can confirm - this setting works for me too.

Wiadomość napisana w dniu 2008-10-01, o godz. 11:09, przez Shalin Shekhar Mangar:

This is what works for me on Ubuntu 8.04 on the postCommit and postOptimize
section:

1. Make sure the user running solr has read and execute permissions on
snapshooter script
2. Specify absolute path (without any dots) to the snapshooter in the "exe"
section
3. Specify absolute path (without any dots) to the bin directory in the
"dir" section

On Wed, Oct 1, 2008 at 2:30 PM, sunnyfr <[EMAIL PROTECTED]> wrote:


but why Sunny Bassan said :

"Sunny Bassan wrote:
using "./snapshooter" instead of "snapshooter", worked like a charm. Its
the little ones you gotta watch out for. "


Shalin Shekhar Mangar wrote:

Yes exe is correct. Put "/data/solr/book/bin" in the "dir" also.

On Wed, Oct 1, 2008 at 2:15 PM, sunnyfr <[EMAIL PROTECTED]> wrote:


Hi,

so, what should i write : that ?

<str name="exe">/data/solr/book/bin/snapshooter</str>
<str name="dir">.</str>

thanks a lot for your answer.


Jarek Zgoda-7 wrote:

"dot-slash" means "run command located in this directory", you do not
add dot and slash when you specify path (absolute or relative).

Wiadomość napisana w dniu 2008-10-01, o godz. 10:10, przez sunnyfr:


Hi and what do you write in   <str name="dir">.</str>

I wrote that but not sure it works :
<str name="exe">./data/solr/book/bin/snapshooter</str>
<str name="dir">.</str>

But I've some error, it might come from that.
When you use this way, doest it write in your log file, not me:
/data/solr/book/logs/snappuller.log

Would you reckon to do it automaticly or manually start snapshooter
with
cron job?

Cheers,



Sunny Bassan wrote:

using "./snapshooter" instead of "snapshooter", worked like a
charm. Its
the little ones you gotta watch out for.

Thanks for everybodies help.
Sunny



--
View this message in context:


http://www.nabble.com/Re%3A-Issues-with-postOptimize-tp14508624p19756257.html
Sent from the Solr - User mailing list archive at Nabble.com.


--
We read Knuth so you don't have to. - Tim Peters

Jarek Zgoda, R&D, Redefine
[EMAIL PROTECTED]




--
View this message in context:

http://www.nabble.com/Re%3A-Issues-with-postOptimize-tp14508624p19756644.html
Sent from the Solr - User mailing list archive at Nabble.com.




--
Regards,
Shalin Shekhar Mangar.



--
View this message in context:
http://www.nabble.com/Re%3A-Issues-with-postOptimize-tp14508624p19756786.html
Sent from the Solr - User mailing list archive at Nabble.com.




--
Regards,
Shalin Shekhar Mangar.

--
We read Knuth so you don't have to. - Tim Peters

Jarek Zgoda, R&D, Redefine
[EMAIL PROTECTED]

Reply via email to