aMule Forum

English => aMule Help => Topic started by: noloman on March 18, 2008, 09:50:50 AM

Title: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 18, 2008, 09:50:50 AM
Hello everyone:
These are exactly the errors I am getting:

2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/005.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/006.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/007.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/008.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/009.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/010.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/011.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/012.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/013.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/014.part.met
2008-03-18 08:48:45: FileIO: Unexpected error calling stat on a file: /media/DATOS/eMuledown/temp/016.part.met

I am using aMule on Ubuntu and I am getting that error, so I cannot see my previous downloads in aMule.
The directories temp and incoming are in a NTFS partition.
Thanks for your help
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: Kry on March 18, 2008, 04:58:43 PM
Can you write on NTFS?
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 18, 2008, 09:28:00 PM
Oh yes, I can download a lot of files to that partition, either by aMule or any other method.
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: Festor on March 18, 2008, 10:01:49 PM
Fat32 is better than NTFS :-/
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 18, 2008, 10:12:23 PM
I know but sometimes I need to work with more than 4 gb files, so I need NTFS instead of fat32 :-[
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: wuischke on March 18, 2008, 10:27:02 PM
Fat32 is better than NTFS :-/
*shudder* No, it is not. FAT32 is a simple file system and almost every operating system supports it. That's about the only reason people are still using it.
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: Festor on March 18, 2008, 11:17:50 PM
Sorry... I want say this: Fat32 is better than NTFS  -> GNU/Linux supports better fat32 than NTFS
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 19, 2008, 02:56:47 PM
allright but...is there any idea?
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: wuischke on March 19, 2008, 03:02:44 PM
noloman: What version of aMule are you using? If it's 2.1.3, could you please try the latest developmental snapshot? (There are Ubuntu packages)
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 20, 2008, 12:35:04 PM
Allright, I got the latest SVN aMule version from GetDeb and I installed it.
I will let you know if I have the same problem with this aMule version.
Thank you all.
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 23, 2008, 12:24:18 PM
It is still happening with the last SVN version:

2008-03-23 11:25:30: CFile.cpp(140): CFile: Error when opening file (/media/DATOS/eMuledown/temp/005.part.met): In/out error
2008-03-23 11:25:30: PartFile.cpp(889): ERROR saving part file: Failed to open part.met file
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: wuischke on March 23, 2008, 12:38:40 PM
OK, do you use ntfs-3g to read/write ntfs partitions?
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 23, 2008, 12:49:30 PM
I don't know, I use what Ubuntu uses by default, because I installed Ubuntu and was immediately using my NTFS partition.
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: wuischke on March 23, 2008, 07:43:02 PM
Could you please show your /etc/fstab file?
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 23, 2008, 08:13:51 PM
Here it is:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hdb3
UUID=7f441024-145c-4720-9315-b1e25de96a1f /               ext3    defaults,errors=remount-ro 0       1
# /dev/hdb4
UUID=924c6819-2791-44a9-a1a6-0b5ce25f3b34 /home           ext3    defaults        0       2
# /dev/hdb1
UUID=1EA8C4A2A8C479B3 /media/hdb1     ntfs    defaults,umask=007,gid=46 0       1
# /dev/hdb2
UUID=231896f3-8eb1-44f9-a51e-718b9b6b20c0 none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: wuischke on March 23, 2008, 09:24:44 PM
Let's start with a link: https://help.ubuntu.com/community/MountingWindowsPartitions/ThirdPartyNTFS3G

Please install ntfs-3g on your system and replace ntfs with ntfs-3g in the /dev/hdb1-line. The NTFS support using ntfs-3g is a lot better than using the kernel ntfs driver.

Tell me how it went when you're done.
Title: Re: FileIO: Unexpected error calling stat on a file
Post by: noloman on March 25, 2008, 09:22:49 PM
It is working now, because it seemed to be a problem with the old temp folder.
I created a new temp folder because into the old one, there were several .part and .part.met files which, in fact, don't exist but they are there into the HD, so when aMule tried to overwrite this kind of "ghost" empty-files, I got that error.
Now with the new temp folder, everything's working right.
Thank you very much.