Monday, March 24, 2008

DB2 Express-C and Canonical team up for a new offering!

I don't know how this slipped through the blog cracks, but this announcement should definitely have popped up here:

We're proud to bring you some exciting news about something new from DB2 Express-C, Ubuntu & Canonical.

We've teamed up to bring you a solution that provides:

* a very simple way for Ubuntu users to install & setup DB2 Express-C from the Ubuntu repositories for free
* a great deal on support & additional features for DB2 Express-C
* an easy-to-embed database ideal for redistribution, partners, etc

The press is already talking about it:

Ubuntu 7.10 users can try it out today, and everyone can read more about it at

And you can get the great deal on support + more features at the Canonical web store:

One of our valued community members has already posted some how-to information here.

And one of the many blog posts about this offering can be found here (feel free to post others that you find).

Thanks to all the people that teamed up to make this happen.


  1. Anonymous4:05 AM

    This is great to make db2 more user friendly... And what better to make db2 user friendly than the most user friendly distribution?

    Although I have to admit it needs to be polished. This is the error I get when installing:

    XXXXX@Roger-laptop:~$ sudo apt-get install db2exc
    [sudo] password for XXXXXXXX:
    S'està llegint la llista de paquets... Fet
    S'està construint l'arbre de dependències
    Reading state information... Fet
    db2exc ja es troba en la versió més recent.
    0 actualitzats, 0 nous a instal·lar, 0 a eliminar i 0 no actualitzats.
    1 no instal·lats o eliminats completament.
    Es necessita obtenir 0B d'arxius.
    Després de desempaquetar s'usaran 0B d'espai en disc addicional.
    S'està configurant db2exc (9.5.0-1gutsy1) ...
    Setting DB2 library path ...
    Executing db2greg ...
    Installing DB2 Express-C 9.5 license ...
    Creating instances ...
    Creating groups: db2iadm1 db2fadm1 dasadm1 ...
    Adding users: db2inst5 db2fenc5 dasusr5 ...
    Registering instance ...
    dpkg: s'ha produït un error en processar db2exc (--configure):
    el subprocés post-installation script retornà el codi d'eixida d'error 1
    S'han trobat errors en processar:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Please keep improving this feature. Thanks!

  2. It appears that you already have instance users and directories created (I see db2inst5, db2fenc5, dasusr5), which indicates that you already have some DB2 instances created, or several failed installations. These users are not automatically removed by the debian package in the case that DB2 instance data might need to be preserved.

    You can try to correct the issue by following the steps below:

    - Completely uninstall the package
    - Manually remove db2inst<#>, db2fenc<#>, dasusr<#> users from your Ubuntu installation (only if you do not need those instances!).
    - Cleaning up /home/db2* (directories which have not been removed by removing package / users)

    If you are doing an upgrade, there is a known issue where the postrm script of the debian package fails when it can't clean up some residual files. Uninstall the package, follow the clean-up steps above (you might also need to clear out /opt/ibm/db2exc), and try re-installing again.

    Hope this helps!

  3. Anonymous2:38 AM

    Hi Nick,

    Cleaning up did not work. However I found the following which had a patch that solved my problem.
    Please check:

    It would be great if that patch was applied to the default version.



Note: Only a member of this blog may post a comment.

Google Analytics Alternative