2016-03-06 83 views
-1

我想安装listenbrainz服务器https://github.com/metabrainz/listenbrainz-server/,但我对厨师/流浪汉设置很少/没有知识。 我注意到在日志文件中2错误在厨房收敛步骤的错误

https://gist.github.com/samithaj/dfb99dac67ca9b52ce9d

  1. 错误:无法列出数据包的数据包项目 “的ssh_known_hosts”
  2. 厨房:: ActionFailed 消息:SSH退出(1)命令:[SH -c“

我试着用搜索引擎,但结果是特定的问题,所以我便无法找到相关的解决方案我要我的设置

回答

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>. 

有与OS锁定文件的问题。我怀疑这是一个暂时的错误,我会建议删除你的虚拟机并建立一个新的:

kitchen destroy 
kitchen converge