Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
On 10/20/2015 11:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online?
There is no need to run db2index if you are removing an index, and it is fine to do so while the server is running. db2index is only used for indexing/reindexing existing attributes.
Thank you Isabella
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
Mark , thank you for reply, the main reason I was asking is: I seen several times when I removed user indexes using admin console and after 2-3 days they re-appeared back ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create back ?? Thank you
Isabella On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
On 10/20/2015 11:58 AM, ghiureai wrote:
Mark , thank you for reply, the main reason I was asking is: I seen several times when I removed user indexes using admin console and after 2-3 days they re-appeared back ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create back ??
I've never heard of that happening on its own.
Next time you remove an index, check the FS to see if the file is removed:
example, delete "cn" index and make sure this file is removed:
/var/lib/dirsr5v/slapd-INSTANCE/db/useroot/cn.db
Also make sure that the index entry is removed from cn=config:
# ldapsearch -D "cn=directory manager" -W -b cn=config cn=cn
Now a "restore" can add this file back and update the config. Are you sure you haven't done a restore?
So if the index reappears check cn=config and FS. Also check if it happens after doing a backup - you need find out what is triggering the resurrection of the index.
Mark
Thank you
Isabella On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
Hi Mark as per your advise, I checked the
/var/lib/dirsr5v/slapd-INSTANCE/db/useroot/ the files are gone
BUT seeing this lines when exporting ldap instance, this are the indexes I removed few days ago and saw them back
plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] - Backend Instance(s): [19/Oct/2015:21:59:04 -0700] - userRoot [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=uniquemember,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=telephoneNumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=sn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=seeAlso,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=owner,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=memberOf,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=member,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailHost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailAlternateAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mail,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=givenName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=numericid,cn=index,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config]
On 10/20/2015 08:58 AM, ghiureai wrote:
Mark , thank you for reply, the main reason I was asking is: I seen several times when I removed user indexes using admin console and after 2-3 days they re-appeared back ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create back ?? Thank you
Isabella On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
On 10/20/2015 12:47 PM, ghiureai wrote:
Hi Mark as per your advise, I checked the /var/lib/dirsr5v/slapd-INSTANCE/db/useroot/ the files are gone BUT seeing this lines when exporting ldap instance, this are the indexes I removed few days ago and saw them back
plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] - Backend Instance(s): [19/Oct/2015:21:59:04 -0700] - userRoot [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=uniquemember,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=telephoneNumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=sn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=seeAlso,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=owner,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=memberOf,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=member,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailHost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailAlternateAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mail,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=givenName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=numericid,cn=index,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config]
Which indexes did you remove? Can you provide more of this logging(before and after)?
On 10/20/2015 08:58 AM, ghiureai wrote:
Mark , thank you for reply, the main reason I was asking is: I seen several times when I removed user indexes using admin console and after 2-3 days they re-appeared back ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create back ?? Thank you
Isabella On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
Hi Mark,
As per developers advise , I removed most the index listed here, we have memberof pluging on and mutl-master rep pluging on, I removed :mail, mailHost, telephoneNumber,seeAlso, owner,
ntUserDomainI,ntUniqueId, mailAlternateAddress,givenName almost 12 indexes removed. After rebooting the DS I see the indexes are been put back possible by some of the plugins wich are one "on" by default with 389DS base instalation. What would you advise which one of them should be removed , how about the plugings associated with this indexes?
Thank you so much Isabella
On 10/20/2015 09:47 AM, ghiureai wrote:
Hi Mark as per your advise, I checked the /var/lib/dirsr5v/slapd-INSTANCE/db/useroot/ the files are gone BUT seeing this lines when exporting ldap instance, this are the indexes I removed few days ago and saw them back
plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] - Backend Instance(s): [19/Oct/2015:21:59:04 -0700] - userRoot [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=uniquemember,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=telephoneNumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=sn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=seeAlso,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=owner,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=memberOf,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=member,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailHost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailAlternateAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mail,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=givenName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=numericid,cn=index,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config]
On 10/20/2015 08:58 AM, ghiureai wrote:
Mark , thank you for reply, the main reason I was asking is: I seen several times when I removed user indexes using admin console and after 2-3 days they re-appeared back ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create back ?? Thank you
Isabella On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
On 10/20/2015 04:32 PM, ghiureai wrote:
Hi Mark,
As per developers advise , I removed most the index listed here, we have memberof pluging on and mutl-master rep pluging on, I removed :mail, mailHost, telephoneNumber,seeAlso, owner,
These are all system indexes and can not be removed. That's why the server keeps adding them back. Why do you want to remove them anyway?
ntUserDomainI,ntUniqueId, mailAlternateAddress,givenName almost 12 indexes removed. After rebooting the DS I see the indexes are been put back possible by some of the plugins wich are one "on" by default with 389DS base instalation. What would you advise which one of them should be removed , how about the plugings associated with this indexes?
Thank you so much Isabella
On 10/20/2015 09:47 AM, ghiureai wrote:
Hi Mark as per your advise, I checked the /var/lib/dirsr5v/slapd-INSTANCE/db/useroot/ the files are gone BUT seeing this lines when exporting ldap instance, this are the indexes I removed few days ago and saw them back
plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] - Backend Instance(s): [19/Oct/2015:21:59:04 -0700] - userRoot [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=uniquemember,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=telephoneNumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=sn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=seeAlso,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=owner,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=memberOf,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=member,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailHost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailAlternateAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mail,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=givenName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=numericid,cn=index,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config]
On 10/20/2015 08:58 AM, ghiureai wrote:
Mark , thank you for reply, the main reason I was asking is: I seen several times when I removed user indexes using admin console and after 2-3 days they re-appeared back ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create back ?? Thank you
Isabella On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
Gmorning Mark the indexes had been removed at developers request to improve performance , now I reboot he DS and the indexes come up online. Ate there any tasks to run to be sure the data is not corrupted or the pluging ( memberOf) is working properly / rebuild the indexes or run the db2index.pl?
Isabella
On 10/20/2015 01:32 PM, ghiureai wrote:
Hi Mark,
As per developers advise , I removed most the index listed here, we have memberof pluging on and mutl-master rep pluging on, I removed :mail, mailHost, telephoneNumber,seeAlso, owner, ntUserDomainI,ntUniqueId, mailAlternateAddress,givenName almost 12 indexes removed. After rebooting the DS I see the indexes are been put back possible by some of the plugins wich are one "on" by default with 389DS base instalation. What would you advise which one of them should be removed , how about the plugings associated with this indexes?
Thank you so much Isabella
On 10/20/2015 09:47 AM, ghiureai wrote:
Hi Mark as per your advise, I checked the /var/lib/dirsr5v/slapd-INSTANCE/db/useroot/ the files are gone BUT seeing this lines when exporting ldap instance, this are the indexes I removed few days ago and saw them back
plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] - Backend Instance(s): [19/Oct/2015:21:59:04 -0700] - userRoot [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=uniquemember,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=telephoneNumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=sn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=seeAlso,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=owner,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=memberOf,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=member,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailHost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailAlternateAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mail,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=givenName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=numericid,cn=index,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config]
On 10/20/2015 08:58 AM, ghiureai wrote:
Mark , thank you for reply, the main reason I was asking is: I seen several times when I removed user indexes using admin console and after 2-3 days they re-appeared back ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create back ?? Thank you
Isabella On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
On 10/21/2015 01:33 PM, ghiureai wrote:
Gmorning Mark the indexes had been removed at developers request to improve performance , now I reboot the DS and the indexes come up online.
Maybe there was a misunderstanding. I'm sure a developer did not recommend you remove the default system indexes. Maybe the recommendation was to remove other non-system indexes? Anyway...
Ate there any tasks to run to be sure the data is not corrupted or the pluging ( memberOf) is working properly / rebuild the indexes or run the db2index.pl?
if you want to be sure your indexes are indexed, you can run db2index.pl. You could also run dbverify (man dbverify) to see if any database file are corrupted.
Mark
Isabella
On 10/20/2015 01:32 PM, ghiureai wrote:
Hi Mark,
As per developers advise , I removed most the index listed here, we have memberof pluging on and mutl-master rep pluging on, I removed :mail, mailHost, telephoneNumber,seeAlso, owner, ntUserDomainI,ntUniqueId, mailAlternateAddress,givenName almost 12 indexes removed. After rebooting the DS I see the indexes are been put back possible by some of the plugins wich are one "on" by default with 389DS base instalation. What would you advise which one of them should be removed , how about the plugings associated with this indexes?
Thank you so much Isabella
On 10/20/2015 09:47 AM, ghiureai wrote:
Hi Mark as per your advise, I checked the /var/lib/dirsr5v/slapd-INSTANCE/db/useroot/ the files are gone BUT seeing this lines when exporting ldap instance, this are the indexes I removed few days ago and saw them back
plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreOrderingMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] plugin_mr_find - Error: matching rule plugin for [caseIgnoreSubstringMatch-default] not found [19/Oct/2015:21:59:04 -0700] - Backend Instance(s): [19/Oct/2015:21:59:04 -0700] - userRoot [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=uniquemember,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=telephoneNumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=sn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=seeAlso,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=owner,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=memberOf,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=member,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailHost,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mailAlternateAddress,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=mail,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=givenName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config] [19/Oct/2015:21:59:04 -0700] - Added database config entry [cn=numericid,cn=index,cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config]
On 10/20/2015 08:58 AM, ghiureai wrote:
Mark , thank you for reply, the main reason I was asking is: I seen several times when I removed user indexes using admin console and after 2-3 days they re-appeared back ? This is something strange, I am running backups and exports on daily bases on on this database but can explain how the indexes are getting re-create back ?? Thank you
Isabella On 10/20/2015 08:42 AM, ghiureai wrote:
Hi List, I would like to know if after removing user indexes using the admin console there is need to run the |db2index.pl| script while the ldap is shutdown or should be fine to run with DS online? Thank you Isabella
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
389-users@lists.fedoraproject.org