Prev: KDE4 vs. KDE3
Next: slow internet connections
From: Sidney Lambe on 13 Apr 2010 01:51 On comp.os.linux.setup, Artist <Artist(a)sj.speakeasy.net> wrote: > Sidney Lambe wrote: >> On comp.os.linux.setup, Artist <Artist(a)sj.speakeasy.net> wrote: >>> I am trying to get pure-ftpd working on a Debian Lenny VPS account. >>> Right now I cannot make a connection to it. It is listening on port 21: >>> >>> ~# netstat -tanpu | grep LISTEN | grep 21 >>> tcp 0 0 0.0.0.0:21 0.0.0.0:* >>> LISTEN 13293/pure-ftpd (SE >>> tcp6 0 0 :::21 :::* >>> LISTEN 13293/pure-ftpd (SE >>> ~# >> >>> I need to know if should see the all zero default IP address >>> here or the website's IP address. >>> >>> I also need to know if Bind9 needs to be configured for FTP. >> >> Could be you need to open a doorway for FTP in your firewall. >> If you are using iptables this should work: >> >> /usr/sbin/iptables -A INPUT -p tcp --dport 21 -j ACCEPT > I executed this statement. It did not make a difference. Oh well, worth a shot. You probably should check what's going on with iptables: iptables -L and conceivably remove that rule, although it may have been there already. Should have been, unless there's another way tp accomplish the same thing with iptables... Does iptables ignore redundant rules or just add the new one? Don't know. To delete it: iptables -D INPUT -p tcp --dport 21 -j ACCEPT > > On my system it is located at /sbin/iptables, rather than a > subdirectory of /usr > Good luck. I don't have any other good ideas at present. Maybe your ISP blocks that port and you'll have to choose one over 1000.... Sid
From: Sidney Lambe on 13 Apr 2010 02:13 On comp.os.linux.setup, Sidney Lambe <sidneylambe(a)nospam.invalid> wrote: > On comp.os.linux.setup, Artist <Artist(a)sj.speakeasy.net> wrote: >> Sidney Lambe wrote: >>> On comp.os.linux.setup, Artist <Artist(a)sj.speakeasy.net> wrote: >>>> I am trying to get pure-ftpd working on a Debian Lenny VPS account. >>>> Right now I cannot make a connection to it. It is listening on port 21: >>>> >>>> ~# netstat -tanpu | grep LISTEN | grep 21 >>>> tcp 0 0 0.0.0.0:21 0.0.0.0:* >>>> LISTEN 13293/pure-ftpd (SE >>>> tcp6 0 0 :::21 :::* >>>> LISTEN 13293/pure-ftpd (SE >>>> ~# >>> >>>> I need to know if should see the all zero default IP address >>>> here or the website's IP address. >>>> >>>> I also need to know if Bind9 needs to be configured for FTP. >>> >>> Could be you need to open a doorway for FTP in your firewall. >>> If you are using iptables this should work: >>> >>> /usr/sbin/iptables -A INPUT -p tcp --dport 21 -j ACCEPT > >> I executed this statement. It did not make a difference. > > Oh well, worth a shot. > > You probably should check what's going on with iptables: iptables > -L and conceivably remove that rule, although it may have been > there already. Should have been, unless there's another way tp > accomplish the same thing with iptables... Does iptables ignore > redundant rules or just add the new one? Don't know. To delete > it: > > iptables -D INPUT -p tcp --dport 21 -j ACCEPT > >> >> On my system it is located at /sbin/iptables, rather than a >> subdirectory of /usr >> > > Good luck. I don't have any other good ideas at present. > > Maybe your ISP blocks that port and you'll have to choose > one over 1000.... > > Sid > > You know, I'd forget about the VPS stuff and get it working as a simple FTP server first, removing a layer of complexity. If it works in the basic configuration, and doesn't as a VPS server, then you know that's where the problem is... Sid
From: The Natural Philosopher on 13 Apr 2010 04:48 Artist wrote: > The Natural Philosopher wrote: >> Artist wrote: >>> I am trying to get pure-ftpd working on a Debian Lenny VPS account. >>> Right now I cannot make a connection to it. It is listening on port 21: >>> >>> ~# netstat -tanpu | grep LISTEN | grep 21 >>> tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN >>> 13293/pure-ftpd (SE >>> tcp6 0 0 :::21 :::* LISTEN >>> 13293/pure-ftpd (SE >>> ~# >>> >>> I need to know if should see the all zero default IP address here >> at >> Mione shows the same for a different (working) ftp service. >> >> >> or the >>> website's IP address. >>> >>> I also need to know if Bind9 needs to be configured for FTP. >>> >> Don't think so. >> >> >> What happens when you try and connect to it? what error? > I am trying to make this ftp connection using Dreamweaver MX 2004. The > error message is: > > "An FTP error occurred - cannot make connection to host. The remote host > cannot be found." > > This error message happens immediately upon the attempt to connect. > > I am able to access this site by its domain name in a web browser. The > above error message is what I get when I put the ftp subdomain on it. This sounds like you don't know what you are doing quite. Type exactly the commands you use , here. Also say where the DNS records for this domainn are held. > Without a subdomain the FTP attempt times out because the server does > not respond. That it cannot find the remote host with the FTP subdomain > causes me to suspect the Bind9 configuration. Are you sure Bind9 does > not have to be configured for ftp? > I think you need to do some reading up on IP addresses,well known ports and DNS .. you are confusing DNS with IP addressing. What happens if, on the Linux machine at the command line, you type ftp localhost
From: Artist on 13 Apr 2010 12:30 Artist wrote: > I am trying to get pure-ftpd working on a Debian Lenny VPS account. > Right now I cannot make a connection to it. It is listening on port 21: > > ~# netstat -tanpu | grep LISTEN | grep 21 > tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN > 13293/pure-ftpd (SE > tcp6 0 0 :::21 :::* LISTEN 13293/pure-ftpd (SE > ~# > > I need to know if should see the all zero default IP address here or the > website's IP address. > > I also need to know if Bind9 needs to be configured for FTP. > I have this working now. What finally did it was the use of the domain name without the ftp subdomain that I have been accustomed to at other hosting services. E. g.: example.com instead of: ftp.example.com and setting the FTP client for passive FTP. -- If you desire to respond directly remove the "sj." from the domain name part of my email address. It is a spam jammer.
From: Artist on 13 Apr 2010 14:34
Now I have a new problem. Before I was able to FTP, to get the website on the server, I used Tunnelier SSH to upload the site. Now I cannot overwrite any files that Tunnelier put there. The error message I get is: "An FTP error occurred - cannot put contact.htm. Access Denied. The file may not exist, or there could be a permission problem." I am able to upload a test page by FTP and overwrite and delete that test page by means of FTP. There is no difference in permissions between files put there by FTP and SSH. These are -rw-r--r-- for both. What other permissions are there? -- If you desire to respond directly remove the "sj." from the domain name part of my email address. It is a spam jammer. |