cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

How to install CPS on existing Windchill 10.2 installation in Linux?

PeterWigren
1-Newbie

How to install CPS on existing Windchill 10.2 installation in Linux?

Hello Folks!

Does anyone happen to know how to install a CPS onto an already installed Windchill 10.2 system hosted in a Linix vmware.

Steps I have done so far is to get all installation media onto my /tmp folder according to below:

[pdmadmin@wc102-m020 MED-61006-CD-102_M020_M020-CPS06-Bundle]$ ls -ltr

total 28

-rwxr-xr-x 1 pdmadmin pdmadm 43 Nov 20 12:24 setup.sh

-rwxr-xr-x 1 pdmadmin pdmadm 33 Nov 20 12:24 setup.bat

drwxr-xr-x 5 pdmadmin pdmadm 4096 Jan 29 15:50 PTC_Solution_Installer_10.2

drwxr-xr-x 3 pdmadmin pdmadm 4096 Jan 29 15:59 PTC_Windchill_10.2_Index_Search

drwxr-xr-x 4 pdmadmin pdmadm 4096 Jan 29 16:02 PTC_Windchill_10.2_Service_Pack

drwxr-xr-x 7 pdmadmin pdmadm 4096 Jan 29 16:03 PTC_Windchill_10.2_Third_Party_Software

drwxr-xr-x 8 pdmadmin pdmadm 4096 Jan 29 16:10 PTC_Windchill_10.2_Workgroup_Managers

Fist step was to chmod all files and folder recursively using chmod -R 755 *

However when running setup.sh the installer does not recognize that I have already installed Windchill.

I believe this is the key to make the installer aware of my existing solution so it can light up "Update Existing Solution".

Now I can only select "Solution" under "Install Type Options".

Anyone happens to know how to accomplish this?

I have also tried to launch "setup" under "PTC_Windchill_10.2_Service_Pack" but that script only produces:

ERROR: Cannot locate installer_jres directory in CD root: /tmp/MED-61006-CD-102_M020_M020-CPS06-Bundle/PTC_Windchill_10.2_Service_Pack

Any help is greatly appreciated!

Best regards,

Peter

1 ACCEPTED SOLUTION

Accepted Solutions

That type of error can occur if your LDAP isn't running. Make sure that WindchillDS is running when you install the CPS.

View solution in original post

4 REPLIES 4

Ok, I found it out myself:

First there was some more files and folders required:

-rwxr-xr-x 1 pdmadmin pdmadm 43 Nov 20 12:24 setup.sh

-rwxr-xr-x 1 pdmadmin pdmadm 33 Nov 20 12:24 setup.bat

drwxr-xr-x 5 pdmadmin pdmadm 4096 Jan 29 15:50 PTC_Solution_Installer_10.2

drwxr-xr-x 3 pdmadmin pdmadm 4096 Jan 29 15:59 PTC_Windchill_10.2_Index_Search

drwxr-xr-x 4 pdmadmin pdmadm 4096 Jan 29 16:02 PTC_Windchill_10.2_Service_Pack

drwxr-xr-x 7 pdmadmin pdmadm 4096 Jan 29 16:03 PTC_Windchill_10.2_Third_Party_Software

drwxr-xr-x 8 pdmadmin pdmadm 4096 Jan 29 16:10 PTC_Windchill_10.2_Workgroup_Managers

drwxr-xr-x 4 pdmadmin pdmadm 4096 Jan 30 15:45 MED-60703-CD-102_M020

drwxr-xr-x 3 pdmadmin pdmadm 4096 Jan 30 15:46 MED-60171-CD-102_F000

drwxr-xr-x 3 pdmadmin pdmadm 4096 Jan 30 15:48 MED-60418-CD-102_F000

drwxr-xr-x 3 pdmadmin pdmadm 4096 Jan 30 15:48 MED-60800-CD-102_M020

Then the connection to any previous installations are stored under the home directory for the user

First you need to locate the folder for the current installation:

[pdmadmin@wc102-m020 instreg]$ pwd

/ptc/PSI/installer/instreg

[pdmadmin@wc102-m020 instreg]$ ls

CommonCore.jar gnu-getopt.jar ii-405075bc.146a347ac80.-8000 psiedit.jar

Then you need to edit the below file:

Move to:

/home/pdmadmin/.ptc/windchill

In this folder there should be a file:

psi_iir_index.xml

It needs to contain below info:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE InstallInstances [

<!ELEMENT InstallInstances (Instance*)>

<!ELEMENT Instance EMPTY>

<!ATTLIST Instance id CDATA #REQUIRED>

<!ATTLIST Instance location CDATA #REQUIRED>

]>

<InstallInstances>

<!--Registries are located in '[location]/installer/instreg/[id]'-->

<Instance location="/ptc/PSI" id="ii-405075bc.146a347ac80.-8000"/>

</InstallInstances>

When that is setup the installer will locate the current installation.

Not sure why the file was missing though but that is another question.

Now it fails with below exception instead:

INFO 2015-01-30 16:19:17 - BUILD FAILED

INFO 2015-01-30 16:19:17 - /ptc/Windchill/bin/installModules.xml:521: The following error occurred while executing this line:

INFO 2015-01-30 16:19:17 - /ptc/Windchill/bin/ptcarchive.xml:75: Unable to find the Naming Service directory entry

INFO 2015-01-30 16:19:17 - at com.infoengine.administration.packaging.AntInstaller.execute(AntInstaller.java:225)

INFO 2015-01-30 16:19:17 - at com.infoengine.administration.packaging.AntInstaller.execute(AntInstaller.java:175)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)

INFO 2015-01-30 16:19:17 - at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

INFO 2015-01-30 16:19:17 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

INFO 2015-01-30 16:19:17 - at java.lang.reflect.Method.invoke(Method.java:606)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Task.perform(Task.java:348)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Target.execute(Target.java:435)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Target.performTasks(Target.java:456)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Project.executeTargets(Project.java:1248)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)

INFO 2015-01-30 16:19:17 - at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

INFO 2015-01-30 16:19:17 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

INFO 2015-01-30 16:19:17 - at java.lang.reflect.Method.invoke(Method.java:606)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Task.perform(Task.java:348)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Target.execute(Target.java:435)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Target.performTasks(Target.java:456)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Project.executeTarget(Project.java:1364)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Project.executeTargets(Project.java:1248)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Main.runBuild(Main.java:851)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.Main.startAnt(Main.java:235)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

INFO 2015-01-30 16:19:17 - at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

That type of error can occur if your LDAP isn't running. Make sure that WindchillDS is running when you install the CPS.

Peter,

Were you able to get the CPS installed, or are you still running into issues? Let us know if you're still having problems with the CPS.

Hello Chris!

Yes, it works now.

Thought all applications should be shutdown as they were target for potential update...

When strarting up WindchillDS installation went fine.

Thanks for the tip!

Best regards,

Peter

Top Tags