Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

installation of WP 6.0 trial failed at the installation of DB2

57 views
Skip to first unread message

Sorin Ciolofan

unread,
Mar 25, 2008, 5:42:36 AM3/25/08
to
Hello!<br />
<br />
I tried to install WP 6.0 trial version on my Windows XP. Everything was fine until one of the last steps, the installation of DB2 which failed with an error and the portal installation exit. The last lines from wpinstalllog.txt file :<br />
<br />
com.ibm.wps.install.ExternalCommandAction, msg2, Unexpected error: cannot execute task: java.io.IOException: CreateProcess: "C:\Downloads\C1049ML\windows\ia32\db2express\setup" -f -u "D:\Program Files\IBM\PE\PortalServer\package\db2response.win.txt" -i EN -l "D:\DOCUME~1\boby\LOCALS~1\Temp\db2setup.log" error=2<br />
(Mar 25, 2008 11:24:40 AM), PortalExpress.install, com.ibm.wps.install.ExternalCommandAction, msg2, Return code = -1<br />
(Mar 25, 2008 11:24:40 AM), PortalExpress.install, com.ibm.wps.install.ExternalCommandAction, msg2, Executing command: completed<br />
(Mar 25, 2008 11:24:40 AM), PortalExpress.install, com.ibm.wps.install.ExternalCommandAction, msg2, Completed install step: Please wait while DB2 Express is installed and configured.<br />
<br />
What was the problem?<br />
Is it possible to resume the installation from this point? Or do I need to uninstall the WebSphere Portal and repeat all the installation from the beginning?<br />
<br />
Thank you<br />
With best regards,<br />
Sorin

pescador

unread,
Mar 25, 2008, 6:48:13 PM3/25/08
to
Looks like you are having a possible resource problem as indicated by the java.io.IOException. I would suggest that you review the db2setup.log to see if further information can be obtained about the nature of the problem encountered while installing DB2 Express.<br />
<br />
You cannot correct and continue the install. You must uninstall and reinstall. To unisntall follow the manual uninstall instructions in the InfoCenter at this link....<br />
<br />
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.exp.doc/wpf/inst_uni_manual.html<br />
<p />
These additional steps may help to uninstall DB2 Express<br />
<p />
Perform the following steps to completely uninstall WebSphere Portal v6 Express and DB2:<br />
<br />
Linux® <br />
1. Execute &lt;Portal Express root&gt;/uninstall/uninstall.sh. This will uninstall WebSphere Portal, WebSphere Application Server and drop the DB2 instance and databases.<br />
2. Execute &lt;Db2 Express root&gt;/install/db2_deinstall -a<br />
3. Execute the following commands as the ROOT user to delete the operating system users and groups created by the installation:<br />
userdel -r wpdb2ins<br />
userdel -r wpdb2fen<br />
groupdel wpdb2iad<br />
groupdel wpdb2fad<br />
4. Execute rm -Rf /var/db2 (unless there are other DB2 installations on the machine)<br />
5. Execute rpm -e gsk7bas (unless there are other DB2 installations on this machine)<br />
6. Execute rm -Rf &lt;Express root directory&gt;<br />
<p />
Windows® <br />
1. Uninstall WebSphere Portal v6 Express using Add/Remove Programs. This will uninstall WebSphere Portal, WebSphere Application Server and drop the DB2 instance and databases.<br />
2. Uninstall DB2 using Add/Remove Programs<br />
3. Remove the C:/&lt;dbuser&gt; directory if present<br />
4. Remove the &lt;dbuser&gt; from the system.

Sorin Ciolofan

unread,
Mar 26, 2008, 4:47:18 AM3/26/08
to
First of all thank you very much for the reply.<br />
I tried a new installation, first uninstalling the WP and DB2 as described. <br />
Specific details for my system: I use Windows XP SP2, I try to install on D drive and my timezone is set for Bucharest (if these informations could be of possible interest in this problem).<br />
<br />
Because I noticed I can attach only one file I've created a zip archive where I put all the files that I reffer to in this post.<br />
<br />
Everything was fine until the step of installing db2. At that point the wizard displayed for several minutes a progress bar of 0% as shown in the attached snapshot, db2_err1.JPG<br />
After that suddenly appeared an error message as shown in db2_err2.JPG and after closing this window the nio exception appeared as shown in the attached db2_err3.JPG.<br />
I've attached also the db2setup.log and wpinstalllog.txt files which presents contradictory informations.<br />
<br />
db2setup.log says:<br />
MSI (s) (08:4C) <a href="http://www-128.ibm.com/developerworks/forums/">10:06:04:953</a>: Product: IBM DB2 Express Edition - wpdb2insCOPY -- Installation operation completed successfully.<br />
<br />
but wpinstalllog.txt says:<br />
(Mar 26, 2008 10:07:08 AM), PortalExpress.install, com.ibm.wps.install.SwingPopUp, wrn, Logged message: EJPIC0229E: The DB2 Express installation step failed. <br />
Refer to the log file D:\DOCUME~1\boby\LOCALS~1\Temp\wpinstalllog.txt for additional details. <br />
The Portal installation program is exiting. <br />
(Mar 26, 2008 10:07:08 AM), PortalExpress.install, com.ibm.wps.install.SwingPopUp, msg2, Exiting installer.<br />
<br />
One file says that db2 is ok and the other that it is not!<br />
<br />
A user called wpdb2ins was created, I can see also the Control Center for DB2 but there is no database created there. It could be a problem of encoding, such as UTF-16? I suspect that the databases needed by the portal are not created.<br />
<br />
Any idea is very appreciated and needed as soon as possible!

