[chef] chef- server setup -not working properly


Chronological Thread 
  • From: Indra k < >
  • To: " " < >
  • Subject: [chef] chef- server setup -not working properly
  • Date: Mon, 2 Jun 2014 17:05:39 +0800 (SGT)

Hi,

         I am using open source chef server,for a past few days my server setup is not working it shows error when i use knife commnand like this:

ERROR: Server returned error for https://mychefserver.example.com/cookbooks?num_versions=all, retrying 1/5 in 4s
ERROR: Server returned error for https://mychefserver.example.com/cookbooks?num_versions=all, retrying 2/5 in 6s
ERROR: Server returned error for https://mychefserver.example.com/cookbooks?num_versions=all, retrying 3/5 in 10s
ERROR: Server returned error for https://mychefserver.example.com/cookbooks?num_versions=all, retrying 4/5 in 17s
ERROR: Server returned error for https://mychefserver.example.com/cookbooks?num_versions=all, retrying 5/5 in 62s
ERROR: bad gateway
Response: <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.4.4</center>
</body>
</html>

As i ve checked it shows some of a chef-server-ctl  services are down so again i up that and use it again services goes down also beam and epmd files are deleting automatically .So i change a instance and put a new server setup ,it works first but after one day again showing a same error,but all services are up only.


So where is the problem,instance or server setup ?anybody ve ideas?

Thanks,
Indra




Archive powered by MHonArc 2.6.16.

§