ok ocelot works now, found mistake, but on website another error
Connecting to Sphinx server 5.xxx.xxx.xxx:9306 Could not connect to Sphinx server 5.xxx.xxx.xxx:9306. (2003: Can't connect to MySQL server on '5.xxx.xxx.xxx' (111)) in config i have same info , this is strange fix one, broke another |
you didn't read the install tutorial at all..
there are some Notes there that need taken into consideration. Quote:
|
why you think i ignore this?
of course i have all edited sphinx.conf // Sphinx details define('SPHINX_HOST', '5.xxx.xxx.xxx'); define('SPHINX_PORT', 9312); define('SPHINXQL_HOST', '5.xxx.xxx.xxx'); define('SPHINXQL_PORT', 9306); define('SPHINXQL_SOCK', false); define('SPHINX_MAX_MATCHES', 1000); // Must be <= the server's max_matches variable (default 1000) define('SPHINX_INDEX', 'torrents'); source connect { type = mysql sql_host = 5.xxx.xxx.xxx sql_port = 3306 sql_sock = /var/run/mysqld/mysqld.sock sql_user = root sql_pass = mareccmm sql_db = gazelle } when i try sudo indexer -c /etc/sphinxsearch/sphinx.conf --all it wrote me FATAL: failed to lock /var/lib/sphinx/torrents.spl: Resource temporarily unavailable, will not index. Try --rotate option. when i try rotate, it wrote Code:
using config file '/etc/sphinxsearch/sphinx.conf'... |
where is sphinx.conf ? in www or in etc/sphinxsearch ? did u checked the gazelle config file for the sphinx part ? needs to be the same.
|
this is gazelle
// Sphinx details define('SPHINX_HOST', '5.xxx.xxx.xxx'); define('SPHINX_PORT', 9312); define('SPHINXQL_HOST', '5.xxx.xxx.xxx'); define('SPHINXQL_PORT', 9306); define('SPHINXQL_SOCK', false); define('SPHINX_MAX_MATCHES', 1000); // Must be <= the server's max_matches variable (default 1000) define('SPHINX_INDEX', 'torrents'); this is sphinx from www source connect { type = mysql sql_host = 5.xxx.xxx.xxx sql_port = 3306 sql_sock = /var/run/mysqld/mysqld.sock sql_user = root sql_pass = pass sql_db = gazelle } this is sql define('SQLHOST', '5.xxx.xxx.xxx'); //The MySQL host ip/fqdn define('SQLLOGIN', 'root');//The MySQL login define('SQLPASS', 'pass'); //The MySQL password define('SQLDB', 'gazelle'); //The MySQL database to use define('SQLPORT', 3306); //The MySQL port to connect on define('SQLSOCK', '/var/run/mysqld/mysqld.sock'); |
sphinx needs also to be in etc/sphinxsearch.
i've told you to read the tutorial from top to bottom. what do you think sudo cp /var/www/sphinx.conf /etc/sphinxsearch/ this does ? edit you files properly!:wallbash: install mc and edit the files easier sudo apt-get install mc mc(to activate it) if not, use: sudo nano /etc/sphinxsearch/sphinx.conf (the file should be here) |
i have it both and edited
/var/www/sphinx.conf /etc/sphinxsearch/sphinx.conf ah never mind, i try reinstall it and try again |
and you'll eventually get to the same problems. :) if you don't listen the advices.:coffee:
|
got it ... in config gazelle i must have host localhost and 127.0.0.1, cant have normal IP
but when i upload something No connection could be made because the target machine actively refused it. sphinx work, ocelot running, so where can be problem? ocelot Connected to MySQL Clearing xbt_files_users and resetting peer counts...done Loaded 0 clients into the whitelist Assuming no whitelist desired, disabling Loaded 2 users Loaded 4 torrents Bind failed 98 Sockets up, starting event loop! Schedule run #0 - open: 0, opened: 0, speed: 0/s Schedule run #20 - open: 0, opened: 0, speed: 0/s Schedule run #40 - open: 0, opened: 0, speed: 0/s When i try add whitelist client in administration, i add my name and it show me in white page and thats all Array ( [action] => whitelist_alter [auth] => v2erv0w5zhca65o0t0q9dkqm9gs7ikae [client] => Reitak [peer_id] => ) Bump: is there anyone who can install gazelle on my system ubuntu / debian for 10eur? thank you |
So this is really happening. People with no idea of linux, programming, and learning installing gazelle. I have faced such ridiculous people. Damn...
Anyway you do not add your name to the client whitelist, its peerid of torrent client. And congrats that you managed to run ocelot. |
All times are GMT +2. The time now is 15:03. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.