Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPM Socket Permission denied #18

Closed
ghost opened this issue Jul 6, 2014 · 2 comments
Closed

FPM Socket Permission denied #18

ghost opened this issue Jul 6, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 6, 2014

Hey,

I checked this out and built everything. The hhvm works, but the fpm gives me a permission denied when connecting to the socket:

[crit] 26634#0: *1 connect() to unix:/var/run/php-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 10.0.2.2, server: site.local, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "127.0.0.1:9080"

ls -l /var/run
srw-rw---- 1 root root 0 Jul 6 15:47 php-fpm.sock (no read access)

Is there anything, we can do?

@javer javer closed this as completed in 998be42 Jul 8, 2014
@javer
Copy link
Owner

javer commented Jul 8, 2014

@Csiewert, thanks for letting me know!

You can fix your VM without rebuild by patching file /etc/php5/fpm/pool.d/site.conf as in commit 998be42.

@ghost
Copy link
Author

ghost commented Jul 9, 2014

Thanks @javer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant