aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: WD NAS PR4100 - Error: Failed to add descriptor xx to epoll descriptor xx  (Read 1449 times)

kiwivda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6

Hi to every one, I'm new here but using aMule for a long time.
Now with version 2.3.2 released on WD store APP for the PR4100 I've a strange issue, the aMule works for some hours then stop eiter downloads and uploads untill I reboot the daemon.

My linux server version:
Quote
root@MyCloudPR4100 root # cat /etc/*version
2.31.204
root@MyCloudPR4100 root # uname -srm
Linux 4.1.13 x86_64
root@MyCloudPR4100 root # dmesg | grep -i "linux version" | head -1
[    0.000000] Linux version 4.1.13 (kman@kmachine) (gcc version 4.8.2 (crosstool-NG hg+unknown-20140401.133847 - Build-wd-00.01c) ) #1 SMP Mon Nov 11 22:44:28 PST 2019 Build-gitce22d7e


In the log file in plenty of lines like:

2020-04-24 09:12:42: Logger.cpp(324): 09:12:42: Error: Failed to add descriptor 31 to epoll descriptor 5 (error 17: File exists)

2020-04-24 09:01:23: SafeFile.cpp(472): SafeIO::EOF: Attempt to read past end of file.

can someone help me do something?



LOG:

Quote
2020-04-24 08:59:22: amuleAppCommon.cpp(328): Daemon will fork to background - log to stdout disabled
 2020-04-24 08:59:22: amuleAppCommon.cpp(335): Initialising aMuleD 2.3.2 compiled with wxBase v3.0.4 (Debugging)
 2020-04-24 08:59:22: amuleAppCommon.cpp(382): Checking if there is an instance already running...
 2020-04-24 08:59:22: Logger.cpp(324): 08:59:22: Error: Lock file '/mnt/HD/HD_a2/Nas_Prog/aMule/.aMule/muleLock' has incorrect permissions.
 2020-04-24 08:59:22: amuleAppCommon.cpp(413): No other instances are running.
!2020-04-24 08:59:23: amuled.cpp(747): ERROR: WARNING Warning! You are running aMule as root.
!2020-04-24 08:59:23: Doing so is not recommended for security reasons,
!2020-04-24 08:59:23: and you are advised to run aMule as an normal
!2020-04-24 08:59:23: user instead.
 2020-04-24 08:59:24: ClientCreditsList.cpp(158): Creditfile loaded, 3412 clients are known
 2020-04-24 08:59:24: ExternalConn.cpp(337): *** TCP socket (ECServer) listening on 0.0.0.0:xxxx
 2020-04-24 08:59:24: MuleUDPSocket.cpp(83): Created Server UDP-Socket at port xxxxx
 2020-04-24 08:59:24: ListenSocket.cpp(67): ListenSocket: Ok.
 2020-04-24 08:59:24: MuleUDPSocket.cpp(83): Created Client UDP-Socket at port xxxxx
 2020-04-24 08:59:24: amuled.cpp(667): amuled: forking to background - see you
 2020-04-24 08:59:24: Logger.cpp(324): 08:59:24: Error: Lock file '/mnt/HD/HD_a2/Nas_Prog/aMule/.aMule/muleLock' has incorrect permissions.
 2020-04-24 08:59:24: ServerList.cpp(88): Loading server.met file: /mnt/HD/HD_a2/Nas_Prog/aMule/.aMule/server.met
!2020-04-24 08:59:24: ServerList.cpp(174): 30 servers in server.met found
!2020-04-24 08:59:24: ServerList.cpp(887): Start downloading server list from http://www.gruk.org/server.met
 2020-04-24 08:59:24: DownloadQueue.cpp(113): Loading temp files from /mnt/HD/HD_a2/aMule/Temp.
2020-04-24 08:59:27: DownloadQueue.cpp(132): Loading PartFile 1 of 1
 2020-04-24 08:59:27: DownloadQueue.cpp(163): All PartFiles Loaded.
 2020-04-24 08:59:27: DownloadQueue.cpp(168): Found 1 part files
 2020-04-24 08:59:27: SharedFileList.cpp(333): Adding file /mnt/HD/HD_a2/aMule/Temp/001.part.met to shares
2020-04-24 08:59:27: SharedFileList.cpp(371): Found 1 known shared files
!2020-04-24 08:59:27: amule.cpp(659): web server running on pid 4836
 2020-04-24 08:59:27: amuled.cpp(652): amuled: OnInit - starting timer
 2020-04-24 08:59:27: IPFilter.cpp(113): Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
 2020-04-24 08:59:27: IPFilter.cpp(333): Loaded 0 IP-ranges from '/mnt/HD/HD_a2/Nas_Prog/aMule/.aMule/ipfilter.dat'.
 2020-04-24 08:59:27: IPFilter.cpp(333): Loaded 0 IP-ranges from '/mnt/HD/HD_a2/Nas_Prog/aMule/.aMule/ipfilter_static.dat'.
 2020-04-24 08:59:27: HTTPDownload.cpp(277): Downloaded 347 bytes
 2020-04-24 08:59:27: IPFilter.cpp(534): IP filter is ready
