I can not install db2exc_971_LNX_x86_64.tar.gz in Opensuse 12.2 64bit.
It stoped in starting database near 98%.
But db2 v9.7 can be install in 11.4 correctly.
I hope some one can help to solve it.
I can not install db2exc_971_LNX_x86_64.tar.gz in Opensuse 12.2 64bit.
It stoped in starting database near 98%.
But db2 v9.7 can be install in 11.4 correctly.
I hope some one can help to solve it.
I assume starting the database really means starting the db2 instance. an instance may contain 0, 1 or more databases. I suggest that you look at db2diag.log. DB2 is quite good at logging errors although they may take some decoding. I think that there are also db2setup.log and db2setup.err that are probably worth looking at
I have not installed DB2 on 12.2 and due to continuous problems with linux desktop systems, I have moved it with almost everything else to a windows 7 system. This is a shame as the DB2 server is structured for unix and linux and is a little more messy under windows. I seem to remember while investigating 12.1 or 12.2 thinking that systemd was going to cause problems. If you are using systemd try reverting to the original (sysvinit ?)
While I have never had any problems installing DB2 on suse (from about v7) or opensus up to 11.3, DB2 is not certified for opensuse. It is for SLES 11, UBUNTU 10.4 and RHEL 6. If opensuse has strayed too from SLES 11 then it could break DB2. I believe that db2 luw 10.1 has the same certified systems as 9.7.
The processing always stoped in about 98%, I have waited for 15m, I have to use Ctrl+C.
By the way the system is new, I failed to install in my loptop, then try to it in VirturalBox, same problem, the system is just installed.
Here is a part of log of db2install.history
Installing DB2 file sets :…Success
Setting DB2 library path :…Success
Executing control tasks :…Success
Updating global registry :…Success
Starting DB2 Fault Monitor :…Success
Updating the db2ls link :…Success
Registering DB2 licenses :…Success
Setting default global profile registry variables :…Success
Creating the DB2 Administration Server :…Success
Initializing instance list :…Success
Command to be run: "cd /opt/ibm/db2/V9.7/;/opt/ibm/db2/V9.7/instance/db2icrt -a server -s wse -u db$
The instance “db2inst1” has been created successfully.
The value “DB2AUTOSTART=YES” was set in the Profile Registry for the “db2inst1”
instance.
ERROR:
Session terminated, killing shell… …killed.
ERROR: An error occurred while trying to start the “db2inst1” instance. The
return code is “2” and the SQL Message is: “PROCESS_ERROR”
ERROR: An error occurred while configuring the instance “db2inst1”.
Configuring DB2 instances :…Failure
Configuring the DB2 Administration Server :…Success
Updating global profile registry :…Success
ERROR: UPDATE NOTIFICATION LIST ADD CONTACT db2inst1
SQL1032N No start database manager command was issued. SQLSTATE=57019
The value “DB2AUTOSTART=YES” was set in the Profile Registry for the “db2inst1”
instance.
ERROR:
Session terminated, killing shell… …killed.
ERROR: An error occurred while trying to start the “db2inst1” instance. The
return code is “2” and the SQL Message is: “PROCESS_ERROR”
ERROR: An error occurred while configuring the instance “db2inst1”.
Configuring DB2 instances :…Failure
Configuring the DB2 Administration Server :…Success
Updating global profile registry :…Success
ERROR: UPDATE NOTIFICATION LIST ADD CONTACT db2inst1
SQL1032N No start database manager command was issued. SQLSTATE=57019
The contact “db2inst1” was successfully added.
Configuring health alert notifications :…Success
WARNING: A minor error occurred while installing "DB2 Express-C " on this
computer. Some features may not function correctly.
It looks like the installation procedure was trying to start (db2start) the instance. I think that you need to look in the db2diag.log for your instance (db2inst1). You can also logon to db2inst1 and verify that all the environment variables are correct and also issue db2start and see what happens, you may well get a nice sql error message. I hope that you know your way around the information centre.
It appears that DB2 is officially supported on ubuntu 12.4
I find I can not find any other log, because db instance is not create correctly.
The messages posted do not indicate that an error was detected building the basic instance structure. It appears that DB2 thinks all is ok just to the point where it is trying to start the instance (db2start)
Did you try running db2start manually (from a command window)? Are you running with systemd? Did you do the install as root? If not have you manually set the options that would be set if you installed from root?
If sqllib is created, lots of it is linked to the installation directories. I think that the failure to create the sqllib directory and the links would have been detected before trying to start the instance. If no error logs have been created are the environment variable correct (do they exist)?
I shall be travelling around a bit next week and I am not sure when I will have time to look at the forum.