MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: Response: 500 OOPS: cannot change directory:/home/  (Read 5067 times)

0 Members and 1 Guest are viewing this topic.

Offline Administrator

  • Chinmay Dingore
  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • Karma: +1/-0
    • View Profile
    • MilesWeb Internet Services Pvt Ltd
Response: 500 OOPS: cannot change directory:/home/
« 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.
MilesWeb.com - Your Hosting, Our Responsibility!
Unlimited Hosting Plans | Managed VPS with 20% Discount

MilesWeb Hosting Forum

Response: 500 OOPS: cannot change directory:/home/
« on: December 12, 2013, 08:49:02 PM »