Author Topic: Audit database (no enties are added)  (Read 4372 times)

Offline Rajesh_Vanam

  • Full Member
  • ***
  • Posts: 16
  • Forum Citizenship: +2/-0
Re: Audit database (no enties are added)
« Reply #15 on: 07 Dec 2009 11:49:24 pm »
What is logging level did u set in Cogno connection?

Offline Plantje

  • Community Leader
  • *****
  • Posts: 157
  • Forum Citizenship: +3/-0
Re: Audit database (no enties are added)
« Reply #16 on: 09 Dec 2009 02:45:23 am »
I had everything to basic.

However, if I go to the server, to the bin directory in the Cognos location and start logconsole.exe and logviewV2.exe I can pull up some logging of the server. However, it seems to pull it all from the text logging; the database remains empty at all times. Ciber, are you sure you always need both a text logging AND a database logging entry in Cognos configuration if you want to use database logging.

Further it has come to my attention that what we are looking for is not only logging of the server, but also activity monitoring. Am I looking in the entire wrong direction if I want to see the users currently logged in and what queries they are running?

Offline Plantje

  • Community Leader
  • *****
  • Posts: 157
  • Forum Citizenship: +3/-0
Re: Audit database (no enties are added)
« Reply #17 on: 25 Dec 2009 02:29:42 am »
We have logged a service request for this. Someone from Cognos gave the following reply:
"Ensure ipfclientconfig.xml  file does NOT exist in configuration folder (.sample files and other files do not matter, just the ipfclientconfig.xml)."

In our case the file WAS there. I renamed it to ipfclientconfig.xml.old, restarted the Cognos service and immediately we saw logs being entered in the database. I have asked them how and why the file was there in the first place, just to know what was going on. And the next thing is of course that I have to work with the audit package and get that figured out. But that should be a piece of cake now! :)

Enjoy your holidays everybody!

Offline ciber

  • Full Member
  • ***
  • Posts: 21
  • Forum Citizenship: +0/-1
Re: Audit database (no enties are added)
« Reply #18 on: 26 Jan 2010 02:19:13 pm »
Plantje,

