Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th April 2007, 10:53
Jamesk5 Jamesk5 is offline
Junior Member
 
Join Date: Apr 2006
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Proftpd howto and Etch

Hey guys,
I've just tried the ProFTPd tutorial (http://www.howtoforge.com/proftpd_mysql_virtual_hosting) on Etch Stable and can't seem to get it to work.
I had it working on Etch (unstable) previously, and have the same DB tables as the last install.

One thing I had to do is download the .deb file for libmysqlclient12-dev (and it's required packages) and install them using dpkg because they weren't avaliable for etch.

Has anyone tried using the tutorial on Etch and been able to get it working? The logs for proftpd just show connections just being disconnected (no problems with authentication or anything like that).

Thanks guys,
james
Reply With Quote
Sponsored Links
  #2  
Old 17th April 2007, 11:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by Jamesk5
One thing I had to do is download the .deb file for libmysqlclient12-dev (and it's required packages) and install them using dpkg because they weren't avaliable for etch.
I think you should use libmysqlclient15-dev on Etch.
Any errors in your log files?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th April 2007, 16:00
Jamesk5 Jamesk5 is offline
Junior Member
 
Join Date: Apr 2006
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

updating to libmysqlclient15-dev didn't seem to fix the problem? Should I need to restart any services other than proftpd??

Log follows:
Code:
Apr 17 23:53:57 rainbow proftpd[28420] rainbow.jameskirsop.com (udsl-6-137.NSW.dft.com.au[202.168.105.137]): FTP session closed.
Apr 17 23:53:57 rainbow proftpd[28421] rainbow.jameskirsop.com (udsl-6-137.NSW.dft.com.au[202.168.105.137]): FTP session closed.
That was for the login attempt after getting libmysql... and restarting postfix.
Reply With Quote
  #4  
Old 18th April 2007, 19:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

I'm not sure what the problem is on your system, but I'll try to write the same tutorial for Etch soon.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 18th April 2007, 23:27
rodti rodti is offline
Member
 
Join Date: Apr 2007
Posts: 52
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Yikes. I'm having the same after a dist-upgrade to Etch. The ProFTPd/MySQL connection is completely hosed.

Removing and reinstalling the proftpd and proftpd-mysql packages (DB tables still in place), disabling IPv6 and adding the SQL lines to proftpd.conf, then restarting proftpd doesn't seem to work.

ProFTPd shows in /var/log/proftpd/proftpd.log as started. No errors. There were no errors at the command prompt when it started. When I try to log in I get:

421 Service not available, remote server has closed connection.

Something is _very_ broken with Etch and this how-to
Reply With Quote
  #6  
Old 19th April 2007, 14:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by rodti
Something is _very_ broken with Etch and this how-to
I don't think anything is broken. The tutorial is for Sarge and is working on Sarge, and Etch is different from Sarge. That's all.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 19th April 2007, 15:02
rodti rodti is offline
Member
 
Join Date: Apr 2007
Posts: 52
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko
I don't think anything is broken. The tutorial is for Sarge and is working on Sarge, and Etch is different from Sarge. That's all.
OK, to rephrase, it works fine with Sarge but upgrading to Etch breaks what had been done with the how-to. An Etch how-to or an amendment to the how-to showing how to fix it would be great, as I now can't access my server with FTP!
Reply With Quote
  #8  
Old 19th April 2007, 19:17
rodti rodti is offline
Member
 
Join Date: Apr 2007
Posts: 52
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Sorted - comment out the following line in /etc/proftpd/modules.conf

Code:
LoadModule mod_sql_postgres.c
Restart ProFTPd and it seems to work fine!
Reply With Quote
  #9  
Old 20th April 2007, 14:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by rodti
An Etch how-to or an amendment to the how-to showing how to fix it would be great
As I said above, I'll try to write one soon.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 20th April 2007, 14:26
rodti rodti is offline
Member
 
Join Date: Apr 2007
Posts: 52
Thanks: 6
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by falko
As I said above, I'll try to write one soon.
The solution is almost in a comment on page 2 of the how-to. Someone had suggested uncommenting the Postgre line, but in fact it needs to be commented out. Perhaps just poor English! I tried to add another comment to the how-to to that effect but it doesn't work in Safari.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
monit howto Jamesk5 HOWTO-Related Questions 11 5th August 2008 15:10
isp for debian etch jojo1 Installation/Configuration 9 17th April 2007 15:36
Problem installing OpenVZ with Debian Etch (2) pjdevries HOWTO-Related Questions 12 2nd March 2007 15:34
Needed some clarifications: OpenVZ in Debian Etch Howto! zenny HOWTO-Related Questions 4 8th January 2007 23:05
Debian Etch OpenVZ & Raid TonA HOWTO-Related Questions 1 30th December 2006 21:20


All times are GMT +2. The time now is 02:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.