checking for BerkeleyDB location in default... /usr/local/BerkeleyDB.4.6
checking Berkeley DB Version... configure: error: This release of cfengine requires BerkeleyDB 3.2 or later
|
The linker might be the wrong place to look for the source of this error. The configure snippet builds a little program and checks the values of the DB_VERSION* macros from db.h .. So even if you have a newish bdb installed someplace, this will fail if '#include <db.h> ' either a) pulls in an old version from /usr/include or b) can't find your version at all. If you installed the 4.5 specifically to fix this, remove it and install the 'db4-devel' rpm for your update level and architecture. The regular 'db4' rpm doesnt include the header file
|
You might be making this harder that it has to be. Is there any
reason you don't use the already installed berkely db on your RHEL4
system (currently db4-4.2.52-7.1)?
|
[root@server1 cfengine]# whereis cfagent
cfagent: /usr/sbin/cfagent /usr/share/man/man8/cfagent.8.gz
|
[root@server1 cfengine-2.2.1]# cd /var/cfengine/
[root@server1 cfengine]# ls
bin inputs modules ppkeys randseed rpc_in rpc_out state
|
control:
actionsequence = ( shellcommands )
shellcommands:
"/bin/echo Danger, Will Robison!"
|
Reference time set to Thu Oct 18 16:02:42 2007
GNU Configuration Engine -
2.2.2
Free Software Foundation 1994-
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College
, Norway
------------------------------------------------------------------------
Host name is: server1
Operating System Type is linux
Operating System Release is 2.4.20-8smp
Architecture = i686
Using internal soft-class linux for host linux
The time is now Thu Oct 18 16:02:42 2007
------------------------------------------------------------------------
Additional hard class defined as: 32_bit
Additional hard class defined as: linux_2_4_20_8smp
Additional hard class defined as: linux_i686
Additional hard class defined as: linux_i686_2_4_20_8smp
Additional hard class defined as: linux_i686_2_4_20_8smp__1_SMP_Thu_Mar_13_17_45_54_EST_2003
GNU autoconf class from compile time: compiled_on_linux_gnu
Address given by nameserver: 127.0.0.1
Interface 1: lo
Interface 2: eth0
Interface 3: eth0:0
Trying to locate my IPv6 address
Looking for environment from cfenvd...
Unable to detect environment from cfenvd
cfengine:server1: No preconfiguration file
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
* (Changing context state to: main) *
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
---------------------------------------------------------------------
Loading persistent classes
---------------------------------------------------------------------
---------------------------------------------------------------------
Loaded persistent memory
---------------------------------------------------------------------
Looking for environment from cfenvd...
Unable to detect environment from cfenvd
Manually overidden relative path (./cfagent.conf)
Looking for an input file ./cfagent.conf
Cfengine input file had no explicit version string
Finished with ./cfagent.conf
Defined Classes = ( 192_168_0 192_168_1 32_bit Day18 Hr16 Hr16_Q1 Min00_05 Min02 October Q1 Thursday Yr2007 any cfengine_2 cfengine_2_2 cfengine_2_2_2 compiled_on_linux_gnu i686 ipv4_192 ipv4_192_168 ipv4_192_168_0 ipv4_192_168_0_111 ipv4_192_168_1 ipv4_192_168_1_112 linux linux_2_4_20_8smp linux_i686 linux_i686_2_4_20_8smp linux_i686_2_4_20_8smp__1_SMP_Thu_Mar_13_17_45_54_EST_2003 localhost localhost_localdomain net_iface_eth0 net_iface_eth0_0 net_iface_lo redhat redhat_9 server1 undefined_domain )
Negated Classes = ( )
Installable classes = ( no_default_route )
Global expiry time for locks: 120 minutes
Global anti-spam elapse time: 1 minutes
Extensions which should not be directories = ( )
Suspicious filenames to be warned about = ( )
Accepted domain name: undefined.domain
LogDirectory = /var/cfengine
Loaded /var/cfengine/ppkeys/localhost.priv
Loaded /var/cfengine/ppkeys/localhost.pub
Checksum database is /var/cfengine/checksum_digests.db
Default binary server seems to be server1
Reference time set to Thu Oct 18 16:02:42 2007
*********************************************************************
Main Tree Sched: shellcommands pass 1 @ Thu Oct 18 16:02:42 2007
*********************************************************************
cfengine:server1:
Executing script /bin/echo Danger, Will Robison!...(timeout=0,uid=-1,gid=-1)
(Setting umask to 77)
cfengine:server1:/bin/echo Dange: Danger, Will Robison!
cfengine:server1: Finished script /bin/echo Danger, Will Robison!
Performance(Exec(/bin/echo Danger, Will Robison!)): time=0.0206 secs, av=0.0206 +/- 0.0316
---------------------------------------------------------------------
Alerts
---------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++
Summary of objects involved
++++++++++++++++++++++++++++++++++++++++
global
main
cfengine:server1: Outcome of version (not specified): Promises still kept 0%, Promises repaired 100%, Promises not kept 0%
|
bin cfengine_lock_db inputs performance.db randseed rpc_out
cf_classes.db cfengine.server1.runlog modules ppkeys rpc_in state
|
Thu Oct 18 16:02:42 2007:Lock removed normally :pid=28322:lock.__cfagent_conf.server1.shellcommand._bin_echo_Danger__Will_Robison__4206:
Thu Oct 18 16:04:05 2007:Lock removed normally :pid=28410:lock.__cfagent_conf.server1.shellcommand._bin_echo_Danger__Will_Robison__4206:
|
192_168_0
192_168_1
32_bit
Day18
Hr16
Hr16_Q1
Min00_05
Min04
October
Q1
Thursday
Yr2007
any
cfengine_2
cfengine_2_2
cfengine_2_2_2
compiled_on_linux_gnu
i686
ipv4_192
ipv4_192_168
ipv4_192_168_0
ipv4_192_168_0_111
ipv4_192_168_1
ipv4_192_168_1_112
linux
linux_2_4_20_8smp
linux_i686
linux_i686_2_4_20_8smp
linux_i686_2_4_20_8smp__1_SMP_Thu_Mar_13_17_45_54_EST_2003
localhost
localhost_localdomain
net_iface_eth0
net_iface_eth0_0
net_iface_lo
redhat
redhat_9
server1
undefined_domain
|
cfenvd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
|
cfexecd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
|
cfservd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
|