Cant connect
Hi, after many hours i installed gazelle on ubuntu 12.04, site works fine, but when i want upload something, client wrote me this
It was impossible to establish any connection , because the target machine actively refused it . and on site of course seed 0. what to do? thanks |
configure ocelot properly.. obviously you didn't.. or ocelot is not even running.
|
Code:
./configure --with-mysql-lib=/usr/lib/x86_64-linux-gnu/ after sudo make install - no rule to make target install. stop and Code:
To start Ocelot, open a screen by typing screen, and then start Ocelot by typing ocelot. this i have 2242 pts/1 T 0:00 vi /root/ocelot-0.8/worker.h 4708 pts/9 S+ 0:00 grep --color=auto ocelot |
did you make sure that the ports are the same in the configuration ?
for both ocelot and gazelle. :) Quote:
install htop and see what processes are working. |
yes, port same on config gazellle and on ocelot
this is when i run this Code:
./configure --with-mysql-lib=/usr/lib/x86_64-linux-gnu/ Code:
http://s9.postimg.org/bixwauq2n/Bez_n_zvu.png this is htop screen Code:
http://s30.postimg.org/oga0b5xht/Bez_n_zvu.png |
it clearly states that it can't find the library. and i assume you are using a i386 system and not amd64.
that's why you need to alter the install tutorial for your environment. i've once had this problem on a server. Quote:
or better.. navigate to your /usr/lib/ directory and see if you have that there. its pretty basic. |
great, its work, now i can make and sudo make install
but when i wrote screen and ocelot, it show libboost_iostreams.so.1.55.0: cannot open shared object file: No such file or directory i see this on guide, but dont understand what to do Code:
Ocelot error messages. EDIT : i instaled from source libbooost and now when wrote ocelot it show me failed to connect to mysql , but IP and port have same on config gazelle and on ocelot cfg |
just install all the libboost
sudo apt-get install libboost* it will install a lot of libraries. many you wont need, but it is good to have them make sure the mysql variables are properly edited.. and the mysqld.sock is there. |
all i have, libboost installed, cfg gazelle, ocelot same parameters and in config have mysqld and it wrote
i instaled libbooost and now when wrote ocelot it show me failed to connect to mysql , but IP and port have same on config gazelle and on ocelot cfg |
what about name, password, database ?
|
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. |
Quote:
|
Quote:
|
Np:)
|
All times are GMT +2. The time now is 08:25. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.