#1 2011-01-14 22:09:33
运行MLDONKEY显示目录满呢?解决
启动命令:
umount /jffs
umount /mnt
mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/part1 /opt
mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/part3 /jffs
mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/part4 /mmc
mount -t ext3 /dev/mtdblock/4 /mnt
/opt/bin/busybox swapon /dev/scsi/host0/bus0/target0/lun0/part2
sleep 2
opt/etc/init.d/S08samba
sleep 2
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
sleep 2
/opt/etc/init.d/S70mysqld start
sleep 2
/opt/etc/init.d/S80lighttpd restart
sleep 2
/opt/etc/init.d/S91mlnet
以下是运行脚本内容:S91mlnet
#!/bin/sh
if [ -n "`pidof mlnet`" ]; then
echo "Kill old program..."
killall mlnet
sleep 5
fi
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin
export HOME=/opt/mlnet
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
LD_LIBRARY_PATH=/opt/lib/mlnet:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
rm /opt/mlnet/.mldonkey/*.tmp 2>/dev/null
rm /opt/mlnet/.mldonkey/mlnet.log 2>/dev/null
rm /opt/mlnet/.mldonkey/*.pid 2>/dev/null
/opt/bin/mlnet &
#
运行结果:
root@DD-WRT:~# /opt/etc/init.d/S91mlnet
root@DD-WRT:~# 2011/01/14 20:47:42 [cO] Starting MLDonkey 3.0.5.CVS ...
2011/01/14 20:47:42 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open fil
es 1024
2011/01/14 20:47:42 [cO] MLDonkey is working in /opt/mlnet/.mldonkey
2011/01/14 20:47:42 [Gettext] Loading language resource mlnet_strings.zh_CN.UTF-
8
2011/01/14 20:47:43 [cO] loaded language resource file
2011/01/14 20:47:43 [DNS] Resolving [DD-WRT] ...
2011/01/14 20:47:44 [DNS] Resolving [www.mldonkey.org] ...
2011/01/14 20:47:44 [dMain] Libmagic file-type recognition database not present
2011/01/14 20:47:45 [cO] Logging in /opt/mlnet/.mldonkey/mlnet.log
2011/01/14 20:47:45 WARNING: Directory /opt/mlnet/.mldonkey is full, MLDonkey s
huts down
我该怎么做呀?
我的硬盘是40G的,分了4个区分别是1opt 2 swap 3 jffs 4mmc以上都是ext3格式的
* /opt 256M 软件
* swap 32M 交换分区
* /jffs 128M 暂时不知道用来做什么
* /mmc 做为下载用剩下的空间
运行了两天突然就出现那个错误了。
下图由于不好用先注释掉了#/opt/etc/init.d/S91mlnet
最後修改: journeyz (2011-02-14 10:27:16)
附件:
QQ截图未命名.jpg, 大小: 45,696 bytes, 下載: 2
離線