command: amule Credits: Failed to create new RSA keypair Credits: Failed to load encryption-key! gui: No 'cryptkey.dat' file found, creating but it never creates the cryptke.dat file Reproducible: Always Steps to Reproduce: 1. the same issue since amule 1.2.8 2. amule 2.0.3 Actual Results: emerge crypto++ same results, it's unable to sign the credits. Expected Results: create a valid cryptkey.dat file in ~/.aMule/
could you help with debug a bit? run a command: strace -o /tmp/amule.log amule then search in /tmp/amule.log for line starting with: stat64("/home/aye/.aMule/cryptkey.dat" (change 'aye' into your username) and paste here few next lines (till line containing your error message)
read(7, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 80) = 80 close(7) = 0 time(NULL) = 1125687375 open("/etc/localtime", O_RDONLY) = 7 fstat64(7, {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 fstat64(7, {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e90000 read(7, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10"..., 4096) = 946 close(7) = 0 munmap(0xb7e90000, 4096) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 time(NULL) = 1125687375 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 fstat64(0, {st_mode=S_IFREG|0640, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e90000 write(0, "2005-09-02 20:56:15: Archivo de "..., 75) = 75 stat64("/home/username/.aMule/cryptkey.dat", 0xbf9daf90) = -1 ENOENT (No such file or directory) time(NULL) = 1125687375 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 time(NULL) = 1125687375 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=946, ...}) = 0 write(0, "2005-09-02 20:56:15: No \'cryptke"..., 60) = 60 open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 7 read(7, "R\255\333>=\311\236\300\352(\306W\271\206\243\304\320\f"..., 32) = 32 close(7) = 0 futex(0x4318c134, FUTEX_WAKE, 2147483647) = 0 futex(0x42e14194, FUTEX_WAKE, 2147483647) = 0 write(1, "Credits: Failed to create new RS"..., 42) = 42 brk(0x8a76000) = 0x8a76000 open("/home/username/.aMule/cryptkey.dat", O_RDONLY) = -1 ENOENT (No such file or directory) write(1, "Credits: Failed to load encrypti"..., 40) = 40 stat64("/home/username/.aMule/ipfilter.dat", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/home/username/.aMule/ipfilter.dat", O_RDONLY|O_LARGEFILE) = 7 read(7, "", 2) = 0 close(7) = 0
i still don't know what can be wrong and can't reproduce that. do the following: 1. paste your 'emerge info' 2. compile amule with debug support (USE=debug emerge -1 amule) 3. remove your ~/.aMule (or change it's name for a while if you do not want to remove it) 4. start amule and paste here ~/.aMule/logfile
Sorry, it seems I've lost my HD. It's a hardware issue. I send this message from my laptop. You can close the bug, and thank you very much for your advices/help.
closing