...also in /user/local/etc and there are the files sphinx.conf.dist
sphinx-min.conf.dist but the contents of both of these reference
mysql, and I am using postgres.

On Dec 16, 9:22 am, "Mark L." <[email protected]> wrote:
> ...thanx for the response Pat...heres the output you requested...
>
> [jlocklear@jlocklear hls]$ which searchd
> /usr/local/bin/searchd
> [jlocklear@jlocklear hls]$ searchd
> Sphinx 2.0.2-beta (r3019)
> Copyright (c) 2001-2011, Andrew Aksyonoff
> Copyright (c) 2008-2011, Sphinx Technologies Inc (http://
> sphinxsearch.com)
>
> FATAL: no readable config file (looked in /usr/local/etc/
> sphinx.conf, ./sphinx.conf).
>
> On Dec 16, 2:32 am, Pat Allan <[email protected]> wrote:
>
> > Hi Mark
>
> > config/sphinx.yml does not get created automatically - it's optional. How 
> > did you install Sphinx? What's the output when you run `searchd` and `which 
> > searchd` on the command line?
>
> > --
> > Pat
>
> > On 16/12/2011, at 11:53 AM, Mark L. wrote:
>
> > > Should this be installed when you install the gem? I have an app I am
> > > trying to configure that is running rails 2.3.14, and have installed
> > > both sphinx and thinking sphinx and am trying to run 'rake
> > > db:migrate', and I get the error...
>
> > > [jlocklear@jlocklear hls]$ rake db:migrate
> > > Pure ruby mysql.rb driver used!
> > > Cannot find or read /home/jlocklear/railsApps/hls/config/newrelic.yml
>
> > > Sphinx cannot be found on your system. You may need to configure the
> > > following
> > > settings in your config/sphinx.yml file:
> > >  * bin_path
> > >  * searchd_binary_name
> > >  * indexer_binary_name
>
> > > For more information, read the documentation:
> > >http://freelancing-god.github.com/ts/en/advanced_config.html
> > > ==  AddsomeIndexes: migrating
> > > =================================================
> > > -- add_index(:cars, :workflow_state, {:name=>"index_workflow_state"})
> > > rake aborted!
> > > An error has occurred, this and all later migrations canceled:
>
> > > PGError: ERROR:  relation "cars" does not exist
> > > : CREATE  INDEX "index_workflow_state" ON "cars" ("workflow_state")
>
> > > Tasks: TOP => db:migrate
> > > (See full trace by running task with --trace)
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Thinking Sphinx" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to 
> > > [email protected].
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/thinking-sphinx?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to