LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2004, 02:34 PM   #1
CyonyC
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Proftpd & MySQL Authentication Help Needed


Hey all,

Currently running fedora. I have used apt-get to download and install the latest proftpd rpm, and I want to be able to enable MySQL authentication for my soon to be FTP internal server. Now I have read through all the mod_sql documents etc. but I cannot find where on earth the RPM for proftpd installed proftpd on my system.

In the mod_sql instructions it says to download the mod_sql tarball and unpack all the files into proftpd-dir/contrib... Now, I cannot find this directory to do so. Also, I heard that everything that I need (the mod_sql module) is installed in their respective places in the new proftpd rpms. So I tried to ./configure the stuff.

Turns our I get a ./configure file or directory not found when I try to do this. Can anyone help me out?

Thanks in advance for your replies.

P.S. - I was told to install GCC so I downloaded it last night throught apt-get and installed it then rebooted my machine and tried the ./configure command again - same results.
 
Old 06-23-2004, 03:03 AM   #2
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
Do you know where apt-get downloaded the RPM from? I'd like to download it and check some files in it. If you want to find where the RPM installed files, you can run
Code:
rpm -q --list proftpd
and it should show a list of all files in that RPM.

--mascdman
 
Old 06-23-2004, 11:38 AM   #3
CyonyC
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
masdman,

apt-get can be downloaded from

http://freshrpms.net/

It's a very handy little app for upgrading, updating and installing new software on your machine. Very simple to use as well once it's installed.

Cheers
 
Old 06-23-2004, 08:01 PM   #4
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
I grabbed the RPM off of that site and it looks like it wasn't build with the mysql option enabled. I suggest rebuilding the RPM -- it's really easy to do. First, follow the steps in my post in this thread about creating the proper directories and files. Then download the source RPM:and follow the install instructions I gave. Edit the spec file in your favourite editor and add this line to the top, below the comments but above the Summary line
Code:
%define _with_mysql 1
Save the file and run
Code:
rpmbuild -ba proftpd.spec
Chances are you'll have to install a couple of -devel RPMs needed to rebuild the package (like mysql-devel). rpmbuild will display a list of packages missing. When it's finished, you should find proftpd-1.2.9-8_mysql.1.fc2.fr.i586.rpm in ~/rpm/RPM/i586.

--mascdman
 
  


Reply


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
Proftpd and mysql authentication question Galam Linux - Networking 0 09-14-2005 11:31 AM
Mysql & Httpd authentication landenm Linux - Software 3 06-17-2005 03:50 PM
PHP & Mysql Authentication Savahn Programming 0 03-14-2005 02:22 PM
ProFTPd & MySQL Authentication Help CyonyC Linux - Software 4 06-22-2004 04:37 PM
Help w/ POP3 Server & MySQL Authentication ryanolson Linux - Networking 0 11-19-2001 06:06 PM


All times are GMT -5. The time now is 04:22 AM.

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