[sisyphus] mldonkey_client работает?
Alexei V. Mezin
=?iso-8859-1?q?alexei=5Fvm_=CE=C1_micmedia=2Eru?=
Сб Окт 27 01:40:42 MSD 2007
[alexei на threebears ~]$ rpm -q mldonkey-client
mldonkey-client-2.9.0-alt0.1
Запускаю сервер, стартует, телнетом доступен. Пробую запустить клиент, и
получаю вот такое:
[alexei на threebears alexei]$ mldonkey_client
2007/10/27 01:35:30 [cO] Starting MLDonkey 2.9.0 ...
2007/10/27 01:35:30 [cO] Language RU, locale CP1251, ulimit for open
files 1024
2007/10/27 01:35:30 [cO] MLDonkey is working in .
2007/10/27 01:35:30 [Gettext] Loading language resource
mlnet_strings.ru_RU.CP1251
2007/10/27 01:35:30 [cO] loaded language resource file
2007/10/27 01:35:30 [cO] ./config_files_space.tmp exists and is locked
by another process.
This means another MLDonkey process could still be working
in this directory. Please shut it down before starting
a new instance here. If you are sure no other process uses
this directory delete config_files_space.tmp and restart the core.
strace говорит следующее (показан кусок вывода):
...
uname({sys="Linux", node="threebears.lan", ...}) = 0
stat64("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
open("/tmp/.private/alexei/tmp_kiiyaex_mld.tmp",
O_WRONLY|O_CREAT|O_LARGEFILE, 0600) = 4
write(4, "mldonkey accesstest - this file "..., 47) = 47
close(4) = 0
unlink("/tmp/.private/alexei/tmp_kiiyaex_mld.tmp") = 0
stat64("mlnet+gui.pid", 0xaff9a72c) = -1 ENOENT (No such file or
directory)
stat64("config_files_space.tmp", {st_mode=S_IFREG|0600,
st_size=10485760, ...}) = 0
open("config_files_space.tmp", O_WRONLY|O_CREAT|O_LARGEFILE, 0600) = 4
fcntl64(4, F_SETLK64, {type=F_WRLCK, whence=SEEK_CUR, start=0, len=0},
0xaff9a75c) = -1 EAGAIN (Resource temporarily unavailable)
time(NULL) = 1193434398
write(2, "2007/10/27 01:33:18 [cO] ./confi"..., 912007/10/27 01:33:18
[cO] ./config_files_space.tmp exists and is locked by another process.
) = 91
...
Что ему не нравится?
И еще такой вопрос: а можно ли mldonkey_server запускать в качестве
сервиса? Если можно, то почему бы его имено в таком виде и не сделать?
Подробная информация о списке рассылки Sisyphus