Privileges on users php settings deny root? fcgi socket(s) not created for some users


Verified User
Sep 29, 2011

I recently changed from fastcgi to php-fpm with custombuild 2.x and centos 6.9. Changed it in the options.conf and did a build of php, opcache and apache following a rewrite_confs.

All seemed to go fine and php etc happily works, at least I thought so.

For a part of my users everything works. For another part of users the socket is not created and apache throws:
[Wed Sep 13 09:47:19.544856 2017] [proxy:error] [pid 6056:tid 140040495560448] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php71/sockets/<user>.sock (*) failed
[Wed Sep 13 09:47:19.544874 2017] [proxy_fcgi:error] [pid 6056:tid 140040495560448] [client] AH01079: failed to make connection to backend: httpd-UDS

If I go into /usr/local/directadmin/data/users/<user>/php and look, then I see that the php-fpm.conf and fastcgi stuff is missing there which are there in the directories of users for which all works. I had a look at those files and they seemed pretty generic and I wanted to try to copy it over to a non-working user to see if that solved the issue.

Now it says: permission denied. Even for creating a file or dir in there as root. How can this be? How come root doesn't have privileges to do that?

I'm confused. Anybody an idea how I can this problem going?