Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Gazelle (http://www.bvlist.com/forumdisplay.php?f=40)
-   -   ocelot error access denied (http://www.bvlist.com/showthread.php?t=10024)

perikitodestino 6th September 2014 21:01

ocelot error access denied
 
hi!

I installed gazelle and the page works fine. The tracker (ocelot) seems at first sight that works because people can connect and download, however I get an error that is repeated every second, it gives the error in the console where the process is executed. I have also seen other error in the page not depart torrents seeders and leechers there, but it is in the top 10 category, if this is not related to error ocelot, which is as follows:

Quote:

Query error: Access denied; you need (at least one of) the SUPER privilege(s) for this operation in flush peers with a qlength: 27 queue size: 6
Peer flush queue size: 6
this run from root so it makes no sense that error, I can not think of what happens ... "queue size: 6" increases progressively

can you think of that might be? thank you very much, sorry for my English but I'm using a translator

a greeting

firefly007 6th September 2014 22:41

What guide are you following?

perikitodestino 6th September 2014 22:48

Quote:

Originally Posted by firefly007 (Post 45087)
What guide are you following?

i am following this guide https://github.com/WhatCD/Gazelle/wi...n-Ubuntu-14.04 , i am installing it on ubuntu 14.04

firefly007 6th September 2014 22:53

ok and I asume that you installed in on 14.4 box? and is it a dedi or home box?

Edit: you installed or the libs without a hitch?

perikitodestino 6th September 2014 23:04

Quote:

Originally Posted by firefly007 (Post 45089)
ok and I asume that you installed in on 14.4 box? and is it a dedi or home box?

Edit: you installed or the libs without a hitch?

it's an OVH's vps. theorically it didnt give any problem, first i tried with debian and it gave me some problems when compilating, so i decided to try ubuntu 14.04 and i installed all as the guide says without any error

I can give you more details, i get this error when there are uploaded torrents, if i clean all the torrents and reset ocelot the error stops, but when i upload a torrent the error is there again

thanks for your replys

Bump: this is what tracker info says:

Quote:

Uptime: 0 days, 01:13:04
7 connections opened
1 open connections
0 connections/s
0 successful announcements
4 failed announcements
0 scrapes
0 leechers tracked
0 seeders tracked
1.72 KB read
1.23 KB written
and this is what the console where ocelot is says without any uploaded torrent (if there is something uploaded the first's post error appears)

Quote:

root@xxxxxx:~# LD_LIBRARY_PATH=/usr/local/lib 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 6 users
Loaded 0 torrents
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
(...)
Schedule run #1200 - open: 0, opened: 5, speed: 0/s
Starting peer reaper
Reaped 0 leechers and 0 seeders. Reset 0 torrents
Starting del reason reaper
Reaped 0 del reasons
Schedule run #1220 - open: 0, opened: 5, speed: 0/s

firefly007 6th September 2014 23:57

1)Is the port setting in Ocelot config the same as in config.php?

2) does the keys match?

3)Also have you setup the schedule and its is working correctly

3) Is the port open hey
Code:

sudo iptables -A INPUT -p tcp --dport 2710 -j ACCEPT

perikitodestino 7th September 2014 00:29

Quote:

Originally Posted by firefly007 (Post 45091)
1)Is the port setting in Ocelot config the same as in config.php?

2) does the keys match?

3)Also have you setup the scheudle and its is working correctly

3) Is the port open hey
Code:

sudo iptables -A INPUT -p tcp --dport 2710 -j ACCEPT

the key i put in ocelot's config where it says "site_password" is the one "TRACKER_SECRET" of gazelle, is that right? otherwise i tried typing the "ENCKEY" and it does exactly the same. The port is 2710 in both

scheudle is right, crontab -e has the same scheudle_key than config.php , i have reviewed sphinx and has the correct database name, user and password, i think its all right. There isnt any iptables rule now, its all open

firefly007 7th September 2014 00:41

PM me both config files or paste them here!!

You dont need to worry about Sphinx yet, the problem is with Ocelot and the frontend!

perikitodestino 7th September 2014 01:07

Quote:

Originally Posted by firefly007 (Post 45093)
PM me both config files or paste them here!!

You dont need to worry about Sphinx yet, the problem is with Ocelot and the frontend!

from #gazelle's irc channel in what.cd told me that maybe the mysql user doesnt have the SUPER privilege, i've given all the privileges doing "GRANT ALL PRIVILEGES ON gazelle.* TO gazelle@localhost," and now the torrent seeders appear, but when the torrent uploads i still get that error. If i restart ocelot the error stops, but when another torrent is uploaded the error comes up again

I attach an image http://imgur.com/LBxSJtb

thanks for your patience, you are being very kind thanks!

firefly007 7th September 2014 01:12

Yes I got your Pm and the key is correct.

and possibly that could be the problem, grant all privileges to that user. Also make sure you kill Ocelot totally and start it again.

Code:

kill-9 process number


All times are GMT +2. The time now is 10:08.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.