I installed DB2 on RedHat, after installation I started and it worked very well. The problem arose when I had to reboot the machine and DB2 had not yet been included in the services to start at boot RedHat.
Now I no longer start.
On RedHat machine I have the root account, then during the installation of DB2 I was asked to create an administrator account for DB2, and an account of the owner instance. I then three accounts:
-RedHat root account
-Admin DB2 account
-Owner instance DB2 account
Now how do I start DB2, so that the account owner instance can execute the query?
And then how do I put in the DB2 service to start at boot RedHat?
This topic has been locked.
1 reply Latest Post - 2013-02-12T17:59:41Z by nivanov1
Pinned topic How to start DB2 on RedHat
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-12T17:59:41Z at 2013-02-12T17:59:41Z by nivanov1
nivanov1 100000H9H7226 PostsACCEPTED ANSWER
Re: How to start DB2 on RedHat2013-02-12T17:59:41Z in response to SystemAdminTo start the instance manually execute the db2start command as the instance owner. To start it automatically you'd need to add a script performing this task to your init.d directory (or systemd, if that's what you use).