cd /etc/sphinx; rm * curl -O https://raw.github.com/akissa/baruwa2/2.0.0/extras/config/sphinx/sphinx.conf sed -i -e 's:sql_host =:sql_host = 127.0.0.1:' \ -e 's:sql_user =:sql_user = baruwa:' \ -e 's:sql_pass =:sql_pass = verysecretpw:' \ -e 's:sql_db =:sql_db = baruwa:' sphinx.conf sed -i -e 's:START=no:START=yes:' /etc/default/sphinxsearch sed -i -e 's:/var/log/sphinx:/var/log/sphinxsearch:' \ -e 's:/var/lib/sphinx:/var/lib/sphinxsearch:' sphinx.conf sudo service sphinx search start paster setup-app /etc/baruwa/production.ini indexer --all --rotate
Change your verysecretpw to your pgsql password -- Jeremy McSpadden Flux Labs, Inc | http://www.fluxlabs.net | Endless Solutions Office : 850-250-5590x101 | Cell : 850-890-2543 | Fax : 850-254-2955 On Jan 20, 2013, at 12:48 PM, Jason Poth <[email protected]<mailto:[email protected]>> wrote: I get the following error when running: indexer --all --rotate FATAL: failed to open /var/lib/sphinxsearch/data/test1.tmp.spl: No such file or directory, will not index. Try --rotate option. I noticed that /var/lib/sphinxsearch does not exist Renaming the /var/lib/sphinxsearchsearch to /var/lib/sphinxsearch fixes the issue. Why is it named sphinxsearchsearch ?
_______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

