help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error while trying to link


From: Mark . Burgess
Subject: Re: Error while trying to link
Date: Wed, 12 Dec 2001 13:37:12 +0100 (MET)

On 12 Dec, Rune Mossige wrote:
> On (12/12/01 13:29), address@hidden wrote:
>> Date: Wed, 12 Dec 2001 13:29:16 +0100 (MET)
>> From: address@hidden
>> Subject: Re: Error while trying to link
>> To: address@hidden
>> cc: address@hidden
>> 
>> On 12 Dec, Rune Mossige wrote:
>> > On a fresh RedHat Linux 6.2 host, freshly installed, and with 2.0.a15
>> > freshly recompiled, I am not able to get symlinks to work....
>> > 
>> > The cfagent.conf file have entries like:
>> > 
>> > links:
>> > 
>> >   any::
>> >     /gecoapp    -> /prod/gecoapp
>> > 
>> > 
>> > but when I run cfagent on this linux host, with debugging, I get:
>> > 
>> > Actionsequenc item links
>> > GetLock(link,_gecoapp__prod_gecoapp,time=1008158288), ExpireAfter=15,
>> > IfElapsed=15
>> > GetLastLock()
>> > CheckOldLock(lock.cfagent_conf.wglx00.link._gecoapp__prod_gecoapp)
>> > Unable to find lock data
>> > lock.cfagent_conf.wglx00.link._gecoapp__prod_gecoapp
>> > SetLock(lock.cfagent_conf.wglx00.link._gecoapp__prod_gecoapp)
>> > PutLock(lock.cfagent_conf.wglx00.link._gecoapp__prod_gecoapp)
>> > Unable to delete lock
>> > [lock.cfagent_conf.wglx00.link._gecoapp__prod_gecoapp]: DB_NOTFOUND: No
>> > matching key/data pair f
>> > ound
>> > ExpandVarbinserv /prod/gecoapp, (Binserver is wglx00)
>> > Linkfiles(/gecoapp,/prod/gecoapp)
>> > IgnoredOrExcluded(gecoapp)
>> > cfengine:wglx00: Error while trying to link /gecoapp -> /prod/gecoapp
>> > ReleaseCurrentLock(lock.cfagent_conf.wglx00.link._gecoapp__prod_gecoapp)
>> > PutLock(last.cfagent_conf.100.wglx00.link._gecoapp__prod_gecoapp)
>> > LockLog(Lock removed normally )
>> > 
>> 
>> Try deleting cfengine_lock_db and try again? 
>> 
> 
> On the client, where I run cfagent? Did so, but the exact same error
> message again.
> 
> When I do a 'file' on this file, I get:
> file  /var/cfengine/cfengine_lock_db
> /var/cfengine/cfengine_lock_db: Berkeley DB 2.X Btree/Little Endian
> (Version 8, Logical sequence number: file - 0, offset - 0, Page Size
> 4096, Maxkey 2304, Minkey 0, Free Page 0)
> 
> I thought this should say DB 3.X, not 2.X? Is there anything that I have
> overlooked?
>> 
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Work: +47 22453272            Email:  address@hidden
>> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 
>> 
> 


I suggest downloading db3 from sleepycat - lastest version, and not
using the one with redhat. It might be old. REcompile and try again.

M


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]