Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th November 2011, 23:58
denpark denpark is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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
Attached Images
 
Reply With Quote
Sponsored Links
  #2  
Old 8th November 2011, 00:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Please post the output of:

netstat -tap | grep ftp

and

iptables -L
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th November 2011, 00:17
denpark denpark is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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

------
Reply With Quote
  #4  
Old 8th November 2011, 02:16
denpark denpark is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #5  
Old 8th November 2011, 02:19
denpark denpark is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

One more tidbit:

I have no configuration entries in the DNS Zones tab.

Given what I've mentioned previously,..do I need anything here?
Reply With Quote
  #6  
Old 8th November 2011, 11:07
denpark denpark is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #7  
Old 8th November 2011, 17:43
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

Quote:
Originally Posted by denpark View Post
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?
__________________
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
  #8  
Old 8th November 2011, 21:18
denpark denpark is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #9  
Old 9th November 2011, 21:08
denpark denpark is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #10  
Old 9th November 2011, 22:25
denpark denpark is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Location: silicon valley
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

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
Reply With Quote
Reply

Bookmarks

Tags
ftp, ispconfig 3, pureftp, ubuntu 11.10

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
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 23:41
can't send/receive mail fedora 12 - ispconfig 3 ev0css Installation/Configuration 9 17th May 2010 22:44
ISPConfig 3 Send/Receive mail not working. Acidut General 6 4th April 2010 12:24
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 22:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 20:38


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


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