Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORA-01306: dbms_logmnr.start_logmnr() must be invoked #91

Open
cheungtsl opened this issue Oct 16, 2020 · 6 comments
Open

ORA-01306: dbms_logmnr.start_logmnr() must be invoked #91

cheungtsl opened this issue Oct 16, 2020 · 6 comments

Comments

@cheungtsl
Copy link

cheungtsl commented Oct 16, 2020

Hi there,

I'm running Oracle 11g and Oracle Connector version 1.0 in my environment. I got the following error and the logminer cannot restart itself.

[2020-10-16 23:01:01,538] ERROR Logminer could not start successfully and it will exit (com.ecer.kafka.connect.oracle.LogMinerThread)

Do you have any suggestions to resolve this issue? Below is the full stack of the errors

Thanks,
Thomas

connect | [2020-10-16 23:00:41,783] INFO Waiting for log switch (com.ecer.kafka.connect.oracle.LogMinerThread)
connect | [2020-10-16 23:00:50,784] INFO ################################# Scanning Log Files for SCN :88926360172 (com.ecer.kafka.connect.oracle.OracleSqlUtils)
connect | [2020-10-16 23:00:51,106] INFO Base log files O:\ORACLE\ORADATA\PROD\REDO01B.LOG (com.ecer.kafka.connect.oracle.OracleSqlUtils)
connect | [2020-10-16 23:00:51,107] INFO logmnr_logs log files O:\ORACLE\ORADATA\PROD\REDO01B.LOG (com.ecer.kafka.connect.oracle.OracleSqlUtils)
connect | [2020-10-16 23:00:51,107] INFO ################################# (com.ecer.kafka.connect.oracle.OracleSqlUtils)
connect | [2020-10-16 23:00:51,107] INFO Log miner will start , startScn : 88926360172 (com.ecer.kafka.connect.oracle.LogMinerThread)
connect | [2020-10-16 23:00:51,108] ERROR Logminer start exception ORA-01306: dbms_logmnr.start_logmnr() must be invoked before selecting from v$logmnr_contents
connect | , 10 (com.ecer.kafka.connect.oracle.LogMinerThread)
connect | [2020-10-16 23:00:51,108] INFO Waiting for log switch (com.ecer.kafka.connect.oracle.LogMinerThread)
connect | [2020-10-16 23:00:51,562] INFO WorkerSourceTask{id=star-connector-0} Committing offsets (org.apache.kafka.connect.runtime.WorkerSourceTask)
connect | [2020-10-16 23:00:51,562] INFO WorkerSourceTask{id=star-connector-0} flushing 0 outstanding messages for offset commit (org.apache.kafka.connect.runtime.WorkerSourceTask)
connect | [2020-10-16 23:01:01,109] INFO ################################# Scanning Log Files for SCN :88926360172 (com.ecer.kafka.connect.oracle.OracleSqlUtils)
connect | [2020-10-16 23:01:01,536] INFO Base log files O:\ORACLE\ORADATA\PROD\REDO01B.LOG (com.ecer.kafka.connect.oracle.OracleSqlUtils)
connect | [2020-10-16 23:01:01,537] INFO logmnr_logs log files O:\ORACLE\ORADATA\PROD\REDO01B.LOG (com.ecer.kafka.connect.oracle.OracleSqlUtils)
connect | [2020-10-16 23:01:01,537] INFO ################################# (com.ecer.kafka.connect.oracle.OracleSqlUtils)
connect | [2020-10-16 23:01:01,537] INFO Log miner will start , startScn : 88926360172 (com.ecer.kafka.connect.oracle.LogMinerThread)
connect | [2020-10-16 23:01:01,538] ERROR Logminer start exception ORA-01306: dbms_logmnr.start_logmnr() must be invoked before selecting from v$logmnr_contents
connect | , 11 (com.ecer.kafka.connect.oracle.LogMinerThread)
connect | [2020-10-16 23:01:01,538] ERROR Logminer could not start successfully and it will exit (com.ecer.kafka.connect.oracle.LogMinerThread)
connect | [2020-10-16 23:01:01,562] INFO WorkerSourceTask{id=star-connector-0} Committing offsets (org.apache.kafka.connect.runtime.WorkerSourceTask)

@erdemcer
Copy link
Owner

Hi,
I think you are using version from releases which is for specific test case ? Could you please download code and compile ?
thanks

@cheungtsl
Copy link
Author

cheungtsl commented Oct 18, 2020 via email

@erdemcer
Copy link
Owner

Hi,
Clob types will be handled soon. I am working on this.
Thanks

@cheungtsl
Copy link
Author

cheungtsl commented Oct 19, 2020 via email

@cheungtsl
Copy link
Author

cheungtsl commented Oct 20, 2020 via email

@erdemcer
Copy link
Owner

Hi,
I have some works on this issue already done . I will merge code with new developments in 2-3 weeks i think.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants