Operating System - Linux
1748210 Members
4214 Online
108759 Solutions
New Discussion юеВ

Re: ftp error when accessing iso-mounted filesystem.

 
Joakim Brosten
Frequent Advisor

ftp error when accessing iso-mounted filesystem.

Hi,
I've mounted a SuSE installation DVD iso-image on a directory on my ftp server. I can ls/pwd/cd around in the directory structure while ftp:ing the server but if I try to "get" any file following error appears:

"426 Failure writing network stream"

The mounting in /etc/fstab look like:

"iso_file directory iso9660 ro,loop 0 0"

I'm using vsftp (2.0.2-3) as ftp server, SuSE distr. Linux

/JB
7 REPLIES 7
Derek Whigham_1
Trusted Contributor

Re: ftp error when accessing iso-mounted filesystem.

I has seen issues with vsftp to both ISO Images and FAT files systems. There seems to be some sort of performance issue. That cause this error.

I have been using pure ftp instead.

http://www.pureftpd.org/project/pure-ftpd

Divide and Conquer
Jerome Henry
Honored Contributor

Re: ftp error when accessing iso-mounted filesystem.

Used to be true on vsftpd 1.1.x... should not be the case on v 2... strange...
Do you have iptables running ? Can you stop it to see if it's better ? If so, try modprobe ip_conntrack_ftp ...

hth

Jerome
You can lean only on what resists you...
Joakim Brosten
Frequent Advisor

Re: ftp error when accessing iso-mounted filesystem.

Hi Derek, hi Jerome,

Thanks for responding. I've also read that earlier 1.x versions had this problem, but should not be the case with 2.x.

I'd prefer not to change ftp server application, we have it installed on several servers and it is an effort to change. I'll try this on one of the other servers because this one has a rather old distr., perhaps other installed applications (tcp/udp stack) might have an effect.

Iptables is not running...

Have a nice weekend, thanks again. /Joakim
Jerome Henry
Honored Contributor

Re: ftp error when accessing iso-mounted filesystem.

Yes, could be another application, maybe some lsof while downloading would help you.
But I keep thinking that something is forbiding rather than preventing to write the file you download... any limit set in /etc/security/limits.conf ?

J
You can lean only on what resists you...
Jerome Henry
Honored Contributor

Re: ftp error when accessing iso-mounted filesystem.

Just a quick thought... does that block always ? You kow that by default, a normal kernel would allow 8 loops max, so if your ftp server creates several instance, you may easily reach the limit...
You can lean only on what resists you...
Joakim Brosten
Frequent Advisor

Re: ftp error when accessing iso-mounted filesystem.

Hi again Jerome,

There is no limits set in limits.conf and it works fine on any other file system. It seems to be the iso file system that is troubling.

Thanks for trying to help me.

/Jocke
Joakim Brosten
Frequent Advisor

Re: ftp error when accessing iso-mounted filesystem.

Had to extract the iso files to "normal" directories, then they are available bu ftp. (As normal)

Thanks all for trying to help! /Jocke