Ah, good to know there's a fix, for anyone else who gets stuck - thanks for sharing!
-- Pat On 11/08/2010, at 8:55 PM, Pedro Cunha wrote: > I'm a programmer and not a really unix system admin expert. > > This issue was solved by a system admin doing the following command: > > "setenforce Permissive" > > http://www.phpman.info/index.php/man/setenforce/8 > > > But now I can't tell exactly the good or downside of this. Disabling > something related to permissions might be fishy. I will have to dig > and learn a bit to understand this. > > Thanks for this great plugin. > > > On Aug 11, 1:47 am, Pat Allan <[email protected]> wrote: >> Hi Pedro >> >> Not quite sure how to go about debugging this issue (hence the slow reply) - >> I could have sworn I'd seen someone else have it before, but can't find the >> error message in any other emails. >> >> On the server, can you run the 'search' command line tool? >> >> -- >> Pat >> >> On 31/07/2010, at 12:56 AM, Pedro Cunha wrote: >> >> >> >>> Good afternoon, >> >>> I'm currently having some problems to deploy my app with TS. Before I >>> created this post I read kinda few articles to see the usual issues >>> and how to solve them. >>> At the moment my problem: When i try to access the results from >>> searchd, I get: >> >>> Permission denied - connect(2) >> >>> opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/riddle-1.0.12/ >>> lib/riddle/client.rb:533:in `initialize' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/ >>> riddle-1.0.12/lib/riddle/client.rb:533:in `new' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/ >>> riddle-1.0.12/lib/riddle/client.rb:533:in `initialise_socket' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/ >>> riddle-1.0.12/lib/riddle/0.9.9/client.rb:8:in `initialise_connection' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/ >>> riddle-1.0.12/lib/riddle/client.rb:473:in `open_socket' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/ >>> riddle-1.0.12/lib/riddle/client.rb:500:in `connect' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/ >>> riddle-1.0.12/lib/riddle/client.rb:556:in `request' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/ >>> riddle-1.0.12/lib/riddle/client.rb:208:in `run' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/ >>> riddle-1.0.12/lib/riddle/client.rb:315:in `query' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/thinking- >>> sphinx-1.3.18/lib/thinking_sphinx/search.rb:268:in `populate' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/benchmark.rb:308:in >>> `realtime' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/thinking- >>> sphinx-1.3.18/lib/thinking_sphinx/search.rb:267:in `populate' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/thinking- >>> sphinx-1.3.18/lib/thinking_sphinx/search.rb:390:in `call' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/thinking- >>> sphinx-1.3.18/lib/thinking_sphinx/search.rb:390:in >>> `retry_on_stale_index' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/thinking- >>> sphinx-1.3.18/lib/thinking_sphinx/search.rb:264:in `populate' >>> /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/thinking- >>> sphinx-1.3.18/lib/thinking_sphinx/search.rb:118:in `method_missing' >>> /opt/staging.jazzdesk.com/jazzdesk/releases/20100730143155/app/views/ >>> tickets/_tickets.html.erb:3:in >>> `_run_erb_app47views47tickets47_tickets46html46erb_locals_object_scope_tick >>> ets' >>> /opt/url_path/app/views/tickets/index.html.erb:13:in >>> `_run_erb_app47views47tickets47index46html46erb' >>> /opt/url_path/app/controllers/tickets_controller.rb:30:in `index' >> >>> (I hidden the url path for this log ) >> >>> I've checked all of this: >>> - both app user and deploy user is the same >>> - searchd is running >>> - doing a pgrep searchd, the process id is the same written on pid >>> file >>> - index file and config file is built >>> - this machine only has one sphinx instance >>> - I can run the cmd searchd >>> - On my cap deploy file, I explicity tell to stop ts, update the code >>> and then make a config and start ts >> >>> What I might be missing? >> >>> -- >>> 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. > -- 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.
