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

Cannot use user www-data #209

Closed
heaven opened this issue Jan 8, 2015 · 4 comments · Fixed by #300
Closed

Cannot use user www-data #209

heaven opened this issue Jan 8, 2015 · 4 comments · Fixed by #300

Comments

@heaven
Copy link

heaven commented Jan 8, 2015

Need to use same user as nginx, otherwise no access to /tmp/uwsgi.sock. Set user/group to www-data and got this:

[2015-01-08T12:47:05-05:00] ERROR: user[www-data] (graphite::_user line 25) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '8'
---- Begin output of ["usermod", "-d", "/var/lib/graphite", "www-data"] ----
STDOUT:
STDERR: usermod: user www-data is currently used by process 29612
---- End output of ["usermod", "-d", "/var/lib/graphite", "www-data"] ----
Ran ["usermod", "-d", "/var/lib/graphite", "www-data"] returned 8
[2015-01-08T12:47:05-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
@ianbamforth
Copy link

+1

Making it possible to configure the "chown-socket" and / or "chmod-socket" in the uwsgi runit job would help.

@ianbamforth
Copy link

Actually looks as though what I suggested above had already been implemented. See 73481e6

The problem is that no release has taken place for well over a year.

@diegobill
Copy link

I still having this problem using version d90c03c

+1

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants