problems

Hi Jay,

Ok, I made all the backups I could and ran the comm_dssetup.pl script against my directory server. I recieved the following errors at the end of the script:

Done Applying ldif file /var/tmp/dssetup_20060725131846.ldif

rejects to /var/tmp/dssetup_20060725131846.ldif.rej status = 0

Running db2index.pl for index inetDomainBaseDN on NetscapeRoot

ldap_simple_bind: Can't connect to the LDAP server - Connection refused

Done status = 0

Sleeping for 4 seconds to allow indexing to finish...

Running db2index.pl for index inetCanonicalDomainName on NetscapeRoot

ldap_simple_bind: Can't connect to the LDAP server - Connection refused

Done status = 0

Sleeping for 4 seconds to allow indexing to finish...

Running db2index.pl for index mailDomainStatus on NetscapeRoot

ldap_simple_bind: Can't connect to the LDAP server - Connection refused

Done status = 0

Sleeping for 4 seconds to allow indexing to finish...

Successful Completion. Consult /var/tmp/dssetup_20060725131846.log for details

If I try to restore the backup I made with the directory console I get the following error and the restore fails:

Wrong Index definitions for backend NetscapeRoot: the index inetCanonicalDomainName is not part of backeduped data

Failed to read the backup file set from <the direcory it was in>

Restore failed(error -1)

I can no longer authenticate. This is the error I have been getting if I attemt to restore since I upgraded from 4.16. Support was never able to find a solution.

Any ideas?

Don

[1639 byte] By [carlgren1] at [2007-11-26 9:01:52]
# 1
I can get my directory back up by restoring the backup I created using the cp command.I have tried setting the dc root to both o=internet and o=netscaperoot and get the same results with both.
carlgren1 at 2007-7-6 23:08:52 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
How are you "setting" dc root?It should NEVER be o=NetscapeRootIt may be o=internet or, perhaps, o=isp
jay_plesset at 2007-7-6 23:08:52 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Restart!!!
MLB at 2007-7-6 23:08:52 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

Hi Jay,

I figured it should be o=internet. That was what I tried first but when it didn't work I thought I was thinking wrong so I tried o=Netscaperoot.

I specified this when the dss_setup script asks for it. It does come up with the default of o=internet when I run the script.

It's quiet here right now so I will run it again and grab the DS access and error logs as the script runs to see if there is anything in them and I'll post that.

Don

Don

carlgren1 at 2007-7-6 23:08:52 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

OK,

here is the access log from the time I ran the comm_dssetup.pl script

[26/Jul/2006:07:34:04 -0600] conn=1 op=26 msgId=27 - MOD dn="cn=schema"

[26/Jul/2006:07:34:04 -0600] conn=1 op=26 msgId=27 - RESULT err=0 tag=103 nentries=0 etime=0

[26/Jul/2006:07:34:04 -0600] conn=1 op=27 msgId=28 - ADD dn="cn=\22o=comms-config\22,cn=mapping tree,cn=config"

[26/Jul/2006:07:34:04 -0600] conn=1 op=27 msgId=28 - RESULT err=0 tag=105 nentries=0 etime=0

[26/Jul/2006:07:34:04 -0600] conn=1 op=28 msgId=29 - ADD dn="cn=comms-configdb2,cn=ldbm database,cn=plugins,cn=config"

[26/Jul/2006:07:34:05 -0600] conn=1 op=28 msgId=29 - RESULT err=0 tag=105 nentries=0 etime=1

[26/Jul/2006:07:34:05 -0600] conn=1 op=29 msgId=30 - ADD dn="o=comms-config"

[26/Jul/2006:07:34:05 -0600] conn=1 op=29 msgId=30 - RESULT err=68 tag=105 nentries=0 etime=0

[26/Jul/2006:07:34:05 -0600] conn=1 op=30 msgId=31 - ADD dn="cn=CommServers,o=comms-config"

[26/Jul/2006:07:34:05 -0600] conn=1 op=30 msgId=31 - RESULT err=68 tag=105 nentries=0 etime=0

[26/Jul/2006:07:34:05 -0600] conn=1 op=31 msgId=32 - UNBIND

[26/Jul/2006:07:34:05 -0600] conn=1 op=31 msgId=-1 - closing - U1

[26/Jul/2006:07:34:06 -0600] conn=1 op=-1 msgId=-1 - closed.

