Error: Socket fails to be created:

OS type and version Debian Linux 10
Webmin version 1.984
Virtualmin version 6.17-3
Related packages SUGGESTED

— Socket fails to be created:
— in error log:
2022/05/16 23:59:07 [crit] 9457#9457: *1 connect() to unix:/var/php-nginx/165273053211384.sock/socket failed (2: No such file or directory) while connecting to upstream, client:, server:, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/php-nginx/165273053211384.sock/socket:”, host: “”

This is when I use the php default options for fCGId.

Part 2:
if I instead switch to the fpm settings, it creates the same port number as the last site, which conflicts, so I have to manually edit it in both the nginx config AND the /etc/php/7.4/fpm/pool.d/numbered file listen = localhost:8001

This happens on recent sites. Older sites I have on same server work fine.

I should add: i have multiple versions of php, but i set 7.4 as the default. i checked that the configs have the correct version.
i followed instructions on a related thread, but it still does not work: —

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.