Current time: 04-30-2024, 12:04 PM Hello There, Guest! (LoginRegister)


Thread Closed 
[SOLVED]Ubuntu server 10.04 Proftpd error
Author Message
NIIcK Offline
Junior Member
*

Posts: 43
Joined: Jan 2010
Reputation: 0
Post: #1
[SOLVED]Ubuntu server 10.04 Proftpd error
System: Ubuntu 10.04
ispCP: 1.0.6

Hello,

I have yet another issue Sad

When trying to start ProFTPD, clean install, I get the following error:

Code:
/etc/init.d/proftpd start
* Starting ftp server proftpd
- Fatal: unknown configuration directive 'SQLNamedQuery' on line 139 of '/etc/proftpd/proftpd.conf'

Line 139 has the following:

Code:
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

I've checked the installation and proftpd-mod-mysql is installed.

Please help.

Thank you,

Nick
(This post was last modified: 08-11-2010 04:26 PM by NIIcK.)
08-11-2010 04:45 AM
Visit this user's website Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Ubuntu server 10.04 Proftpd error
maybe proftpd-mysql is not loaded...

is there a "Include /etc/proftpd/modules.conf" and the modules.conf contains something like
LoadModule mod_sql.c and maybe LoadModule mod_sql_mysql.c

???

/J
08-11-2010 06:31 AM
Visit this user's website Find all posts by this user
NIIcK Offline
Junior Member
*

Posts: 43
Joined: Jan 2010
Reputation: 0
Post: #3
RE: Ubuntu server 10.04 Proftpd error
(08-11-2010 06:31 AM)joximu Wrote:  maybe proftpd-mysql is not loaded...

is there a "Include /etc/proftpd/modules.conf" and the modules.conf contains something like
LoadModule mod_sql.c and maybe LoadModule mod_sql_mysql.c

???

/J

The issue was that the /etc/proftpd/modules.conf did not have the LoadModule mod_sql.c and LoadModule mod_sql_mysql.c directives enabled.
This seems a bit strange ... maybe 1.0.6 has some install issues on Ubuntu server 10.04?

Thank you for your help!

Nick
08-11-2010 04:25 PM
Visit this user's website Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: [SOLVED]Ubuntu server 10.04 Proftpd error
Hm, I don't know who's the Ubuntu maintainer...

/J <closing here>
08-11-2010 06:46 PM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


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