EC2 Ubuntu hangs on go install

0 votes
I am running the golang rest API on the ec2 instance which is working properly but when I make any changes in the code and run "go install" the ec2 console stops responding and I have to reboot the instance. ec2 instance is running with 4 GB ram and ubuntu 2.0.
 How do I  debug and fix this issue?
Apr 4, 2022 in Others by Kichu
• 19,040 points
588 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
  • Add the -x command-line option to the go install call.
  • Make sure that the output it generates to its standard error stream gets collected somewhere where you can read it.  
  • Then run it and try to make out which step hangs.
  • The command-line option makes go install be (very) verbose about what it does.

I hope this helps you.

answered Apr 7, 2022 by narikkadan
• 63,600 points

edited Mar 5

Related Questions In Others

0 votes
1 answer

Perl Install on Ubuntu

Hi Ashmita, on every ubuntu machine, perl ...READ MORE

answered Mar 1, 2019 in Others by Abha
• 28,140 points
6,923 views
0 votes
1 answer

How to install a GUI on Amazon AWS EC2 or EMR with the Amazon AMI

The top-level script for installing the GUI ...READ MORE

answered Mar 9, 2022 in Others by gaurav
• 23,260 points
1,283 views
0 votes
1 answer

How do I install Ruby on Rails?

Hi @Anvi, what @Pratibha has mentioned is ...READ MORE

answered Mar 1, 2019 in Others by Abha
• 28,140 points
1,738 views
0 votes
1 answer

How to do Installation of Ruby on Rails on Linux (Ubuntu)?

Hi Pratibha, installing ROR on ubuntu is ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,150 points
2,152 views
0 votes
1 answer

Golang on Linux... How to install it?

Hey @Abhi, if you want to install ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,150 points
1,142 views
0 votes
1 answer

Installing PHP on Ubuntu

Hi Vijay, althought its not necessary to ...READ MORE

answered Mar 1, 2019 in Others by Abha
• 28,140 points
1,332 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP