Configuring details on a headless server

General support for problems installing or using Deluge
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: COnfiguring details on a headless server

Post by Xi0N »

Code: Select all

[INFO    ] 20:03:52 daemon:129 Deluge daemon 1.2.0
[DEBUG   ] 20:03:52 daemon:130 options: {'profile': False, 'loglevel': 'debug', 'quiet': False, 'ui_interface': None, 'interface': None, 'logfile': '/var/log/deluged.log', 'config': None, 'port': None, 'pidfile': None, 'donot': False}
[DEBUG   ] 20:03:52 daemon:131 args: []
[DEBUG   ] 20:03:55 core:73 Core init..
[DEBUG   ] 20:03:55 component:99 Registered Core with ComponentRegistry..
[INFO    ] 20:03:55 core:77 Starting libtorrent 0.14.8.0 session..
[DEBUG   ] 20:03:55 component:99 Registered EventManager with ComponentRegistry..
[DEBUG   ] 20:03:55 component:99 Registered PreferencesManager with ComponentRegistry..
[DEBUG   ] 20:03:55 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 20:03:55 config:374 Config /home/bigboss/.config/deluge/core.conf version: 1.1 loaded: {'info_sent': 1264809080.143647, 'lsd': True, 'send_info': True, 'move_completed_path': '/home/bigboss/Descargas', 'enc_in_policy': 1, 'queue_new_to_top': False, 'ignore_limits_on_local_network': True, 'rate_limit_ip_overhead': True, 'daemon_port': 58846, 'natpmp': True, 'max_active_limit': 8, 'utpex': True, 'max_active_downloading': 3, 'max_active_seeding': 5, 'allow_remote': True, 'max_half_open_connections': 50, 'download_location': '/home/bigboss/.TempTorrent', 'compact_allocation': False, 'max_upload_speed': -1.0, 'cache_expiry': 60, 'prioritize_first_last_pieces': False, 'auto_managed': True, 'enc_level': 2, 'max_connections_per_second': 20, 'dont_count_slow_torrents': True, 'random_outgoing_ports': True, 'max_upload_slots_per_torrent': -1, 'new_release_check': True, 'enc_out_policy': 1, 'max_upload_slots_global': 4, 'seed_time_limit': 180, 'cache_size': 512, 'share_ratio_limit': 2.0, 'max_download_speed': -1.0, 'geoip_db_location': '/usr/share/GeoIP/GeoIP.dat', 'torrentfiles_location': '/home/bigboss/.torrent', 'stop_seed_at_ratio': False, 'peer_tos': '0x00', 'listen_interface': 'eth0', 'upnp': True, 'max_download_speed_per_torrent': -1, 'outgoing_ports': [0, 0], 'enabled_plugins': [], 'random_port': False, 'autoadd_enable': True, 'max_connections_global': 200, 'enc_prefer_rc4': True, 'listen_ports': [63281, 63381], 'dht': True, 'stop_seed_ratio': 2.0, 'seed_time_ratio_limit': 7.0, 'max_upload_speed_per_torrent': -1, 'copy_torrent_file': True, 'move_completed': True, 'proxies': {'peer': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'web_seed': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'tracker': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}, 'dht': {'username': '', 'password': '', 'type': 0, 'hostname': '', 'port': 8080}}, 'add_paused': False, 'max_connections_per_torrent': -1, 'remove_seed_at_ratio': False, 'autoadd_location': '/home/bigboss/.addtorrent', 'plugins_location': '/home/bigboss/.config/deluge/plugins'}
[DEBUG   ] 20:03:55 alertmanager:53 AlertManager initialized..
[DEBUG   ] 20:03:55 component:99 Registered AlertManager with ComponentRegistry..
[DEBUG   ] 20:03:55 component:99 Registered CorePluginManager with ComponentRegistry..
[DEBUG   ] 20:03:55 pluginmanagerbase:65 Plugin manager init..
[DEBUG   ] 20:03:55 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 20:03:55 component:99 Registered TorrentManager with ComponentRegistry..
[DEBUG   ] 20:03:55 torrentmanager:127 TorrentManager init..
[DEBUG   ] 20:03:55 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 20:03:55 config:287 Registering function for max_connections_per_torrent key..
[DEBUG   ] 20:03:55 torrentmanager:753 max_connections_per_torrent set to -1..
[DEBUG   ] 20:03:55 config:287 Registering function for max_upload_slots_per_torrent key..
[DEBUG   ] 20:03:55 torrentmanager:759 max_upload_slots_per_torrent set to -1..
[DEBUG   ] 20:03:55 config:287 Registering function for max_upload_speed_per_torrent key..
[DEBUG   ] 20:03:55 torrentmanager:764 max_upload_speed_per_torrent set to -1..
[DEBUG   ] 20:03:55 config:287 Registering function for max_download_speed_per_torrent key..
[DEBUG   ] 20:03:55 torrentmanager:769 max_download_speed_per_torrent set to -1..
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert torrent_finished_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert torrent_paused_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert torrent_checked_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert tracker_reply_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert tracker_announce_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert tracker_warning_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert tracker_error_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert storage_moved_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert torrent_resumed_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert state_changed_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert save_resume_data_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert save_resume_data_failed_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert file_renamed_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert metadata_received_alert
[DEBUG   ] 20:03:55 alertmanager:88 Registered handler for alert file_error_alert
[DEBUG   ] 20:03:55 component:99 Registered FilterManager with ComponentRegistry..
[DEBUG   ] 20:03:55 filtermanager:105 FilterManager init..
[DEBUG   ] 20:03:55 component:99 Registered AutoAdd with ComponentRegistry..
[DEBUG   ] 20:03:55 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 20:03:55 config:287 Registering function for autoadd_enable key..
[DEBUG   ] 20:03:55 autoadd:120 _on_autoadd_enable
[DEBUG   ] 20:03:55 config:287 Registering function for autoadd_location key..
[DEBUG   ] 20:03:55 autoadd:127 _on_autoadd_location
[DEBUG   ] 20:03:55 component:99 Registered AuthManager with ComponentRegistry..
[DEBUG   ] 20:03:55 configmanager:111 Getting config 'core.conf'
[DEBUG   ] 20:03:55 component:99 Registered RPCServer with ComponentRegistry..
[INFO    ] 20:03:55 rpcserver:347 Starting DelugeRPC server :58846
[INFO    ] 20:03:55 rpcserver:355 Daemon already running or port not available..
[ERROR   ] 20:03:55 rpcserver:356 Couldn't listen on any:58846: (98, 'Address already in use').


