Topic
6 replies Latest Post - ‏2014-01-15T15:50:08Z by NewtonH
elvisjohndowson
elvisjohndowson
5 Posts
ACCEPTED ANSWER

Pinned topic Cannot launch Rhapsody-8.0.5 on Red Hat Enterprise Linux 6.5 64-bit

‏2014-01-03T17:41:14Z |

Hi,

I just installed Rhapsody-8.0.5 on Red Hat Enterprise Linux 6.5 64-bit, running on a virtual machine created using VMware Fusion 6.0.2. I tried launching the program, but I get no error messages and no output. The program doesn't launch at all! ;-)

I also noticed a couple of errors with the Rhapsody installer for linux.

For example:

01. For the IBM Installer, one must edit the following file:

ratlRhapsody_8-0.5_Linux/disk1/im/installer.linux.gtk.x86_64/install.xml

 

Modify the line to

 

<offering features='agent_core,agent_jre' id='com.ibm.cic.agent'/>

 

remove the version specific check for the cic agent.

 

02. The software product compatibility reports, detailed system requirements generated here

 

http://publib.boulder.ibm.com/infocenter/prodguid/v1r0/clarity-reports/report/html/softwareReqsForProduct?deliverableId=0C6839B04F1911E2A6D822020925FE1B&osPlatform=Linux#

 

is missing one required library (libXmu.i686), which need to be installed, else it will give an error upon start up.

 

I've outline the steps below. If someone could tell me what I'm missing, in order to get Rhapsody to run on RHEL-6.5, it would be great.

 

Procedure

 

Step 01.00: Prepare installation environment.

 

Step 01.01: Fix Linux specific environment issues.

 

Modify the IBM Rhapsody for Linux installer package.

 

Edit the following file:

 

ratlRhapsody_8-0.5_Linux/disk1/im/installer.linux.gtk.x86_64/install.xml

 

Modify the line to

 

<offering features='agent_core,agent_jre' id='com.ibm.cic.agent'/>

 

Step 01.02: Install Eclipse-4.3.

 

Download Eclipse-4.3 and install to the following location:

 

/tool/eclipse/4.3

 

Install the following additional components

 

- Linux Tools

- Mobile and Device Development

- Programming Languages : C/C++ development.

 

Step 01.03: Install required packages.

 

yum install gtk2.i686 \

libXtst.i686 \

PackageKit-gtk-module.i686 \

libcanberra-gtk2.i686 \

gtk2-engines.i686 \

libXmu.i686 \

libXdmcp.i686

 

To check which package provides a particular library, type

 

yum whatprovides '*/libXp.so.6'

 

Reboot the system.

 

Step 02.00: Install Rhapsody for Linux.

 

Step 02.01: Install IBM Installation Manager.

 

$ sudo ./imLauncherLinux.sh

 

Install to

 

/tool/ibm/installation-manager/eclipse

 

Change folder permissions

 

$ sudo chown elvis:elvis -R /tool/ibm/installation-manager/eclipse

 

Step 02.02: Install IBM Rational Rhapsody.

 

Launch IBM Installation Manager

 

$ cd /tool/ibm/installation-manager/eclipse

$ sudo ./IBMIM

 

Click on Install packages and add the following repositories.

 

ratlRhapsody_8-0.5_Linux/disk1

 

Specify the following shared resources directory:

 

/tool/ibm/installation-manager/shared

 

Specify the IBM Rational Rhapsody installation path:

 

/tool/ibm/rational/rhapsody-8.0.5

 

Select the following language features:

 

C

C++

Java

 

Specify the Eclipse CDT integration IDE path

 

/tool/eclipse/4.3

 

 

Step 02.03: Install the license file.

 

Copy the license file to the following folder:

 

'/tool/ibm/installation-manager/license/flexlm'

 

 

Step 03.00: Launch Rhaposdy.

 

Step 03.01: Launch Rhapsody in C++.

 

cd '/tool/ibm/rational/rhapsody-8.0.5'

export LM_LICENSE_FILE=/tool/ibm/installation-manager/license/flexlm/ibm-rational-rhapsody-license.dat

./RhapsodyInCpp

 

 

Best regards,

 

Elvis Dowson

