shah_ankitb Posted February 5, 2010 Share Posted February 5, 2010 Hello Symfonians, I 'm using Symfony & wa't to implement sfSphinxPlugin.But i'm getting this errors [abc@de11 sf_sandbox_1_2]# php plugins/sfSphinxPlugin/data/test.php fourPHP Fatal error: Uncaught exception 'Exception' with message 'Sphinx connection tolocalhost:3312 failed (errno=111, msg=Connection refused)' in/var/www/html/sf_sandbox_1_2/plugins/sfSphinxPlugin/lib/sfSphinxClient.class.php:354Stack trace:#0 /var/www/html/sf_sandbox_1_2/plugins/sfSphinxPlugin/lib/sfSphinxClient.class.php(724):sfSphinxClient->Connect()#1 /var/www/html/sf_sandbox_1_2/plugins/sfSphinxPlugin/lib/sfSphinxClient.class.php(681):sfSphinxClient->RunQueries()#2 /var/www/html/sf_sandbox_1_2/plugins/sfSphinxPlugin/data/test.php(32):sfSphinxClient->Query('four')#3 {main} In browser i got same problem Sphinx connection to localhost:3312 failed (errno=111, msg=Connection refused) thrown in /var/www/html/sf_sandbox_1_2/plugins/sfSphinxPlugin/lib/sfSphinxClient.class.php on line 354 Need ur Help Link to comment Share on other sites More sharing options...
justsomeguy Posted February 5, 2010 Share Posted February 5, 2010 According to the stack trace it looks like it's not able to connect to the database server. Link to comment Share on other sites More sharing options...
shah_ankitb Posted February 6, 2010 Author Share Posted February 6, 2010 Yup. It's looking for 3312 port which is already in listening mode. when u type netstate Link to comment Share on other sites More sharing options...
justsomeguy Posted February 6, 2010 Share Posted February 6, 2010 Correct, it's trying to connect with localhost on port 3312, and the connection is being refused by the server. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.