Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX Momentics 6.3.2 Installation Failure: (17 Items)
   
QNX Momentics 6.3.2 Installation Failure  
Hi everyone,

I tried to install qnx momentics 6.3.2 on my Linux machine but got the error information as follows. 

"The uninstaller has not been created completely. At least one of these files is missing:
uninstall.dat, uninstaller.jar, and uninstaller.bin."

I used to install qnx momentics 6.4.1 on the same machine. So before the 6.3.2 installation, I had ran the Cleanup 
application. 
The installation DVD has been successfully tested on other machines. 
And the linux I'm using is Fedora 10. 

I didn't find where the problem was. Could you help me?

Thanks a lot. 

Re: QNX Momentics 6.3.2 Installation Failure  
The attachment is installLog.txt.
Attachment: Text installLog.txt 796.25 KB
Re: QNX Momentics 6.3.2 Installation Failure  
> The attachment is installLog.txt.


Yuan,

I checked the log file and noticed several attempts to install 6.3.2.  The first installation (back in April) appears to
 be successful. 

Something must have changed on the system since then.  Perhaps the way the installer was launched was different?

Natalia

RE: QNX Momentics 6.3.2 Installation Failure  
There are two possibilities for your failure:

1) The Java VM bundled in Momentics 6.3.2 installer is pretty old (JRE1.3) and it does not work on your Fedora 10 system
. Try to download a JRE 1.4.x from java.sun.com and use the following two steps to run the installation

- <Momentics_6.3.2_installer>.bin -extract (this will extract the installer.jar file)
- <JRE1.4.x>/bin/java -cp <Momentics_6.3.2_installer>.jar run

2) You have a newer than 1.4.x JRE from your Fedora 10 system which was used by the installer but the installer could't 
resolved it when creating the uninstaller. Do the same steps as above.


-----Original Message-----
From: Yuan  Sun [mailto:community-noreply@qnx.com]
Sent: Fri 23/07/2010 3:33 PM
To: momenticsgs-community
Subject: QNX Momentics 6.3.2 Installation Failure
 
Hi everyone,

I tried to install qnx momentics 6.3.2 on my Linux machine but got the error information as follows. 

"The uninstaller has not been created completely. At least one of these files is missing:
uninstall.dat, uninstaller.jar, and uninstaller.bin."

I used to install qnx momentics 6.4.1 on the same machine. So before the 6.3.2 installation, I had ran the Cleanup 
application. 
The installation DVD has been successfully tested on other machines. 
And the linux I'm using is Fedora 10. 

I didn't find where the problem was. Could you help me?

Thanks a lot. 





_______________________________________________

QNX Momentics Getting Started
http://community.qnx.com/sf/go/post60480


Attachment: Text winmail.dat 3.19 KB
Re: QNX Momentics 6.3.2 Installation Failure  
Andy, Natalia,

Thank both of you for the help. I still have something uncertain.

I've checked that there are jre_1.5.0 and jre_1.6.0 installed on my machine.
In April, I successfully installed momentics 6.3.2. But later due to an
update of the qnx OS on the target machine, I updated the momentics from
6.3.2 to 6.4.0. The newly-installed momentics 6.4.0 worked well. Last week
we found that the middleware we used on the whole system supported QNX 6.3
rather than QNX 6.4, so we had to switch the OS to the old version 6.3.2 as
well as the momentics. But this time, I couldn't installed momentics 6.3.2
because of the reason given in my first post. And when I tried to install
6.4.0 again, it also failed due to the same reason.

I always launch the installer 6.3 from DVD, and launch the installer 6.4
from the .bin program. They both have worked once but now all failed.

If I install the jre 1.4.x, shall I uninstall the newer version or just
leave them alone?

Yuan
Re: QNX Momentics 6.3.2 Installation Failure  
When I tried to do *<Momentics_6.3.2_installer>.bin -extract, *it showed
that "The wizard cannot continue because of the following error: Invalid
command line option: extract is not supported (1001) (403)".

