Hi Vivek, good to know the problem is gone. I'm marking this bug report
as Invalid, but feel free to change its status back to New and comment
back (or open a new bug report) if needed. Thanks!
** Changed in: php7.4 (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug
Hi Dan,
You are right. The owner of my / directory was not root but my regular
user. I set it back as root and now the problem is solved. I don't know how
it was changed, because I manually never changed the owner of my /
directory.
Anyway, thank you very much for providing support, solution and
> I notice your /run directory is mounted as a temp filesystem
that's normal, /run is a tmpfs on everyone's system
> Detected unsafe path transition / → /run during canonicalization of
/run.
This means that the owner of your / and /run directories aren't the
same, and more specifically that
Interesting,
thanks for confirming that after creating "/var/run/php" manually it works for
you.
Indeed /var/run is a temporary directory, and all such are expected by
the packages to be re-created on boot as needed. That is present for
php-fpm here
$ dpkg -S /usr/lib/tmpfiles.d/php7.4-fpm.conf
[image: image.gif]Hi Bryce,
I am so sorry for the late reply.
Yes, my "/run" and "/var/run" directories are configured correctly.
Furthermore, when I create "/var/run/php" directory manually and restart
"php7.4-fpm" using "systemctl" then it works perfectly. For now I have
created a simple
Hi vivek,
Does it work if you do:
$ sudo mkdir -p /var/run/php/
$ sudo systemctl restart php7.4-fpm
I notice your /run directory is mounted as a temp filesystem, which should work
but might be involved in whatever's gone wrong:
tmpfs1218676 3820 1214856 1% /run
Fwiw, on
** Description changed:
No socket file is created for php-fpm
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: php7.4-fpm 7.4.3-4ubuntu2.6
ProcVersionSignature: Ubuntu 5.4.0-86.97-generic 5.4.133
Uname: Linux 5.4.0-86-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.20