Sphinx port issue?



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

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?

address =
port = 3312
log =
query_log =
read_timeout = 5
max_children = 30
pid_file =
max_matches = 1000