K
kenny
Гость
из моего коммента берем скрипт
mysql_host = localhost
mysql_database = ktdb
mysql_user = root
mysql_password = root
auto_register = 0
anonymous_announce = 0
anonymous_scrape = 0
anonymous_connect = 0
full_scrape = 0
listen_check = 0
gzip_debug = 0
gzip_scrape = 1
full_scrape = 0
announce_interval = 700
clean_up_interval = 60
read_config_interval = 60
read_db_interval = 150
scrape_interval = 0
write_db_interval = 3
read_files_interval = 2
table_files = bb_bt_torrents
table_users = bb_bt_users
table_files_users = bb_bt_tracker
column_files_completed = complete_count
column_files_fid = topic_id
column_users_uid = user_id
column_users_can_leech = case when bt.u_down_total>5368709120 and (bt.u_up_total+bt.u_up_bonus)<bt.u_down_total*0.3 then 0 else 1 end
column_users_torrents_limit = case when bt.u_up_total>greatest(5368709120,bt.u_down_total) then 0 when bt.u_up_total>5368709120 and bt.u_down_total>0 then floor((bt.u_up_total+bt.u_up_bonus)/0.3/bt.u_down_total)+1 when (bt.u_up_total+bt.u_up_bonus)>bt.u_down_total then 3 else 2 end
column_files_dl_percent = (select case tor.tor_type when 1 then 0 when 2 then 50 else 100 end from bb_bt_torrents tor where tor.topic_id=bt.topic_id) as dl_percent
log_announce = 0
gdc = 1
debug = 0
#free_leech = 0
log_access = 0
redirect_url = http://site.site/
trust_ipv6 = 1
pid_file = xbt_tracker.pid
create table if not exists xbt_files
(
fid int not null auto_increment,
info_hash binary(20) not null,
leechers int not null default 0,
seeders int not null default 0,
completed int not null default 0,
flags int not null default 0,
mtime int not null,
ctime int not null,
primary key (fid),
unique key (info_hash)
);
CREATE TABLE IF NOT EXISTS `bb_bt_torrents` (
`info_hash` varbinary(20) NOT NULL,
`post_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`poster_id` mediumint(9) NOT NULL DEFAULT '0',
`topic_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`forum_id` smallint(5) unsigned NOT NULL DEFAULT '0',
`attach_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`size` bigint(20) unsigned NOT NULL DEFAULT '0',
`reg_time` int(11) NOT NULL DEFAULT '0',
`call_seed_time` int(11) NOT NULL DEFAULT '0',
`complete_count` mediumint(8) unsigned NOT NULL DEFAULT '0',
`seeder_last_seen` int(11) NOT NULL DEFAULT '0',
`tor_status` tinyint(4) NOT NULL DEFAULT '0',
`checked_user_id` mediumint(8) NOT NULL DEFAULT '0',
`checked_time` int(11) NOT NULL DEFAULT '0',
`tor_type` tinyint(1) NOT NULL DEFAULT '0',
`speed_up` int(11) NOT NULL,
`speed_down` int(11) NOT NULL,
PRIMARY KEY (`info_hash`),
UNIQUE KEY `post_id` (`post_id`),
UNIQUE KEY `topic_id` (`topic_id`),
UNIQUE KEY `attach_id` (`attach_id`),
KEY `reg_time` (`reg_time`),
KEY `forum_id` (`forum_id`),
KEY `poster_id` (`poster_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ну да, а чом йому не работатьНикто не может ответить?
TorrentPier_II_R400 совместим с хоботом?
ну да, а чом йому не работать
без коментариев.ы: если бы проблема была с правами или с руками, после очистки от переноса xbt компилиться бы не стал
root@debian:~/torrentpier2-read-only/install/xbt/linux/Tracker# dpkg --get-selections |grep php
libapache2-mod-php5 install
php-pear install
php5 install
php5-apc deinstall
php5-cli install
php5-common install
php5-geoip install
php5-memcache install
php5-mysql install
php5-suhosin install