[chef] RE: Re: Couch database growing.. Can't compact


Chronological Thread 
  • From: "Van Fossan,Randy" < >
  • To: < >
  • Subject: [chef] RE: Re: Couch database growing.. Can't compact
  • Date: Sat, 4 Feb 2012 01:36:06 -0500

Thanks AJ, that was it...   I thought the couchdb daemon had to be running to 
support chef-server.   Anyway, restarting it soved the problem 
(momentarily)..   I just need to find out why it crashes..

It looks like it crashes right after issuing the compact  command..
  # service couchdb status
       couchdb dead but subsys locked

Nothing in var/log/couchdb/couch.log or /var/log/messages about the process 
dying.

Thanks
  Randy

-----Original Message-----
From: AJ Christensen 
[mailto:
 
Sent: Saturday, February 04, 2012 1:16 AM
To: 

Subject: [chef] Re: Couch database growing.. Can't compact

Is there a couchdb process running?

On 4 February 2012 19:11, Van Fossan,Randy 
< >
 wrote:
> I am trying to run a compact on the chef database and the instructions 
> on the Wiki are not working..  It looks like  couchdb isn’t running at 
> the advertised port.  However, netstat doesn’t show it either.
>
>
>
> What am I missing?   Doesn’t chef-server utilize that port to 
> communicate with the database?
>
>
>
> I run this command..
>
> # curl -H "Content-Type: application/json" -X POST 
> http://localhost:5984/chef/_compact
>
>
>
> I get ->   curl: (7) couldn't connect to host
>
>
>
> Thanks
>
> Randy
>
>
>
> From: Adam Jacob 
> [mailto:
> Sent: Friday, February 03, 2012 11:40 PM
> To: 
> 
> Subject: [chef] Re: remote_directory & notifies
>
>
>
> Nice memory, Peter. :)
>
>
>
> Adam
>
>
>
> ---
>
> Opscode, Inc.
>
> Adam Jacob, Chief Customer Officer
>
> T: (206) 619-7151 E: 
> 
>
>
>
> On Feb 3, 2012, at 4:00 PM, Peter Struijk wrote:
>
>
>
> This used to be a bug: http://tickets.opscode.com/browse/CHEF-2354
>
>
>
> On Fri, Feb 3, 2012 at 3:51 PM, Max Gorbul 
> < >
>  wrote:
>
> Jason,
>
>
>
> I have create a repo to test remote_directory resource. It work like 
> expected. Flag file is created only when folder is created/updated.
>
>
>
> https://github.com/mhorbul/remote-directory-notification
>
>
>
> --max
>
>
>
> On Fri, Feb 3, 2012 at 3:38 PM, Adam Jacob 
> < >
>  wrote:
>
> Have you filed a bug?
>
> Adam
>
> ---
> Opscode, Inc.
> Adam Jacob, Chief Customer Officer
> T: (206) 619-7151 E: 
> 
>
>
> On Feb 3, 2012, at 2:24 PM, Jason J. W. Williams wrote:
>
>> As an FYI to everyone, remote_directory will fire its "notifies"
>> clauses EVERY time the recipe runs, not just when files in the source 
>> directory change.
>>
>> -J
>>
>> On Wed, Feb 1, 2012 at 2:34 PM, Max Gorbul 
>> < >
>>  wrote:
>>> it won't notify subscribers if there are no differences between 
>>> source and target dirs/files
>>>
>>> --max
>>>
>>>
>>> On Wed, Feb 1, 2012 at 11:59 AM, Jason J. W. Williams 
>>> < >
>>>  wrote:
>>>>
>>>> If one uses a remote_directory directive, and none of the files are 
>>>> different between the source and target dirs, will any of the 
>>>> notifies attached to the remote_directory block be fired? Thank you in 
>>>> advance!
>>>>
>>>> -J
>>>
>>>
>
>
>
>
>
>




Archive powered by MHonArc 2.6.16.

§