- 论坛徽章:
- 0
|
防火墙也清除了,全新的系统
失败的情况,我第一天安装都正常,第二天我重新删除安装就失败,因为其他的原因,我也重新安装了新的系统.linux 2.6.18-92.el5,安装还是出错.
安装方法如下:
已经添加/usr/local/BerkeleyDB.4.7/lib 到ld.so.conf,而且ldconfig -v 也看见了.
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" LDFLAGS="-L/usr/localBerkeleyDB.4.7/lib" ./configure --prefix=/usr/local/openldap --enable-ldbm
make depend
make都正常
但是在make test就出错.
[root@XXXX openldap-2.3.24]# make test
cd tests; make test
make[1]: Entering directory `/usr/local/src/openldap-2.3.24/tests'
make[2]: Entering directory `/usr/local/src/openldap-2.3.24/tests'
Initiating LDAP tests for BDB...
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve the root DSE...
Using ldapsearch to retrieve the cn=Subschema...
Using ldapsearch to retrieve the cn=Monitor...
dn:
objectClass: top
objectClass: OpenLDAProotDSE
structuralObjectClass: OpenLDAProotDSE
configContext: cn=config
namingContexts: o=OpenLDAP Project,l=Internet
monitorContext: cn=Monitor
supportedControl: 1.3.6.1.4.1.4203.1.9.1.1
supportedControl: 2.16.840.1.113730.3.4.18
supportedControl: 2.16.840.1.113730.3.4.2
supportedControl: 1.3.6.1.4.1.4203.1.10.1
supportedControl: 1.2.840.113556.1.4.319
supportedControl: 1.2.826.0.1.334810.2.3
supportedControl: 1.2.826.0.1.3344810.2.3
supportedControl: 1.3.6.1.1.13.2
supportedControl: 1.3.6.1.1.13.1
supportedControl: 1.3.6.1.1.12
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.4203.1.11.3
supportedFeatures: 1.3.6.1.1.14
supportedFeatures: 1.3.6.1.4.1.4203.1.5.1
supportedFeatures: 1.3.6.1.4.1.4203.1.5.2
supportedFeatures: 1.3.6.1.4.1.4203.1.5.3
supportedFeatures: 1.3.6.1.4.1.4203.1.5.4
supportedFeatures: 1.3.6.1.4.1.4203.1.5.5
supportedLDAPVersion: 3
vendorName: The OpenLDAP Project <http://www.openldap.org/>
entryDN:
subschemaSubentry: cn=Subschema
dn: cn=Subschema
objectClass: top
objectClass: subentry
objectClass: subschema
objectClass: extensibleObject
cn: Subschema
dn: cn=Monitor
objectClass: monitorServer
structuralObjectClass: monitorServer
cn: Monitor
description: This subtree contains monitoring/managing objects.
description: This object contains information about this server.
description: Most of the information is held in operational attributes, which
must be explicitly requested.
creatorsName:
modifiersName:
createTimestamp: 20090108072521Z
modifyTimestamp: 20090108072521Z
monitoredInfo: OpenLDAP: slapd 2.3.24 (Jan 8 2009 15:25:01)
entryDN: cn=Monitor
subschemaSubentry: cn=Subschema
hasSubordinates: TRUE
>>>>> Test succeeded
>>>>> ./scripts/test000-rootdse completed OK.
>>>>> waiting 10 seconds for things to exit
>>>>> Starting test001-slapadd ...
running defines.sh
Running slapadd to build slapd database...
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
./scripts/test001-slapadd: line 43: 5749 段错误 $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
./scripts/test001-slapadd: line 53: kill: (5749) - 没有那个进程
ldapsearch failed (1)!
>>>>> ./scripts/test001-slapadd failed (exit 1)
make[2]: *** [bdb-yes] 错误 1
make[2]: Leaving directory `/usr/local/src/openldap-2.3.24/tests'
make[1]: *** [test] 错误 2
make[1]: Leaving directory `/usr/local/src/openldap-2.3.24/tests'
make: *** [test] 错误 2
我找了很久也没有找到错误的地方,希望那位大侠帮忙,谢谢!
[ 本帖最后由 Mysillygirl 于 2009-1-8 15:38 编辑 ] |
|