Rehost Tool fails with message "Unable to connect to ldap server or locate entry"
Hi all. I'm currently working on cloning a Windchill PDM Essentials installation using the Rehost Tool. When I run the tool, I'm getting stuck in the LDAP connection with the message shown below. I've read a couple of posts and I've made sure that the WindchillDS credentials are correct as well as the baseDN.
I also checked that WindchillDS is running by connecting to it from another computer using "LDAP Browser/Editor" by Jarek Gawor. I'm using the same information used in the rehost.properties file and I can connect to it and browse its contents. I can also run the ControlPanel file inside of the WindchillDS directory.
The information on my rehost.properties file is:
target.directory.ldap=D:\ptc\WindchillDS
target.ldap.username=cn=Manager
target.ldap.password=***********
target.ldap.baseDn=cn=configuration,cn=Windchill_10.2-M010,o=ptc
target.ldap.hostname=*************
target.ldap.port=389
target.ldap.scheme=ldap
target.ldap.serviceName=<same as hostname>
source.local.domain=<old server FQDN>
The log shows:
D:\rehost\conf\rehost.xml:131: com.ptc.wc.rehost.exception.RehostException: Unable to connect to ldap server or locate entry: cn=configuration,cn=Windchill_10.2-M010,o=ptc
at com.ptc.wc.rehost.javatask.BackupTask.checkLDAPisRunning(BackupTask.java:449)
at com.ptc.wc.rehost.javatask.BackupTask.backupLdap(BackupTask.java:329)
at com.ptc.wc.rehost.javatask.BackupTask.backup(BackupTask.java:267)
at com.ptc.wc.rehost.javatask.BackupTask.performTask(BackupTask.java:175)
at com.ptc.wc.rehost.javatask.AbstractRehostTask.execute(AbstractRehostTask.java:141)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Is there anything else that I could check or that I may be missing? Thank you for any help you can provide.
