Topic
  • 2 replies
  • Latest Post - ‏2012-09-27T19:47:42Z by slowhand
JamesElsey
JamesElsey
1 Post

Pinned topic Exit code 13 on worklight server install

‏2012-09-20T11:56:12Z |
Hi all,

I'm trying to create a worklight server environment, I have done as the admin guide advises.

So far I have done this :

installed Java
Installed mysql
installed Tomcat
Copied the IBM installation manager over

I've tried to install using the following command :
./imcl install com.ibm.imp.wee -repositories /opt/wee/IM_Rep_Worklight_Server_wee_5.0.0/imf-offering/wee -installationDirectory /opt/wee -accessRights admin -acceptLicense

I've tried the silent install as highlighted in the IBM IM documentation :
./installc

This gives exit code 13

I'm using imcl since I'm installing on a CentOS AWS instance which has command line access only

I get the following response :

root@ip-10-65-49-161 tools# ./imcl install com.ibm.imp.wee -repositories /opt/wee/IM_Rep_Worklight_Server_wee_5.0.0/imf-offering/wee -installationDirectory /opt/wee -accessRights admin -acceptLicense
Imcl:
JVM terminated. Exit code=13
/opt/ibm-im/agent.installer.linux.gtk.x86_1.6.0.20120831_1216/tools/../jre_6.0.0.sr9_20110208_03/jre/bin/java
-Xms40m
-Xmx512m
-Xquickstart
-Xgcpolicy:gencon
-jar /opt/ibm-im/agent.installer.linux.gtk.x86_1.6.0.20120831_1216/tools/../plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-os linux
-ws gtk
-arch x86
-launcher /opt/ibm-im/agent.installer.linux.gtk.x86_1.6.0.20120831_1216/tools/imcl
-name Imcl
--launcher.library /opt/ibm-im/agent.installer.linux.gtk.x86_1.6.0.20120831_1216/tools/../plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503/eclipse_1307.so
-startup /opt/ibm-im/agent.installer.linux.gtk.x86_1.6.0.20120831_1216/tools/../plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-exitdata 28001
-toolId iimcl
-silent install com.ibm.imp.wee
-repositories /opt/wee/IM_Rep_Worklight_Server_wee_5.0.0/imf-offering/wee
-installationDirectory /opt/wee
-accessRights admin
-acceptLicense
-vm /opt/ibm-im/agent.installer.linux.gtk.x86_1.6.0.20120831_1216/tools/../jre_6.0.0.sr9_20110208_03/jre/bin/java
-vmargs
-Xms40m
-Xmx512m
-Xquickstart
-Xgcpolicy:gencon
-jar /opt/ibm-im/agent.installer.linux.gtk.x86_1.6.0.20120831_1216/tools/../plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
It's a 32 bit system, and I've made sure the libs are available as suggested here : http://blog.stastnarodina.com/honza-en/spot/ibm-installation-manager-rhel-4-64bit/

Out of interest, I also tried to check the available packages by trying the following :

./imcl listAvailablePackages -repositories /opt/wee/IM_Rep_Worklight_Server_wee_5.0.0/imf-offering/wee -features -long

Which gives the same error code 13.

Have I missed something blatantly obvious?
  • tdressel1
    tdressel1
    6 Posts

    Re: Exit code 13 on worklight server install

    ‏2012-09-27T17:29:07Z  
    The system requirements page for Installation Manager does not list CentOS as a supported OS, so there could be a compatibility issue. I have found some other references to this type of problem, and in some cases it appears to be due to an incorrect Java runtime being used. But the output that you provided seems to show that the provided Java runtime is being used. Can you try running 'java -version' with the java that is shown in the error output? If the same error occurs, then I would expect an issue with Java and the OS. If that produces output, then there could be an issue with Installation Manager. If output is displayed, please provide that here. Also provide an export of the data from Installation Manager by using the following command: ./imutilsc exportInstallData iim_output.zip. Then upload the output. Also provide the level of CentOS you are using, and the Installation Manager version.

    Thanks.

    Tom Dressel
  • slowhand
    slowhand
    35 Posts

    Re: Exit code 13 on worklight server install

    ‏2012-09-27T19:47:42Z  
    > Copied the IBM installation manager over

    This does not work. You can not copy IBM Installation Manager to a different machine; not even to a different directory.

    Instead, the way to install IBM Installation Manager is to pick the right agent.installer.* file from http://www-01.ibm.com/support/docview.wss?uid=swg24031300, download it from FixCentral, and install it.

    > I've tried to install using the following command :
    > ./imcl install com.ibm.imp.wee ...
    > ...
    > I've tried the silent install as highlighted in the IBM IM documentation : ./installc

    Silent installation is not supported in this version of Worklight Server. The only supported way of installing Worklight Server is through the GUI mode of Installation Manager. To do so:

    • If you installed IM for a normal user (via './userinst'), then the command is: IM_INSTALL_DIR/eclipse/IBMIM
    • If you installed IM for root (via './install'), then the command is: /usr/bin/gksudo IM_INSTALL_DIR/eclipse/IBMIM

    --slowhand