Ftp for virtual servers?


I’ve just created a new virtual server, but I can’t seem to connect with FTP… Do I need to do something first?

I have installed vsftpd on my Centos 5.2 server, and also the module for configuring this in webmin…

This is the response I get:

"Unexpected response: OOPS: cannot change directory:/home/testing
500: OOPS: cannot change directory:/home/testing"

Is there anything I need to do? I find this to be pretty confusing… When I go to edit mail and ftp users, it shows "IMAP/ftp login testing", "Login access: email, ssh, ftp"

But then there is a separate link for adding a "website ftp access user", when I click on that, the title says "create mailbox in domain" ?

Thanks in advance,
Wesley<br><br>Post edited by: wesleyh, at: 2008/12/04 11:18

Hi Wesley, a few questions for you –

  1. Does the home directory exist? Try: ls -l /home/testing

  2. Is SELinux enabled? It could be interfering – run “sestatus” to find out if it’s running.

  3. Does anything show up in /var/log/messages, /var/log/secure, or vsftp’s logfile that provides more insight into the issue?

This is now fixed, it was indeed selinux.

thanks :slight_smile: