Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2015-10-23T13:24:42+00:00] INFO: Processing execute[/sbin/sysctl -p] action run (el-sysctl::default line 20)
- ================================================================================
- Error executing action `run` on resource 'execute[/sbin/sysctl -p]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- Expected process to exit with [0], but received '255'
- ---- Begin output of /sbin/sysctl -p ----
- STDOUT:
- STDERR: error: "Read-only file system" setting key "net.ipv4.ip_forward"
- error: "Read-only file system" setting key "net.ipv4.conf.default.rp_filter"
- error: "Read-only file system" setting key "net.ipv4.conf.default.accept_source_route"
- error: "Read-only file system" setting key "kernel.sysrq"
- error: "Read-only file system" setting key "kernel.core_uses_pid"
- error: "net.ipv4.tcp_syncookies" is an unknown key
- error: "Read-only file system" setting key "kernel.msgmnb"
- error: "Read-only file system" setting key "kernel.msgmax"
- error: "Read-only file system" setting key "kernel.shmmax"
- error: "Read-only file system" setting key "kernel.shmall"
- ---- End output of /sbin/sysctl -p ----
- Ran /sbin/sysctl -p returned 255
- Resource Declaration:
- ---------------------
- # In /var/chef-solo/cookbooks/el-sysctl/recipes/default.rb
- 20: execute "/sbin/sysctl -p" do
- 21: action :nothing
- 22: end
- 23:
- Compiled Resource:
- ------------------
- # Declared in /var/chef-solo/cookbooks/el-sysctl/recipes/default.rb:20:in `from_file'
- execute("/sbin/sysctl -p") do
- recipe_name "default"
- returns 0
- command "/sbin/sysctl -p"
- retry_delay 2
- action [:nothing]
- cookbook_name :"el-sysctl"
- backup 5
- retries 0
- end
- [2015-10-23T13:24:42+00:00] ERROR: Running exception handlers
- [2015-10-23T13:24:42+00:00] ERROR: Exception handlers complete
- [2015-10-23T13:24:43+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
- [2015-10-23T13:24:43+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[/sbin/sysctl -p] (el-sysctl::default line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
- ---- Begin output of /sbin/sysctl -p ----
- STDOUT:
- STDERR: error: "Read-only file system" setting key "net.ipv4.ip_forward"
- error: "Read-only file system" setting key "net.ipv4.conf.default.rp_filter"
- error: "Read-only file system" setting key "net.ipv4.conf.default.accept_source_route"
- error: "Read-only file system" setting key "kernel.sysrq"
- error: "Read-only file system" setting key "kernel.core_uses_pid"
- error: "net.ipv4.tcp_syncookies" is an unknown key
- error: "Read-only file system" setting key "kernel.msgmnb"
- error: "Read-only file system" setting key "kernel.msgmax"
- error: "Read-only file system" setting key "kernel.shmmax"
- error: "Read-only file system" setting key "kernel.shmall"
- ---- End output of /sbin/sysctl -p ----
- Ran /sbin/sysctl -p returned 255
- SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.
- The command '/bin/sh -c mkdir -p /var/config && ln -s /var/chef-solo/config/chef_config /var/config/chef_config.rb && chef-solo -c /var/chef-solo/soloconf.rb -j /var/chef-solo/runlist.json' returned a non-zero code: 1
Advertisement
Add Comment
Please, Sign In to add comment