Running in example/solr/bin from 1.1 distribution using bash -x ./ snapshooter -u myname -d data

++ . <my path>/apache-solr-1.1.0-incubating/example/solr/conf/ scripts.conf
+++ $'\r'
: command not found <my-path>/apache-solr-1.1.0-incubating/example/ solr/conf/scripts.conf: line 15:

And then later I get the cp -l error.

Scripts.conf is:

user=
solr_hostname=localhost
solr_port=8983
rsyncd_port=18983
data_dir=
webapp_name=solr
master_host=
master_data_dir=
master_status_dir=

but I didn't set it up at all.  Line 15 is the line before user=


On Apr 23, 2007, at 10:00 PM, Bill Au wrote:

You can also run the script with the -V option.  It shows debugging
info but not as much as "bash -x".

I tried snapshooter on OS X 10.4.9.  I did get the "cp: illegal option
-- l" error.
But that's the only error I got.

Bill

On 4/23/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:
On 4/23/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote:
> ...The error says something about command not found line 15, but all the
> files I looked at, line 15 was a comment...

Running your script with

  bash -x myscript

should help, it will echo commands before executing them.

-Bertrand


--------------------------
Grant Ingersoll
Center for Natural Language Processing
http://www.cnlp.org

Read the Lucene Java FAQ at http://wiki.apache.org/jakarta-lucene/ LuceneFAQ


Reply via email to