You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by James liu <li...@gmail.com> on 2007/03/22 08:05:46 UTC

how to use snappuller

First try,,,i don't know how to use....

my scripts.conf:
user=Administrator
solr_hostname=localhost
solr_port=8983
rsyncd_port=18983
data_dir=
webapp_name=solr
master_host=192.168.7.56
master_data_dir=data
master_status_dir=data


my cmd:
bash bin/snappuller -M 192.168.7.56 -D bash bin/snappuller -M 192.168
.7.56 -D data -S data -u rootdata -S data -u root




-- 
regards
jl

Re: how to use snappuller

Posted by Chris Hostetter <ho...@fucit.org>.
: i should setup rsyncd.conf, if yes,how to setup and snappuller will be ok.

installing rsync is a littl outside the scope of the Solr mailing list --
you'll want to check the documentation for rsync and rsyncd, you'll
probably want to look for info about running rsync over ssh with
passphraseless keys.

Also: i can't think of any good reason to run snappuller as root ... most
of your Solr distribution stuff should be running as user with very low
privillages, ieally the only things it should have access to are the index
files.



-Hoss


Re: how to use snappuller

Posted by James liu <li...@gmail.com>.
i should setup rsyncd.conf, if yes,how to setup and snappuller will be ok.



2007/3/22, James liu <li...@gmail.com>:
>
> I think it work. but failed.
>
>
> [root@ /tmp/solr1]# bash bin/snappuller-enable
> > [root@ /tmp/solr1]# bash bin/snappuller-enable -u root
> > [root@ /tmp/solr1]# bash bin/snappuller -M 192.168.7.56 -D data -S data
> > -u root
> > Password:
> > Password:
> > Password:
> > usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> > ...
> >             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> > usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> > ...
> >             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> > Password:
> > @ERROR: invalid gid root
> > rsync error: error starting client-server protocol (code 5) at main.c(1383)
> > [rec        eiver=2.6.9]
> > usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> > ...
> >             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> > usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> > ...
> >             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> > expr: syntax error
> > Password:
> > [root@ /tmp/solr1]# ls data/
> >
> >


-- 
regards
jl

Re: how to use snappuller

Posted by James liu <li...@gmail.com>.
I think it work. but failed.


[root@ /tmp/solr1]# bash bin/snappuller-enable
> [root@ /tmp/solr1]# bash bin/snappuller-enable -u root
> [root@ /tmp/solr1]# bash bin/snappuller -M 192.168.7.56 -D data -S data -u
> root
> Password:
> Password:
> Password:
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> ...
>             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> ...
>             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> Password:
> @ERROR: invalid gid root
> rsync error: error starting client-server protocol (code 5) at main.c(1383)
> [rec        eiver=2.6.9]
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> ...
>             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> ...
>             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> expr: syntax error
> Password:
> [root@ /tmp/solr1]# ls data/
>
>