i got a huge problem with a single user. After cron tasks I often got a 500 Internal Server Error
to all domain poining to a user directory. I use php5-fpm.
The logs say:
[Mon Jun 22 16:03:34 2015] [error] [client 137.224.252.19] FastCGI: incomplete headers (0 bytes) received from server "/var/www/php-fpm/fullname/nilsbussmann.de/ssl-fpm.external"
[Mon Jun 22 16:03:57 2015] [error] [client 77.3.79.65] (13)Permission denied: FastCGI: failed to connect to server "/var/www/php-fpm/fullname/nilsbussmann.de/ssl-fpm.external": connect() failed
[Mon Jun 22 16:04:00 2015] [error] [client 77.3.79.65] FastCGI: incomplete headers (0 bytes) received from server "/var/www/php-fpm/fullname/nilsbussmann.de/ssl-fpm.external"
[Mon Jun 22 16:04:03 2015] [error] [client 146.60.197.9] (13)Permission denied: FastCGI: failed to connect to server "/var/www/php-fpm/fullname/nilsbussmann.de/ssl-fpm.external": connect() failed
[Mon Jun 22 16:04:03 2015] [error] [client 146.60.197.9] FastCGI: incomplete headers (0 bytes) received from server "/var/www/php-fpm/fullname/nilsbussmann.de/ssl-fpm.external"
[Mon Jun 22 16:04:06 2015] [error] [client 137.224.252.19] (13)Permission denied: FastCGI: failed to connect to server "/var/www/php-fpm/fullname/nilsbussmann.de/ssl-fpm.external": connect() failed
But the user fullname should have access to /var/www/php-fpm/fullname/*
la /var/www/php-fpm/fullname/
insgesamt 16K
drwxr-xr-x 4 root root 4,0K Jun 22 15:35 .
drwxr-xr-x 10 root root 4,0K Jun 22 15:35 ..
drwxr-xr-x 2 fullname fullname 4,0K Jun 22 15:35 fullname.h**3528.stratoserver.net
drwxr-xr-x 2 fullname fullname 4,0K Jun 22 15:35 nilsbussmann.de
I can fix the problem by give choown the complete folder to the user.
chown fullname:fullname -R /var/www/php-fpm/fullname/
service nscd restart
service apache2 restart
But this is a dirty workaround. Though i have to fix i manually evertime ...
Can anyone help me width this problem? That would be awesome!
Question
nbussman
Hey guys,
i got a huge problem with a single user. After cron tasks I often got a 500 Internal Server Error
to all domain poining to a user directory. I use php5-fpm.
The logs say:
But the user fullname should have access to /var/www/php-fpm/fullname/*
I can fix the problem by give choown the complete folder to the user.
But this is a dirty workaround. Though i have to fix i manually evertime ...
Can anyone help me width this problem? That would be awesome!
Cheers Nils
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.