|
本帖最后由 clue 于 2011-5-8 02:02 编辑
路由器为FW300R,改造出usb,刷的是icerol的带extroot的固件,外接750G移动硬盘,512M swap分区。
transmission可以正常运行,也下过几G的东西,但有用的种子太少,所以一直想上电驴
最开始直接安装amule,不过一运行就自动退出了,不知道原因。
如果在Incoming目录放置很多文件,amuled进程倒是会停留着进行hash,这时也能通过amulecmd及amule-gui连接上去,但hash结束后又自动退了,无任何提示
已经要抓狂了,先上坛求救,看有没人遇到过同样问题。实在不行可能只有换个固件试试看了……
不加-f参数:
root@OpenWrt:/usr/local/eMule# amuled -c /usr/local/eMule/ -o
amuled: OnInit - starting timer
Logging to stdout enabled
Initialising aMuled 2.2.6 using v2.8.10
Checking if there is an instance already running...
No other instances are running.
2011-04-24 06:44:50: Starting aMuled 2.2.6 using v2.8.10
2011-04-24 06:44:50: ERROR: WARNING Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
--------------------------------------------------
Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
--------------------------------------------------
2011-04-24 06:44:50: Loading IP-filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2011-04-24 06:44:50: Loaded 0 IP-ranges from '/usr/local/eMule/ipfilter.dat'. 0 malformed lines were discarded.
2011-04-24 06:44:50: Loaded 0 IP-ranges from '/usr/local/eMule/ipfilter_static.dat'. 0 malformed lines were discarded.
2011-04-24 06:44:50: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2011-04-24 06:44:50: Created Server UDP-Socket at port 54665
ListenSocket: Ok.
2011-04-24 06:44:50: Created Client UDP-Socket at port 54662
2011-04-24 06:44:50: Loading server.met file: /usr/local/eMule/server.met
2011-04-24 06:44:50: 29 servers in server.met found
Loading temp files from /usr/local/eMule/Temp.
All PartFiles Loaded.
2011-04-24 06:44:50: No part files found
2011-04-24 06:44:50: Found 1 known shared file
2011-04-24 06:44:50: Connecting
2011-04-24 06:44:50: Connecting to eDonkeyServer No2 (212.63.206.35 - 212.63.206.35:4242)
2011-04-24 06:44:50: Read 36 Kad contacts
2011-04-24 06:44:50: Error: Cannot get the official hostname (error 0: Success)
2011-04-24 06:44:50: Deleted stale lock file '/usr/local/eMule/muleLock'.
Aborted
root@OpenWrt:/usr/local/eMule#
上面标红的那句,一直搞不懂是什么原因……
加上fork参数后如下:
root@OpenWrt:/usr/local/eMule# amuled -c /usr/local/eMule/ -o -f
amuled: OnInit - starting timer
Daemon will fork to background - log to stdout disabled
Initialising aMuled 2.2.6 using v2.8.10
Checking if there is an instance already running...
No other instances are running.
--------------------------------------------------
Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
--------------------------------------------------
ListenSocket: Ok.
amuled: forking to background - see you
root@OpenWrt:/usr/local/eMule# cat logfile
2011-04-24 06:46:26: Starting aMuled 2.2.6 using v2.8.10
2011-04-24 06:46:26: ERROR: WARNING Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
2011-04-24 06:46:26: Loading IP-filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2011-04-24 06:46:27: Loaded 0 IP-ranges from '/usr/local/eMule/ipfilter.dat'. 0 malformed lines were discarded.
2011-04-24 06:46:27: Loaded 0 IP-ranges from '/usr/local/eMule/ipfilter_static.dat'. 0 malformed lines were discarded.
2011-04-24 06:46:27: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2011-04-24 06:46:27: Created Server UDP-Socket at port 54665
2011-04-24 06:46:27: Created Client UDP-Socket at port 54662
2011-04-24 06:46:27: Loading server.met file: /usr/local/eMule/server.met
2011-04-24 06:46:27: 29 servers in server.met found
2011-04-24 06:46:27: No part files found
2011-04-24 06:46:27: Found 1 known shared file
2011-04-24 06:46:27: Connecting
2011-04-24 06:46:27: Connecting to eDonkeyServer No2 (212.63.206.35 - 212.63.206.35:4242)
2011-04-24 06:46:27: Read 36 Kad contacts
2011-04-24 06:46:27: Error: Cannot get the official hostname (error 0: Success)
2011-04-24 06:46:27: Deleted stale lock file '/usr/local/eMule/muleLock'.
root@OpenWrt:/usr/local/eMule#
运行结束后查看,没有amuled进程,amuled配置如下:
[eMule]
AppVersion=2.2.6
Nick=clue@china
QueueSizePref=50
MaxUpload=0
MaxDownload=0
SlotAllocation=2
Port=54662
UDPPort=54662
UDPDisable=0
Address=
Autoconnect=1
MaxSourcesPerFile=300
MaxConnections=500
MaxConnectionsPerFiveSeconds=20
RemoveDeadServer=0
DeadServerRetry=3
ServerKeepAliveTimeout=300
Reconnect=1
Scoresystem=1
Serverlist=0
AddServerListFromServer=0
AddServerListFromClient=0
SafeServerConnect=0
AutoConnectStaticOnly=0
UPnPEnabled=0
UPnPTCPPort=50000
SmartIdCheck=1
ConnectToKad=1
ConnectToED2K=1
TempDir=/usr/local/eMule/Temp
IncomingDir=/usr/local/eMule/Incoming
ICH=1
AICHTrust=0
CheckDiskspace=1
MinFreeDiskSpace=1
AddNewFilesPaused=0
PreviewPrio=0
ManualHighPrio=0
FullChunkTransfers=1
StartNextFile=0
StartNextFileSameCat=0
FileBufferSizePref=16
DAPPref=1
UAPPref=1
AllocateFullFile=0
OSDirectory=/usr/local/eMule/
OnlineSignature=0
OnlineSignatureUpdate=5
EnableTrayIcon=0
MinToTray=0
ConfirmExit=1
StartupMinimized=0
3DDepth=10
ToolTipDelay=1
ShowOverhead=0
ShowInfoOnCatTabs=1
ShowRatesOnTitle=0
VerticalToolbar=0
ShowPartFileNumber=0
VideoPlayer=
VideoPreviewBackupped=1
StatGraphsInterval=3
statsInterval=30
DownloadCapacity=100
UploadCapacity=25
StatsAverageMinutes=5
VariousStatisticsMaxValue=100
SeeShare=2
FilterLanIPs=1
ParanoidFiltering=1
IPFilterAutoLoad=1
IPFilterURL=
FilterLevel=127
IPFilterSystem=0
FilterMessages=1
FilterAllMessages=0
MessagesFromFriendsOnly=0
MessageFromValidSourcesOnly=1
FilterWordMessages=0
MessageFilter=
FilterComments=0
CommentFilter=
ShareHiddenFiles=0
AutoSortDownloads=0
NewVersionCheck=0
Language=
SplitterbarPosition=75
YourHostname=localhost
DateTimeFormat=%A, %x, %X
AllcatType=0
ShowAllNotCats=0
SmartIdState=1
DropSlowSources=0
KadNodesUrl=http://emule-inside.net/nodes.dat
Ed2kServersUrl=http://gruk.org/server.met.gz
[Browser]
DefaultBrowser=0
OpenPageInTab=1
CustomBrowserString=
[Proxy]
ProxyEnableProxy=0
ProxyType=0
ProxyName=
ProxyPort=1080
ProxyEnablePassword=0
ProxyUser=
ProxyPassword=
[ExternalConnect]
UseSrcSeeds=0
AcceptExternalConnections=1
ECAddress=*.*.*.*
ECPort=4712
ECPassword=2044aa94aab69b8258785f93f532c720
UPnPECEnabled=0
ShowProgressBar=1
ShowPercent=1
UseSecIdent=1
IpFilterClients=1
IpFilterServers=1
[WebServer]
Enabled=0
Password=
PasswordLow=
Port=4711
WebUPnPTCPPort=50001
UPnPWebServerEnabled=0
UseGzip=1
UseLowRightsUser=0
PageRefreshTime=120
Template=no options available
[Razor_Preferences]
FastED2KLinksHandler=1
[SkinGUIOptions]
UseSkinFiles=0
Skin=
[Statistics]
MaxClientVersions=0
TotalDownloadedBytes=0
TotalUploadedBytes=104202
[Obfuscation]
IsClientCryptLayerSupported=1 |
|