db2stop, db2start. Command not found

This is a discussion on db2stop, db2start. Command not found within the db2-udb forums in Other Databases category; 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....

Go Back   Database Forum > Other Databases > db2-udb

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-25-2007, 07:25 AM
Default db2stop, db2start. Command not found

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.
Reply With Quote
  #2  
Old 09-25-2007, 10:35 AM
Default Re: db2stop, db2start. Command not found

antoniofsanjuan-at-gmail.com wrote:
> 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.
Reply With Quote
  #3  
Old 09-26-2007, 05:20 AM
Default Re: db2stop, db2start. Command not found

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...
Reply With Quote
  #4  
Old 09-26-2007, 05:42 AM
Default Re: db2stop, db2start. Command not found


Hi,

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

Greetings from Stuttgart,
Bogdan
Reply With Quote
  #5  
Old 09-26-2007, 08:33 AM
Default Re: db2stop, db2start. Command not found

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
Reply With Quote
  #6  
Old 09-26-2007, 05:44 PM
Default Re: db2stop, db2start. Command not found

if an instance has been created with db2icrt, you might have to run
db2iupdt.

antoniofsanjuan-at-gmail.com wrote:
> 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...

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:28 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.