MilesWeb Hosting Forum

Web Hosting Technical Support => Errors and Solutions => Topic started by: Administrator on December 12, 2013, 08:49:02 PM

Title: Response: 500 OOPS: cannot change directory:/home/
Post by: Administrator on December 12, 2013, 08:49:02 PM
Hiya,

When trying to connect your account via FTP using FileZilla, you might receive an error as below.

Quote
Response:   500 OOPS: cannot change directory:/home/username
Error:   Critical error
Error:   Could not connect to server

This usually happens when selinux is enabled on your server. You can either disable selinux on the server OR perform the commands below. It is not recommended to disable selinux as it adds security.

Quote
#getsebool -a | grep ftp ; ftp_home_dir --> off
#setsebool -P ftp_home_dir on;ftp_home_dir --> on

Try connecting to the account via FTP now. It should work.