[26/Jul/2006:07:34:39 -0600] conn=2 op=2 msgId=3 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=jhogarth@mydomain.ab.ca)(mailalternateaddress=jhogarth@mydomain .ab.ca)(mailequivalentaddress=jhogarth@mydomain.ab.ca))" attrs="objectclass inetuserstatus mailuserstatus inetmailgroupstatus uid mail mailalternateaddress mailequivalentaddress mailroutingaddress mailhost mailmsgmaxblocks mailquota mailmsgquota mailprogramdeliveryinfo maildeliveryfileurl maildeliveryfile mailconversiontag maildeliveryoption vacationstartdate vacationenddate mailsieverulesource mailforwardingaddress maildeferprocessing mgrprejecttext mgrpbroadcasterpolicy mgrpalloweddomain mgrpdisalloweddomain mgrpallowedbroadcaster mgrpdisallowedbroadcaster mgrpmsgmaxsize mgrpauthpassword mgrpmoderator mgrpdeliverto memberurl uniquemember mgrprfc822mailmember rfc822mailmember mgrperrorsto mgrpaddheader mgrpremoveheader mgrpmsgprefixtext mgrpmsgsuffixtext preferredlanguage mgmanmembervisibility expandable"

[26/Jul/2006:07:34:39 -0600] conn=2 op=2 msgId=3 - RESULT err=0 tag=101 nentries=0 etime=0

[26/Jul/2006:07:34:39 -0600] conn=2 op=3 msgId=4 - SRCH base="dc=yahoo,dc=com,o=internet" scope=0 filter="(|(objectclass=inetDomain)(objectclass=inetdomainalias))" attrs=ALL

[26/Jul/2006:07:34:39 -0600] conn=2 op=3 msgId=4 - RESULT err=32 tag=101 nentries=0 etime=0

[26/Jul/2006:07:34:39 -0600] conn=2 op=4 msgId=5 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=Symantec_AntiVirus@mydomain.ab.ca)(mailalternateaddress=Symante c_AntiVirus@mydomain.ab.ca))" attrs="mail"

[26/Jul/2006:07:34:39 -0600] conn=2 op=4 msgId=5 - RESULT err=0 tag=101 nentries=0 etime=0

[26/Jul/2006:07:34:39 -0600] conn=2 op=5 msgId=6 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=jhogarth@mydomain.ab.ca)(mailalternateaddress=jhogarth@mydomain .ab.ca))" attrs="mail"

[26/Jul/2006:07:34:39 -0600] conn=2 op=5 msgId=6 - RESULT err=0 tag=101 nentries=0 etime=0

[26/Jul/2006:07:34:40 -0600] conn=2 op=6 msgId=7 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=mpaziuk@mydomain.ab.ca)(mailalternateaddress=mpaziuk@mydomain.a b.ca)(mailequivalentaddress=mpaziuk@mydomain.ab.ca))" attrs="objectclass inetuserstatus mailuserstatus inetmailgroupstatus uid mail mailalternateaddress mailequivalentaddress mailroutingaddress mailhost mailmsgmaxblocks mailquota mailmsgquota mailprogramdeliveryinfo maildeliveryfileurl maildeliveryfile mailconversiontag maildeliveryoption vacationstartdate vacationenddate mailsieverulesource mailforwardingaddress maildeferprocessing mgrprejecttext mgrpbroadcasterpolicy mgrpalloweddomain mgrpdisalloweddomain mgrpallowedbroadcaster mgrpdisallowedbroadcaster mgrpmsgmaxsize mgrpauthpassword mgrpmoderator mgrpdeliverto memberurl uniquemember mgrprfc822mailmember rfc822mailmember mgrperrorsto mgrpaddheader mgrpremoveheader mgrpmsgprefixtext mgrpmsgsuffixtext preferredlanguage mgmanmembervisibility expandable"

[26/Jul/2006:07:34:40 -0600] conn=2 op=6 msgId=7 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:34:40 -0600] conn=2 op=7 msgId=8 - SRCH base="dc=jndixon,dc=co,dc=uk,o=internet" scope=0 filter="(|(objectclass=inetDomain)(objectclass=inetdomainalias))" attrs=ALL

[26/Jul/2006:07:34:40 -0600] conn=2 op=7 msgId=8 - RESULT err=32 tag=101 nentries=0 etime=0

[26/Jul/2006:07:34:40 -0600] conn=3 op=-1 msgId=-1 - fd=43 slot=43 LDAP connection from 192.168.0.12 to 192.168.0.12

