|
#11
|
|||
|
|||
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 |
#12
|
|||
|
|||
you didn't read the install tutorial at all..
there are some Notes there that need taken into consideration. Quote:
__________________
Need HELP!? I can install:
|
#13
|
|||
|
|||
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'... indexing index 'torrents'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.027 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta'... collected 3 docs, 0.0 MB sorted 0.0 Mhits, 100.0% done total 3 docs, 229 bytes total 0.000 sec, 241306 bytes/sec, 3161.22 docs/sec indexing index 'requests'... collected 0 docs, 0.0 MB collected 0 attr values sorted 0.0 Mvalues, 100.0% done total 0 docs, 0 bytes total 0.005 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'requests_delta'... collected 0 docs, 0.0 MB collected 0 attr values sorted 0.0 Mvalues, 100.0% done total 0 docs, 0 bytes total 0.000 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'log'... collected 3 docs, 0.0 MB sorted 0.0 Mhits, 100.0% done total 3 docs, 159 bytes total 0.001 sec, 86272 bytes/sec, 1627.78 docs/sec indexing index 'log_delta'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.000 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'better_transcode'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.001 sec, 0 bytes/sec, 0.00 docs/sec total 11 reads, 0.000 sec, 0.2 kb/call avg, 0.0 msec/call avg total 44 writes, 0.000 sec, 7.8 kb/call avg, 0.0 msec/call avg rotating indices: succesfully sent SIGHUP to searchd (pid=18267). |
#14
|
|||
|
|||
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.
__________________
Need HELP!? I can install:
|
#15
|
|||
|
|||
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'); |
#16
|
|||
|
|||
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! 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)
__________________
Need HELP!? I can install:
|
#17
|
|||
|
|||
i have it both and edited
/var/www/sphinx.conf /etc/sphinxsearch/sphinx.conf ah never mind, i try reinstall it and try again |
#18
|
|||
|
|||
and you'll eventually get to the same problems. :) if you don't listen the advices.
__________________
Need HELP!? I can install:
|
#19
|
|||
|
|||
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 Last edited by Reitak; 8th February 2015 at 20:06. |
#20
|
|||
|
|||
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. |
Tags |
connect |
|
|