Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th April 2013, 12:51
Lord_Garfield Lord_Garfield is offline
Junior Member
 
Join Date: Oct 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default virtual-hosting-with-pureftpd-and-mysql

Hi

I followed the tutorial: http://www.howtoforge.com/virtual-ho...-on-centos-6.2

But instead of centos 6.2 I have 6.3.

I also had to make a few changes for folowing reasons:

I have a /ierp/www/ierp folder wich has a "ln -s /ierp/www/ierp /var/www/html"
Becouse this will be my webroot

I want one user to have ftp access to /ierp/www
So in mysql database I have /ierp/www as homedir for that user.

mysql is also moved to /ierp/mysql and my socket is set to
MYSQLSocket /ierp/mysql/mysql.sock

mysql works fine after the replace (Owncloud is working on this server)

I also changed the bind parameter 0.0.0.0,21 to 0.0.0.0,10021
I listen on port 10021.
(And I opened this port in the firewall ofcource)

Now when I connect to the ftp server
<ip-adress>:10021
and I loggin with the username and password wich I created in the database.
It will login but I gives me the error that It can't open folderlist (this could be a bad translation of "Kan de mappenlijst niet openen")

I changed rights on the www folder like this:

groupadd ierp
usermod -a -G ierp apache
usermod -a -G ierp ftpuser
chown apache:ierp /ierp/www/ierp

Same result.

What did I do wrong?
Reply With Quote
Sponsored Links
  #2  
Old 5th May 2013, 23:17
Lord_Garfield Lord_Garfield is offline
Junior Member
 
Join Date: Oct 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Issue solved.

I forgot that it is passive FTP. So I opened the port range 30000:50000 and uncommented the passive port range in the config file. Now it all works!

mvg
Roel
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
ISPConfig 3 - MultiServer Setup - With Dedicated Control Panel - How? SuperJC Installation/Configuration 4 16th October 2012 20:03
Problems with Virtual Hosting With PureFTPd And MySQL [Falko HowTo] posa HOWTO-Related Questions 0 12th September 2012 09:29
Falko help -Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Manage bobbob Installation/Configuration 2 25th April 2012 13:47
Virtual Hosting With PureFTPd And MySQL quota problem GaulHahn Server Operation 3 29th July 2008 14:32
Virtual Hosting with PureFTPd and MySQL - FC7 chalee HOWTO-Related Questions 1 6th September 2007 22:19


All times are GMT +2. The time now is 06:09.


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