[26/Jul/2006:07:34:40 -0600] conn=3 op=0 msgId=1 - BIND dn="cn=msg-onyx, cn=iPlanet Messaging Suite, cn=Migrated Server Group, cn=onyx.mydomain.ab.ca, ou=ab.ca, o=NetscapeRoot" method=128 version=2

[26/Jul/2006:07:34:40 -0600] conn=3 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=msg-onyx,cn=iplanet messaging suite,cn=migrated server group,cn=onyx.mydomain.ab.ca,ou=ab.ca,o=netscaperoot"

[26/Jul/2006:07:34:40 -0600] conn=3 op=1 msgId=2 - SRCH base="cn=configuration,cn=msg-onyx,cn=iplanet messaging suite,cn=migrated server group,cn=onyx.mydomain.ab.ca,ou=ab.ca,o=netscaperoot" scope=2 filter="(objectclass=*)" attrs=ALL

[26/Jul/2006:07:34:40 -0600] conn=3 op=1 msgId=2 - RESULT err=0 tag=101 nentries=34 etime=0

[26/Jul/2006:07:34:51 -0600] conn=2 op=8 msgId=9 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=sfleury@mydomain.ab.ca)(mailalternateaddress=sfleury@mydomain.a b.ca)(mailequivalentaddress=sfleury@mydomain.ab.ca))" attrs="objectclass inetuserstatus mailuserstatus inetmailgroupstatus uid mail mailalternateaddress mailequivalentaddress mailroutingaddress mailhost mailmsgmaxblocks mailquota mailmsgquota mailprogramdeliveryinfo maildeliveryfileurl maildeliveryfile mailconversiontag maildeliveryoption vacationstartdate vacationenddate mailsieverulesource mailforwardingaddress maildeferprocessing mgrprejecttext mgrpbroadcasterpolicy mgrpalloweddomain mgrpdisalloweddomain mgrpallowedbroadcaster mgrpdisallowedbroadcaster mgrpmsgmaxsize mgrpauthpassword mgrpmoderator mgrpdeliverto memberurl uniquemember mgrprfc822mailmember rfc822mailmember mgrperrorsto mgrpaddheader mgrpremoveheader mgrpmsgprefixtext mgrpmsgsuffixtext preferredlanguage mgmanmembervisibility expandable"

[26/Jul/2006:07:34:51 -0600] conn=2 op=8 msgId=9 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:34:51 -0600] conn=2 op=9 msgId=10 - SRCH base="dc=hotmail,dc=com,o=internet" scope=0 filter="(|(objectclass=inetDomain)(objectclass=inetdomainalias))" attrs=ALL

[26/Jul/2006:07:34:51 -0600] conn=2 op=9 msgId=10 - RESULT err=32 tag=101 nentries=0 etime=0

[26/Jul/2006:07:34:56 -0600] conn=2 op=10 msgId=11 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=DBILLS@mydomain.AB.CA)(mailalternateaddress=DBILLS@mydomain.AB. CA)(mailequivalentaddress=DBILLS@mydomain.AB.CA))" attrs="objectclass inetuserstatus mailuserstatus inetmailgroupstatus uid mail mailalternateaddress mailequivalentaddress mailroutingaddress mailhost mailmsgmaxblocks mailquota mailmsgquota mailprogramdeliveryinfo maildeliveryfileurl maildeliveryfile mailconversiontag maildeliveryoption vacationstartdate vacationenddate mailsieverulesource mailforwardingaddress maildeferprocessing mgrprejecttext mgrpbroadcasterpolicy mgrpalloweddomain mgrpdisalloweddomain mgrpallowedbroadcaster mgrpdisallowedbroadcaster mgrpmsgmaxsize mgrpauthpassword mgrpmoderator mgrpdeliverto memberurl uniquemember mgrprfc822mailmember rfc822mailmember mgrperrorsto mgrpaddheader mgrpremoveheader mgrpmsgprefixtext mgrpmsgsuffixtext preferredlanguage mgmanmembervisibility expandable"

[26/Jul/2006:07:34:56 -0600] conn=2 op=10 msgId=11 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:34:57 -0600] conn=4 op=-1 msgId=-1 - fd=57 slot=57 LDAP connection from 192.168.0.12 to 192.168.0.12

[26/Jul/2006:07:34:57 -0600] conn=4 op=0 msgId=1 - BIND dn="uid=msg-admin-1, ou=People, o=mydomain.ab.ca, o=ab.ca" method=128 version=3

