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 4th May 2007, 01:20
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default Problems with Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Mana

I tried to setup a preftpd but I get this error message

Quote:
darkstar:/home/raysun# /etc/init.d/pure-ftpd-mysql restart
Restarting ftp server: /usr/sbin/pure-ftpd-wrapper: Invalid configuration file /etc/pure-ftpd/conf/CreateHomeDir: "echo "yes" > /etc/pure-ftpd/conf/CreateHomeDir" not convertible to true or false
help please....

thanks in advance....
Reply With Quote
Sponsored Links
  #2  
Old 4th May 2007, 14:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's in /etc/pure-ftpd/conf/CreateHomeDir? Did you put
Code:
echo "yes" > /etc/pure-ftpd/conf/CreateHomeDir
into it? That's a command you must run on the shell, and this command puts
Code:
yes
into /etc/pure-ftpd/conf/CreateHomeDir. So all that must be in /etc/pure-ftpd/conf/CreateHomeDir is
Code:
yes
__________________
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
The Following User Says Thank You to falko For This Useful Post:
ikkem (4th May 2007)
  #3  
Old 4th May 2007, 18:59
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

Thanks for reacting....
I followed your post now I get this error message :
Quote:
darkstar:/home/raysun# /etc/init.d/pure-ftpd-mysql restart
Restarting ftp server: /usr/sbin/pure-ftpd-wrapper: Invalid configuration file /etc/pure-ftpd/conf/CreateHomeDir~: No corresponding directive
thanks in advance....

Last edited by ikkem; 4th May 2007 at 19:04.
Reply With Quote
  #4  
Old 4th May 2007, 21:49
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

The output of ls -l /home is:
Quote:
ls -l /home
totaal 20
drwx------ 2 root root 16384 2007-05-01 01:58 lost+found
drwxr-xr-x 37 raysun raysun 4096 2007-05-04 21:31 raysun
thanks in advance
Reply With Quote
  #5  
Old 5th May 2007, 16:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's the output of
Code:
ls -la /etc/pure-ftpd/conf
?
__________________
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
  #6  
Old 5th May 2007, 17:37
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

The output of ls -la /etc/pure-ftpd/conf is:

Quote:
raysun@darkstar:~$ ls -la /etc/pure-ftpd/conf
totaal 44
drwxr-xr-x 2 root root 4096 2007-05-04 19:28 .
drwxr-xr-x 5 root root 4096 2007-05-03 20:16 ..
-rw-r--r-- 1 root root 36 2007-02-06 15:19 AltLog
-rw-r--r-- 1 root root 4 2007-05-04 18:46 ChrootEveryone
-rw-r--r-- 1 root root 4 2007-05-04 18:38 CreateHomeDir
-rw-r--r-- 1 root root 5 2007-02-06 15:19 MinUID
-rw-r--r-- 1 root root 29 2007-02-06 15:19 MySQLConfigFile
-rw-r--r-- 1 root root 4 2007-02-06 15:19 NoAnonymous
-rw-r--r-- 1 root root 4 2007-02-06 15:19 PAMAuthentication
-rw-r--r-- 1 root root 28 2007-02-06 15:19 PureDB
-rw-r--r-- 1 root root 3 2007-02-06 15:19 UnixAuthentication
thanks in advance....
Reply With Quote
  #7  
Old 6th May 2007, 12:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Looks ok. Can you try to restart Pureftpd?
__________________
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
  #8  
Old 6th May 2007, 14:31
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

I restarted pureftp....:

Quote:
darkstar:/home/raysun# /etc/init.d/pure-ftpd-mysql restart
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -j -O clf:/var/log/pure-ftpd/transfer.log -E -u 1000 -A -B
thanks in advance....

Last edited by ikkem; 6th May 2007 at 14:46.
Reply With Quote
  #9  
Old 6th May 2007, 17:03
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

When I try to connect through gftp I get this error message....
Quote:
USER exampleuser

331 User exampleuser OK. Password required
PASS xxxx
530 Login authentication failed
Reply With Quote
  #10  
Old 7th May 2007, 13:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Are you sure you're using the correct password?
__________________
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
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
Virtual Hosting With PureFTPd And MySQL quota problem GaulHahn Server Operation 3 29th July 2008 14:32


All times are GMT +2. The time now is 20:51.


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