#1  
Old 4th January 2010, 21:05
Razvan Cioiu Razvan Cioiu is offline
Junior Member
 
Join Date: Dec 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 2 ProFTPD issue

Hello.


I have a problem with ProFTPD... it will not start.

I used this guide to install ProFTPD http://www.howtoforge.com/perfect-se...ispconfig-2-p5

When i try to start the service i get:

service proftpd start
Starting proftpd: [FAILED]

I installed ProFTPD AFTER ISPConfig 2

Are there some configurations i need to do ?

my proftpd.conf file

Quote:
#
# VHCS proftpd config file
#
#
#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
#Include /etc/proftpd/modules.conf

ServerName "ProFTPD"
ServerType standalone
DeferWelcome off

ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
UseReverseDNS off
IdentLookups off
AllowStoreRestart on
AllowForeignAddress on

LogFormat traff "%b %u"

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message

#LsDefaultOptions "-l"

DenyFilter \*.*/

DefaultRoot ~

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off

# 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 root
Group root

# Normally, we want files to be overwriteable.

<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022


AllowOverwrite on
HideNoAccess on

</Directory>

<Limit ALL>
IgnoreHidden on
</Limit>

<Global>
RootLogin off
TransferLog /var/log/xferlog
ExtendedLog /var/log/ftp_traff.log read,write traff
PathDenyFilter "\.quota$"
</Global>

<IfModule mod_delay.c>
DelayEngine off
</IfModule>

#
# VHCS2 Managment;
#
#SQLBackend mysql # Enable for Proftpd >= 1.3
SQLAuthTypes Crypt
SQLAuthenticate on
SQLConnectInfo {DATABASE_NAME}@{DATABASE_HOST} {DATABASE_USER} {DATABASE_PASS}
SQLUserInfo ftp_users userid passwd uid gid homedir shell
SQLGroupInfo ftp_group groupname gid members
SQLMinID 2000

#
# VHCS2 Quota management;
#

QuotaEngine on
QuotaShowQuotas on
QuotaDisplayUnits Mb

SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies
SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies

QuotaLock /var/run/proftpd/tally.lock
QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally

#
# SSL via TLS
#
#<IfModule mod_tls.c>
# TLSEngine off # on for use of TLS
# TLSLog /var/log/proftpd/ftp_ssl.log # where to log to
# TLSProtocol SSLv23 # SSLv23 or TLSv1
# TLSOptions NoCertRequest # either to request the certificate or not
# TLSRSACertificateFile /etc/proftpd/ssl.crt # SSL certfile
# TLSRSACertificateKeyFile /etc/proftpd/ssl.key # SSL keyfile
# TLSVerifyClient off # client verification
#</IfModule>

DefaultRoot ~

Include /etc/proftpd_ispconfig.conf

i have a proftpd_ispconfig.conf file


Quote:
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 127.0.0.1
<VirtualHost xxx.xxx.xxx.xxx>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
any ideas?

thank you
Reply With Quote
Sponsored Links
  #2  
Old 5th January 2010, 14:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

How did you install ProFTPd? Why is there VHCS2 stuff in the ProFTPd configuration?
__________________
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 6th January 2010, 12:08
Razvan Cioiu Razvan Cioiu is offline
Junior Member
 
Join Date: Dec 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi


I used yum to install ProFTPD (yum install ProFTPD)

The VHCS2 stuff comes from trying ti install it.
Reply With Quote
  #4  
Old 6th January 2010, 12:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

You can not install a new controlpanel on a server where you tried to install a different controlpanel before. The setup will not work as every controlpanel uses a different setup. It does not matter if this is plesk, ispconfig, vhcs etc. You should format the server harddisk and reinstall it, follow the perfect server guide to install it for ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st February 2010, 13:55
cezaronne cezaronne is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have installed protfp before ISPCONFIG 2 ...same issue - Starting proftpd: [FAILED]

Clean install - Fedora 11 followed the example on http://www.howtoforge.com

I have installed proftp with yum - did not work before the installation of ISPCONFIG - after the instalation the same issue.
Reply With Quote
  #6  
Old 21st February 2010, 13:58
cezaronne cezaronne is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

issue solved ...after restarting proftpd service from the gui of ispconfig...strange ..! Thanks!
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
ISPConfig DNS issue slu2 Server Operation 1 2nd January 2010 06:19
Ftp problems timeout reny2000 General 6 23rd December 2009 12:09
downloading issue for new ISPCONFIG, sort of off topic. crypted Installation/Configuration 1 5th September 2009 00:29
proftpd virtual host not working DaddyFix Installation/Configuration 6 19th April 2006 20:59


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


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