Bug#395068: mldonkey-server: DNS resolution problem
Subject: mldonkey-server: DNS resolution problem
Package: mldonkey-server
Version: 2.8.1-1
Severity: important
*** Please type your report below this line ***
The program tries to lookup (resolving) www.mldonkey.net and fails
because the site doesn't exist. mldonkey-server explains itself:
---
Oct 24 19:45:27 gateway mldonkey_server: Set niceness of the process: 0
Oct 24 19:45:27 gateway mldonkey_server: Set uid/gid of the process
(105, 1001)
Oct 24 19:45:27 gateway mldonkey_server: Set umask of the process: 18
Oct 24 19:45:27 gateway mldonkey_server: Chdir to home dir: /
Oct 24 19:45:27 gateway mldonkey_server: Fork the process
Oct 24 19:45:27 gateway mldonkey_server: Reset the group leader
Oct 24 19:45:27 gateway mldonkey_server: Fork a second time the process
Oct 24 19:45:27 gateway mldonkey_server: Close standard IO
Oct 24 19:45:27 gateway mldonkey_server: Process is running in the
background
Oct 24 19:45:27 gateway mldonkey_server: Writing PID (3945) to pidfile:
/var/run/mldonkey/mlnet.pid
Oct 24 19:45:27 gateway mldonkey_server: Launching MLnet process
Oct 24 19:45:28 gateway mldonkey_server: Launching MLnet stderr logger
Oct 24 19:45:28 gateway mldonkey_server: Launching MLnet stdout logger
Oct 24 19:45:29 gateway mlnet_error: 2006/10/24 19:45:29 [cO] Starting
MLDonkey 2.8.1 ...
Oct 24 19:45:29 gateway mlnet_error: 2006/10/24 19:45:29 [cO] Language
EN, locale ANSI_X3.4-1968, ulimit for open files 1024
Oct 24 19:45:29 gateway mlnet_error: 2006/10/24 19:45:29 [cO] MLDonkey
is working in .
Oct 24 19:45:29 gateway mlnet_error: 2006/10/24 19:45:29 Loading
language resource /var/lib/mldonkey/mlnet_strings.EN_ANSI_X3.4-1968
Oct 24 19:45:29 gateway mlnet_error: 2006/10/24 19:45:29 [cO] loaded
language resource file
Oct 24 19:45:29 gateway mlnet_error: 2006/10/24 19:45:29 [DNS]
Resolving
[gateway] ...
Oct 24 19:45:29 gateway mlnet_error: 2006/10/24 19:45:29 [DNS]
Resolving
[www.mldonkey.net] ...
Oct 24 19:45:30 gateway mlnet_error:
Oct 24 19:45:30 gateway mlnet_error: DNS resolution does not work!
Looking up www.mldonkey.net failed with Not_found.
Oct 24 19:45:30 gateway mlnet_error: The core therefore is unable to
get
eDonkey serverlists and loading
Oct 24 19:45:30 gateway mlnet_error: .torrent files via dllink from
websites is also impossible.
Oct 24 19:45:30 gateway mlnet_error: If you are using MLDonkey in a
chroot environment you should
Oct 24 19:45:30 gateway mlnet_error: consider reading this article to
get DNS support back:
Oct 24 19:45:30 gateway mlnet_error:
http://mldonkey.sourceforge.net/Chroot
Oct 24 19:45:30 gateway mlnet_error:
Oct 24 19:45:30 gateway mlnet_error: 2006/10/24 19:45:30 [cO] Logging
in
./mlnet.log
Oct 24 19:45:32 gateway mlnet_error: 2006/10/24 19:45:32 [dMain] Core
started
---
Resolving any other address does work so it is not a config problem on
this box.
I did '/etc/init.d/mldonkey-server restart' but it didn't help, a
reconfigure of the package doesn't help either.
Furthermore it seems that the home dir is wrong. It seems to change
to /
instead of /var/lib/mldonkey/
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages mldonkey-server depends on:
ii adduser 3.97 Add and remove users and
groups
ii debconf [debconf-2.0] 1.5.6 Debian configuration
management sy
ii dpkg 1.13.22 package maintenance system
for Deb
ii libbz2-1.0 1.0.3-6 high-quality block-sorting
file co
ii libc6 2.3.6.ds1-4 GNU C Library: Shared
libraries
ii libgcc1 1:4.1.1-13 GCC support library
ii libgd2-noxpm 2.0.33-5.1 GD Graphics Library version
2 (wit
ii libpng12-0 1.2.8rel-5.2 PNG library - runtime
ii libstdc++6 4.1.1-13 The GNU Standard C++
Library v3
ii mime-support 3.37-1 MIME files 'mime.types' &
'mailcap
ii ucf 2.0015 Update Configuration File:
preserv
ii zlib1g 1:1.2.3-13 compression library -
runtime
mldonkey-server recommends no packages.
-- debconf information:
* mldonkey-server/password: (password omitted)
* mldonkey-server/repassword: (password omitted)
* mldonkey-server/max_hard_download_rate: 0
* mldonkey-server/launch_at_startup: true
* mldonkey-server/max_alive: 168
* mldonkey-server/run_as_user: mldonkey
mldonkey-server/reown_file: false
* mldonkey-server/mldonkey_group: mldonkey
* mldonkey-server/mldonkey_niceness: 0
mldonkey-server/false_password:
mldonkey-server/fasttrack_problem:
* mldonkey-server/mldonkey_dir: /var/lib/mldonkey
mldonkey-server/mldonkey_move: false
* mldonkey-server/max_hard_upload_rate: 10
Reply to: