Hi guys, I've had Sphinx and Thinking Sphinx on my production site for
a few days now and was just alerted to some issues when deleting
records.  I think this is probably a simple permissions issue as
indicated below but I can't seem to find much information on what
should be set.  Can anyone tell me if they have seen this before and
how the permissions were resolved?  Also are there other permissions
settings that should be set now before they crop up in production?

Processing ClassifiedController#delete (for 89.48.159.036 at
2010-01-03 03:29:38) [GET]
  Parameters: {"id"=>"64"}

Errno::EACCES (Permission denied - /home/web/public_html/sitefiles/log/
searchd.production.pid):
  /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/
thinking_sphinx.rb:201:in `read'
  /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/
thinking_sphinx.rb:201:in `sphinx_pid'
  /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/
thinking_sphinx.rb:196:in `sphinx_running_by_pid?'
  /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/
thinking_sphinx.rb:189:in `sphinx_running?'
  /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/
thinking_sphinx/active_record.rb:248:in `delete_in_index'
  /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/
thinking_sphinx/active_record.rb:338:in `toggle_deleted'
  /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/
thinking_sphinx/active_record.rb:337:in `each'
  /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.14/lib/
thinking_sphinx/active_record.rb:337:in `toggle_deleted'
  app/controllers/classified_controller.rb:612:in `delete'
  passenger (2.2.7) lib/phusion_passenger/rack/request_handler.rb:
95:in `process_request'
  passenger (2.2.7) lib/phusion_passenger/abstract_request_handler.rb:
207:in `main_loop'
  passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:
374:in `start_request_handler'
  passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:
332:in `handle_spawn_application'
  passenger (2.2.7) lib/phusion_passenger/utils.rb:184:in `safe_fork'
  passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:
330:in `handle_spawn_application'
  passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in
`__send__'
  passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in
`main_loop'
  passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:196:in
`start_synchronously'
  passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:163:in
`start'
  passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:
209:in `start'
  passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:262:in
`spawn_rails_application'
  passenger (2.2.7) lib/phusion_passenger/
abstract_server_collection.rb:126:in `lookup_or_add'
  passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:256:in
`spawn_rails_application'
  passenger (2.2.7) lib/phusion_passenger/
abstract_server_collection.rb:80:in `synchronize'
  passenger (2.2.7) lib/phusion_passenger/
abstract_server_collection.rb:79:in `synchronize'
  passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:255:in
`spawn_rails_application'
  passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:154:in
`spawn_application'
  passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:287:in
`handle_spawn_application'
  passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in
`__send__'
  passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in
`main_loop'
  passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:196:in
`start_synchronously'

Rendering /home/web/public_html/sitefiles/public/500.html (500
Internal Server Error)

--

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