Created
January 8, 2015 21:07
-
-
Save jjdevbiz/d22d33b99182d7be8cb6 to your computer and use it in GitHub Desktop.
chef-server-core-12.0.0-1.el6.x86_64.rpm chef-server-ctl reconfigure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* execute[bifrost_schema] action run | |
================================================================================ | |
Error executing action `run` on resource 'execute[bifrost_schema]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0, 1], but received '127' | |
---- Begin output of sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify ---- | |
STDOUT: | |
STDERR: Use of uninitialized value $mask in vec at /usr/share/perl5/warnings.pm line 347. | |
/opt/opscode/embedded/bin/perl: symbol lookup error: /usr/lib64/perl5/auto/Fcntl/Fcntl.so: undefined symbol: Perl_Istack_sp_ptr | |
---- End output of sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify ---- | |
Ran sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify returned 127 | |
Resource Declaration: | |
--------------------- | |
# In /opt/opscode/embedded/cookbooks/private-chef/recipes/bifrost_database.rb | |
34: execute "bifrost_schema" do | |
35: # The version of the schema to be deployed will the the maximum | |
36: # available in the oc_bifrost repository. This will be the same | |
37: # version needed by the code that is deployed here. If we ever | |
38: # split bifrost's code and schema into separate repositories, | |
39: # we'll need to deploy to a specific schema tag | |
40: command <<-EOM.gsub(/\s+/," ").strip! | |
41: sqitch --engine pg | |
42: --db-name bifrost | |
43: --top-dir /opt/opscode/embedded/service/oc_bifrost/db | |
44: deploy --verify | |
45: EOM | |
46: user node['private_chef']['postgresql']['username'] | |
47: # If sqitch is deploying the first time, it'll return 0 on | |
48: # success. If it's running a second time and ends up deploying | |
49: # nothing (since we've already deployed all changesets), it'll | |
50: # return 1. Both scenarios should be considered successful. | |
51: returns [0,1] | |
52: end | |
53: | |
Compiled Resource: | |
------------------ | |
# Declared in /opt/opscode/embedded/cookbooks/private-chef/recipes/bifrost_database.rb:34:in `from_file' | |
execute("bifrost_schema") do | |
action "run" | |
retries 0 | |
retry_delay 2 | |
guard_interpreter :default | |
command "sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify" | |
backup 5 | |
returns [0, 1] | |
user "opscode-pgsql" | |
cookbook_name :"private-chef" | |
recipe_name "bifrost_database" | |
end | |
Running handlers: | |
[2015-01-08T15:04:05-06:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2015-01-08T15:04:05-06:00] ERROR: Exception handlers complete | |
[2015-01-08T15:04:05-06:00] FATAL: Stacktrace dumped to /opt/opscode/embedded/cookbooks/cache/chef-stacktrace.out | |
Chef Client failed. 13 resources updated in 10.895089401 seconds | |
[2015-01-08T15:04:05-06:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[bifrost_schema] (private-chef::bifrost_database line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0, 1], but received '127' | |
---- Begin output of sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify ---- | |
STDOUT: | |
STDERR: Use of uninitialized value $mask in vec at /usr/share/perl5/warnings.pm line 347. | |
/opt/opscode/embedded/bin/perl: symbol lookup error: /usr/lib64/perl5/auto/Fcntl/Fcntl.so: undefined symbol: Perl_Istack_sp_ptr | |
---- End output of sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify ---- | |
Ran sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify returned 127 | |
Compiled Resource: | |
------------------ | |
# Declared in /opt/opscode/embedded/cookbooks/private-chef/recipes/bifrost_database.rb:34:in `from_file' | |
execute("bifrost_schema") do | |
action "run" | |
retries 0 | |
retry_delay 2 | |
guard_interpreter :default | |
command "sqitch --engine pg --db-name bifrost --top-dir /opt/opscode/embedded/service/oc_bifrost/db deploy --verify" | |
backup 5 | |
returns [0, 1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the full error trace
I dont have any PERL mentioned here. What might be the problem?