Gabriel Boie

unread,
Mar 26, 2008, 10:39:13 AM3/26/08
to
Sorin,
I have never installed the trial version on XP. Why do you have to
install DB2 as part of the Portal installation?
Can you performed separate installations? if yes, I will give it a
try. At least you do not have to go through the entire setup again.
You can migrate Portal from Cloudscape to DB2 after the fact. DB2 is
recommended for production environment and clustering only.
If you install DB2 just for the Portal, don't waste your time and
hardware resources.
Reagrds,
Gabriel

Sorin Ciolofan

unread,
Mar 27, 2008, 7:55:24 AM3/27/08
to
It seems that <br />
java.lang.InternalError: Converter malfunction (UTF-16) -- please submit a bug report via<br />
at sun.nio.cs.StreamDecoder$ConverterSD.malfunction(StreamDecoder.java.274)<br />
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java(Inline Compiled Code))<br />
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java(Compiled Code))<br />
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled Code))<br />
..<br />
mentioned also in a past post at:<br />
http://www-128.ibm.com/developerworks/forums/thread.jspa?threadID=152086&#38;tstart=0<br />
is a java bug recognized by Sun<br />
Please see:<br />
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4856364<br />
Was this also propagated in the code of IBM?<br />
Could anybody say something about this?

pescador

