when mldonkey daemon is attempted with /etc/init.d/mldonkey but the startup did not occur because of some failure (e.g. existing .pid file), the rc-status of mldonkey still becomes `started' although it is not. In such a situation, rc-status of mldonkey sould be `off'.
Please try this patch and report if it improves the MLDonkey core behaviour: https://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=4347
Created attachment 66888 [details] MLdonkey init script
Your patch went smoothly over 2.6.3 and compiled fine. However did not solve the problem. A quick examination of the init script showed that the problem was there. Attachment puts the missing line of `return 1' in the appropriate location. Works fine here.
(In reply to comment #3) > Your patch went smoothly over 2.6.3 and compiled fine. However did not solve the > problem. hehe, so there were two errors. One in the ini script, but MLDonkey also returned exit code zero on some errors, so my patch is still necessary. Could you please debug the error codes a bit? * start MLDonkey twice so the second MLDonkey exits with a message about blocked ports * chmod temp directory (or another one) so MLDonkey can
(In reply to comment #3) > Your patch went smoothly over 2.6.3 and compiled fine. However did not solve the > problem. hehe, so there were two errors. One in the ini script, but MLDonkey also returned exit code zero on some errors, so my patch is still necessary. Could you please debug the error codes a bit? * start MLDonkey twice so the second MLDonkey exits with a message about blocked ports * chmod temp directory (or another one) so MLDonkey can´t write to it and start the core * set system date into the year 2004 and start MLDonkey
MLDonkey 2.6.4 with this patch was released today.
fixed in cvs. thanks