Updated on 2014-01-03T17:41:44Z at 2014-01-03T17:41:44Z by elvisjohndowson
  • elvisjohndowson
    elvisjohndowson
    5 Posts
    ACCEPTED ANSWER

    Re: Cannot launch Rhapsody-8.0.5 on Red Hat Enterprise Linux 6.5 64-bit

    ‏2014-01-03T18:55:38Z  in response to elvisjohndowson

    I tried to source the rhapsody environment variables manually, and got an error message

    $ . rhp_env
    $ export TELELOGIC_LICENSE_FILE='/tool/ibm/rational/rhapsody-8.0.5/flexlm/license.dat'
    $ echo $RHPDIR
    /tool/ibm/rational/rhapsody-8.0.5
    
    $ $RHPDIR/bin/rhapsody.exe -lang=cpp
    Failed to start Core Services: Failed to launch rpcss.
    
    The mwrpcss_event.log shows the following error
    03/01 21:17:16  [# 1] ->
    +++ mwrpcss logging started +++
    03/01 21:17:16  [# 2] ->
    
    RPCSS ServiceMain failed with 14 (0000000e)
    Not enough storage is available to complete this operation.
    
    03/01 21:17:16  [# 3] ->
    --- mwrpcss logging ending ---
    

    I checked networking and it's working fine. I'm able to ping another machine connected to the RHEL virtual machine, but Rhapsody fails to launch. The virtual machine has 8GB of RAM allocated with 8 processors, and is a new installation.

     

     

    Updated on 2014-01-03T19:09:29Z at 2014-01-03T19:09:29Z by elvisjohndowson
    • MickeyRoash
      MickeyRoash
      1 Post
      ACCEPTED ANSWER

      Re: Cannot launch Rhapsody-8.0.5 on Red Hat Enterprise Linux 6.5 64-bit

      ‏2014-01-06T12:28:11Z  in response to elvisjohndowson

      Hi Elvis ,

      I have few comments;

      1. you are correct ,libXmu.i686 is missing from the list 
      2. you need to use "./launchpad.sh" in order to start Rhapsody installation ,it will save you all the repository setting 
      3. relate to you Rhapsody runtime error :please check the content of /etc/hosts 
      It should not contain the hostname ,if it contain ,please remove it .
      here is my "/etc/hosts" on my RHEL 6.5 x64 that works with Rhapsody
      cat /etc/hosts
      127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
      ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

      BR,

      Mickey

      Updated on 2014-01-06T12:34:14Z at 2014-01-06T12:34:14Z by MickeyRoash
      • This reply was deleted by MickeyRoash 2014-01-06T12:34:25Z.
      • elvisjohndowson
        elvisjohndowson
        5 Posts
        ACCEPTED ANSWER

        Re: Cannot launch Rhapsody-8.0.5 on Red Hat Enterprise Linux 6.5 64-bit

        ‏2014-01-06T15:47:27Z  in response to MickeyRoash

        Hi Mickey,

        Thanks for the reply. I check my /etc/hosts and set it like you suggested (which is the initial install defaults), and I still get the same error message:

        06/01 19:42:40  [# 1] ->
        +++ mwrpcss logging started +++
        06/01 19:42:40  [# 2] ->
        
        
        RPCSS ServiceMain failed with 14 (0000000e)
        Not enough storage is available to complete this operation.
        
        06/01 19:42:40  [# 3] ->
        --- mwrpcss logging ending ---
        

        I got this error from the mw.8.0.5 folder logs (mwrpcss_event.log).

        Best regards,

        Elvis Dowson

        • NewtonH
          NewtonH
          19 Posts
          ACCEPTED ANSWER

          Re: Cannot launch Rhapsody-8.0.5 on Red Hat Enterprise Linux 6.5 64-bit

          ‏2014-01-07T04:12:33Z  in response to elvisjohndowson

          Hi Elvis,

          A couple more things to add:

          1. The "Failed to start Core Services: Failed to launch rpcss" error is typically caused by not having your hostname and IP address mapping in your /etc/host file. There is technote flying around that outlined the following solution:

          - login as as root:
          -run 'hostname'
          -edit the /etc/hosts file
          -on the very last line of the file (after all localhost and ipv6 localhost lines) add <IP address> <hostname from the 'hostname' command>

          e.g. 9.123.45.789 penguin01


          -save and exit out of the edited /etc/hosts file

          2. The "mwrpcss" process is mart of the MainWin porting software and it may be likely that you may have run out of disk space on the partition where the .mw folder is located for the RHP install. Check that you have sufficient diskspace on that partition.

           

          Hope the above helps.

          Many thanks,

          Pritesh...

          • elvisjohndowson
            elvisjohndowson
            5 Posts
            ACCEPTED ANSWER

            Re: Cannot launch Rhapsody-8.0.5 on Red Hat Enterprise Linux 6.5 64-bit

            ‏2014-01-15T14:59:04Z  in response to NewtonH

            Hi,

            I traced the problem to duplicate entries for "eth0" in the /etc/udev/rules.d/70-persistent-net.rules file, for the virtual machine configuration.

            On a physical machine, the installation worked fine.

            So the solution was to additionally examine the /etc/udev/rules.d/70-persistent-net.rules file and ensure that the entries were correct.

            Regards,

            Elvis Dowson

            • NewtonH
              NewtonH
              19 Posts
              ACCEPTED ANSWER

              Re: Cannot launch Rhapsody-8.0.5 on Red Hat Enterprise Linux 6.5 64-bit

              ‏2014-01-15T15:50:08Z  in response to elvisjohndowson

              Thanks a lot Elvis for the additional hint. Will keep that in mind for the future.

               

              Take Care,

              Pritesh...