unread,
Mar 27, 2008, 9:03:05 AM3/27/08
to
If you look further up your db2 log you can find the following...I believe this is your core problem:<br />
<br />
Action ended 09:53:11: DeferredCleanUpDeferredExecuteSequenceCA. Return value 1.<br />
Action start 09:53:11: StartServices.<br />
Action ended 09:53:11: StartServices. Return value 1.<br />
Action start 09:53:11: InstallFinalize.<br />
1: The current directory for the process has now been changed to D:\DOCUME~1\boby\LOCALS~1\Temp\_DB20000 <br />
1: Loaded all install helper DLLs successfully. <br />
1: Successfully enabled tracing. <br />
1: Failed to configure DB2 .NET Data Provider with the system. Return code is: "0".<br />
<br />
1: Product to install: IBM DB2 Express Edition - wpdb2insCOPY<br />
Installation type: Typical<br />
DB2 copy name: wpdb2insCOPY<br />
Set as Default DB2 copy: Yes<br />
Target directory: D:\Program Files\IBM\PE\db2<br />
<br />
Space required: 474 MB<br />
Installation specific driver details <br />
ODBC driver name: IBM DB2 ODBC DRIVER - wpdb2insCOPY<br />
<br />
New instances: <br />
Instance name: WPDB2INS<br />
Start instance on reboot: Yes<br />
Instance user information: <br />
User name: wpdb2ins<br />
<br />
DB2 Administration server: <br />
Instance user information: <br />
User name: wpdb2ins<br />
<p />
<p />
1: Configuring NT Service dependencies and logon settings:.......Success <br />
1: Setting environment variables:.......Success <br />
1: Initializing instance list:.......Success <br />
1: Creating the DB2 Administration Server:.......Success <br />
1: The value "DB2_EXTSECURITY=YES" was set in the Profile Registry.<br />
<br />
1: The value "DB2_ADMINGROUP=DB2ADMNS" was set in the Profile Registry.<br />
<br />
1: The value "DB2_USERSGROUP=DB2USERS" was set in the Profile Registry.<br />
<br />
1: Setting default global profile registry variables:.......Success <br />
1: Registering DB2 licenses:.......Success <br />
1: The instance "WPDB2INS" has been created successfully.<br />
<br />
1: ERROR:An error occurred while updating the services file on the system for the <br />
service name "db2c_WPDB2INS" with port "50000".<br />
<br />
1: ERROR:Failed to delete the temporary registry <br />
1: The value "DFTDBPATH=C:" was set in the DBM CFG file for the "WPDB2INS" <br />
instance.<br />
<br />
1: The value "SVCENAME=db2c_WPDB2INS" was set in the DBM CFG file for the <br />
"WPDB2INS" instance.<br />
<br />
1: The value "DB2COMM=TCPIP" was set in the Profile Registry for the "WPDB2INS" <br />
instance.<br />
<br />
1: ERROR:SQL5043N Support for one or more communications protocols failed to start successfully. However, core database manager functionality started successfully.<br />
<br />
ADM12026W The DB2 server has detected that a valid license for this product has not been registered.<br />
<br />
1: ERROR:An error occurred while trying to start the "WPDB2INS" instance. The <br />
return code is "6" and the SQL Message is: "PROCESS_ERROR"<br />
<br />
1: Configuring DB2 instances:.......Success <br />
1: Configuring Remote Command Service:.......Success <br />
1: Configuring DB2 Governor Service:.......Success <br />
1: Successfully granted complete operating system access to DB2 objects to members <br />
of the "DB2ADMNS" group.<br />
<br />
1: Successfully granted read and execute operating system access to DB2 objects to <br />
members of the "DB2USERS" group.<br />
<br />
1: Configuring DB2 EXTENDED SECURITY:.......Success <br />
1: Updating global profile registry:.......Success <br />
1: ERROR:The DB2 Setup Wizard was unable configure this DB2 copy as the default. <br />
As a result, some applications may have problems accessing this DB2 copy. To <br />
correct this problem, use the Default DB2 Selection Wizard to configure the <br />
default DB2 copy after the installation has completed. For more information on <br />
the details of the error see the DB2 Installation Log at <br />
"D:\DOCUME~1\boby\LOCALS~1\Temp\db2setup.log".<br />
<br />
1: Configuring the default DB2 copy:.......Failure <br />
1: Starting all DB2 services:.......Success <br />
1: WARNING:A minor error occurred while installing "IBM DB2 Express Edition - <br />
wpdb2insCOPY" on this computer. Some features may not function correctly.<br />
<br />
1: DB2 Setup wizard has finished copying files to your computer. Shut down all software programs running on the system now. The programs can then be restarted and DB2 will be ready for use. However, a minor error occurred while installing this computer. Some features may not function correctly and some required system configuration tasks may not be completed successfully. The install logs db2wi.log and db2.log are located in . <br />
1: The "D:\WINDOWS\system32\regsvr32 /s D:\PROGRA~1\IBM\PE\db2\bin\ibmdadb2.dll" <br />
command finished with error code "0".<br />
<p />
Action ended 10:06:02: InstallFinalize. Return value 1.<br />
Action start 10:06:02: DWUS_Bootstrap.C3A146F5_4B48_11D5_A819_00B0D0428C0C.<br />
Action ended 10:06:03: DWUS_Bootstrap.C3A146F5_4B48_11D5_A819_00B0D0428C0C. Return value 1.<br />
Action start 10:06:03: ISSelfRegisterFinalize.<br />
Action ended 10:06:03: ISSelfRegisterFinalize. Return value 1.<br />
Action ended 10:06:03: INSTALL. Return value 1.

Sorin Ciolofan

unread,
Mar 27, 2008, 11:11:00 AM3/27/08
to
Thank you, could you please provide more specific hints?<br />
I noticed indeed that the service db2c_WPDB2INS could not work on port 50000.<br />
What do you think is the problem and what could be done?<br />
<br />
+1: ERROR:An error occurred while updating the services file on the system for the <br />

service name "db2c_WPDB2INS" with port "50000".<br />
<br />
1: ERROR:Failed to open the registry <br />

1: The value "DFTDBPATH=C:" was set in the DBM CFG file for the "WPDB2INS" <br />
instance.<br />
<br />
1: The value "SVCENAME=db2c_WPDB2INS" was set in the DBM CFG file for the <br />
"WPDB2INS" instance.<br />
<br />
1: The value "DB2COMM=TCPIP" was set in the Profile Registry for the "WPDB2INS" <br />
instance.<br />
+<br />
<br />
Is a problem with my Win XP?

auz...@gmail.com

unread,
Mar 27, 2008, 8:47:44 PM3/27/08
to
It seems Db2 Express has bugs.Try to install it under Driver "C" (C:\)

Sorin Ciolofan

unread,
Mar 31, 2008, 5:08:00 AM3/31/08
to
I succeded in installing the Portal, after some days spent on these...<br />
Yes, the solution was to supress (and ignore) the errors thrown by DB2 during the installation process as described at:<br />
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14005334<br />
The install.bat should be run with:<br />
install -W errorDb2SwingPopUpWin.active="false" -W errorDb2SwingPopUpWin2.active="false"
0 new messages