Page 1 of 1

Sphinx Error - connecting to local host

Posted: 11 Jan 2009, 06:16
by zoomiest
A couple of questions:

1) I am having a problem with my Sphinx. After installing Sphinx_for_Cats on a Ubuntu server 8.10, and trying to search resumes, I get:

A fatal error has occurred.
Sphinx Error: Connection to localhost:3312 failed.

Has anyone got this before?

2) I also went and installed the latest version of Sphinx from http://www.sphinxsearch.com and was trying to goof around with the sphinx.conf file to see if I could make it work. It seems like now cats is trying to use the new install, instead of the sphinx_for_cats...

Has anyone had any success in getting the latest version of Sphinx working?

Re: Sphinx Error - connecting to local host

Posted: 11 Jan 2009, 17:49
by RussH
Hiya,

if you're seeing connection failures to the sphinx service - just check if it's running first.

Not sure of the location of the binary - but probably
Code: Select all
myprompt> /etc/init.d/searchd status
You might want to check your firewall to ensure that you have that port open.

Finally - if you're playing with the config files themselves, you may want to check out the IBM Developerworks article on Sphinx;

http://www.ibm.com/developerworks/libra ... inxsearch/

...which explains some of the basic principles of Sphinx, and the syntax around getting it to work (in a sandbox environment of course)

Re: Sphinx Error - connecting to local host

Posted: 15 Jan 2009, 04:51
by zoomiest
Russ,

Just getting Sphinx to run on its own has been a challenge. I haven't been successful in getting it to run - unless I ran the install program again... so I have just left it up.

My question:
in a previous post http://www.opencats.org/forums/viewtopi ... phands#p36 you referenced this article... http://www.notsofaqs.com/catsdoc/doku.p ... nx:install

Has anyone used this tutorial for a ubuntu box? Helphand references its success on a SUSE box...
Since I have installed sphinx_for_cats, how much of that is already covered? ... cron jobs, etc...

At this point, I just have to get it to load on boot. (reading up on that now)...

Re: Sphinx Error - connecting to local host

Posted: 18 Apr 2009, 01:21
by RussH
Hiya Allan,

just installed version 0.9.8.1 - which is the latest stable version apparently. All seemed to go fine. Need any pointers?