DB2 10.5 Enterprise Server Edition – Fixing libaio and libnuma shared library error

Before we dig deep I will provide some details on the environment
IBM DB2 Version – DB2 10.5 ESE
OS – Centos 6.5
Server – VPS 1 GB RAM, 30 GB SSD

After I successfully installed IBM DB2 10.5 server edition and created an instance. I issued db2start command and bam got an error.

>db2start
>db2start: error while loading shared libraries:libaio.so.1: cannot open shared object file: No such file or directory

This error occurs because shared library: libio is missing. The solution is very simple. I logged in as root and installed  the library using the following command

>yum install libaio

After installing libaio library switched identity to db2inst1 and tried to started db2instance and got the second error.

>db2start
>db2start: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

Again the reason for this error was missing shared library. I logged in as root and installed the library.

>yum install numactl-2.0.7-8.el6.x86_64

I installed the library and instance started successfully.