AWT is not properly configured on this server

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

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

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:

your code here

To fix it, I deleted /etc/opscode/private-chef-secrets.json and run again chef-server-ctl reconfigure

FIX2:

cp /opt/opscode/embedded/service/omnibus-ctl/spec/fixtures/pivotal.pem /etc/opscode/

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x