HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Problems with Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Mana (http://www.howtoforge.com/forums/showthread.php?t=12508)

ikkem 4th May 2007 02:20

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....

falko 4th May 2007 15:06

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

ikkem 4th May 2007 19:59

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....

ikkem 4th May 2007 22:49

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

falko 5th May 2007 17:41

What's the output of
Code:

ls -la /etc/pure-ftpd/conf
?

ikkem 5th May 2007 18:37

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....

falko 6th May 2007 13:45

Looks ok. Can you try to restart Pureftpd?

ikkem 6th May 2007 15:31

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....

ikkem 6th May 2007 18:03

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

falko 7th May 2007 14:10

Are you sure you're using the correct password?


All times are GMT +2. The time now is 21:27.

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