PAB -Communications Express

Hi All

Sun Java System Messaging Server 6.2-7.05 (built Sep 2006)

libmta.so 6.2-7.05 (built 12:18:44), Sep 5 2006)

SunOS myserver 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-v240

Im trying to migrate all the PAB from the Messenger Express format to Communications Express format (in the LDAP).

Im using the sunMigrate.sh script incorporated to the UWC soft, but the result that i have is just a error, heare is my configuration

Does anybody has migrated the PAB to communications Express (UWC) in batch mode?

Thanx for all RAM

runMigrate Script:

#!/bin/sh

#

# Copyright (c) 2005 by Sun Microsystems, Inc.

# All rights reserved.

#

####################################################

BASEDIR=/var/opt/SUNWuwc

WEBINF=$BASEDIR/WEB-INF

MIGCONFIG=$WEBINF/config

ABSLIB=$WEBINF/lib

JAVA_HOME=/usr/java

$JAVA_HOME/bin/java -classpath $ABSLIB/xslui.jar:$ABSLIB/xslutil.jar:$ABSLIB/lda

pjdk.jar:$ABSLIB/jaxp-api.jar:$ABSLIB/mail.jar:$ABSLIB/activation.jar:$ABSLIB/u w

c.jar:$ABSLIB/jcapi.jar com/sun/uwc/common/util/MigratePab $MIGCONFIG/migrate.pr

operties $MIGCONFIG "o=mydomain.com, o=isp"

migrate.properties

logfile=/tmp/migrate.log

loglevel=3

myserver.mydomain.com.pabldappoolmin=4

myserver.mydomain.com.pabldappoolmax=20

myserver.mydomain.com.pabldappooltimeout=50

myserver.mydomain.com.alwaysusedefaulthost=0

# if this is set and if the migration is successful, then the pab entries and pa

buri will be deleted!

# if this attribute is set take the pab ldap's backup if necessary

delete_pabentry=0

maxthreads=10

myserver.mydomain.com.pabhosts = myserver.mydomain.com

myserver.mydomain.com.pabports = 389

myserver.mydomain.com.pabbinddns = cn=Directory Manager

myserver.mydomain.com.pabpasswds = dirmanagerpass

# <pabhost.pabport>.abhostport parameter helps to map the source PAB ldap server

to destination address book ldap server

# if this is not set then it will fallback to use the same host and port of PAB

to construct the psRoot for the user

myserver.mydomain.com.389.abhostport = myserver.mydomain.com:389

#if you want to send email notification to the user on successful migration then

turn on the following flag and give values to following attributes

emailReqd = true

smtphost = myserver.mydomain.com

smtpport = 25

mailsubject = "PAB Migration status"

from = pma@mydomain.com

/tmp/migrate.log File

TRACE [Mon Oct 23 12:35:41 CDT 2006] NEW Request to Migrate: uid=pveinte,domain=

banjercito.com.mx,dn=uid=pveinte,ou=People,o=mydomain.com,o=isp

TRACE [Mon Oct 23 12:35:41 CDT 2006] USER LOCKED:uid=ptest,ou=People,o=mydomain,o=isp

TRACE [Mon Oct 23 12:35:41 CDT 2006] in initUgLdap

TRACE [Mon Oct 23 12:35:41 CDT 2006] IN initPabpveinte:mydomain.com

TRACE [Mon Oct 23 12:35:41 CDT 2006] com.iplanet.xslui.auth.LDAPUserSession@e53108

TRACE [Mon Oct 23 12:35:41 CDT 2006] ptest

TRACE [Mon Oct 23 12:35:41 CDT2006] uid=ptest,ou=People,o=mydomain.com,o=isp

TRACE [Mon Oct 23 12:35:41 CDT 2006] myserver.mydomain.com

TRACE [Mon Oct 23 12:35:41 CDT 2006] ldap://myserver.maydomain:389/ou=

ptest,ou=People,o=mydomain.com,o=isp,o=pab

TRACE [Mon Oct 23 12:35:41 CDT 2006] pabdn=ou=ptest,ou=People,o=mydomain.com,o=isp ,o=pab

ERROR [Mon Oct 23 12:35:41 CDT 2006] user DN = uid=ptest,ou=People,o=mydomain.com,o=isp:Exception while setting value of psRoot as null:null

TRACE [Mon Oct 23 12:35:41 CDT 2006] USER UNLOCKED:uid=ptest,ou=People,o=mydomain.com,o=isp

[3770 byte] By [ram@qed.com.mx] at [2007-11-26 10:59:20]
# 1

Hi,

This looks like a new bug that has been recently logged. The workaround in that case was the following:

Make the following code changes in migrate.properties

Old line: hostname.pabbindpasswds = <password>

New line: hostname.pabpasswds = <password>

See how that goes for you. If you don't have any luck with that you would probably want to log a support request.

Regards,

Shane.

shane_hjorth at 2007-7-7 3:12:56 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

>

> Old line: hostname.pabbindpasswds = <password>

> New line: hostname.pabpasswds = <password>

>

Thanx Shane

But the lines in my migration.properties file are:

myserver.mydomain.com.pabhosts = myserver.mydomain.com

myserver.mydomain.com.pabports = 389

myserver.mydomain.com.pabbinddns = cn=Directory Manager

myserver.mydomain.com.pabpasswds = dirmanagerpass

-

And the line is the same that yours...Any Clue?

Ram

ram@qedcommx at 2007-7-7 3:12:56 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Can you try by setting myserver.mydomain.com.alwaysusedefaulthost =1.Restart Webcontainer.ThanksRamya
ramya_ravi at 2007-7-7 3:12:56 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

Two things I noticed from the data that you have posted:

1. This need not be set :

myserver.mydomain.com.389.abhostport = myserver.mydomain.com:389

since your mail and pab host is the same.

2. The logs say :

TRACE [Mon Oct 23 12:35:41 CDT 2006] ldap://myserver.maydomain:389/ou=ptest,ou=People,o=mydomain.com,o=isp,o= pab

TRACE [Mon Oct 23 12:35:41 CDT 2006] pabdn=ou=ptest,ou=People,o=mydomain.com,o=isp ,o=pab

ERROR [Mon Oct 23 12:35:41 CDT 2006] user DN = uid=ptest,ou=People,o=mydomain.com,o=isp:Exception while setting value of psRoot as null:null

whereas you are referring to mydomain in all other places.Looks like some typo.Can you please chk?

Thanks

Ramya

ramya_ravi at 2007-7-7 3:12:56 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

ERROR [Mon Oct 23 12:35:41 CDT 2006] user DN = uid=ptest,ou=People,o=mydomain.com,o=isp:Exception while setting value of psRoot as null:null

More likely the typo is in 'sanitizing' the domains.

but the above error is more interesting, I think.

Check your configuration for the value you put in for psRoot. It's complaining that there isn't anything there.

jay_plesset at 2007-7-7 3:12:56 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...