Public bug reported:

Binary package hint: likewise-open

Attempting to troubleshoot likewise-open bug 572271, I discovered a
problem with using sql_filter arguments with lw-eventlog-cli.

$ sudo lw-eventlog-cli -c "(EventRecordId < 1000) AND (EventType = 'Warning')" 
127.0.0.1
Error: An invalid event record range [(EventRecordId < 1000) AND (EventType = 
'Warning')] was specified.
20100511092630:0x7f085e1ff760:ERROR:The operation failed with error code [36882]

The example above was take from lw-eventlog-cli -h output.

Using the same command with the "all records" - character does not error.
$ sudo lw-eventlog-cli -c - 127.0.0.1
107 records found in database

I checked to make sure it was not a problem with there being no
'Warning' events in my likewise-open log.

$ sudo lw-eventlog-cli -t - 127.0.0.1
Id:      | Type          | Date       | Time        | Source            | 
Category               | Event   | User
1        | Information   | 2010-04-30 | 03:41:19 PM | Likewise LSASS    | 
Service                | 1004    | SYSTEM
2        | Information   | 2010-04-30 | 03:41:19 PM | Likewise LSASS    | 
Service                | 1000    | SYSTEM
3        | Information   | 2010-04-30 | 03:50:04 PM | Likewise LSASS    | 
Service                | 1004    | SYSTEM
4        | Information   | 2010-04-30 | 03:50:04 PM | Likewise LSASS    | 
Service                | 1000    | SYSTEM
5        | Information   | 2010-04-30 | 04:32:07 PM | Likewise LSASS    | 
Service                | 1004    | SYSTEM
...
104      | Information   | 2010-05-10 | 09:03:13 AM | Likewise LSASS    | 
Service                | 1000    | SYSTEM
105      | Information   | 2010-05-10 | 09:05:09 AM | Likewise LSASS    | 
Service                | 1002    | SYSTEM
106      | Information   | 2010-05-10 | 09:05:09 AM | Likewise LSASS    | 
Service                | 1004    | SYSTEM
107      | Information   | 2010-05-10 | 09:05:09 AM | Likewise LSASS    | 
Service                | 1000    | SYSTEM

$ sudo lw-eventlog-cli -c "(EventRecordId < 1000) AND (EventType = 
'Information')" 127.0.0.1
Error: An invalid event record range [(EventRecordId < 1000) AND (EventType = 
'Information')] was specified.
20100511093550:0x7f2c9fe2c760:ERROR:The operation failed with error code [36882]

** Affects: likewise-open (Ubuntu)
     Importance: Undecided
         Status: New

-- 
lw-eventlog-cli sql filters fail with error code 36882
https://bugs.launchpad.net/bugs/578801
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to