Current time: 05-05-2024, 09:06 AM Hello There, Guest! (LoginRegister)


Post Reply 
I have problem with proftpd ispcp
Author Message
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #11
RE: I have problem with proftpd ispcp
try http://www.isp-control.net/ispcp/browser...oftpd.conf
First config file was for ubuntu hardy.
Or modify that directive in DisplayFirstChadir
(This post was last modified: 11-16-2008 05:28 AM by sci2tech.)
11-16-2008 05:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Alex1 Offline
Junior Member
*

Posts: 96
Joined: Nov 2008
Reputation: 0
Post: #12
RE: I have problem with proftpd ispcp
now what? #SQLBackend mysql
SQLAuthTypes Crypt
SQLAuthenticate on
SQLConnectInfo proftpd@localhost root dbpass
SQLUserInfo ftp_users userid passwd uid gid homedir shell
SQLGroupInfo ftp_group groupname gid members
SQLMinUserUID 2000
SQLMinUserGID 2000

root@alex:/home/alex# /etc/init.d/proftpd restart
* Stopping ftp server proftpd [ OK ]
* Starting ftp server proftpd - Fatal: unknown configuration directive 'SQLAuthTypes' on line 165 of '/etc/proftpd/proftpd.conf
(This post was last modified: 11-16-2008 06:06 AM by Alex1.)
11-16-2008 05:41 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #13
RE: I have problem with proftpd ispcp
First in /etc/proftpd/modules.conf uncomment lines:
Code:
LoadModule mod_sql.c
LoadModule mod_sql_mysql.c

Mother god!!! you did not replaced variable between {} with proper values!!!:
SQLMinUserUID {FTPD_MIN_UID} -> SQLMinUserUID 2000
SQLMinUserGID {FTPD_MIN_GID} -> SQLMinUserGID 2000
ServerName "{HOST_NAME}" -> ServerName "your_server_name"
SQLConnectInfo {DATABASE_NAME}@{DATABASE_HOST} {DATABASE_USER} {DATABASE_PASS} -> SQLConnectInfo your conection datas
11-16-2008 05:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Alex1 Offline
Junior Member
*

Posts: 96
Joined: Nov 2008
Reputation: 0
Post: #14
RE: I have problem with proftpd ispcp
SQLAuthTypes Crypt
SQLAuthenticate on
SQLConnectInfo proftpd@localhost root dbpass
SQLUserInfo ftp_users userid passwd uid gid homedir shell
SQLGroupInfo ftp_group groupname gid members
SQLMinUserUID 2000
SQLMinUserGID 2000

root@alex:/home/alex# /etc/init.d/proftpd restart
* Stopping ftp server proftpd [ OK ]
* Starting ftp server proftpd - Fatal: unknown configuration directive 'SQLAuthTypes' on line 165 of '/etc/proftpd/proftpd.conf
11-16-2008 06:11 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #15
RE: I have problem with proftpd ispcp
Why do you have commented line SQLBackend mysql ? Uncomment it!
Did you uncomment that 2 lines?
Code:
LoadModule mod_sql.c
LoadModule mod_sql_mysql.c
?
Did you installed proftpd-mysql?
Code:
apt-get install proftpd-mysql
(This post was last modified: 11-16-2008 06:20 AM by sci2tech.)
11-16-2008 06:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Alex1 Offline
Junior Member
*

Posts: 96
Joined: Nov 2008
Reputation: 0
Post: #16
RE: I have problem with proftpd ispcp
* Starting ftp server proftpd - Fatal: unknown configuration directive 'SQLAuthTypes' on line 165 of '/etc/proftpd/proftpd.conf'
[fail]
invoke-rc.d: initscript proftpd, action "start" failed.
dpkg: error processing proftpd (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of proftpd-mysql:
proftpd-mysql depends on proftpd (= 1.3.0-21ubuntu1); however:
Package proftpd is not configured yet.
dpkg: error processing proftpd-mysql (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
proftpd
proftpd-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@alex:/home/alex#
11-16-2008 06:26 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #17
RE: I have problem with proftpd ispcp
you have to install & configure the two packages: proftpd and proftpd-mysql...

maybe better remove them and install them again...
11-16-2008 08:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Alex1 Offline
Junior Member
*

Posts: 96
Joined: Nov 2008
Reputation: 0
Post: #18
RE: I have problem with proftpd ispcp
dear my config: http://ns69.eu/proftpd.conf
(This post was last modified: 11-16-2008 09:10 PM by Alex1.)
11-16-2008 07:00 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)