I wrongly modified the permissions of the .aMule folder recursively
How exactly?
chmod 666 -R /path-to/.aMule/
chmod 660 -R /path-to/.aMule/
Try both chmods when aMule is running. I tried to reproduce the errors and here are two logfiles.
- In the first error log: There is an error trying to open the clients.met because it lacks permissions so it tries to create it. Likewise, if there is a glitch and aMule cannot read it, it erases it and creates a new one? But, if the backup one is larger, then the file is not backed up and the user loses the clients.met file permanently. aMule should try various times to read the file before erasing and creating a new one. This would prevent glitches.
- In the second error log: It seems aMule thinks there is a lack of disk space when there is simply a lack of permissions.
Therefore, I could not reproduce the deletion of clients.met probably because it was a glitch when aMule tried to read it and therefore created a new one. This would make sense because it is the first time that happened to me in the 4 years I have been using eMule/aMule.
By the way, aMule checks the first 10 chars of the IP filter before loading it. Unfortunately, a very famous IP filter (hostex.de/emule/ipfilter) has an invalid char in the first 10 chars and aMule fails to load it. Maybe, there is a better way of checking if the file is loadable? Other programming languages use
is_readable(), I do not know about C++.
2009-06-24 13:19:21: Starting aMule 2.2.5 using wxGTK2 v2.8.7
2009-06-24 13:19:21: Creditfile loaded, 2581 clients are known
2009-06-24 13:19:21: Loading IP-filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2009-06-24 13:19:22: Loaded 217083 IP-ranges from '/path-to/.aMule/ipfilter.dat'. 0 malformed lines were discarded.
2009-06-24 13:19:22: Loaded 182 IP-ranges from '/path-to/.aMule/ipfilter_static.dat'. 0 malformed lines were discarded.
2009-06-24 13:19:22: External connections disabled in config file
2009-06-24 13:19:22: Created Client UDP-Socket at port XXXX
2009-06-24 13:19:22:
2009-06-24 13:19:22: - This is aMule 2.2.5 using wxGTK2 v2.8.7 based on eMule.
2009-06-24 13:19:22: Running on Linux 2.6.26-2-amd64 x86_64
2009-06-24 13:19:22: - Visit http://www.amule.org to check if a new version is available.
2009-06-24 13:19:22:
2009-06-24 13:19:22: Loaded 248 flag bitmaps.
2009-06-24 13:19:22: Loading server.met file: /path-to/.aMule/server.met
2009-06-24 13:19:22: 0 servers in server.met found
2009-06-24 13:19:22: Found 41 part files
2009-06-24 13:19:22: Found 34 known shared files
2009-06-24 13:19:22: Connecting
2009-06-24 13:19:22: Read 186 Kad contacts
2009-06-24 13:19:22: ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2009-06-24 13:19:23: Connected to Kad (firewalled)
2009-06-24 13:19:37: Connected to Kad (ok)
2009-06-24 13:20:21: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:20:21: Error: Failed to create a temporary file name (error 13: Permission denied)
2009-06-24 13:20:21: Error: can't open user configuration file.
2009-06-24 13:21:21: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:21:21: Error: Failed to create a temporary file name (error 13: Permission denied)
2009-06-24 13:21:21: Error: can't open user configuration file.
2009-06-24 13:22:21: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:21: Error: Failed to create a temporary file name (error 13: Permission denied)
2009-06-24 13:22:21: Error: can't open user configuration file.
2009-06-24 13:22:24: CFile: Error when opening file (/path-to/.aMule/nodes.dat): Permission denied
2009-06-24 13:22:24: Wrote 0 Kad contacts
2009-06-24 13:22:24: CFile: Error when opening file (/path-to/.aMule/load_index.dat): Permission denied
2009-06-24 13:22:24: CFile: Error when opening file (/path-to/.aMule/src_index.dat): Permission denied
2009-06-24 13:22:24: CFile: Error when opening file (/path-to/.aMule/key_index.dat): Permission denied
2009-06-24 13:22:24: CFile: Error when opening file (/path-to/.aMule/preferencesKad.dat): Permission denied
2009-06-24 13:22:24: CFile: Error when opening file (/path-to/.aMule/known.met): Permission denied
2009-06-24 13:22:24: CFile: Error when opening file (/path-to/.aMule/preferences.dat): Permission denied
2009-06-24 13:22:24: CFile: Error when opening file (/path-to/.aMule/preferences.dat): Permission denied
2009-06-24 13:22:24: Error: Failed to create a temporary file name (error 13: Permission denied)
2009-06-24 13:22:24: Error: can't open user configuration file.
2009-06-24 13:22:24: Error: can't open file '/path-to/.aMule/shareddir.dat' (error 13: Permission denied)
2009-06-24 13:22:24: Error: Failed to create a temporary file name (error 13: Permission denied)
2009-06-24 13:22:24: Error: can't open user configuration file.
2009-06-24 13:22:25: Error: Failed to create a temporary file name (error 13: Permission denied)
2009-06-24 13:22:25: Error: can't open user configuration file.
2009-06-24 13:22:25: CFile: Error when opening file (/path-to/.aMule/clients.met): Permission denied
2009-06-24 13:22:25: Credits: Failed to create creditfile
2009-06-24 13:22:25: CFile: Error when opening file (/path-to/.aMule/server.met.new): Permission denied
2009-06-24 13:22:25: Failed to save server.met!
2009-06-24 13:22:25: CFile: Error when opening file (/path-to/.aMule/emfriends.met): Permission denied
2009-06-24 13:22:25: Failed to open friend list file 'emfriends.met' for writing!
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (076.part.met ==> file01.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (079.part.met ==> file02.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (078.part.met ==> file03.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (065.part.met ==> file04.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (066.part.met ==> file05.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (067.part.met ==> file06.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (068.part.met ==> file07.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (069.part.met ==> file08.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (070.part.met ==> file09.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (071.part.met ==> file10.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (072.part.met ==> file11.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (055.part.met ==> file12.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (059.part.met ==> file13.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (053.part.met ==> file14.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (058.part.met ==> file15.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (045.part.met ==> file16.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (044.part.met ==> file17.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (043.part.met ==> file18.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (042.part.met ==> file19.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (041.part.met ==> file20.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (037.part.met ==> file21.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (074.part.met ==> file22.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (073.part.met ==> file23.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (057.part.met ==> file24.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (006.part.met ==> file25.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (048.part.met ==> file26.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (004.part.met ==> file27.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (056.part.met ==> file28.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (052.part.met ==> file29.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (075.part.met ==> file30.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (002.part.met ==> file31.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (001.part.met ==> file32.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (049.part.met ==> file33.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (061.part.met ==> file34.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (063.part.met ==> file35.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (047.part.met ==> file36.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (062.part.met ==> file37.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (080.part.met ==> file38.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (026.part.met ==> file39.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (064.part.met ==> file40.avi)
2009-06-24 13:22:25: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 13:22:25: ERROR while saving partfile: .part file not found (060.part.met ==> file41.avi)
2009-06-24 13:22:25: Error: Failed to remove lock file '/path-to/.aMule/muleLock' (error 13: Permission denied)
2009-06-24 12:42:11: Starting aMule 2.2.5 using wxGTK2 v2.8.7
2009-06-24 12:42:11: Creditfile loaded, 2583 clients are known
2009-06-24 12:42:11: Loading IP-filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2009-06-24 12:42:11: Loaded 217083 IP-ranges from '/path-to/.aMule/ipfilter.dat'. 0 malformed lines were discarded.
2009-06-24 12:42:11: Loaded 182 IP-ranges from '/path-to/.aMule/ipfilter_static.dat'. 0 malformed lines were discarded.
2009-06-24 12:42:11: External connections disabled in config file
2009-06-24 12:42:11: Created Client UDP-Socket at port XXXX
2009-06-24 12:42:11: - This is aMule 2.2.5 using wxGTK2 v2.8.7 based on eMule.
2009-06-24 12:42:11: Running on Linux 2.6.26-2-amd64 x86_64
2009-06-24 12:42:11: - Visit http://www.amule.org to check if a new version is available.
2009-06-24 12:42:11: Loaded 248 flag bitmaps.
2009-06-24 12:42:11: Loading server.met file: /path-to/.aMule/server.met
2009-06-24 12:42:11: 0 servers in server.met found
2009-06-24 12:42:11: Found 41 part files
2009-06-24 12:42:11: Found 34 known shared files
2009-06-24 12:42:11: Connecting
2009-06-24 12:42:11: Read 190 Kad contacts
2009-06-24 12:42:11: ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2009-06-24 12:43:08: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 12:43:08: Error: Failed to create a temporary file name (error 13: Permission denied)
2009-06-24 12:43:08: Error: can't open user configuration file.
2009-06-24 12:43:11: Error: Failed to get file system statistics (error 13: Permission denied)
2009-06-24 12:43:11: WARNING: Not enough free disk-space! Pausing file: file21.avi
Edited to remove copyrighted filenames. Next time, please do it yourself.