- From: Marc Peiser <
>
- To:
- Subject: [chef] Re: users cookbook: Internal Server Error: Connection refused
- Date: Wed, 11 Apr 2012 13:01:37 +0200
Thank you Peter.
Turns out it was the /var/run/chef directory that didn't have the correct
permissions.. although chef-solr was running. Fixed permissions and restarted
chef-solr and it's works.
Regards
Marc
On 11 Apr 2012, at 9:31 AM, Peter Donald wrote:
>
On Wed, Apr 11, 2012 at 5:27 PM, Marc Peiser
>
<
>
>
wrote:
>
> [Wed, 11 Apr 2012 07:17:41 +0000] INFO: Processing users_manage[sysadmin]
>
> action remove (users::sysadmins line 23)
>
> [Wed, 11 Apr 2012 07:17:41 +0000] INFO: HTTP Request Returned 500 Internal
>
> Server Error: Connection refused - connect(2)
>
> [Wed, 11 Apr 2012 07:17:41 +0000] ERROR: Server returned error for
>
> http://41.66.152.201:4000/search/users?q=groups:sysadmin%20AND%20action:remove&sort=X_CHEF_id_CHEF_X%20asc&start=0&rows=1000,
>
> retrying 1/5 in 4s
>
> [Wed, 11 Apr 2012 07:17:46 +0000] INFO: HTTP Request Returned 500 Internal
>
> Server Error: Connection refused - connect(2)
>
...
>
> Has anyone had a similar issue before?
>
>
The problem has occurred when the chef server attempted to access the
>
solr server. Check solr is running correctly.
>
>
If you are running this on ubuntu it is possible that solr is not
>
starting because the log directory permissions are incorrect -
>
probably due to activity of logrotated. This seems to be a common
>
problem with the recent releases.
>
>
--
>
Cheers,
>
>
Peter Donald
Archive powered by MHonArc 2.6.16.