Configuring VSFTPd Server - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: FTP Server (https://www.linux-noob.com/forums/forum-85.html) +--- Thread: Configuring VSFTPd Server (/thread-2135.html) |
Configuring VSFTPd Server - Navrax - 2006-02-24 I read the gentoo-wiki on installing and running vsftpd and whenever I ftp localhost and login, I can't get a directory listing of my ftp! (/var/ftp) tux ftp # ftp localhost Connected to localhost. 220 (vsFTPd 2.0.3) Name (localhost:stenro): ftp 530 Please login with USER and PASS. SSL not available 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. 226 Transfer done (but failed to open directory) Why can't I get a directory i have my distro files in there and a screeny :(? any help would be appreciated, thank you. Configuring VSFTPd Server - znx - 2006-02-24 This is probably a permissions issue... Code: $ ls -ld /var{,/ftp,/ftp/*} So, you will need: /var - 755 /var/ftp - 554 This is an oddity just for me because I host the gentoo distfiles locally (i.e. one area stores all the distfiles) /var/ftp/distfiles - 574 So portage needs rwx on the dir.. Hopefully the permissions alterations will do it :) Configuring VSFTPd Server - Navrax - 2006-02-27 I got Code: ls -ld /var{,/ftp,/ftp/*} is this chmod 755 /var chmod 554 /var/ftp ? Configuring VSFTPd Server - znx - 2006-02-27 Code: ls -ld /var{,/ftp,/ftp/*} The permissions are fine.. however look at the ownership! This should fix you up.. (notice the rm.. you have a cyclic link there :P) Code: chown ftp:portage /var/ftp/distfiles :) Configuring VSFTPd Server - Navrax - 2006-03-03 /etc/init.d/vsftpd/vsftpd start *Calculating service dependencies .... [ok ] *Starting vsftpd..... 500 OOPS: bad bool value in config file for: ssl_enable [!!] im following the howto on gentoo wiki for using ssl to secure ftp but no luck... FTP-less Also, when I ftp localhost I get Ftp: connecT: connection refusde lame :( Configuring VSFTPd Server - hijinks - 2006-03-03 find the config and paste the line that has the ssl_enable Configuring VSFTPd Server - Navrax - 2006-03-05 Quote:find the config and paste the line that has the ssl_enable okay. Heres what I have in /etc/vsftpd/vsftpd.conf Code: dirmessage_enable=YES Configuring VSFTPd Server - znx - 2006-03-05 Easy enough, you cannot comment after options with vsftpd.conf :) Code: dirmessage_enable=YES Should do it Configuring VSFTPd Server - Navrax - 2006-03-06 Hehe, that helps a lot. Thanks. I can now start vsftpd. When I ftp localhost, login, and do a dir I get 550 permission denied. Ftp:bind: address already in use Configuring VSFTPd Server - Navrax - 2006-03-07 Hehe, that helps a lot. Thanks. I can now start vsftpd. When I ftp localhost, login, and do a dir I get 550 permission denied. Ftp:bind: address already in use |