473,402 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Where does DB2 UDB v 8 for UNIX write its application log files?

Hi, I'm new to DB2, currently working on Sybase. Is there a flat-text log
file where DB2 writes to at startup and when it wishes to log problems like
failed logins, expired passwords etc?

(The equivalent in Sybase is the Sybase errorlog.)

--
Regards,

Simon Mc
(remove "nospam" to reply)
Nov 12 '05 #1
7 2432
Ian
Simon Mc wrote:
Hi, I'm new to DB2, currently working on Sybase. Is there a flat-text log
file where DB2 writes to at startup and when it wishes to log problems like
failed logins, expired passwords etc?

(The equivalent in Sybase is the Sybase errorlog.)


It writes to db2diag.log and <instance>.nfy files in the
<instancehome>/sqllib/db2dump directory

Nov 12 '05 #2
On Windows db2diag.log file is located on:
<db2 installation directory>\<instance name>

Also useful:
db2diag -- tool you can use to filter diagnostic messages.

Regards,
Artur Wronski

Nov 12 '05 #3
Just one thing more. Not all activities you can be interested in are
logged to db2diag.log.

Look for db2audit utility if you need more.

Artur Wronski

Nov 12 '05 #4
Artur wrote:
On Windows db2diag.log file is located on:
<db2 installation directory>\<instance name>

Also useful:
db2diag -- tool you can use to filter diagnostic messages.


And the true reference to the directory is shown in the database maneger
configuration, option DIAGPATH.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Nov 12 '05 #5
Knut Stolze wrote:
And the true reference to the directory is shown in the database maneger
configuration, option DIAGPATH.


Of course when it is set, DIAGPATH by defualt is null
Cheers :-)
A.W.

Nov 12 '05 #6
Artur wrote:
Knut Stolze wrote:
And the true reference to the directory is shown in the database maneger
configuration, option DIAGPATH.


Of course when it is set, DIAGPATH by defualt is null
Cheers :-)


You are correct on Windows. On AIX and Linux, you will find that the
DIAGPATH is set implicitly when the instance is created. So you can rely
on that information on non-Windows systems.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Nov 12 '05 #7
Thanks for all your useful replies.

Simon Mc.
"Knut Stolze" <st****@de.ibm.com> wrote in message
news:di**********@lc03.rz.uni-jena.de...
Artur wrote:
Knut Stolze wrote:
And the true reference to the directory is shown in the database maneger
configuration, option DIAGPATH.


Of course when it is set, DIAGPATH by defualt is null
Cheers :-)


You are correct on Windows. On AIX and Linux, you will find that the
DIAGPATH is set implicitly when the instance is created. So you can rely
on that information on non-Windows systems.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany

Nov 12 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Micha³ Wo¼niak | last post by:
Ok, I have a nice iface, I have a (hopefully) good user authentication, I have a DB up-and-running, and I have PHP 4.3.4 (yeah, I know, I will update...). What I need is a logging utility. And...
4
by: Russell E. Owen | last post by:
I'm writing a cross-platform app. Presently it runs on unix and MacOS X, but eventually I'd like to get it working on Windows (nothing older than 2000). For unix and MacOS X I store settings in...
6
by: Marco Aschwanden | last post by:
I want to store a file in the application directory. What is the easiest way to figure out, where my application is situated? sys.argv does not work for my purposes... do you have any other...
7
by: fabio de francesco | last post by:
Hi, I'm not a professional programmer, but I've been writing C/C++ and Ada programs for a few years on GNU/Linux without ever concerning on standards and portability to other OSs. I've always...
22
by: Tony Houghton | last post by:
I'm using pygame to write a game called Bombz which needs to save some data in a directory associated with it. In Unix/Linux I'd probably use "~/.bombz", in Windows something like "C:\Documents...
0
by: Sijmen | last post by:
In reference to the following post by Brandon Bray from Microsoft: http://groups.google.com/groups?q=g:thl1709599354d&dq=&hl=en&lr=&ie=UTF-8&selm=%238CXKwM3BHA.2488%40tkmsftngp04 Among other...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
2
by: jonathan184 | last post by:
Hi basically what i want this script to do is In a particular dir there are alot of files from today back to 1999 or earlier. So I am trying to have the script search this dir and sort the files...
43
by: Kislay | last post by:
Which of the following is correct regarding the storage of global variables : 1. Global variables exist in a memory area that exists from before the first reference in a program until after the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.