If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > diagnostic log for v9.5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-08, 08:13
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
diagnostic log for v9.5

Hi all,
m using db2 ESE v9.5 on windows
by what name is the diagnostic log file(db2diag.log) created in db2 v9.5 on windows. no file found by name 'db2diag' after the installation and also where is the system database directory present, i cant see any folder named db2 in sqllib folder?
Reply With Quote
  #2 (permalink)  
Old 09-25-08, 08:19
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
The db2diag.log file is not created during installation. It is created when necessary by the Database Manager.

What do you mean by "System Database Directory"?

Andy
Reply With Quote
  #3 (permalink)  
Old 09-26-08, 03:02
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
Hi,
when you run the following command: 'list db directory on c:' it take the contents from the directory C:\DB2\NODE0000\SQLDBDIR' which we call as local database directory and when give only 'list db directory' the contents of the output are taken from system database directory located at
C:\Program Files\IBM\SQLLIB\DB2\SQLDBDIR
This all m talking about is in db2v8.1 but i cant see any directory with name db2 in db2v9.5 at location C:\Program Files\IBM\SQLLIB\...
so wanted to know from where actually the output of command 'list db directory' comes from????
and i am talking about diagnostic log which we find in other versions with name 'db2diag' but no such file is found in v9.5. is it created by any other name???
Reply With Quote
  #4 (permalink)  
Old 09-26-08, 03:37
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
The file name is db2diag.log and is located in the instance path, not the database path. This is because it has messages for the instance, not just one specific database.

I am not sure about Windows, but on all other OS's it is located in <instance-home>/sqllib/db2dump path. Note that the SQLLIB path mentioned here is not the same SQLLIB path as in the database path.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #5 (permalink)  
Old 09-26-08, 04:45
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
In 9.5 its saved in totally seperate directory. i think under document and settings folder.
Just have a complete search on ur system for db2diag.log
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
  #6 (permalink)  
Old 09-26-08, 05:46
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
did a search on complete system, no such file found....
I know in linux but not on windows....plz. if anyone know do let me know
Reply With Quote
  #7 (permalink)  
Old 09-26-08, 06:46
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Diaglog path for v9.5

C:\Documents and Settings\All Users\Application Data\IBM\DB2\DB2COPY1\DB2

'Appliction Data' is a hidden folder, That's why !

Have Fun,
DBFinder
Reply With Quote
  #8 (permalink)  
Old 09-26-08, 07:01
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
hey thanks, i din't did the search for hidden files and folders(just needed to apply comman sense).......:-)
Reply With Quote
  #9 (permalink)  
Old 09-26-08, 23:56
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Quote:
Originally Posted by rahul_s80
In 9.5 its saved in totally seperate directory. i think under document and settings folder.
Just have a complete search on ur system for db2diag.log
You can avoid the search by looking an the DBM CFG parameter named DIAGPATH. In V9.5 on Linux, it is still pointing to sqllib/db2dump/db2diag.log by default.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #10 (permalink)  
Old 09-27-08, 00:30
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
On DB2 9.5 for Windows, the DIAGPATH is blank by default.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #11 (permalink)  
Old 09-27-08, 00:34
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Ah! It's too good that I wrote "on Linux" ;-)
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #12 (permalink)  
Old 09-30-08, 08:03
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
friendzzzzzzz,
the directory path is specified by parameter 'db2instprof' on windows.
just execute the following command: db2set -all
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On