I did this in root. And before it, I've copied all the files from the DVD to
my home directory.
Re: QNX Momentics 6.3.2 Installation Failure  
Opp, sorry for my typo. The command line option is "-is:extract".

-----Original Message-----
From: Yuan Sun <community-noreply@qnx.com>
Reply-to: post60648@community.qnx.com
To: momenticsgs-community <post60648@community.qnx.com>
Subject: Re: QNX Momentics 6.3.2 Installation Failure
Date: Mon, 26 Jul 2010 16:12:45 -0400 (EDT)

When I tried to do *<Momentics_6.3.2_installer>.bin -extract, *it showed
that "The wizard cannot continue because of the following error: Invalid
command line option: extract is not supported (1001) (403)".

I did this in root. And before it, I've copied all the files from the DVD to
my home directory.




_______________________________________________

QNX Momentics Getting Started
http://community.qnx.com/sf/go/post60648

Re: QNX Momentics 6.3.2 Installation Failure  
Andy,

I did the first step as follows:
"./momentics-6.3.2-200709062316-linux.bin -is:extract" .
This generated five files: Verify.jar, input.tag, instructions.txt,
launch.txt, linux-sun-1.5.0.bin.
But I didn't find momentics-6.3.2-200709062316-linux.jar.
Can you tell me which is the <Momentics_6.3.2_installer>.jar, please?
Thank you.

Yuan
RE: QNX Momentics 6.3.2 Installation Failure  
The actual installer is called "qnx_linux_setup.jar". If you don't get this file after the extraction, your momentics-6.
3.2-200709062316-linux.bin file could be corrupted. Can you verify the "cksum" of the momentics-6.3.2-200709062316-linux
.bin file?


-----Original Message-----
From: Yuan  Sun [mailto:community-noreply@qnx.com]
Sent: Mon 26/07/2010 8:23 PM
To: momenticsgs-community
Subject: Re: QNX Momentics 6.3.2 Installation Failure
 
Andy,

I did the first step as follows:
"./momentics-6.3.2-200709062316-linux.bin -is:extract" .
This generated five files: Verify.jar, input.tag, instructions.txt,
launch.txt, linux-sun-1.5.0.bin.
But I didn't find momentics-6.3.2-200709062316-linux.jar.
Can you tell me which is the <Momentics_6.3.2_installer>.jar, please?
Thank you.

Yuan




_______________________________________________

QNX Momentics Getting Started
http://community.qnx.com/sf/go/post60686


Attachment: Text winmail.dat 2.81 KB
Re: QNX Momentics 6.3.2 Installation Failure  
Hi.

I found the qnx_linux_setup.jar in the DVD. It's there before the
extraction.

I tried "<JRE1.4.x>/bin/java -cp <Momentics_6.3.2_installer>.jar run", but
the uninstaller error came out again. The jre I downloaded was
j2re-1_4_2_19-linux-i586.bin.

And another thing is that I did install 6.3.2 on the same machine before. I
wonder if there was something else wrong besides the jre version. Can
something abnormal happen during the back and forth switches between 6.3.2
and 6.4.0?

Thank you.

Yuan



On Mon, Jul 26, 2010 at 9:59 PM, Andy Jin <community-noreply@qnx.com> wrote:

> The actual installer is called "qnx_linux_setup.jar". If you don't get this
> file after the extraction, your momentics-6.3.2-200709062316-linux.bin file
> could be corrupted. Can you verify the "cksum" of the
> momentics-6.3.2-200709062316-linux.bin file?
>
>
> -----Original Message-----
> From: Yuan  Sun [mailto:community-noreply@qnx.com]
> Sent: Mon 26/07/2010 8:23 PM
> To: momenticsgs-community
> Subject: Re: QNX Momentics 6.3.2 Installation Failure
>
> Andy,
>
> I did the first step as follows:
> "./momentics-6.3.2-200709062316-linux.bin -is:extract" .
> This generated five files: Verify.jar, input.tag, instructions.txt,
> launch.txt, linux-sun-1.5.0.bin.
> But I didn't find momentics-6.3.2-200709062316-linux.jar.
> Can you tell me which is the <Momentics_6.3.2_installer>.jar, please?
> Thank you.
>
> Yuan
>
>
>
>
> _______________________________________________
>
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post60686
>
>
>
>
>
>
> _______________________________________________
>
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post60694
>



