rajeshkumar created the topic: AWT is not properly configured on this server
Problem
AWT is not properly configured on this server. Perhaps you need to run your container with “-Djava.awt.headless=true”? See also: wiki.jenkins-ci.org/display/JENKINS/Jenk…awt.headless+problem
[code language=”css”]
Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received ‘2’
—- Begin output of /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid
[/code]
[code language=”css”]
[2016-08-31T22:10:34-04:00] FATAL:
BOOT007: The secrets file (/etc/opscode/private-chef-secrets.json) is present
but the file /etc/opscode/pivotal.pem is missing.
[/code]
Ensure that private-chef-secrets.json is copied into /etc/opscode from the
first Chef Server node that you brought online, then run
‘chef-server-ctl reconfigure’ again.
FIX1:
[code language=”css”]
your code here
[/code]
To fix it, I deleted /etc/opscode/private-chef-secrets.json and run again chef-server-ctl reconfigure
FIX2:
[code language=”css”]
cp /opt/opscode/embedded/service/omnibus-ctl/spec/fixtures/pivotal.pem /etc/opscode/
[/code]
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
- Implementing Managed IT Services: A Step-by-Step Guide - August 30, 2024
- DevOps Foundation Certification - August 29, 2024
- SRE Foundation Certification - August 29, 2024