[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Follow up: 2.1.5, solaris 8, fails to start



I've gone back to vanilla testing.  I removed SMCgcc 3.2, installed 2.95.3,
rebooted solaris.  Used the env variables I described before, and
./configure;make;make test.  Went all through the tests, sill got the
strange errors after test 15.  (I think it may be something with the test,
not my stuff.)

Next I did a 'sudo make install', which went pretty well except for slurpd:
  Entering subdirectory slurpd
../../build/shtool mkdir -p /usr/local/libexec
shtool:install:Error: unknown option: `d'
shtool:install:Hint:  run `shtool install -h' or `man shtool' for details
*** Error code 1 (ignored)
../../build/shtool install -c -m 755 -s slurpd /usr/local/libexec/slurpd

shtool is just in openldap-2.1.5/build/shtool.

Unfortunately, I'm getting the same errors in the ldap logs when I 'sudo
/usr/local/libexec/slapd'

Sep 30 11:46:39 lindstrom slapd[27772]: [ID 246621 local4.debug] bdb_open:
Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
Sep 30 11:46:39 lindstrom slapd[27772]: [ID 178880 local4.debug]
bdb_db_init: Initializing BDB database
Sep 30 11:46:39 lindstrom slapd[27773]: [ID 446079 local4.debug]
bdb(dc=netdelivery): /var/openldap-data/__db.001: No such file or directory
Sep 30 11:46:39 lindstrom slapd[27773]: [ID 886196 local4.debug]
bdb_db_open: dbenv_open failed: No such file or directory (2)
Sep 30 11:46:39 lindstrom slapd[27773]: [ID 289525 local4.debug]
backend_startup: bi_db_open(0) failed! (2)
Sep 30 11:46:39 lindstrom slapd[27773]: [ID 446079 local4.debug]
bdb(dc=netdelivery): txn_checkpoint interface requires an environment
configured for the transaction subsystem
Sep 30 11:46:39 lindstrom slapd[27773]: [ID 887577 local4.debug]
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
Sep 30 11:46:39 lindstrom slapd[27773]: [ID 486161 local4.debug] slapd
stopped.
Sep 30 11:46:39 lindstrom slapd[27773]: [ID 432338 local4.debug]
connections_destroy: nothing to destroy.

So I'm pretty much back at square 1.  I can go and re-compile everything
starting with Berekely db, with gcc 2.95.3.  I think it's pretty odd I
always get the same error about txn_checkpoint, though.  I even just went
and ran the Berkeley tests for just txn, and they came through okay.

Hmm, I re-ran make test for openldap (make test bdb) to see what the end
error was, and it seems to want --enable-ldbm, which of course Igor
suggested earlier.  I'll remake it, and see if that helps.

>>>>> Test succeeded
>>>>> ./scripts/test015-xsearch completed OK.
>>>>> waiting 10 seconds for things to exit

ln: cannot create ./data: File exists
*** Error code 2 (ignored)
ln: cannot create ./schema: File exists
*** Error code 2 (ignored)
ln: cannot create ucdata/liblunicode: File exists
*** Error code 2 (ignored)
run configure with --enable-ldbm
make: Fatal error: Don't know how to make target `bdb'