Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th May 2012, 02:38
614cooker 614cooker is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default ubuntu 11.10 and ftp problems

I would not say im new at linux I have been using it for years but this is the first time that I have had to setup a server. well let me go thou the problem. I have followed http://www.howtoforge.com/perfect-se...10-ispconfig-3 to the Tee. I have setup everything that it states. I have setup a user in ispconfig with a website, and ftp account. Now the problem is I cant access the ftp account through a ftp client I have tried everything from changing from passive to active. All ports are open. I have tried both port 21 and 22 (FTP AND SFTP) but my server will just not allow me to access it.

In filezilla i get this error
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server

I have DMZ my router and opened both ssh, ftp and sftp ports.

Im just at a complete loss apart from this the server is working.

If someone could please help I need to get it up and running as soon as possible.
Reply With Quote
Sponsored Links
  #2  
Old 11th May 2012, 11:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What's the output of
Code:
netstat -tap
?

Are there any FTP errors in your logs?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th May 2012, 17:11
614cooker 614cooker is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:10024 *:* LISTEN 906/amavisd (master
tcp 0 0 localhost.localdo:10025 *:* LISTEN 1549/master
tcp 0 0 *:mysql *:* LISTEN 750/mysqld
tcp 0 0 *:http-alt *:* LISTEN 32329/apache2
tcp 0 0 *:www *:* LISTEN 32329/apache2
tcp 0 0 *:tproxy *:* LISTEN 32329/apache2
tcp 0 0 *:ftp *:* LISTEN 28742/pure-ftpd (SE
tcp 0 0 server1.gettafor:domain *:* LISTEN 757/named
tcp 0 0 localhost.locald:domain *:* LISTEN 757/named
tcp 0 0 *:ssh *:* LISTEN 578/sshd
tcp 0 0 *:smtp *:* LISTEN 1549/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 757/named
tcp 0 0 *:https *:* LISTEN 32329/apache2
tcp 0 52 server1.gettaforum.:ssh 192.168.0.4penvpn ESTABLISHED 16421/sshd: adminis
tcp6 0 0 [::]op3s [::]:* LISTEN 1436/couriertcpd
tcp6 0 0 [::]op3 [::]:* LISTEN 1408/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 1358/couriertcpd
tcp6 0 0 [::]:ftp [::]:* LISTEN 28742/pure-ftpd (SE
tcp6 0 0 [::]:domain [::]:* LISTEN 757/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 578/sshd
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 757/named
tcp6 0 0 [::]:imaps [::]:* LISTEN 1386/couriertcpd
Reply With Quote
  #4  
Old 12th May 2012, 12:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Looks ok. What about the logs?

Can you also post the output of
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 13th May 2012, 02:40
614cooker 614cooker is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
fail2ban-courierimaps tcp -- anywhere anywhere multipo rt dports imaps
fail2ban-courierpop3s tcp -- anywhere anywhere multipo rt dports pop3s
fail2ban-courierimap tcp -- anywhere anywhere multipor t dports imap2
fail2ban-sasl tcp -- anywhere anywhere multiport dport s smtp
fail2ban-courierpop3 tcp -- anywhere anywhere multipor t dports pop3

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-courierimap (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-courierimaps (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-courierpop3 (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-courierpop3s (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-sasl (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

right I have gotten access through my local lan but I still can not get access from a external ip e.g. friends house. I still dont think it is a router problem as i can reach my server but it will not allow ftps access from a external ip
Reply With Quote
  #6  
Old 13th May 2012, 14:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Please check your router settings. Make sure ports 20 and 21 are open.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 13th May 2012, 16:31
614cooker 614cooker is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Well i have checked my router porst 21 and 22 is deffently open i have even pinged my server from a external ip and it is open so it has to be a problem else where
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 20:34
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 20:38
FTP Error joshabts Installation/Configuration 3 4th November 2006 17:19
ftp problems tgansert Installation/Configuration 20 27th May 2006 20:06
Website users? ctroyp General 25 6th January 2006 19:02


All times are GMT +2. The time now is 04:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.