Forum: Ferret Sphinx port issue?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3945175561ce50958dd5b11fc68aaf39?d=identicon&s=25 Michael Wong (mwong)
on 2008-11-14 10:03
Hi,

I am using thinking sphinx on a shared server. I tried to set up Cron
Job with the following command:

rake thinking_sphinx:stop RAILS_ENV=production;rake
thinking_sphinx:index RAILS_ENV=production;rake thinking_sphinx:start
RAILS_ENV=production

The above command works in development. But it doesn't work in
production when being set up as Cron Job for user account on a shared
server. Interestingly enough, when I try to run the command via putty
session with a designated port, say port 40000, the command works.  Do
you think this is a port issue in searchd Cron?

searchd
{
  address = 127.0.0.1
  port = 3312
  log =
/home/maestrouser/public_html/maestro/releases/20080912202939/log/searchd.log
  query_log =
/home/maestrouser/public_html/maestro/releases/20080912202939/log/searchd.query.log
  read_timeout = 5
  max_children = 30
  pid_file =
/home/maestrouser/public_html/maestro/releases/20080912202939/log/searchd.production.pid
  max_matches = 1000
}
This topic is locked and can not be replied to.