
7th November 2011, 22:58
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
cannot connect to ftp
Greetings, everyone -
Here's what I've been referencing:
-I followed the directions from 'ubuntu server 11.10 with ISP config 3'.
- read through the ispconfig 3 guide.
Here's the situation:
I am unable to connect to the ftp.
I am using pureftp.
so far, i've:
-created the client
-added the domain
-added ftp user
i tried using filezilla ftp client.
(see attached the image to this message)
Im running ispconfig 3.0.4 on Ubuntu server 11.10, on a dell t105.
any suggestions?
Thanks in advance!
Dennis
|

7th November 2011, 23:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Please post the output of:
netstat -tap | grep ftp
and
iptables -L
|

7th November 2011, 23:17
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi till - thanks for the prompt response.
netstat -tap | grep ftp:
--------
tcp 0 0 *:ftp *:* LISTEN 18254/pure-ftpd (SE
tcp6 0 0 [::]:ftp [::]:* LISTEN 18254/pure-ftpd (SE
--------
iptables -L
----------------------------------------
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-courierimaps tcp -- anywhere anywhere multiport dports imaps
fail2ban-courierimap tcp -- anywhere anywhere multiport dports imap2
fail2ban-courierpop3s tcp -- anywhere anywhere multiport dports pop3s
fail2ban-courierpop3 tcp -- anywhere anywhere multiport dports pop3
fail2ban-pureftpd tcp -- anywhere anywhere multiport dports ftp
fail2ban-sasl tcp -- anywhere anywhere multiport dports smtp
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
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-pureftpd (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
------
|

8th November 2011, 01:16
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
a few things to note:
1) I am using dynamic dns - so i do not have a static ip address set for this server.
my output of /etc/hosts:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 server1.mydomain.com server1
so, the ip address in Server Config Tab of the ispconfig app is:
IP Address: 127.0.1.1
2) all the domains i am adding to my client reside on the machine where ispconfig is installed.
3) all the domains i am adding to my client have the same IP.
----------------
Two observations:
1) i cannot ping any added domains from an external machine. only internally.
2) i can access the all the added domains from a browser externally.
3) i can access the main server via ssh.
Thanks in advance!
__________________
System Info
- ISP Config v3.0.4
- Operating system: Oneiric Ubuntu Server 11.10
- Kernel: 3.0.0-12-server
- Processor: Dual Core AMD Athlon(tm) 4450B; 2.3 GHz, 2x512K Cache, x86_64
- Memory: 4.0 GB
|

8th November 2011, 01:19
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
One more tidbit:
I have no configuration entries in the DNS Zones tab.
Given what I've mentioned previously,..do I need anything here?
|

8th November 2011, 10:07
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
also -- another observation:
after installing ispconfig 3.0.4, I could only access the ispconfig app by using the application path in the domain -- ie. http://mydomain.com/ispconfig
http://mydomain.com:8080/ did not work for me..
Any suggestions?
__________________
System Info
- ISP Config v3.0.4
- Operating system: Oneiric Ubuntu Server 11.10
- Kernel: 3.0.0-12-server
- Processor: Dual Core AMD Athlon(tm) 4450B; 2.3 GHz, 2x512K Cache, x86_64
- Memory: 4.0 GB
|

8th November 2011, 16:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Quote:
Originally Posted by denpark
so, the ip address in Server Config Tab of the ispconfig app is:
IP Address: 127.0.1.1
|
Please use the IP address that is allocated to eth0. You should also update /etc/hosts with this IP.
Is this a physical server or a virtual machine?
|

8th November 2011, 20:18
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi Falko -
Thanks for your response. This is a physical machine, not a vm.
So, in /etc/hosts, I will replace 127.0.1.1 with the ip address that is allocated to eth0 -- the one that is shown when i run ifconfig.
is that the only file that i change?
__________________
System Info
- ISP Config v3.0.4
- Operating system: Oneiric Ubuntu Server 11.10
- Kernel: 3.0.0-12-server
- Processor: Dual Core AMD Athlon(tm) 4450B; 2.3 GHz, 2x512K Cache, x86_64
- Memory: 4.0 GB
|

9th November 2011, 20:08
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
I changed the IP in /etc/hosts -- still no luck -- i am getting the same behavior.
__________________
System Info
- ISP Config v3.0.4
- Operating system: Oneiric Ubuntu Server 11.10
- Kernel: 3.0.0-12-server
- Processor: Dual Core AMD Athlon(tm) 4450B; 2.3 GHz, 2x512K Cache, x86_64
- Memory: 4.0 GB
|

9th November 2011, 21:25
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Another observation --
I looked at the dbispconfig database and then at the ftp_user table and notice that no users were added to the table --also, the shell_users table is empty as well. (i added a shell user too and that was also not working).
from what i've read in the config files in /etc/pure-ftpd/conf, the pureftpdb looks at this database.
two questions --
1) could this be the root cause of the problem?
2) what would cause ftp users from being added to the ftp_users table? if this is empty, then from what table is the ispconfig admin gui getting the information from to display in the gui? it seems there might be a disconnect here.
thanks in advance,
Dennis
__________________
System Info
- ISP Config v3.0.4
- Operating system: Oneiric Ubuntu Server 11.10
- Kernel: 3.0.0-12-server
- Processor: Dual Core AMD Athlon(tm) 4450B; 2.3 GHz, 2x512K Cache, x86_64
- Memory: 4.0 GB
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 07:36.
|
|
Recent comments
1 day 6 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 7 hours ago
2 days 7 hours ago
2 days 12 hours ago
2 days 19 hours ago
2 days 20 hours ago
2 days 21 hours ago