Hi,

Gocd agent not starting after reinstalled in the server.

Server setup failing in the AWS opsworks instance

*[2021-01-26T07:03:52+00:00] INFO: Processing 
directory[/var/log/go-agent-1] action create (gocd::application line 117)*
*[2021-01-26T07:03:52+00:00] INFO: Processing service[go-server] action 
enable (gocd::services line 1)*
*[2021-01-26T07:03:52+00:00] INFO: Processing service[go-server] action 
start (gocd::services line 1)*
*[2021-01-26T07:04:22+00:00] INFO: service[go-server] started*
*[2021-01-26T07:04:22+00:00] INFO: Processing service[go-agent] action 
enable (gocd::services line 5)*
*[2021-01-26T07:04:22+00:00] INFO: Processing service[go-agent] action 
start (gocd::services line 5)*
 
*================================================================================*
*Error executing action `start` on resource 'service[go-agent]'*
*================================================================================*
 
*Mixlib::ShellOut::ShellCommandFailed*
*------------------------------------*
*Expected process to exit with [0], but received '255'*
*---- Begin output of /sbin/service go-agent start ----*
*STDOUT: Error starting Go Agent.*
*STDERR: *
*---- End output of /sbin/service go-agent start ----*
*Ran /sbin/service go-agent start returned 255*
 
*Resource Declaration:*
*---------------------*
*# In 
/var/chef/runs/0d2f1572-10a3-496b-a859-381be040b531/local-mode-cache/cache/cookbooks/gocd/recipes/services.rb*
 
*5: service 'go-agent' do*
*6:     action [:enable, :start]*
*7: end*
*8: *
 
*Compiled Resource:*
*------------------*
*# Declared in 
/var/chef/runs/0d2f1572-10a3-496b-a859-381be040b531/local-mode-cache/cache/cookbooks/gocd/recipes/services.rb:5:in
 
`from_file'*
 
*service("go-agent") do*
*action [:enable, :start]*
*supports {:restart=>nil, :reload=>nil, :status=>nil}*
*retries 0*
*retry_delay 2*
*default_guard_interpreter :default*
*service_name "go-agent"*
*enabled true*
*pattern "go-agent"*
*declared_type :service*
*cookbook_name "gocd"*
*recipe_name "services"*
*end*
 
*Platform:*
*---------*
*x86_64-linux*
 
*[2021-01-26T07:04:37+00:00] INFO: Running queued delayed notifications 
before re-raising exception*
*[2021-01-26T07:04:37+00:00] INFO: template[/etc/go/cruise-config.xml] 
sending restart action to service[go-server] (delayed)*
*[2021-01-26T07:04:37+00:00] INFO: Processing service[go-server] action 
restart (gocd::services line 1)*
*[2021-01-26T07:05:14+00:00] INFO: service[go-server] restarted*
*[2021-01-26T07:05:14+00:00] ERROR: Running exception handlers*
*[2021-01-26T07:05:14+00:00] ERROR: Exception handlers complete*
*[2021-01-26T07:05:14+00:00] FATAL: Stacktrace dumped to 
/var/chef/runs/0d2f1572-10a3-496b-a859-381be040b531/local-mode-cache/cache/chef-stacktrace.out*
*[2021-01-26T07:05:14+00:00] FATAL: Please provide the contents of the 
stacktrace.out file if you file a bug report*
*[2021-01-26T07:05:14+00:00] ERROR: service[go-agent] (gocd::services line 
5) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to 
exit with [0], but received '255'*
*---- Begin output of /sbin/service go-agent start ----*
*STDOUT: Error starting Go Agent.*
*STDERR: *
*---- End output of /sbin/service go-agent start ----*
*Ran /sbin/service go-agent start returned 255*
*[2021-01-26T07:05:14+00:00] FATAL: Chef::Exceptions::ChildConvergeError: 
Chef run process exited unsuccessfully (exit code 1)*

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/40a387f7-227f-4841-bc76-1108f1dbd4e1n%40googlegroups.com.

Reply via email to