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: Rune Mossige
Subject: Re: Error while trying to link
Date: Wed, 12 Dec 2001 13:35:15 +0100
User-agent: Mutt/1.2.5i

On (12/12/01 13:29), Mark.Burgess@iu.hio.no wrote:
> Date: Wed, 12 Dec 2001 13:29:16 +0100 (MET)
> From: Mark.Burgess@iu.hio.no
> Subject: Re: Error while trying to link
> To: runemo@stavanger.Geco-Prakla.slb.com
> cc: help-cfengine@gnu.org
> 
> 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:  Mark.Burgess@iu.hio.no
> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 

-- 
-------------------------------------------------------------------
           (-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
Our ultimate goal is to make overloaded systems appear to be idle.
High performance, High reliability, Low cost -------- Pick any two.
-------------------------------------------------------------------
Rune  Mossige,  Systems  Support  Engineer,  WesternGeco, Stavanger
Tel: (+47)51946869                             Mobile:(+47)90871024



reply via email to

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