Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Gazelle
Reply
  #11  
Old 6th February 2015, 15:59
Reitak Reitak is offline
Senior Member
 
Join Date: Feb 2015
Posts: 25
Default
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
Reply With Quote
  #12  
Old 6th February 2015, 16:08
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
you didn't read the install tutorial at all..
there are some Notes there that need taken into consideration.

Quote:
sudo cp /var/www/sphinx.conf /etc/sphinxsearch/
sudo nano /etc/sphinxsearch/sphinx.conf
sudo mkdir /var/lib/sphinx
sudo mkdir /var/log/searchd
sudo indexer -c /etc/sphinxsearch/sphinx.conf --all
Note: Make sure you update the MySQL details in sphinx.conf
no more help until you read the damn thing from top to bottom.
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #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
  #14  
Old 6th February 2015, 18:19
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
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:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #15  
Old 6th February 2015, 18:42
Reitak Reitak is offline
Senior Member
 
Join Date: Feb 2015
Posts: 25
Default
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');
Reply With Quote
  #16  
Old 6th February 2015, 18:43
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
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:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #17  
Old 6th February 2015, 21:45
Reitak Reitak is offline
Senior Member
 
Join Date: Feb 2015
Posts: 25
Default
i have it both and edited

/var/www/sphinx.conf
/etc/sphinxsearch/sphinx.conf

ah never mind, i try reinstall it and try again
Reply With Quote
  #18  
Old 6th February 2015, 22:33
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
and you'll eventually get to the same problems. :) if you don't listen the advices.
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #19  
Old 8th February 2015, 16:26
Reitak Reitak is offline
Senior Member
 
Join Date: Feb 2015
Posts: 25
Default
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.
Reply With Quote
  #20  
Old 18th March 2015, 07:25
Generator Generator is offline
Senior Member
 
Join Date: Aug 2013
India
Posts: 17
Default
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.
Reply With Quote
Reply

Tags
connect

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 02:12. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.