NGINX: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)

first, as the log, your problem is… you dont have the sock! the sock (php7.2-fpm—-) is made when you start php. check the location to make the sock. go to /etc/php/7.2/fpm/pool.d/ -> www.conf you can see the listen = “something something” <– this is the location address. if it is not /var/run/php/php7.2-fpm.sock, replace it. run … Read more

docker login fails on a server with no X11 installed

Looks like this is because it defaults to use the secretservice executable which seems to have some sort of X11 dependency for some reason. If you install and configure pass docker will use that instead which seems to solve the problem. In a nutshell (from https://github.com/docker/compose/issues/6023) sudo apt install gnupg2 pass gpg2 –full-generate-key This generates … Read more

Not able to use systemd on ubuntu docker container [closed]

This is by design. Docker should be running a process in the foreground in your container and it will be spawned as PID 1 within the container’s pid namespace. Docker is designed for process isolation, not for OS virtualization, so there are no other OS processes and daemons running inside the container (like systemd, cron, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)