I enabled debug level logging, and this is what i get.......
Any ideas?


BTW: When i check the port, it says "Reason: Connection refused"
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: Configuring details on a headless server

Post by Xi0N »

Sorry for the double post, Im still in the very same situation, and i dont know what to do next for checking why deluge is not receiving any connections........
Please, any dev has any idea of what can i do?

Thanks
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Configuring details on a headless server

Post by andar »

It's saying the address is already in use... Do you have another daemon running? Do you have localhost defined in your /etc/hosts file? Have you done a netstat to determine if something else is bound to that port?
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: Configuring details on a headless server

Post by Xi0N »

/etc/hosts looks like this:
27.0.0.1 localhost
192.168.1.100 OuterHeaven

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
There is only one deluged running at a time....

In network configuration, in deluge, i unchecked the "Use random ports" checkbox under incoming ports, and i determined to use from port 63281 to port 63381.
The outgoing ports, i have them so the program will choose them randomly

I did netstat | grep 63281 , and no program is using this port............ and i am seeding a torrent just now....

In the interface field, i specifyed the interface of the headless server "eth0"
Then, i unchecked the UPnP option, all others under "Network extras" are checked.

What i still keep asking myself is why the active port is being reported to be "0"............
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Configuring details on a headless server

Post by johnnyg »

Xi0N wrote:/etc/hosts looks like this:
27.0.0.1 localhost
Is that what's really in your hosts file or did you make a typo?

If it's the former, it should be

Code: Select all

127.0.0.1 localhost
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: Configuring details on a headless server

Post by Xi0N »

I double checked my server for multiple instances and this is what i found:

Image

Processess 2132, 2135 and 2136 seem to be the very same deluge daemon........... so, i think, deluge is being ran in multiple instances, and hence, this could be the problem......

I am using the init script described here: http://dev.deluge-torrent.org/wiki/User ... InitScript , just modifyed a bit for changing the default webui port and for having debugging enabled........


@ johnnyg : Typo, sorry man, its actually 127.0.0.1 ;)
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: Configuring details on a headless server

Post by Xi0N »

I think, some messed up configuration, caused for some installs and uninstalls and testing during the last monthes, is what is making this problems to happen...
I will probably switch back to ubuntu server for this machine, which i only use for p2p purposes, and then, start from a fresh install....

Mixing ubuntu repos with debian's stable and unstable packages was not the best idea....
Xi0N
Leecher
Leecher
Posts: 56
Joined: Mon Oct 06, 2008 7:23 am

Re: Configuring details on a headless server

Post by Xi0N »

As I supposed: A fresh new ubuntu server install is what i needed......

now everything is perfect. Upnp us working like a charm: No more port forwarding setup for webui, daemon or comunication ports...

Incoming connections all green:

Thanks!!!!!!!

This new version is awesome!!
Post Reply