-- 
Yuan (Amy) Sun
Visiting PhD Student

Robotics Institute
School of Computer Science
Carnegie Mellon University
5000 Forbes Ave
Pittsburgh, PA 15213 USA
Re: QNX Momentics 6.3.2 Installation Failure  
Things could have changed since last time you installed 6.3.2.

I took at look at your install log file. Your current install failed at
the environment variable update action, it could be caused by some
security settings changed in your F10 system. Did you enable the
SELinux? If yes you have to disable it first before running the
installer.

Also you can copy the "qnx_linux_setup.jar" file to your hard disk and
do a "cksum" on it. Below is my cksum value. See if your value matches
mine.

714202238 520702728 qnx_linux_setup.jar


-----Original Message-----
From: Yuan Sun <community-noreply@qnx.com>
Reply-to: post60773@community.qnx.com
To: momenticsgs-community <post60773@community.qnx.com>
Subject: Re: QNX Momentics 6.3.2 Installation Failure
Date: Tue, 27 Jul 2010 13:33:42 -0400 (EDT)

Hi.

I found the qnx_linux_setup.jar in the DVD. It's there before the
extraction.

I tried "<JRE1.4.x>/bin/java -cp <Momentics_6.3.2_installer>.jar run", but
the uninstaller error came out again. The jre I downloaded was
j2re-1_4_2_19-linux-i586.bin.

And another thing is that I did install 6.3.2 on the same machine before. I
wonder if there was something else wrong besides the jre version. Can
something abnormal happen during the back and forth switches between 6.3.2
and 6.4.0?

Thank you.

Yuan
Re: QNX Momentics 6.3.2 Installation Failure  
I disabled the SELinux and then tried to install again, and still failed
with the same reason.

I also did cksum on qnx_linux_setup.jar. The value were exactly the same as
yours.
Re: QNX Momentics 6.3.2 Installation Failure  
One more thing that I would check is /etc/profile. 

After removing unsuccessful installation of 6.3.2 with the cleanup utility, please edit /etc/profile by removing this 
section:

# Begin INSTALLSHIELD Environemnt Variable Section

# End INSTALLSHIELD Environemnt Variable Section

Then re-installing 6.3.2.

Natalia
Re: QNX Momentics 6.3.2 Installation Failure  
Great!
The problem is solved by editting the /etc/profile.
Thank you so much.

BTW, can you tell me how the problem happens?
RE: QNX Momentics 6.3.2 Installation Failure  
The installer failed at the "environment variable update" action which changes /etc/profile to write QNX special 
environment settings. It failed because of the left-over QNX settings in that file.

We will investigate why our cleanup utility did not cleanly remove QNX settings from /etc/profile.


-----Original Message-----
From: Yuan  Sun [mailto:community-noreply@qnx.com]
Sent: Tue 27/07/2010 4:47 PM
To: momenticsgs-community
Subject: Re: QNX Momentics 6.3.2 Installation Failure
 
Great!
The problem is solved by editting the /etc/profile.
Thank you so much.

BTW, can you tell me how the problem happens?




_______________________________________________

QNX Momentics Getting Started
http://community.qnx.com/sf/go/post60801


Attachment: Text winmail.dat 2.74 KB
RE: QNX Momentics 6.3.2 Installation Failure  
Natalia's workaround reminded me of something I added to the
installation notes for the Aviage products. Could it be the same
problem? Here's what the Aviage notes say:

