Hey Pat,

I did originally have it installed as a plugin and everything was
working fine. My slicehost server went down and when it all came back
on Sphinx was not working correctly. After try a few things i decided
to up to the gem and also installed 0.9.9.

I only have 1 rake task in my Rake file, but i do have both the plugin
and gem installed. I'll remove the plugin..

I ran the commands above and got the following returned

which searchd - /usr/local/bin/searchd

searchd -
Sphinx 0.9.9-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff
FATAL: no readable config file (looked in /usr/local/etc/
sphinx.conf, ./sphinx.conf).

im able to index just fine running rake ts:in RAILS_ENV=production

Ive run the config and that is current for the production.sphinx.conf

let me know what you think

Thanks again Pat

Bob

On Jan 20, 6:33 pm, Pat Allan <[email protected]> wrote:
> Hi Bob
>
> How are you using TS - as a gem, or a plugin? Or more importantly, were you 
> using it some other way earlier? If you've still got the plugin installed, 
> but are now using the gem, or if you're using the plugin, but still have the 
> gem and require statement in the Rakefile, then it may duplicate the rake 
> tasks, which is why it'd output things twice.
>
> As to why it's not actually working... what's the output of the following 
> commands from the shell on the server:
>   which searchd
>   searchd
>
> Did indexing run fine?
>
> --
> Pat
>
> On 21/01/2010, at 5:39 AM, Bob O wrote:
>
> > and to clarify. I recently installed 0.9.9 and in my sphinx.yml i
> > added port: 9312
>
> > On Jan 20, 2:39 pm, Bob O <[email protected]> wrote:
> >> Pat i want to first give you props, all of the searching i have done
> >> on this topic, you are all over it. I dont know how you keep up. I
> >> want to say thanks for giving the community a great search solution.
>
> >> now to the problem. I still am unable to get sphinx to start.
>
> >> i ran the ts:stop RAILS_ENV=production and it responded searchd is not
> >> running. then i ran ts:index RAILS_ENV=production and it indexed it
> >> fine.. i scripts to my moonshine that index on deploy as well and it
> >> has always indexed without a problem..
>
> >> then i ran ts:start RAILS_ENV=production and it returned
> >> Failed to start searchd daemon. Check /var/www/apps/stage_hci/shared/
> >> log/searchd.log.
> >> Failed to start searchd daemon. Check /var/www/apps/stage_hci/shared/
> >> log/searchd.log
>
> >> why it responded 2x is beyond me, but it has on every fail..
>
> >> any thoughts?
>
> >> On Jan 20, 8:03 am, Pat Allan <[email protected]> wrote:
>
> >>> Hi Bob
>
> >>> Firstly, you'll need to be running the rake tasks with the environment 
> >>> set to production... like:
> >>>   rake ts:start RAILS_ENV=production
>
> >>> Have you indexed the data within that environment's context as well?
>
> >>> Or are you doing all this already, and we need to start investigating a 
> >>> little deeper?
>
> >>> --
> >>> Pat
>
> >>> On 20/01/2010, at 6:39 PM, Bob O wrote:
>
> >>>> So i have been all over the net trying to figure this out.
>
> >>>> I do have TS installed on 2 different apps and at one time they both
> >>>> worked in production too.
>
> >>>> I currently have both apps working in dev as they should.
>
> >>>> My problem. I have deployed my apps out, but i cannot get Sphinx to
> >>>> start. i have written it into my moonshine file and it was working
> >>>> fine before. Right now i am ssh into the server and running the
> >>>> ts:start cmds in the terminal just to make sure sphinx is running, but
> >>>> i am unable to get it to start. i givems me the failed to start
> >>>> searchd error
>
> >>>> I get the Connection to 127.0.0.1 on 9312 failed. Connection refused -
> >>>> connect(2) in the log when i actually try to search something, which
> >>>> according to other posts means that Sphinx is not running.
>
> >>>> Something odd.. if i run ts:rebuild or ts:reindex i get references to
> >>>> development.sphinx.conf
> >>>> shouldnt it be referencing production? and i believe on the rebuild
> >>>> error it gives me an unknown db myapp_development
>
> >>>> any advice would be extremely helpful
>
> >>>> Thanks
>
> >>>> Bob
> >>>> --
> >>>> 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 
> > 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