大网数据广告活动
服务器运维问答

ERROR: Specified config file /etc/opscode/pivotal.rb does not exist

· 52CE 我爱测

I keep getting the following when trying to install Chef: [root@COMMAND ~]# chef-server-ctl org-create chef "Chef Software, Inc." -f /tmp/chef.key ERROR: Specified config file /etc/opscode/pivotal.rb does not exist! I am followin…

问题原文

原帖链接 · Jason · CC BY-SA 3.0

I keep getting the following when trying to install Chef:

[root@COMMAND ~]# chef-server-ctl org-create chef "Chef Software, Inc." -f /tmp/chef.key
ERROR: Specified config file /etc/opscode/pivotal.rb does not exist!

I am following this guide:

https://docs.chef.io/install_dk.html

Where am I going wrong in trying to setup the Chef Server? I've search and tried the reconfigure and other options mentioned.

This a CentOS 7 machine VM running as a container in proxmox with 512MB RAM if that means anything.

I've installed version 12.03 as people said that worked for the Chef Server and the latest as well but I keep getting the same results when trying to setup the Chef Server by the guide.

EDIT: Rebuilt the VM several times and set RAM to 2GBs same result.

Is it always this hard to setup a central Chef server to send management commands from to other servers?

已采纳解答

原帖链接 · coderanger · CC BY-SA 3.0

You have to run the ctl commands on the machine where Chef Server is installed, not a workstation. You need at least 4GB of RAM for a Chef Server, though 8 is highly recommended. If just getting started with Chef either use Hosted Chef for now or use chef-solo.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-06-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。