From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <47225EDA.2080304@micmedia.ru> Date: Sat, 27 Oct 2007 01:40:42 +0400 From: "Alexei V. Mezin" Organization: NT-MDT User-Agent: Thunderbird 2.0.0.5 (X11/20070716) MIME-Version: 1.0 To: ALT Linux Sisyphus discussions Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: [sisyphus] =?koi8-r?b?bWxkb25rZXlfY2xpZW50INLBws/UwcXUPw==?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: alex783@hotbox.ru, ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 21:40:39 -0000 Archived-At: List-Archive: List-Post: [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 запускать в качестве сервиса? Если можно, то почему бы его имено в таком виде и не сделать?