Solved

Restarting DB2 V8.1

Posted on 2013-01-03
11
452 Views
Last Modified: 2013-01-06
Dear all,

what is the command to restart DB2 V8.1?

DBA100.
0
Comment
Question by:marrowyung
  • 5
  • 2
  • 2
  • +1
11 Comments
 
LVL 45

Expert Comment

by:Kent Olsen
ID: 38742698
On LUW you can run:

  db2start

from the instance owner.



Kent
0
 
LVL 1

Author Comment

by:marrowyung
ID: 38742735
sorry, LUW  means ?

"from the instance owner."

meansn under the user account that is the instance owner, then we type the command ?
0
 
LVL 37

Assisted Solution

by:momi_sabag
momi_sabag earned 167 total points
ID: 38743099
luw means linux unix windows (ie, not mainframe or iseries / as400)

from the instance owner means: the user that runs the instance
in windows you can just search for the db2 service and start it
in linux / unix open a terminal, switch to the user which is used to run the db2 processes and use the command
db2 start
to start the instance
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 1

Author Comment

by:marrowyung
ID: 38743124
"in windows you can just search for the db2 service and start it"

Sorry any tools can quickly find it?
0
 
LVL 1

Author Comment

by:marrowyung
ID: 38743143
What situtation that the db2start doens't work even under the instance owner name ?
0
 
LVL 1

Author Comment

by:marrowyung
ID: 38743144
and how to fix it?
0
 
LVL 37

Expert Comment

by:momi_sabag
ID: 38743251
under windows - > control panel -> administration - >services

you will have to check the db2diag.log file in order to figure out why the instance is not starting
are you using windows or linux/unix?
0
 
LVL 1

Author Comment

by:marrowyung
ID: 38746187
"under windows - > control panel -> administration - >services"

we use AIX, so this is not going to apply ?
0
 
LVL 45

Accepted Solution

by:
Kent Olsen earned 167 total points
ID: 38746694
Hi Marrow,

AIX is IBM's proprietary UNIX operating system.   The example that you posted is from a Windows operating system and won't work under AIX.

Do you know the instance owner?  That would be the database's "master user".  If so, try by logging in as this user and running the db2start command.


Kent
0
 
LVL 25

Expert Comment

by:Tomas Helgi Johannsson
ID: 38748351
Hi!

You can become the db2 instance owner by using either root or a user with sudo privilege to change to the "db2 master user" (by default it is db2inst1 ) .
From there issue "db2start".
If that doesn't work look into the sqllib/db2dump/db2diag.log file for errors. The sqllib directory is usually under the instance owners home directory.
If that won't tell you anything then look into the AIX system log for clues.

Regards,
    Tomas Helgi
0
 
LVL 25

Assisted Solution

by:Tomas Helgi Johannsson
Tomas Helgi Johannsson earned 166 total points
ID: 38748393
One other thing. Make sure that the instance owners passw does not expire. That could lead to some strange issues if you have recently reset or changed the instance owners password,
especially on AIX 5.3 (see this link http://www-01.ibm.com/support/docview.wss?uid=swg21224762 and search for IY67947 )

Regards,
   Tomas Helgi
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
help with Oracle stored procedure with input and output parameters 8 723
InterSystems Caché OPEN QUERY 4 505
DB2 V8.02 and Oracle security audit information 12 294
DB2 error. 37 87
November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question