Ask Your Question
0

learning VM image - 502 bad gateway error when launching PE Console

asked 2016-06-23 21:57:33 -0600

PhilD gravatar image

I'm just starting out with puppet, so tried the puppet learning VM image. I can't get the PE Console to open (task 4, powerofpuppet quest), instead I'm getting a 502 bad gateway, nginx/1.8.1 message. Has anyone seen this, or can provide some guidance on trouble shooting it? I'm using the CentOS7 image, puppet version 4.4.2. There appear to be two nginx instances running, from /usr/sbin/nginx, and also /opt/puppetlabs/server/bin/nginx - but I'm not sure if this is normal..

Thanks Phil

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-06-30 09:21:25 -0600

nobody gravatar image

Same... After mail talk with puppet support i came to a conclusion - just reboot VM until all works, it's only one way, cuz support can't help... It's all cuz not all services start after VM starting.

edit flag offensive delete link more
0

answered 2016-07-03 17:43:30 -0600

PhilD gravatar image

OK - have it sorted now - I shutdown all components manually (using service command), and once everything was showing inactive/dead I then ran restartpeservices.sh. Everything came up except the pe-nginx.service, so I started that manually (service pe-nginx start). Everything was then showing as working properly using systemctl (systemctl --all | grep pe-) I was then able to proceed with connecting to the console, and running the graphite examples.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-23 21:57:33 -0600

Seen: 432 times

Last updated: Jul 03 '16