chdir to /home/virtfs/username failed

Nurs1927

Well-Known Member
Nov 22, 2015
93
7
58
Spain
cPanel Access Level
Root Administrator
Hello, I have a lot of error logs related with: "chdir to /home/virtfs/username failed"

For example:
Code:
[Sat Oct 06 23:54:17.049618 2018] [:error] [pid 773] mod_ruid2 www.domain.com GET /forum/uploads/javascript_global/root_framework.js.d7fac88613454c3350a7f1a6de6e2fd0.js?v=17d88fcbb3 HTTP/1.1 chdir to /home/virtfs/username failed
Any solution for this?
 

Jeff P.

Well-Known Member
Feb 2, 2016
74
14
58
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
The file owner:group does not permit this. This is why you never mess with permissions in cpanel servers.

ls -n (in the command line) will give you the user id of the owner and group.

You can also use suexec instead of mod_ruid
in easy apache.... use suphp as well.
 
  • Like
Reactions: rpvw and Nurs1927

Nurs1927

Well-Known Member
Nov 22, 2015
93
7
58
Spain
cPanel Access Level
Root Administrator
Thank you Jeff.
User is 0 and group 1004 is for /home/virtfs/username
I'm using php-fpm. In your opinion what combination is better?: php-fpm+suphp or php-fpm+suexec
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,273
313
Houston
Hi @Nurs1927


I'd actually like to know if you're running mod_ruid2 and "experimental" Jail Apache Virtual Hosts. You can find the Jail Apache Virtual hosts setting in Tweak Settings within WHM. If you are running both of these in conjunction they are incompatible and are a common cause for this specific error. Disabling the experimental setting should resolve the issue.

Thanks!