Yes, go-server is running and go-agent is not starting. On Saturday, January 30, 2021 at 9:46:53 AM UTC+5:30 [email protected] wrote:
> From the stacktrace, > > 127.0.0.1:8154 [/127.0.0.1] failed: Connection refused (Connection refused) > > > It looks like the GoCD Server is not running on the same server as the > agents. Is the server running when you're starting the agents? > > > > On Fri, Jan 29, 2021 at 8:40 PM Sathish Ravi <[email protected]> wrote: > >> Hi, >> >> Please find the go-agent logfile. >> >> On Wednesday, January 27, 2021 at 8:27:12 AM UTC+5:30 >> [email protected] wrote: >> >>> It would help if you can share the stacktrace or logs from the go-agent >>> that is failing. >>> >>> >>> >>> On Tue, Jan 26, 2021 at 6:02 PM Sathish Ravi <[email protected]> >>> wrote: >>> >>>> 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 >>>> >>>> <https://groups.google.com/d/msgid/go-cd/40a387f7-227f-4841-bc76-1108f1dbd4e1n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> >>> Ashwanth Kumar / ashwanthkumar.in >>> >>> -- >> 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/8532392c-f5b3-4bbe-af88-d83913358e44n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/go-cd/8532392c-f5b3-4bbe-af88-d83913358e44n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > > Ashwanth Kumar / ashwanthkumar.in > > -- 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/b8ba7f3f-fe13-4721-b4e2-5ce672027c3dn%40googlegroups.com.