!2020-04-24 08:59:27: IPFilter.cpp(544): Connecting
 2020-04-24 08:59:27: ServerSocket.cpp(767): Connecting to !! Sharing-Devils No.3 !! (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx) using protocol obfuscation.
 2020-04-24 08:59:27: RoutingZone.cpp(209): Read 194 Kad contacts
!2020-04-24 08:59:27: amule.cpp(1904): Kad started.
 2020-04-24 08:59:27: ServerList.cpp(88): Loading server.met file: /mnt/HD/HD_a2/Nas_Prog/aMule/.aMule/server_auto.met
!2020-04-24 08:59:27: ServerList.cpp(176): 0 servers added
 2020-04-24 08:59:27: ExternalConn.cpp(414): New external connection accepted
 2020-04-24 08:59:27: ExternalConn.cpp(448): Connecting client: aMuleweb 2.3.2
 2020-04-24 08:59:27: ExternalConn.cpp(533): Access granted.
 2020-04-24 08:59:27: ServerSocket.cpp(767): Connecting to La Cosa Nostra  (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx) using protocol obfuscation.
!2020-04-24 08:59:28: amule.cpp(1906): Kad stopped.
!2020-04-24 08:59:28: amule.cpp(1916): Connected to Kad (firewalled)
 2020-04-24 08:59:43: SafeFile.cpp(472): SafeIO::EOF: Attempt to read past end of file.
 2020-04-24 08:59:52: ServerConnect.cpp(474): Connection attempt to !! Sharing-Devils No.3 !! (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx) timed out.
 2020-04-24 08:59:52: ServerSocket.cpp(767): Connecting to PeerBooter (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx) using protocol obfuscation.
 2020-04-24 08:59:52: ServerConnect.cpp(474): Connection attempt to La Cosa Nostra  (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx) timed out.
 2020-04-24 08:59:52: ServerSocket.cpp(767): Connecting to WEB (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx) using protocol obfuscation.
 2020-04-24 08:59:52: ServerConnect.cpp(474): Connection attempt to WEB (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx) timed out.
 2020-04-24 08:59:52: ServerSocket.cpp(767): Connecting to eMule Security (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx) using protocol obfuscation.
 2020-04-24 08:59:52: ServerConnect.cpp(201): Connected to PeerBooter (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx)
 2020-04-24 08:59:52: ServerConnect.cpp(201): Connected to eMule Security (xx.xxx.xxx.x. - xx.xxx.xxx.x:xxxx)
!2020-04-24 08:59:53: ServerConnect.cpp(274): Connection established on: PeerBooter
!2020-04-24 08:59:53: amule.cpp(1890): Connected to PeerBooter with HighID
 2020-04-24 08:59:53: ServerSocket.cpp(427): New clientid is 3885486910
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: server version 17.15 (lugdunum)
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=>
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=> PeerBooter
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=> PEERATES.NET eDonkey server
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=>
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=> only free and licit contents can be indexed on this server.
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=> for p2p network news & information, visit http://edk.peerates.net
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=>
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=> contact@peerates.net
 2020-04-24 08:59:53: amule.cpp(1534): ServerMessage: !=>
 2020-04-24 08:59:53: ServerSocket.cpp(551): Saving of server-list completed.
!2020-04-24 09:00:33: amule.cpp(1914): Connected to Kad (ok)

Config File:

