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 at http://groups.google.com/group/thinking-sphinx?hl=en.