Coexistence on Linux (Ref# 73411)

It's possible to have more than one version of the QNX Software
Development Platform installed on your system, and it's possible to
install QNX Aviage products for each version of QNX SDP. However, due to
a limitation in InstallShield, you have to take some extra steps
installing QNX Aviage products on Linux hosts.

When two or more versions of QNX SDP coexist on Linux, you use the
following command to switch between configurations to set up the
environment in the current shell:

eval `qconfig -n "installation_name_as_displayed_by_qconfig" -e`

When you launch any of the QNX Aviage installers from that shell, the
environment picked up by InstallShield is whatever version of QNX SDP
you installed last, not the version that you selected using the command
above.

For example, if you install QNX SDP 6.4.0, then QNX 6.4.1, and you then
choose 6.4.0 and try to install a QNX Aviage product on the 6.4.0
baseline, the installation location displayed by the installers isn't
/opt/qnx640 (as expected), but /opt/qnx641.

In order to work around this issue, you must edit /etc/profile.

Note: 	We recommend that you save a copy of this file before you edit
it.

Edit /etc/profile, and find the section that looks like this:

# Begin INSTALLSHIELD Environment Variable Section
# Do not edit this section manually.
# var 0 QNX_CONFIGURATION=/etc/qnx
QNX_CONFIGURATION=/etc/qnx
export QNX_CONFIGURATION

# var 0 QNX_TARGET=/opt/qnx641/target/qnx6
QNX_TARGET=/opt/qnx641/target/qnx6
export QNX_TARGET

# var 0 MAKEFLAGS=-I/opt/qnx641/target/qnx6/usr/include
MAKEFLAGS=-I/opt/qnx641/target/qnx6/usr/include
export MAKEFLAGS

# var 1 :
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin
:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/etc/qnx/bin:/root/bin:/et
c/qnx/bin:/root/bin:/opt/qnx641/host/linux/x86/usr/bin:/etc/qnx/bin
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin
:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/etc/qnx/bin:/root/bin:/et
c/qnx/bin:/root/bin:/opt/qnx641/host/linux/x86/usr/bin:/etc/qnx/bin
export PATH

# var 0 QNX_HOST=/opt/qnx641/host/linux/x86
QNX_HOST=/opt/qnx641/host/linux/x86
export QNX_HOST

# var 1 : LD_LIBRARY_PATH=echo
$LD_LIBRARY_PATH:/opt/qnx640/host/linux/x86/usr/lib:/opt/qnx641/host/lin
ux/x86/usr/lib
if [ -z "echo $LD_LIBRARY_PATH" ]
then
LD_LIBRARY_PATH=/opt/qnx640/host/linux/x86/usr/lib:/opt/qnx641/host/linu
x/x86/usr/lib
else
LD_LIBRARY_PATH=echo
$LD_LIBRARY_PATH:/opt/qnx640/host/linux/x86/usr/lib:/opt/qnx641/host/lin
ux/x86/usr/lib
fi
export LD_LIBRARY_PATH

# var 0 QNX_JAVAHOME=/opt/qnx641/_jvm
QNX_JAVAHOME=/opt/qnx641/_jvm
export QNX_JAVAHOME

# End INSTALLSHIELD Environment Variable Section

Ignore the "Do not edit this section manually" instruction, and change
(in this example) all occurrences of the 6.4.1 installation directory
(/opt/qnx641) into the directory where you installed 6.4.0. Save your
changes, and then continue with the installation.

Once you've installed the QNX Aviage product, you might want to restore
/etc/profile from the backup that you made. 


Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems 
 
Re: RE: QNX Momentics 6.3.2 Installation Failure  
Steve,

In both cases the problems are related to the environment variables set up by InstallShield.  However, these are 
completely separate issues.

Issue descirbed by Yuan was caused by InstallShield environment variable section in /etc/profile not removed by the 
uninstaller.   That caused problems during re-installing. Normally, the uninstaller would delete this section of /etc/
profile.  
In this case a cleanup utility should have removed it.

Natalia