Thread: Cant connect
View Single Post
  #13  
Old 6th February 2015, 16:27
Reitak Reitak is offline
Senior Member
 
Join Date: Feb 2015
Posts: 25
Default
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).
but still not connect
Reply With Quote