在 CentOS 6.10 上无法连接到 Daemon Deluge
Posted
技术标签:
【中文标题】在 CentOS 6.10 上无法连接到 Daemon Deluge【英文标题】:Can't connect to Daemon Deluge on CentOS 6.10 【发布时间】:2019-05-20 19:02:33 【问题描述】:我想从 webui 连接到 Deluge 守护程序,但它根本不起作用。
我的 deluge 安装脚本
#!/bin/bash
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
yum install deluge -y
/etc/init.d/deluge-daemon start
这是连接请求:
我得到的回应:
我检查了 ps aux | grep deluge
是否一切正常
我在 CentOS 6.10 上运行它
core.conf
"file": 1,
"format": 1
"info_sent": 0.0,
"lsd": true,
"max_download_speed": -1.0,
"send_info": false,
"natpmp": true,
"move_completed_path": "/home/mat5",
"peer_tos": "0x00",
"enc_in_policy": 1,
"queue_new_to_top": false,
"ignore_limits_on_local_network": true,
"rate_limit_ip_overhead": true,
"daemon_port": 8159,
"torrentfiles_location": "/home/mat5",
"max_active_limit": 8,
"geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",
"upnp": true,
"utpex": true,
"max_active_downloading": 3,
"max_active_seeding": 5,
"allow_remote": true,
"outgoing_ports": [
0,
0
],
"enabled_plugins": [],
"max_half_open_connections": 50,
"download_location": "/home/mat5",
"compact_allocation": false,
"max_upload_speed": -1.0,
"plugins_location": "/home/mat5/.config/deluge/plugins",
"max_connections_global": 200,
"enc_prefer_rc4": true,
"cache_expiry": 60,
"dht": true,
"stop_seed_at_ratio": false,
"stop_seed_ratio": 2.0,
"max_download_speed_per_torrent": -1,
"prioritize_first_last_pieces": false,
"max_upload_speed_per_torrent": -1,
"auto_managed": true,
"enc_level": 2,
"copy_torrent_file": false,
"max_connections_per_second": 20,
"listen_ports": [
6881,
6891
],
"max_connections_per_torrent": -1,
"del_copy_torrent_file": false,
"move_completed": false,
"autoadd_enable": false,
"proxies":
"peer":
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
,
"web_seed":
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
,
"tracker":
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
,
"dht":
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
,
"dont_count_slow_torrents": false,
"add_paused": false,
"random_outgoing_ports": true,
"max_upload_slots_per_torrent": -1,
"new_release_check": true,
"enc_out_policy": 1,
"seed_time_ratio_limit": 7.0,
"remove_seed_at_ratio": false,
"autoadd_location": "/home/mat5",
"max_upload_slots_global": 4,
"seed_time_limit": 180,
"cache_size": 512,
"share_ratio_limit": 2.0,
"random_port": true,
"listen_interface": ""
web.conf
"file": 1,
"format": 1
"port": 8158,
"enabled_plugins": [],
"pwd_sha1": "d3cce2b30bb5d399ae9be6beddb77c0b1c4p9592",
"theme": "gray",
"show_sidebar": true,
"sidebar_show_zero": false,
"pkey": "ssl/daemon.pkey",
"https": false,
"sessions":
"8e81ab960021n960f816ea338f437d61":
"login": "admin",
"expires": 1545299166.0,
"level": 10
,
"base": "/",
"pwd_salt": "065e6352c19536326d24c361m1448535e7046a7d",
"show_session_speed": false,
"first_login": false,
"cert": "ssl/daemon.cert",
"session_timeout": 3600,
"default_daemon": 8159,
"sidebar_multiple_filters": true
我在 CentOS 7 上测试了相同的配置,并且运行良好。我也尝试通过 deluge 控制台连接到守护程序,但没有在线守护程序。
我在官方论坛上发现了一个类似的问题:https://forum.deluge-torrent.org/viewtopic.php?t=49589。我想知道是不是因为我使用的是 Python 2.6 版。
【问题讨论】:
【参考方案1】:解决方案是使用旧版本的 Deluge。 CentOS 6.10 支持的最后一个版本是deluge-1.3.10-1
。
这是 Deluge 的更新安装脚本:
#!/bin/bash
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
yum install deluge-1.3.10-1.el6.nux -y
yum install python-requests -y
【讨论】:
以上是关于在 CentOS 6.10 上无法连接到 Daemon Deluge的主要内容,如果未能解决你的问题,请参考以下文章
无法从 MAC 在 VirtualBox 上的 Centos7 上通过 HTTPS 连接到 Apache 服务器
NGinX 无法连接到 CentOS 7 上的 Jenkins
无法将 CentOS 虚拟机连接到 Internet(NAT 连接)
无法从 Windows 和 Linux (CentOS7) 连接到我的远程 MySQL 服务器