[26/Jul/2006:07:34:57 -0600] conn=4 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=msg-admin-1,ou=people,o=mydomain.ab.ca,o=ab.ca"

[26/Jul/2006:07:34:57 -0600] conn=4 op=1 msgId=2 - SRCH base="dc=mydomain,dc=ab,dc=ca,o=internet" scope=0 filter="(|(objectclass=inetDomain)(objectclass=inetdomainalias))" attrs=ALL

[26/Jul/2006:07:34:57 -0600] conn=4 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:34:57 -0600] conn=4 op=2 msgId=3 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(&(objectclass=groupOfUniqueNames)(objectclass=inetMailAdministrato r))" attrs="mailadminrole dn"

[26/Jul/2006:07:34:57 -0600] conn=4 op=2 msgId=3 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:34:57 -0600] conn=4 op=3 msgId=4 - SRCH base="cn=domain administrators,ou=groups,o=mydomain.ab.ca,o=ab.ca" scope=0 filter="(objectclass=*)" attrs="objectclass uid uniquemember"

[26/Jul/2006:07:34:57 -0600] conn=4 op=3 msgId=4 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:34:57 -0600] conn=4 op=4 msgId=5 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(uid=dbills)" attrs="mailhost mailmessagestore preferredlanguage mail mailquota mailmsgquota"

[26/Jul/2006:07:34:57 -0600] conn=4 op=4 msgId=5 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:35:11 -0600] conn=2 op=11 msgId=12 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=mmcgrego@mydomain.ab.ca)(mailalternateaddress=mmcgrego@mydomain .ab.ca)(mailequivalentaddress=mmcgrego@mydomain.ab.ca))" attrs="objectclass inetuserstatus mailuserstatus inetmailgroupstatus uid mail mailalternateaddress mailequivalentaddress mailroutingaddress mailhost mailmsgmaxblocks mailquota mailmsgquota mailprogramdeliveryinfo maildeliveryfileurl maildeliveryfile mailconversiontag maildeliveryoption vacationstartdate vacationenddate mailsieverulesource mailforwardingaddress maildeferprocessing mgrprejecttext mgrpbroadcasterpolicy mgrpalloweddomain mgrpdisalloweddomain mgrpallowedbroadcaster mgrpdisallowedbroadcaster mgrpmsgmaxsize mgrpauthpassword mgrpmoderator mgrpdeliverto memberurl uniquemember mgrprfc822mailmember rfc822mailmember mgrperrorsto mgrpaddheader mgrpremoveheader mgrpmsgprefixtext mgrpmsgsuffixtext preferredlanguage mgmanmembervisibility expandable"

[26/Jul/2006:07:35:11 -0600] conn=2 op=11 msgId=12 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:35:11 -0600] conn=2 op=12 msgId=13 - SRCH base="dc=carnival,dc=bfi0,dc=com,o=internet" scope=0 filter="(|(objectclass=inetDomain)(objectclass=inetdomainalias))" attrs=ALL

[26/Jul/2006:07:35:11 -0600] conn=2 op=12 msgId=13 - RESULT err=32 tag=101 nentries=0 etime=0

[26/Jul/2006:07:35:11 -0600] conn=2 op=13 msgId=14 - SRCH base="dc=carnivalpvp,dc=com,o=internet" scope=0 filter="(|(objectclass=inetDomain)(objectclass=inetdomainalias))" attrs=ALL

[26/Jul/2006:07:35:11 -0600] conn=2 op=13 msgId=14 - RESULT err=32 tag=101 nentries=0 etime=0

[26/Jul/2006:07:35:28 -0600] conn=2 op=14 msgId=15 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=lkalen@mydomain.ab.ca)(mailalternateaddress=lkalen@mydomain.ab. ca)(mailequivalentaddress=lkalen@mydomain.ab.ca))" attrs="objectclass inetuserstatus mailuserstatus inetmailgroupstatus uid mail mailalternateaddress mailequivalentaddress mailroutingaddress mailhost mailmsgmaxblocks mailquota mailmsgquota mailprogramdeliveryinfo maildeliveryfileurl maildeliveryfile mailconversiontag maildeliveryoption vacationstartdate vacationenddate mailsieverulesource mailforwardingaddress maildeferprocessing mgrprejecttext mgrpbroadcasterpolicy mgrpalloweddomain mgrpdisalloweddomain mgrpallowedbroadcaster mgrpdisallowedbroadcaster mgrpmsgmaxsize mgrpauthpassword mgrpmoderator mgrpdeliverto memberurl uniquemember mgrprfc822mailmember rfc822mailmember mgrperrorsto mgrpaddheader mgrpremoveheader mgrpmsgprefixtext mgrpmsgsuffixtext preferredlanguage mgmanmembervisibility expandable"

