HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   cannot connect to ftp (http://www.howtoforge.com/forums/showthread.php?t=54829)

denpark 7th November 2011 23:58

cannot connect to ftp
 
1 Attachment(s)
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

till 8th November 2011 00:09

Please post the output of:

netstat -tap | grep ftp

and

iptables -L

denpark 8th November 2011 00:17

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

------

denpark 8th November 2011 02:16

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!

denpark 8th November 2011 02:19

One more tidbit:

I have no configuration entries in the DNS Zones tab.

Given what I've mentioned previously,..do I need anything here?

denpark 8th November 2011 11:07

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?

falko 8th November 2011 17:43

Quote:

Originally Posted by denpark (Post 266985)
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?

denpark 8th November 2011 21:18

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?

denpark 9th November 2011 21:08

I changed the IP in /etc/hosts -- still no luck -- i am getting the same behavior.

denpark 9th November 2011 22:25

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


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

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