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

Problems executing slapd on different box.

Hi every one,

I compiled OpenLdap with --prefix=/local5/openldap.2.1 on machine A (Solaris 8), where I have every thing i need to do that, and every thing runs right.

Then I move all with a tarball to a machine B (Solaris 8 too) with a very diferrent FS structure, and after fixing my concerns related to the different base PATH (/u06/home/sofficer on B instead of /local5/openldap.2.1 on A) changing configuration files and enviroment variables, I can't make slapd runs.

Triying to figure out the reason it doesn't raise I did:
$ truss -f ./libexec/slapd -f ./etc/openldap/slapd.conf -h "ldap://reunidas:9999"
and I got the following interesting lines:
28090:  read(9, 0x00188CEC, 8192)                       = 0
28090:  llseek(9, 0, SEEK_CUR)                          = 17290
28090:  close(9)                                        = 0
28090:  open("/local5/openldap.2.1/share/openldap/ucdata/ctype.dat", O_RDONLY) Err#2 ENOENT
28090:  open("/local5/openldap.2.1/share/openldap/ucdata/case.dat", O_RDONLY) Err#2 ENOENT
28090:  open("/local5/openldap.2.1/share/openldap/ucdata/decomp.dat", O_RDONLY) Err#2 ENOENT
28090:  open("/local5/openldap.2.1/share/openldap/ucdata/cmbcl.dat", O_RDONLY) Err#2 ENOENT
28090:  open("/local5/openldap.2.1/share/openldap/ucdata/num.dat", O_RDONLY) Err#2 ENOENT
28090:  open("/local5/openldap.2.1/share/openldap/ucdata/comp.dat", O_RDONLY) Err#2 ENOENT
28090:  open("/local5/openldap.2.1/share/openldap/ucdata/kdecomp.dat", O_RDONLY) Err#2 ENOENT
28090:  fstat(4, 0xFFBEF5D8)                            = 0
28090:  time()                                          = 1068544799
So, slapd doesn't raise because it's looking for some files on the original compiling PATH.

Somebody has an idea on how to avoid it problem?

Thanks in advance,