Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Offline
Been having the same problems with not being able to move/delete downloaded folders as a lot of others, (was able to delete em through the telnet connection, thanks for that Toni!) and found out about the different file permission settings.
http://unixhelp.ed.ac.uk//tasks/permissions_num.html
What i dont understand is why i can move and delete files, which are set at 664 by default i believe, but cant move and delete folders when i set those with the same settings or even with 777....
# correction, with 777 i was able to move, delete etc so that was a good fix for me#
any comments?
Last edited by Eol_durgul (2007-12-31 18:46:39)
Offline
Have been running mldonkey for a month without any real issues. However for some reason now my downloads won't complete. I've looked at ShadowAndys site and I'm using his new mlnet.sh / downloads.ini and the latest verion of mldonkey. The files get down to the last couple of mb .. and then just rise and fall ( ie get down to 2mb then go back up to 4mb etc etc).
The DNS is also running 3 copies of mlnet for some reason as well, although I'm not sure this is related.
Mem: 60576K used, 1372K free, 0K shrd, 10768K buff, 29828K cached Load average: 0.23 0.24 0.19 PID USER STATUS VSZ PPID %CPU %MEM COMMAND 3295 root SW 10440 1 3.8 16.8 mlnet 3334 root RW 1424 2970 2.8 2.2 top 2921 nobody RW 3044 1224 0.9 4.9 smbd 3301 root SWN 10440 3300 0.0 16.8 mlnet 3300 root SW 10440 3295 0.0 16.8 mlnet <snip>
Can anyone point me at where I can start to look to debug this ? I have looked at the last few lines in the mlnet.log but I can't see anything useful like 'exception'.
EDIT : This problem seems to related to specific torrents. I've just downloaded successfully some very small torrents ( < 5mb) and they completed no problems.
Last edited by cybrey (2008-01-07 21:34:49)
Offline
Hi,
most likely your temp directory is full (check you mlnet.log file in your mldonkey directory, for exact error message). Could you check, weather you set the TEMPDIR to be pointed to your HDD (export TEMPDIR... in your mlnet.sh)? I had this also, after a few downloads in case of large torrents... You can look back in this thread for the solution...
Toni
cybrey wrote:
Have been running mldonkey for a month without any real issues. However for some reason now my downloads won't complete. I've looked at ShadowAndys site and I'm using his new mlnet.sh / downloads.ini and the latest verion of mldonkey. The files get down to the last couple of mb .. and then just rise and fall ( ie get down to 2mb then go back up to 4mb etc etc).
The DNS is also running 3 copies of mlnet for some reason as well, although I'm not sure this is related.Code:
Mem: 60576K used, 1372K free, 0K shrd, 10768K buff, 29828K cached Load average: 0.23 0.24 0.19 PID USER STATUS VSZ PPID %CPU %MEM COMMAND 3295 root SW 10440 1 3.8 16.8 mlnet 3334 root RW 1424 2970 2.8 2.2 top 2921 nobody RW 3044 1224 0.9 4.9 smbd 3301 root SWN 10440 3300 0.0 16.8 mlnet 3300 root SW 10440 3295 0.0 16.8 mlnet <snip>Can anyone point me at where I can start to look to debug this ? I have looked at the last few lines in the mlnet.log but I can't see anything useful like 'exception'.
EDIT : This problem seems to related to specific torrents. I've just downloaded successfully some very small torrents ( < 5mb) and they completed no problems.
Offline
Thanks for the reply.
I had already read this thread in the hope of finding something useful, and it didn't help;
/ # df Filesystem 1k-blocks Used Available Use% Mounted on /dev/ram0 9911 6864 2535 73% / /dev/sda2 480197164 70728688 409468476 15% /mnt/HD_a2 /dev/sdb2 480197164 30063388 450133776 6% /mnt/HD_b2 / #
I don't think thats full.
First few lines of mlnet.sh
################################################################### # author:shadowandy.sg@************ # # website: http://www.shadowandy.net # # # # used environment variable to fix running directory instead # ################################################################### export MLDONKEY_DIR="/mnt/HD_a2/mldonkey" export TMPDIR="/mnt/HD_a2/mldonkey/temp"
So I think its being set correctly. As I said in my 'edit' above it seems to be only on certain torrents. Last night I set 6 torrents going from the same series and one has completed, 3 are stuck 99% and the others haven't finished ( it may well be the first one to complete finishes and the others get stuck).
Offline
I 'think' I found out what the problem is, although I didn't think the torrents could be affected in this way due to it.
The NAS was getting its ip from the DHCP on the router, it had been reset around the time the problem had surfaced and consequently a new ip had been given. None of the port forwarding was now pointing at the NAS. I've now setup a static ip with the correct ports and have been downloading quite happily for a couple of days.
Offline
Hi guys,
Has anyone seen the following errors before? This happens everytime I start mldonkey automatically from fun_plug
Starting mlnet...
2008/02/16 12:22:30 [cO] Starting MLDonkey 2.9.3 ...
2008/02/16 12:22:30 [cO] Language EN, locale UTF-8, ulimit for open files 1024
2008/02/16 12:22:30 [cO] MLDonkey is working in /mnt/HD_a2/mldonkey
2008/02/16 12:22:30 [Gettext] Loading language resource mlnet_strings.EN_UTF-8
2008/02/16 12:22:30 [cO] loaded language resource file
2008/02/16 12:22:30 [cO] PID file /mnt/HD_a2/mldonkey/mlnet.pid exists.
2008/02/16 12:22:30 [cO] Checking whether PID 2604 is still used...
2008/02/16 12:22:30 [cO] Removing stalled file mlnet.pid...
2008/02/16 12:22:30 [cO] Removing stalled file /mnt/HD_a2/mldonkey/config_files_space.tmp...
2008/02/16 12:22:30 [DNS] Resolving [NAS-DNS323] ...
Segmentation fault
Offline
update. it seems like the segmentation fault issue doesn't happen all the time but most times it happens when started through fun_plug.
Another problem I'm having is related to permissions. I'm using the option -run_as_useruid to run mldonkey as a non-privileged user. I've made sure that I've chown all the files in the mldonkey directory to that user. I've also changed permissions to read/writable by the user and group. However, when mlnet starts, it seems to create new copies of all the ini files under the root:root user/group. [Opt] will then complain about permission problems when saving them. The core will then stop right after that.
Can anyone share some insights on this? Thanks.
Offline
I had the same problem, but can't remember how I solved it. :-/
Maybe it was .ini files on the way or the TMP_DIR wasn't set properly (which caused mlnet to fill up /tmp)
my 0.02€.
Offline
Last night I grabbed Shadowandy's compiled MLdonkey 2.9.2 and installed it following his instructions. I had to look up the MLdonkey documentation to configure it the way I want to, but once that was done it has been working perfectly.
It's great when everything works smoothly. So this is just to report success :-) and to give credit to Shadowandy for the binaries and the (very clear) instructions.
Offline
@shadowandy:
Sorry if this has been previously covered, I haven't read the full thread.
I have made an startup script to start/stop mlnet in fonz fun_plug, feel free to include it with your next mlnet releases:
#!/bin/sh export MLDONKEY_DIR="/mnt/HD_a2/mldonkey" export TMPDIR="/mnt/HD_a2/mldonkey/temp" mlnet_start() { if [ -z "${FUNPLUGDIR}" ]; then echo "ERROR: \$FUNPLUGDIR not set" exit 1 fi echo "Starting mlnet..." mkdir -p ${TMPDIR} mkdir -p ${MLDONKEY_DIR}/incoming/ mkdir -p ${MLDONKEY_DIR}/logs/ nohup ${FUNPLUGDIR}/bin/mlnet >> ${MLDONKEY_DIR}/logs/mlnet.log 2>&1 & } mlnet_stop() { echo "Stopping mlnet..." kill $(pidof mlnet) sleep 1 kill -9 $(pidof mlnet) 2>/dev/null } mlnet_status() { if [ -z "$(pidof mlnet)" ]; then echo "stopped" else echo "running" fi } case "$1" in stop) mlnet_stop ;; status) mlnet_status ;; start|'') mlnet_start ;; restart) mlnet_stop sleep 1 mlnet_start ;; *) echo "Usage: $0 start|stop|restart|status" ;; esac
I also have made a ffp package for myself, which can be installed using 'funpkg.sh mlnet-2.9.3.tgz', which is probably easier for users of fonz fun_plug to install mlnet.
If you want to package your next releases, this script will make the package automatically:
#!/bin/sh VERSION="2.9.3" tar cvf ./mlnet-${VERSION}.tar ${FUNPLUGDIR}/start/mlnet.sh ${FUNPLUGDIR}/bin/mlnet gzip ./mlnet-${VERSION}.tar mv ./mlnet-${VERSION}.tar.gz ./mlnet-${VERSION}.tgz
Cheers,
pof
Offline