[26/Jul/2006:07:35:28 -0600] conn=2 op=14 msgId=15 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:35:28 -0600] conn=2 op=15 msgId=16 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=awhitson@mydomain.ab.ca)(mailalternateaddress=awhitson@mydomain .ab.ca)(mailequivalentaddress=awhitson@mydomain.ab.ca))" attrs="objectclass inetuserstatus mailuserstatus inetmailgroupstatus uid mail mailalternateaddress mailequivalentaddress mailroutingaddress mailhost mailmsgmaxblocks mailquota mailmsgquota mailprogramdeliveryinfo maildeliveryfileurl maildeliveryfile mailconversiontag maildeliveryoption vacationstartdate vacationenddate mailsieverulesource mailforwardingaddress maildeferprocessing mgrprejecttext mgrpbroadcasterpolicy mgrpalloweddomain mgrpdisalloweddomain mgrpallowedbroadcaster mgrpdisallowedbroadcaster mgrpmsgmaxsize mgrpauthpassword mgrpmoderator mgrpdeliverto memberurl uniquemember mgrprfc822mailmember rfc822mailmember mgrperrorsto mgrpaddheader mgrpremoveheader mgrpmsgprefixtext mgrpmsgsuffixtext preferredlanguage mgmanmembervisibility expandable"

[26/Jul/2006:07:35:28 -0600] conn=2 op=15 msgId=16 - RESULT err=0 tag=101 nentries=1 etime=0

[26/Jul/2006:07:35:34 -0600] conn=2 op=16 msgId=17 - SRCH base="o=mydomain.ab.ca,o=ab.ca" scope=2 filter="(|(mail=smillernn@mydomain.ab.ca)(mailalternateaddress=smillernn@mydoma in.ab.ca)(mailequivalentaddress=smillernn@mydomain.ab.ca))" attrs="objectclass inetuserstatus mailuserstatus inetmailgroupstatus uid mail mailalternateaddress mailequivalentaddress mailroutingaddress mailhost mailmsgmaxblocks mailquota mailmsgquota mailprogramdeliveryinfo maildeliveryfileurl maildeliveryfile mailconversiontag maildeliveryoption vacationstartdate vacationenddate mailsieverulesource mailforwardingaddress maildeferprocessing mgrprejecttext mgrpbroadcasterpolicy mgrpalloweddomain mgrpdisalloweddomain mgrpallowedbroadcaster mgrpdisallowedbroadcaster mgrpmsgmaxsize mgrpauthpassword mgrpmoderator mgrpdeliverto memberurl uniquemember mgrprfc822mailmember rfc822mailmember mgrperrorsto mgrpaddheader mgrpremoveheader mgrpmsgprefixtext mgrpmsgsuffixtext preferredlanguage mgmanmembervisibility expandable"

[26/Jul/2006:07:35:34 -0600] conn=5 op=-1 msgId=-1 - fd=59 slot=59 LDAP connection from 192.168.0.12 to 192.168.0.12

[26/Jul/2006:07:35:34 -0600] conn=2 op=16 msgId=17 - RESULT err=0 tag=101 nentries=0 etime=0

[26/Jul/2006:07:35:34 -0600] conn=5 op=0 msgId=1 - BIND dn="uid=msg-admin-1, ou=People, o=mydomain.ab.ca, o=ab.ca" method=128 version=3

[26/Jul/2006:07:35:34 -0600] conn=5 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=msg-admin-1,ou=people,o=mydomain.ab.ca,o=ab.ca"

carlgren1 at 2007-7-6 23:08:52 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6
I don't see anything obviously wrong.
jay_plesset at 2007-7-6 23:08:52 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7

Hi Jay,

To say this is frustrating is an understatement!

OK, I have another idea. Eventually I want to have UWC running so users have a single interface for email and calendar. I do have a 220R with 512Meg of ram in it that I have been using for testing. Would I be able to put the directory on it and have UWC and mail on my current mail server? The calendar is on a different box.

Don

carlgren1 at 2007-7-6 23:08:52 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8
Yes, you can put whatever servers you want on whatever boxes you want.
jay_plesset at 2007-7-6 23:08:52 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...