Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-25-2005, 03:41 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Unhappy Pure-ftpd-mysql + Sarge


please help me!

According to official doc (at the prureftpd site / docs / Readme.mysql) -
1. I get the package (apt-get install pure-ftpd-mysql);
2. then I created a database (proftpd), a table (users) in it, and I inserted a testaccount user, pass, gid, uid, dir;
3. after these I setup the /etc/pure-ftpd/db/mysql.conf to reach the database. (without any extras (chroot,bandwidth limit,etc))
And this was the last I can handle. The next point (in doc) is completely confuses me :

""Save the configuration file anywhere. Let's say /etc/pureftpd-mysql.conf .

Then, you have to run the pure-ftpd command with '-l mysql:' (it's an 'ell'
not a 'one') followed by the path of that configuration file. Here's an
example with tcpserver:

tcpserver -DHRl0 0 21 /usr/local/bin/pure-ftpd -l mysql:/etc/pureftpd-mysql.conf &"

What it means "run" the pure-ftpd ??! There is no any pure-ftpd command..
(only pure-ftpd-mysql and some others, except pure-ftpd)
What the hell is that tcpserver ?? Am I really need that ?

After all, I tried to start the stuff (/etc/init.d/pure-ftpd-mysql) and result was.. nothing. even a single started or failed. I just get a new a prompt.
When I tried to connect via ftp (from localhost) the next error appear:
"Can't exec "/usr/sbin/pure-ftpd": No such file or directory at /usr/sbin/pure-ftpd-wrapper line 174".

What should I do?

Thanks in advance
Old 01-26-2005, 08:06 AM   #2
LQ Newbie
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
I find out the solution.

Probably only in Sarge and with package, but simply "apt-get install pure-ftpd-mysql" is'nt works, even if it get the pure-ftpd-common too.
The good way is :
1. apt-get install pure-ftpd-common (choose standalone method)
2. apt-get install pure-ftpd-mysqld
3. create a database with user(s)
4. setup the config file
5. /etc/init.d/pure-ftpd-mysql.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pure-ftpd help. Drolith Linux - Software 3 11-13-2005 01:50 PM
pure-ftpd mysql virtual groups augustmacbizzle Linux - Software 0 04-27-2005 01:09 PM
Pure-ftpd, login with MySQL as control - problem KR-data Linux - Software 0 01-29-2005 06:29 PM
pure-ftpd and mysql dominant Linux - General 1 01-11-2005 02:33 AM
Pure FTPD help oACEo Linux - Newbie 2 12-07-2003 11:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration