我正在尝试设置listenbrainz服务器https://github.com/metabrainz/listenbrainz-server/,但我很少/没有关于厨师/ Vagrant设置的知识。 我注意到日志文件中有2个错误
https://gist.github.com/samithaj/dfb99dac67ca9b52ce9d
我尝试使用Google搜索,但结果是针对问题的,因此我无法找到与我的设置相关的解决方案
答案 0 :(得分:0)
日志输出中的错误为here:
I, [2016-03-06T11:43:36.560559 #6908] INFO -- development-ubuntu-1404: ---- Begin output of ["useradd", "-g", "sysadmin", "-d", "/home/opscenter", "opscenter"] ----
I, [2016-03-06T11:43:36.564470 #6908] INFO -- development-ubuntu-1404: STDOUT:
I, [2016-03-06T11:43:36.566426 #6908] INFO -- development-ubuntu-1404: STDERR: useradd: existing lock file /etc/subuid.lock without a PID
I, [2016-03-06T11:43:36.602598 #6908] INFO -- development-ubuntu-1404: useradd: cannot lock /etc/subuid; try again later.
I, [2016-03-06T11:43:36.607486 #6908] INFO -- development-ubuntu-1404: ---- End output of ["useradd", "-g", "sysadmin", "-d", "/home/opscenter", "opscenter"] ----
I, [2016-03-06T11:43:36.612374 #6908] INFO -- development-ubuntu-1404: Ran ["useradd", "-g", "sysadmin", "-d", "/home/opscenter", "opscenter"] returned 16
I, [2016-03-06T11:43:37.032755 #6908] INFO -- development-ubuntu-1404: [2016-03-06T06:13:41+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
E, [2016-03-06T11:43:37.339132 #6908] ERROR -- development-ubuntu-1404: Converge failed on instance <development-ubuntu-1404>.
操作系统锁定文件存在问题。我怀疑这是一个短暂的错误,我建议删除你的虚拟机并构建一个新的虚拟机:
kitchen destroy
kitchen converge