I have a server with Debian 5 and DirectAdmin. For a customer i have install Centovacast wit ices-cc so other people can make an ftp connection to the server and upload there music files. I must configure a second port for ftp, because directadmin/proftpd uses port 21. So i have configured the .conf file from Centovacast to port 2121 and want to add this line to /etc/proftpd.conf file:
This is the file:
But as soon as i place this code
I have read all the centovacast help files to solf this problem but can't find it.
Can anybody help me or knows the answher?
Include /etc/proftpd/centovacast.conf
This is the file:
#
# CentovaCast Configuration for ProFTPd
# Copyright 2006-2007, Centova Technologies Inc.
#
# This will configure ProFTPd to listen on a particular IP address and/or port
# for FTP connections. When a connection is received, it will authenticate
# against your CentovaCast user database instead of your normal UNIX accounts.
#
# To install this file, copy it to the same directory as your proftpd.conf file.
# Then make the modifications noted below. Finally, modify your proftpd.conf
# file and add the following command at the top of the file:
#
# Include /path/to/centovacast.conf
#
# Then restart ProFTPd to make the changes take effect.
#
#
# Replace 192.168.0.10 below with the IP address on which CentovaCast's FTP
# server should listen. Be sure to choose an address that is NOT already in
# use by ProFTPd, otherwise ProFTPd will fail to start. (Alternately, you can
# re-use an IP address and specify a different port number below.)
#
<VirtualHost 212.115.192.78>
#
# Specify your MySQL connection details for your CentovaCast database below.
# This must match the settings in system/config.php.
#
SQLConnectInfo test_centova@localhost test_centova test_centova
#
# If you want to use a port other than 21, change it below.
#
Port 2121
#
# Do not modify anything below this line.
#
ServerName "CentovaCast FTP Service"
RequireValidShell off
DefaultRoot ~
SQLEngine on
SQLAuthenticate users userset
SQLAuthTypes crypt
SQLBackend mysql
#SQLLogFile /var/log/proftpd/sql.log
SQLUserInfo accounts,settings accounts.username accounts.password settings.ccui$
SQLUserWhereClause "status='enabled'"
</VirtualHost>
But as soon as i place this code
in the /etc/proftpd.conf file, proftp wil stops and i can't restart it.include /etc/proftpd/centovacast.conf
I have read all the centovacast help files to solf this problem but can't find it.
Can anybody help me or knows the answher?
Last edited: