aMule is multi-platform
eMule P2P. This nice application has been around for some time but recently I noticed it has acquired the ability to run as a daemon so the dependency to have it executed on a X session is gone.
amuled runs as a background process allowing connections from either a web browser on port 4711 or an aMule client such as amulecmd on port 4712. It has to be configured before executed so a ~/.aMule/amule.conf is needed (if you had it running as GUI before you already have that file) also server.met is helpful, once everything’s done it’s launched like $ amuled -f.
On
pkgsrc net/amule package does not install amuled by default so I have done
this patch which once applied over the package’s root enable the daemon and the console client to be built and installed.
About the resources needed I have to say it seems to run much much better than the GUI version, after some minutes running and the queue with an average number of downloads it is not eating any CPU and just some MiB of memory…
14677 amule 29 0 24M 23M RUN 18:58 4.35% 4.35% amuled
Let’s see after a week
After some crashes on my server (all my fault…) I’ve been having some problems with a table on
my photo album’s database, it gave me messages like this:
mysql error: [1016: Can't open file: 'xxxx_counter_stats.MYI' (errno: 145)] in EXECUTE("DELETE FROM xxxx_counter_stats
WHERE date < '2005-11-02 23:55:23'") mysql error: [1016: Can't open file: 'xxxx_counter_stats.MYI' (errno: 145)] in EXECUTE("SELECT ip FROM xxxx_counter_stats")
So after some
Google’ing I’ve got to the answer:
(I'm applying this over an already fixed file so the output might be different if you use it with a broken file...)
# /etc/rc.d/mysqld stop (or whatever script your distro uses...)
# myisamchk -c /var/mysql/xxxx/xxxx_counter_stats.MYI
Checking MyISAM file: /var/mysql/xxxx/xxxx_counter_stats.MYI
Data records: 1 Deleted blocks: 0
- check file-size
- check record delete-chain
- check key delete-chain
- check index reference
- check data record references index: 1
- check record links
# myisamchk -r /var/mysql/xxxx/xxxx_counter_stats.MYI (If -r does not work, try -o. it handles some other cases than -r)
- recovering (with sort) MyISAM-table '/var/mysql/xxxx/xxxx_counter_stats.MYI'
Data records: 1
- Fixing index 1
# /etc/rc.d/mysqld start
Starting mysqld.
Fixed! it’s working again, I know this time I was lucky so that’s why I’ve decided to go like
pof and I’m going to check
flexbackup.