Discussion:
db2stop, db2start. Command not found
(too old to reply)
a***@gmail.com
2007-09-25 10:25:19 UTC
Permalink
Hi.

I'm try to execute the following commands: db2stop and db2start, and they're getting the same error: "db2stop: command not found".

I've looked for these commands under "/users/.../sqllib/adm/" but they aren't.

Anyone have an idea?
Do I need to install anything else?

Thank n advance.
Larry
2007-09-25 13:35:01 UTC
Permalink
Post by a***@gmail.com
Hi.
I'm try to execute the following commands: db2stop and db2start, and they're getting the same error: "db2stop: command not found".
I've looked for these commands under "/users/.../sqllib/adm/" but they aren't.
Anyone have an idea?
Do I need to install anything else?
Thank n advance.
Did you follow the insts in the QUick Beginnings Guide? Did you create
an instance?

Larry E.
a***@gmail.com
2007-09-26 08:20:54 UTC
Permalink
The instance was created by another person before I began to work with it. All work's fine, but, these commands aren't present.
I'm going to read again the "quick guide", but if you have any idea...

One question. When you create an instance, there are a step in which you have to install those commands?

Thx...
b***@to.com
2007-09-26 08:42:55 UTC
Permalink
Hi,

creating an instance will automatically install those commands in the instance owner's <home directory>/sqllib/adm.

Greetings from Stuttgart,
Bogdan
Blair Kenneth Adamache
2007-09-26 20:44:41 UTC
Permalink
if an instance has been created with db2icrt, you might have to run
db2iupdt.
Post by a***@gmail.com
The instance was created by another person before I began to work with it. All work's fine, but, these commands aren't present.
I'm going to read again the "quick guide", but if you have any idea...
One question. When you create an instance, there are a step in which you have to install those commands?
Thx...
i***@alcad.si
2007-09-26 11:33:03 UTC
Permalink
Hi,
If you would like to connect to db2 database first you need to login with the user that has db2 profile started at login. The default user is db2inst1. Then try using db2start command.

Default path of db2 installation is /opt/... directory. In my sample it is:
/opt/ibm/db2/V9.1/adm/db2start

Hope this helps,
Grofaty

Loading...