Thanks for your info / CALL request.
At our production server the ipfclientconfig.xml file was existing (the Server Administrator told me it wasn't, but it was....)
So, when we deleted the file, the Audit entries where there  ;D.

I don't know if you need both, but the file logging is default (I never tried to delete it, but why do you want so?)
Only when you need to use the Audit functionality (and why don't you want it, it give you good information) I know you need to add an entry to the Cognos Configuration.
The logviewV2.exe gets the information from the text file.

(?? Why doesn't have IBM/Cognos this information on the Cognos Forum ??)

(Sorry for my late reply)

ciber

Offline Plantje

  • Community Leader
  • *****
  • Posts: 157
  • Forum Citizenship: +3/-0
Re: Audit database (no enties are added)
« Reply #19 on: 26 Jan 2010 03:39:12 pm »
Plantje,

Thanks for your info / CALL request.
At our production server the ipfclientconfig.xml file was existing (the Server Administrator told me it wasn't, but it was....)
So, when we deleted the file, the Audit entries where there  ;D.
Nice! :) To be honest: I'm pretty confident that I didn't rename the file myself. But then again...perhaps in some effort to get it to work. I know that it wasn't by default there when I installed 8.4.1 last week.
I don't know if you need both, but the file logging is default (I never tried to delete it, but why do you want so?)
Only when you need to use the Audit functionality (and why don't you want it, it give you good information) I know you need to add an entry to the Cognos Configuration.
The logviewV2.exe gets the information from the text file.
I deleted it at some point in an effort to get logging to the database working. I thought perhaps the system would get mixed up with two areas to store logging.

(?? Why doesn't have IBM/Cognos this information on the Cognos Forum ??)
Good question!

(Sorry for my late reply)

ciber
Nevermind that! It's just nice to hear other people were helped by it as well!

Offline johnpenna

  • Community Leader
  • *****
  • Posts: 75
  • Forum Citizenship: +5/-2
Re: Audit database (no enties are added)
« Reply #20 on: 17 Feb 2010 01:28:05 pm »
look in the IBM user guide, you need to enable logging on the dispatcher in cognos connection...By default they are set to minimal, you have to change them to basic..Check the doc on the IBM site,it shows you how to do it...When you change from minimal to basic you need to restart the services...

It should work ..I had the same problem and now it works fine..

Offline hiddenkirby

  • Full Member
  • ***
  • Posts: 16
  • Forum Citizenship: +0/-0
  • Helmet!
Re: Audit database (no enties are added)
« Reply #21 on: 22 Feb 2010 07:20:55 am »
We have logged a service request for this. Someone from Cognos gave the following reply:
"Ensure ipfclientconfig.xml  file does NOT exist in configuration folder (.sample files and other files do not matter, just the ipfclientconfig.xml)."

In our case the file WAS there. I renamed it to ipfclientconfig.xml.old, restarted the Cognos service and immediately we saw logs being entered in the database. I have asked them how and why the file was there in the first place, just to know what was going on. And the next thing is of course that I have to work with the audit package and get that figured out. But that should be a piece of cake now! :)

Enjoy your holidays everybody!

So far this sounds identical to the issue we are having.
We had cognos audit logging to a database working just fine .. then we upgraded the oracle database to oracle11g RAC configuration.

since then we were unable to successfully log to a db.

I do not have that file in my configuration directory.. on any of my cognos servers.  (yes to a .sample though)

Exact same behavior for us...  created tables just fine. correct user privelages. no errors anywhere. No rows populating in the log tables.

any other ipf config files i need to look out for?

Thanks,
    Kirby

Offline Plantje

  • Community Leader
  • *****
  • Posts: 157
  • Forum Citizenship: +3/-0
Re: Audit database (no enties are added)
« Reply #22 on: 01 Mar 2010 02:38:16 am »
Do you have the logging in a separate database schema?

Offline cognos_users

  • Full Member
  • ***
  • Posts: 35
  • Forum Citizenship: +0/-0
Re: Audit database (no enties are added)
« Reply #23 on: 01 Mar 2010 09:57:06 pm »
check  if there is any 'ipfclientconfig' file under c8 location>configuration. If it exists, then tracing is going on which is the reason for the logs not being written on to audit dbase.

Offline Plantje

  • Community Leader
  • *****
  • Posts: 157
  • Forum Citizenship: +3/-0
Re: Audit database (no enties are added)
« Reply #24 on: 02 Mar 2010 01:06:14 am »
check  if there is any 'ipfclientconfig' file under c8 location>configuration. If it exists, then tracing is going on which is the reason for the logs not being written on to audit dbase.

As you can see in my reply on 25 Dec 2009 02:29:42 AM  this already has been suggested. For some people it is a solution for others there are some other issues.

Offline A152257

  • Full Member
  • ***
  • Posts: 11
  • Forum Citizenship: +0/-0
Re: Audit database (no enties are added)
« Reply #25 on: 26 Aug 2010 08:37:57 am »
i'm also having the exact same problem where the audit database  and the tables are not being updated..

Offline Plantje

  • Community Leader
  • *****
  • Posts: 157
  • Forum Citizenship: +3/-0
Re: Audit database (no enties are added)
« Reply #26 on: 26 Aug 2010 08:43:28 am »
Apart from the answers provided here, I don't have any additional information.

Did you check everything that is being suggested here?

Offline jharmor

  • Full Member
  • ***
  • Posts: 10
  • Forum Citizenship: +0/-0
Re: Audit database (no enties are added)
« Reply #27 on: 26 Aug 2010 09:13:44 am »
Similar problem here.
On our companies Cognos development box the application stopped writing data to the audit tables about a month ago. The environment is Cognos 8.4 FP2, AIX 5.3 DB2. Cognos is still able to read the data that is in the Audit tables. I had the DBA ensure that we haven’t run out of room in any of the tables and none of the logs are full. We have stopped and restarted the Cognos services and the DB2 database. I had the DBA write a record to one of the tables using the Cognos application username and password and I have ensured that the configuration settings for each dispatcher have the logging levels all set to request. Where else can I look for trouble shooting this problem? Also based on some other posts I verified that ipfclientconfig.xml doesn’t exist in the configuration directory.  The installation is the same on our production box and that system is logging away just fine in the audit tables.
Thanks…

Offline Plantje

  • Community Leader
  • *****
  • Posts: 157
  • Forum Citizenship: +3/-0
Re: Audit database (no enties are added)
« Reply #28 on: 26 Aug 2010 09:51:56 am »
Perhaps a long shot: some Windows updates installed somewhere?

Offline jharmor

  • Full Member
  • ***
  • Posts: 10
  • Forum Citizenship: +0/-0
Re: Audit database (no enties are added)
« Reply #29 on: 01 Sep 2010 03:05:45 pm »
Update to earlier post. Created a new audit database and pointed the configuration to it. Then stopped and restarted the system. Cognos created all the Audit tables; but will only log data to the COGIPF_THRESHOLD_VIOLATIONS table. All the other tables remain empty. Still can't find the problem.