我正在尝试在我的VM上安装chef-server。 在做chef-server-ctl重新配置时,我收到以下错误。有人可以帮我解决这个错误。 感谢。
* user[opscode] action create
================================================================================
Error executing action `create` on resource 'user[opscode]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '4'
---- Begin output of ["useradd", "-s", "/bin/sh", "-d", "/opt/opscode/embedded", "-r", "opscode"] ----
STDOUT:
STDERR: useradd: Can't get unique system UID (no more available UIDs)
useradd: can't create user
---- End output of ["useradd", "-s", "/bin/sh", "-d", "/opt/opscode/embedded", "-r", "opscode"] ----
Ran ["useradd", "-s", "/bin/sh", "-d", "/opt/opscode/embedded", "-r", "opscode"] returned 4