Report lookup_sch fails with "Error creating the report "Interactive": Unknown internal error."

The original issue was that report does not worked. It was failing with this output:
[root@cmname tmp]# omnirpt -report lookup_sch -html -schedule 7
Error creating the report "Interactive":
Unknown internal error.



Seeing debugs I saw this:
[ 99] 2020-12-18 16:28:44.064 ("/lib/libAdvancedSchedulerInterface/advanced_scheduler_interface_api.cpp $Rev$ $Date$":217)
[ 99] <<=== (4) } /* cacheAllSchedulesOfJobsForReporting */
[ 99]
[ 30] Failed to get all schedules of jobs
[ 30] Error code: . Error message:

That means the command to export did not worked either.
And in fact, it was failing like this:
[root@cmname ~]# omnidbutil -export_schedules -all
Failed to get jobs for export. Error message:
Not all schedules were exported successfully. Error message:

Then, in the debugs I saw this:
[ 99] 2020-12-18 16:26:36.677 ("/sm/smcmn/smutil.c $Rev$ $Date:: $:":2963)
[ 99] <<=== (4) } /* GetEncDecText */
[ 99]
[ 10] [ProcessKeycloakTokenMessage] webUserName[root
[ 10] password not found in IDB

To solve this we reset that password with this command: omniusers -resetpass -name "root
*" -pass *Password1
After that the report worked.

Victor Andrés Fallas Salazar
DP L3 Technical Support Engineer
San José, Costa Rica

Please consider to give a like, and if it solved your issue, consider to mark it as the solution. 


Support Tip
Comment List
Related Discussions