PDA

View Full Version : Help with pure-ftpd setup


petteyg359
04-26-2008, 01:19 AM
I've got a VPS set up with Debian 4. Have apache2, mysql5, php5 all working fine, vhosts working (at least one is, darn registrar being slow about domains so can't set up the rest). I set up pure-ftpd using the howto at http://linux.justinhartman.com/PureFTPd_Installation_and_Setup, and and everything went fine with no errors. When I try to connect to the ftp though (ftp://eve-ocf.com), I get "connection refused". I tried connecting from localhost, and still get connection refused. Any suggestions?

Rick
04-26-2008, 02:35 AM
Hi, is the ftp service started?

petteyg359
04-26-2008, 11:53 AM
Well, I though it was... but top doesn't show any processes with ftp in the name. Tried /etc/init.d/pure-ftpd start, and get
Starting ftp server: Running: /usr/sbin/pure-ftpd-virtualchroot -l puredb:/etc/pure-ftpd/pureftpd.pdb -l pam -u 1000 -E -O clf:/var/log/pure-ftpd/transfer.log -B

But it seems to exit instantly.

/usr/sbin/pure-ftpd -S 127.0.0.1,21 -c 30 -C 1 -l puredb:/etc/pure-ftpd/pureftpd.pdb -x -E -j -R

Also just goes straight back to my bash prompt, ftp localhost returns "connection refused"

petteyg359
04-26-2008, 12:42 PM
server2:~# /usr/sbin/pure-ftpd -d &
[1] 19501
server2:~#
[1]+ Exit 252 /usr/sbin/pure-ftpd -d
server2:~# ls /var/log/pure-ftpd
server2:~#

petteyg359
04-27-2008, 02:45 AM
I've given up on pure-ftpd for now. Tried vsftpd, and it at least set up properly, and I can connect to it. I have it set up for MySQL auth, and put a test user in the accounts table on vsftpd db, but can't login (tells me 500 oops user not found). I installed pam-mysql or whatever it's called, no luck. Anybody on a RapidVPS Debian 4 install who has successfully set up an ftp server (pure, pro, or vs) tell me what you did, please? I'm lost here...