Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

When changing database directory in lk6.5, no alarms are logged anymore.

When changing database directory in lk6.5, no alarms are logged anymore. Traces are running ok, only any query in MAX concerning alarms, will result in an empty response

0 Kudos
Message 1 of 5
(5,888 Views)

How did you change the database directory? Did you create a new database by MAX and configure the database path in lookout?

 

Do you see the mssql file in database folder?

Ryan Shi
National Instruments
0 Kudos
Message 2 of 5
(5,877 Views)

Hi Ryan,

I tried many ways. First as you described. Second; delete all databases (with MAX) and start lookout, hoping lk would make al necessary settings.

I tried short path name, long path name. All the same results; database will be made (or manually with Max or automatically by lk), all traces works, only NOT the Alarm logging. (database isn't corrupted, while a query done in MAX don't result in an error, just empty result).

 

I the meantime I found something;

C:\Documents and Settings\my name\my documents\Databse --> traces works, alarms not
C:\Program Files\National Instruments\Lookout 6.5\Database --> all works

 

So it seams that specificly "my documents" does'nt work for alarms, just for traces (????)

 

I also found the following message when trying to export the alarms; "The given Citadel database is not currently configured to log alarms to a relational database." Does this ring a bell?

0 Kudos
Message 3 of 5
(5,871 Views)

So, if the database is located in the lookout folder, both trace and alarm work?

 

The trace is logged by Citadel service. The alarm/event is actually logged by SQL Server. You don't need to configure anything for alarm logging.

It looks like that the SQL Server process doesn't have privilege to access your documents folder.

 

By the way, after you create a database in different folder, you need to set the database in Lookout. In Option->System to set the default database, or in File->Modify Process to set database for specific process.

Ryan Shi
National Instruments
0 Kudos
Message 4 of 5
(5,867 Views)

Thanks for the fast response, I will sort out the excess of my documnets and report to make this post complete.
I have another very urgent question in a large project.. I will make a new post.

Cheers, Rob

0 Kudos
Message 5 of 5
(5,865 Views)