This definitely suggests that either Solr is not running, or the Solr URL in your local/config/vufind/config.ini file is not correct. Hopefully the notes in my previous email will help track down the problem…. Let me know if you are still stuck!

 

- Demian

 

From: ammar almasry [mailto:mero_s2020@live.com]
Sent: Monday, December 16, 2013 3:44 AM
To: vufind-general@lists.sourceforge.net
Subject: [VuFind-General] vufind can't connect solr

 

I installed Vufind using this 

 

https://vufind.org/wiki/vufind2:installation_ubuntu

vufind can't connect solr

and i have this errors

Exception:

Message: 404 Not Found

Backtrace:

#0 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php(417): VuFindSearch\Backend\Exception\HttpErrorException::createFromResponse(Object(Zend\Http\Response))
#1 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php(382): VuFindSearch\Backend\Solr\Connector->send(Object(Zend\Http\Client))
#2 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php(220): VuFindSearch\Backend\Solr\Connector->query('select', Object(VuFindSearch\ParamBag))
#3 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Backend.php(141): VuFindSearch\Backend\Solr\Connector->search(Object(VuFindSearch\ParamBag))
#4 /usr/local/vufind2/module/VuFindSearch/src/VuFindSearch/Service.php(106): VuFindSearch\Backend\Solr\Backend->search(Object(VuFindSearch\Query\Query), 0, 0, Object(VuFindSearch\ParamBag))
#5 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Solr/Results.php(114): VuFindSearch\Service->search('Solr', Object(VuFindSearch\Query\Query), 0, 0, Object(VuFindSearch\ParamBag))
#6 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(166): VuFind\Search\Solr\Results->performSearch()
#7 /usr/local/vufind2/module/VuFind/src/VuFind/Search/Base/Results.php(277): VuFind\Search\Base\Results->performAndProcessSearch()
#8 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(573): VuFind\Search\Base\Results->getResults()
#9 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(605): VuFind\Controller\SearchController->getFacetResults('initHomePageFac...', 'solrSearchHomeF...')
#10 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/SearchController.php(288): VuFind\Controller\SearchController->getHomePageFacets()
#11 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): VuFind\Controller\SearchController->homeAction()
#12 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#13 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#14 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#16 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/Plugin/Forward.php(138): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#17 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/AbstractBase.php(339): Zend\Mvc\Controller\Plugin\Forward->dispatch('Search', Array)
#18 /usr/local/vufind2/module/VuFind/src/VuFind/Controller/IndexController.php(55): VuFind\Controller\AbstractBase->forwardTo('Search', 'Home')
#19 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): VuFind\Controller\IndexController->homeAction()
#20 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#21 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#22 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#23 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#24 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#25 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#26 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#27 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#28 /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#29 /usr/local/vufind2/public/index.php(59): Zend\Mvc\Application->run()
#30 {main}