Quote
AppVersion=2.3.2
Nick=http://www.aMule.org
QueueSizePref=50
VerboseDebug=0
MaxUpload=10
MaxDownload=1000
SlotAllocation=5
Port=32785
UDPPort=36729
Address=
Autoconnect=1
MaxSourcesPerFile=28
MaxConnections=200
MaxConnectionsPerFiveSeconds=10
RemoveDeadServer=0
DeadServerRetry=10
ServerKeepAliveTimeout=0
Reconnect=1
Scoresystem=1
Serverlist=1
AddServerListFromServer=1
AddServerListFromClient=0
SafeServerConnect=0
AutoConnectStaticOnly=0
UPnPEnabled=0
UPnPTCPPort=32785
SmartIdCheck=1
ConnectToKad=1
ConnectToED2K=1
TempDir=/mnt/HD/HD_a2/aMule/Temp
IncomingDir=/mnt/HD/HD_a2/aMule/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=/mnt/HD/HD_a2/Nas_Prog/aMule/.aMule/
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=2000
UploadCapacity=10
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=1
Language=
SplitterbarPosition=75
YourHostname=
DateTimeFormat=%A, %x, %X
AllcatType=0
ShowAllNotCats=0
SmartIdState=1
DropSlowSources=0
KadNodesUrl=http://upd.emule-security.org/nodes.dat
Ed2kServersUrl=http://www.gruk.org/server.met
VerboseDebugLogfile=0
UDPEnable=1
StartNextFileAlpha=0
GeoIPEnabled=1
ShowVersionOnTitle=0
ShowMessagesInLog=1
AdvancedSpamFilter=1
MessageUseCaptchas=1
GeoLiteCountryUpdateUrl=http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
StatsServerName=Shorty's ED2K stats
StatsServerURL=http://ed2k.shortypower.dyndns.org/?hash=
CreateSparseFiles=1
[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=21232f297a57a5a743894a0e4a801fc3
UPnPECEnabled=0
ShowProgressBar=1
ShowPercent=1
UseSecIdent=1
IpFilterClients=1
IpFilterServers=1
TransmitOnlyUploadingClients=0
[WebServer]
Enabled=1
Password=21232f297a57a5a743894a0e4a801fc3
PasswordLow=
Port=4711
WebUPnPTCPPort=50001
UPnPWebServerEnabled=0
UseGzip=1
UseLowRightsUser=0
PageRefreshTime=120
Template=default
Path=amuleweb
[Razor_Preferences]
FastED2KLinksHandler=1
[SkinGUIOptions]
Skin=
[Statistics]
MaxClientVersions=0
[Obfuscation]
IsClientCryptLayerSupported=1
IsCryptLayerRequested=1
IsClientCryptLayerRequired=0
CryptoPaddingLenght=254
CryptoKadUDPKey=4059557943
[UserEvents]
[UserEvents/DownloadCompleted]
CoreEnabled=0
CoreCommand=
GUIEnabled=0
GUICommand=
[UserEvents/NewChatSession]
CoreEnabled=0
CoreCommand=
GUIEnabled=0
GUICommand=
[UserEvents/OutOfDiskSpace]
CoreEnabled=0
CoreCommand=
GUIEnabled=0
GUICommand=
[UserEvents/ErrorOnCompletion]
CoreEnabled=0
CoreCommand=
GUIEnabled=0
GUICommand=
[Debug]
Cat_General=0
Cat_Hasher=0
Cat_ED2k\ Client=0
Cat_Local\ Client\ Protocol=0
Cat_Remote\ Client\ Protocol=0
Cat_Packet\ Parsing\ Errors=0
Cat_CFile=0
Cat_FileIO=0
Cat_ZLib=0
Cat_AICH-Hasher=0
Cat_AICH-Transfer=0
Cat_AICH-Recovery=0
Cat_ListenSocket=0
Cat_Credits=0
Cat_ClientUDPSocket=0
Cat_DownloadQueue=0
Cat_IPFilter=0
Cat_KnownFileList=0
Cat_PartFiles=0
Cat_SHAHashSet=0
Cat_Servers=0
Cat_Proxy=0
Cat_Searching=0
Cat_ServerUDP=0
Cat_Client\ Kademlia\ UDP=0
Cat_Kademlia\ Search=0
Cat_Kademlia\ Routing=0
Cat_Kademlia\ Indexing=0
Cat_Kademlia\ Main\ Thread=0
Cat_Kademlia\ Preferences=0
Cat_PartFileConvert=0
Cat_MuleUDPSocket=0
Cat_ThreadScheduler=0
Cat_Universal\ Plug\ and\ Play=0
Cat_Kademlia\ UDP\ Firewall\ Tester=0
Cat_Kademlia\ Packet\ Tracking=0
Cat_Kademlia\ Entry\ Tracking=0
Cat_External\ Connect=0
Cat_HTTP=0
Cat_Asio\ Sockets=0
[GUI]
HideOnClose=0
[PowerManagement]
PreventSleepWhileDownloading=0
[HTTPDownload]
URL_3=http://www.gruk.org/server.met

Thanks in advance to all of you who will help me got out of this!
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 66
  • Offline Offline
  • Posts: 1532
  • Unofficial Debian Packager
    • http://vollstreckernet.de

I have no experience with this devices at all, so I guess that running as non-root is not possible. I would start investigating the permissions, as this is the first error printed.
Logged
Homefucking is killing prostitution

kiwivda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6

How should be permission like?
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 66
  • Offline Offline
  • Posts: 1532
  • Unofficial Debian Packager
    • http://vollstreckernet.de

They should be read- and writeable and owned by the user you are running amule as. Same applies for the dir they are in.
Logged
Homefucking is killing prostitution

kiwivda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6

So since I can only run aMule as administrator on a WD Nas, a 777 permission should do the job?
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 66
  • Offline Offline
  • Posts: 1532
  • Unofficial Debian Packager
    • http://vollstreckernet.de

On the dir: yes, on the files 666 makes more sense. And (I didn't check) the owner could be checked, too.
Logged
Homefucking is killing prostitution