When run script setup-ds-admin.pl return error when Creating directory server:
- Code: Select all
[19/03/13:10:02:08] - [Setup] Info Creating directory server . . .
[19/03/13:10:02:16] - [Setup] Info Could not import LDIF file '/root/tmp/ldifaSUHXD.ldif'. Error: 59648. Output: importing data ...
[13/Mar/2019:10:02:10.295369058 +0100] slapd_nss_init: chmod failed for file /etc/dirsrv/slapd-ldap1/cert8.db error (2) No such file or directory.
[13/Mar/2019:10:02:10.302394454 +0100] slapd_nss_init: chmod failed for file /etc/dirsrv/slapd-ldap1/key3.db error (2) No such file or directory.
[13/Mar/2019:10:02:10.304457731 +0100] slapd_nss_init: chmod failed for file /etc/dirsrv/slapd-ldap1/secmod.db error (2) No such file or directory.
[13/Mar/2019:10:02:10.322433900 +0100] WARNING: Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database
[13/Mar/2019:10:02:10.325411419 +0100] check_and_set_import_cache: pagesize: 4096, pages: 252519, procpages: 4870
[13/Mar/2019:10:02:10.327366972 +0100] WARNING: After allocating import cache 230504KB, the available memory is 779572KB, which is less than the soft limit 1048576KB. You may want to decrease the import cac
he size and rerun import.
[13/Mar/2019:10:02:10.330135857 +0100] Import allocates 230504KB import cache.
[13/Mar/2019:10:02:10.349031316 +0100] import userRoot: Beginning import job...
[13/Mar/2019:10:02:10.351070828 +0100] import userRoot: Index buffering enabled with bucket size 100
[13/Mar/2019:10:02:10.552953077 +0100] import userRoot: Could not open LDIF file "/root/tmp/ldifaSUHXD.ldif", errno 13 (Permission denied)
[13/Mar/2019:10:02:10.654084236 +0100] import userRoot: Thread monitoring returned: -23
[13/Mar/2019:10:02:10.657275535 +0100] import userRoot: Aborting all Import threads...
[13/Mar/2019:10:02:16.165561052 +0100] import userRoot: Import threads aborted.
[13/Mar/2019:10:02:16.168799315 +0100] import userRoot: Closing files...
[13/Mar/2019:10:02:16.174550800 +0100] All database threads now stopped
[13/Mar/2019:10:02:16.177479893 +0100] import userRoot: Import failed.
[19/03/13:10:02:16] - [Setup] Fatal Error: Could not create directory server instance 'ldap1'.
[19/03/13:10:02:16] - [Setup] Fatal Exiting . . .
Log file is '/root/tmp/setupKsCJLW.log'
File /etc/dirsrv/slapd-ldap1/cert8.db and key3.db not exist because certutil generate newer cert9.db and key4.db.
Do you advise me how to configure the directory server?