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 > DB2 Audit Log Location ? V9.5 Express-C

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-03-08, 16:59
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
DB2 Audit Log Location ? V9.5 Express-C

Can some one help me find db2audit.log file in db2 v9,5 Express-C

thanks
DBFinder
Reply With Quote
  #2 (permalink)  
Old 11-03-08, 17:08
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Straight from the documentation:

http://publib.boulder.ibm.com/infoce.../r0022765.html

DB2® audit log ("db2audit.log")

* Operating system: All
* Default location:
o Windows®: Located in the $DB2PATH\instance_name\security directory
o Linux® and UNIX®: Located in the $HOME\sqllib\security directory, where $HOME is the instance owner's home directory
* Created when the db2audit facility is started.
* Contains audit records generated by the DB2 audit facility for a series of predefined database events.


Andy
Reply With Quote
  #3 (permalink)  
Old 11-03-08, 18:44
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Thanks Andy,

But I did not find it even after starting db2audit.

Probably some other reason.

Thanks anyway,
DBFinder
Reply With Quote
  #4 (permalink)  
Old 11-03-08, 19:11
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Still not found -db2audit.log

I am using db2 v9.5 Express-C at home and at work for my desktop.

I need to setup DB2Audit for my workplace but I could not find db2audit.log on my own desktops.

Any Ideas.- I have read all documentation and even Andy has suggested in replying my post.

Any idea may help ?

DBFinder
Reply With Quote
  #5 (permalink)  
Old 11-04-08, 08:32
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Two questions.

1) How are you running the audit facility?
2) what is the contents of the directory where the log file is supposed to be?

Andy
Reply With Quote
  #6 (permalink)  
Old 11-04-08, 16:42
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
db2audit configure scope context status both errortype normal

db2audit start

D:\DB2\SQLLIB\BIN>db2audit describe
DB2 AUDIT SETTINGS:

Audit active: "TRUE "
Log audit events: "FAILURE"
Log checking events: "FAILURE"
Log object maintenance events: "FAILURE"
Log security maintenance events: "FAILURE"
Log system administrator events: "FAILURE"
Log validate events: "FAILURE"
Log context events: "BOTH"
Return SQLCA on audit error: "FALSE "
Audit Data Path: ""
Audit Archive Path: ""

AUD0000I Operation succeeded.

=======================
Contents:
Installation : D:\DB2\SQLIB

I expect db2audit.log in D:\DB2\SQLLIB\DB2\

But there is no DB2 directory.

And I searched whole SQLIB for log file

DBFinder
Reply With Quote
  #7 (permalink)  
Old 11-04-08, 17:40
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Try here: C:\Documents and Settings\All Users\Application Data\IBM\DB2\DB2express\DB2_01\security

The manual may not be completely accurate.
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