AMule

出自Wikitiss
跳转到: 导航, 搜索

openSuSE 11.1

防火墙设置

参考Firewall SuSE - AMule Project FAQ,SLED 11.0防火墙设置更改如下(文件/etc/sysconfig/SuSEfirewall2):

  1. FW_SERVICES_EXT_TCP="4662"
  1. FW_SERVICES_EXT_UDP="4665 4672"

以上两行中的端口号为新添加的,添加后,您可以解决aMule收到低ID的问题。

故障排除

今天晚上一开机,aMule没有自动运行,从菜单点击运行也无法正常出现aMule 2.2.3窗口,关键是重启后也无效,只好到命令行下执行一下,看出了什么问题,结果,显示如下:

opentiss@dws:~> amule                                                               
Initialising aMule 2.2.3 using wxGTK2 v2.8.9                                        
Checking if there is an instance already running...                                 
There is an instance of aMule already running                                       
Raising current running instance.

用ps命令也没有看到amule在运行,只好到.aMule目录去查看一下,结果如下:

opentiss@dws:~/.aMule> ls -l                                                                   
总计 564                                                                                       
-rw-r--r-- 1 opentiss users   4658 03-13 06:23 amule.conf                                      
-rw-r--r-- 1 opentiss users 335466 03-13 06:13 clients.met                                     
-rw-r--r-- 1 opentiss users 146851 03-12 18:56 clients.met.BAK                                 
-rw-r--r-- 1 opentiss users    361 02-28 18:45 cryptkey.dat                                    
-rw-r--r-- 1 opentiss users     91 03-13 20:00 ED2KLinks
...

感觉ED2KLinks最可疑了,用vi打开后,文件内容如下:

RAISE_DIALOG
RAISE_DIALOG
RAISE_DIALOG
RAISE_DIALOG
RAISE_DIALOG
RAISE_DIALOG
RAISE_DIALOG
RAISE_DIALOG

本想把这个文件删除,但转念一想,如果删除了,也许可能影响我aMule已有的成果,只好mv这个文件到上一级目录,然后再在命令行下启动aMule,执行结果如下:

opentiss@dws:~/.aMule> amule
Initialising aMule 2.2.3 using wxGTK2 v2.8.9
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
ListenSocket: Ok.
Loading temp files from /home/opentiss/aMule/Temp.
Loading PartFile 8 of 8
All PartFiles Loaded.
Adding file /home/opentiss/aMule/Temp/001.part.met to shares
Adding file /home/opentiss/aMule/Temp/002.part.met to shares
Adding file /home/opentiss/aMule/Temp/003.part.met to shares
Adding file /home/opentiss/aMule/Temp/005.part.met to shares
Adding file /home/opentiss/aMule/Temp/006.part.met to shares
Adding file /home/opentiss/aMule/Temp/007.part.met to shares
Adding file /home/opentiss/aMule/Temp/008.part.met to shares
No shareable files found in directory: /home/opentiss/aMule/Incoming
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended

aMule界面出来了,总算自行解决了一个小问题,很有成就感。记录下来,供大家分享。

aMule无法启动故障又一例:

Initialising aMule 2.2.4 using wxGTK2 v2.8.9
Checking if there is an instance already running...
There is an instance of aMule already running
(lock file: /home/opentiss/.aMule/muleLock)Raising current running instance.

删除了muleLock文件后,此问题得以解决(如果存在ED2KLinks,也同时删除掉)。

个人工具
工具箱