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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th June 2006, 12:53
skdb skdb is offline
Member
 
Join Date: Mar 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default vsftpd showing Offline

Installation went smoothly.
FTP was set as /etc/vsftpd.conf
set as initd.

Installation finished and FTP server is running but ISPConfig says its Offline.

Can someone explain how ISPConfig integrates within vsftpd for the Virtual Users?

What I dont understand is when I set the FTP to initd, what does that mean?
The Port is open and running.

Any help would be great.
Reply With Quote
Sponsored Links
  #2  
Old 7th June 2006, 13:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Make sure vsftpd is listening on localhost. What's the output of
Code:
netstat -tap
?

Quote:
What I dont understand is when I set the FTP to initd, what does that mean?
I guess you mean inetd? That means that vsftpd is run by inetd instead of being a standalone daemon.

BTW, you should have installed Proftpd instead of vsftpd, it integrates better into ISPConfig.
__________________
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 7th June 2006, 15:45
skdb skdb is offline
Member
 
Join Date: Mar 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
tcp 0 0 localhost:10024 *:* LISTEN 2322/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 29723/master
tcp 0 0 *:mysql *:* LISTEN 6299/mysqld
tcp 0 0 localhost:778 *:* LISTEN 2722/famd
tcp 0 0 *:submission *:* LISTEN 29723/master
tcp 0 0 localhost:spamd *:* LISTEN 2333/spamd.pid
tcp 0 0 *:sunrpc *:* LISTEN 1945/portmap
tcp 0 0 *:ssmtp *:* LISTEN 29723/master
tcp 0 0 *:81 *:* LISTEN 28964/ispconfig_htt
tcp 0 0 *:10676 *:* LISTEN 2754/perl
tcp 0 0 *:ftp *:* LISTEN 307/vsftpd
tcp 0 0 217-20-115-118.i:domain *:* LISTEN 31986/named
tcp 0 0 localhost:domain *:* LISTEN 31986/named
tcp 0 0 *:smtp *:* LISTEN 29723/master
tcp 0 0 localhost:953 *:* LISTEN 31986/named
tcp6 0 0 *:imaps *:* LISTEN 2441/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 4476/couriertcpd
tcp6 0 0 *:submission *:* LISTEN 29723/master
tcp6 0 0 *op3 *:* LISTEN 4428/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 2428/couriertcpd
tcp6 0 0 *:www *:* LISTEN 28998/apache2
tcp6 0 0 *:ssmtp *:* LISTEN 29723/master
tcp6 0 0 *:ssh *:* LISTEN 2718/sshd
tcp6 0 0 *:smtp *:* LISTEN 29723/master
tcp6 0 0 localhost:953 *:* LISTEN 31986/named
tcp6 0 0 *:https *:* LISTEN 28998/apache2
Proftpd, I tryed this originally and had similar problems, everytime I started the proftpd, it kept saying that it could not start because the server was already running by another process....the problem was similar to the one here in the forums, I tryed the solutions written but still, ISPConfig said the Proftpd was still Offline and none of the Users could connect...thats why I chose to try VSFTPD but it looks like a similar problem.

Any Tips would be greatly welcome.

I would be more willing to have proftpd if thats the recommended way, but I will probably post here again

Last edited by skdb; 7th June 2006 at 15:52.
Reply With Quote
  #4  
Old 7th June 2006, 21:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
tcp 0 0 *:ftp *:* LISTEN 307/vsftpd
vsftpd is running as a standalone daemon here, but you said before you configured it to be run by inetd. So I guess we have a conflict here. Please run
Code:
kill -9 307
and restart inetd.
__________________
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 8th June 2006, 02:34
skdb skdb is offline
Member
 
Join Date: Mar 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for helping falko, while I was waiting, I reverted back to ProFTPD as you suggested and made a new Install of ISPConfig.

The Proftpd is set as "Standalone" on a Debian Sarge box.
I set this on the ISP install, I have also added the:
Quote:
SocketBindTight on
to the /etc/proftpd.conf as suggested here.

When Users are created, the FTP access is accepted and all is working to plan, but:
In ISPConfig, the Service is showing as Offline
When starting Proftpd, the Double Server is shown but "SocketBindTight" cancels out the "Default Server".

netstat -tap:

Quote:
tcp 0 0 217-20-115-118.inte:ftp *:* LISTEN 1012/proftpd: (acce
Any Help would be appriciated.
Reply With Quote
  #6  
Old 8th June 2006, 13:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,655 Times in 4,464 Posts
Default

Quote:
Originally Posted by skdb
tcp 0 0 217-20-115-118.inte:ftp *:* LISTEN 1012/proftpd: (acce
This looks fine, Proftp is lisening on all interfaces. Please post the content of the file:

/etc/hosts
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 8th June 2006, 14:08
skdb skdb is offline
Member
 
Join Date: Mar 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

217.20.115.118 217-20-115-118.internetserviceteam.com 217-20-115-118
There you go
Reply With Quote
  #8  
Old 8th June 2006, 16:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

You should change
Code:
127.0.0.1 localhost
to
Code:
127.0.0.1 localhost.localdomain localhost
Quote:
tcp 0 0 217-20-115-118.inte:ftp *:* LISTEN 1012/proftpd: (acce
Proftpd is listening only on 217.20.115.118. What's in /etc/proftpd.conf?
__________________
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
  #9  
Old 8th June 2006, 16:24
skdb skdb is offline
Member
 
Join Date: Mar 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As requested:
Quote:
#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName "wBBMods FTP"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Uncomment this if you would use TLS module:
#TLSEngine on
# Uncomment this if you would use quota module:
#Quotas on
# Uncomment this if you would use ratio module:
#Ratios on
# Port 21 is the standard FTP port.
Port 21
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?pag...LSS-2004-10-02
# It is on by default.
#DelayEngine off

DefaultRoot ~
SocketBindTight on
IdentLookups off
Include /etc/proftpd_ispconfig.conf
Reply With Quote
  #10  
Old 8th June 2006, 16:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

What's in /etc/proftpd_ispconfig.conf?
Can you restart Proftpd? What's the output of
Code:
netstat -tap
then?
__________________
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
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
FTP-Server: Offline sandman_ua Installation/Configuration 18 8th January 2007 16:52
how to change from proftpd to vsftpd somnium Installation/Configuration 5 18th July 2006 20:38
Web Server Goes Offline kapatid Installation/Configuration 1 28th March 2006 11:16
VSFtpd MOTD zarkann Server Operation 1 8th October 2005 03:20
chroot / vsftpd andre Server Operation 1 3rd May 2005 13:18


All times are GMT +2. The time now is 01:40.


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