you need to first establish what DB2's earliest complaint is after a db2start + db2 connect.
As instance owner, you could:
$ db2 deactivate db ...
$ db2stop # at least make sure everbody logs out from the stricken database
$ cd ~/sqllib/db2dump
$ mv db2diag.log db2diag.log-old && touch db2diag.log
Check if something is wrong in db2diag.log.
$ db2 connect to ...
Check again if something is wrong in db2diag.log.
Did you create new tablespaces recently? I wouldn't expect this problem to surface unless there was something extraordinary happening before, like removal of system memore, OS upgrade, or installation of a database backup on a remote and smaller machine.
Please try to find the root cause of your problems first. Then the rest should be easy.
SQL8008N The product "DB2 Connect Enterprise Edition" does not have a valid
license key installed and the evaluation period has expired. Functions
specific to this product are not enabled.
What DB2 Connect? Are you operating against a host database?
Is DB2 Connect the only product installed on your machine? Are you positive you are logged into the right system?
Possible options are:
1) If you don't need host access, consider removing DB2 Connect
2) If you want to test drive DB2 as a database server, get yourself an evaluation edition without DB2 Connect. DB2 Connect is used as a host database gateway only.
3) If you need DB2 Connect but have no license key, reinstall DB2 Connect and get licenses from IBM.
4) If you have got DB2 Connect licenses, install them using db2licm.
> I receive this message when i am logged on the aix and starting the db with db2start
> So this message should be no problem, or am I wrong?
I believe licensing issues to be the cause of your problem.
> To get closer to the problem some explanation from me.
Sorry I can't help with this, I don't usually use Java apps. Also, I believe this is not the point here.
If the license period has expired recently and you are experiencing trouble just since then, I would expect that you are using DB2 Connect evaluation edition exclusively. And yes, you can use DB2 Connect to build local databases. This would be consistent with what you reported.
Please solve the license issues first. Remember, you can either install licenses (with db2licm) or try reinstall the software, and get licenses from IBM.
1) If you are not connecting to a DB2 on mainframe, you don't need use DB2 connect Enterprise Edition. CHeck your CDs and select right product when running db2setup
2) If you need use DB2 connect product and you have the right CDs, you can find the license under db2/license/connect or something like,then use db2licm -a license_filename to install the license
3) If you need it but have not license, you have to buy DB2 from IBM to get the license