How to protect CREATE PUBLIC SYNONYM against privilege escalation

During my last presentation on GUOB Tech Tour 2016 - Oracle Technology Tour LA - Brazil, I demonstrate how we could easily use the CREATE PUBLIC SYNONYM privilege to escalate and get DBA privilege. In this article, I will give you a package that I've created and I use in my systems to allow users to …

Continue reading

GUOB TECHDAY 2016

The year passed very fast and GUOB TechDay 2016 is now closer than it looks! And for those who do not know, this is one of the major Oracle users event in Brazil. It takes place annually in São Paulo, on a July or August Saturday. Unlike the OOW, which is a more commercial and …

Continue reading

SQLcl not connecting as sysdba

SQLcl is the modern SQL Plus. It was developed my the same team who created the SQL Developer and is java based, with a lot of features that SQL Plus was lacking for years. One problem that I was having after a fresh installation was some error when trying to connect as sysdba: [oracle@myserver ~:orcl]$ …

Continue reading

EM agent start fails With 'Target Interaction Manager failed at Startup' and 'java.lang.OutOfMemoryError: Java heap space' reported on logs

In this article, I will show how to solve EM Agent failing to startup related to java memory problems. Those days, after applying some EM Agent patches and trying to restart them, I received the error below: [emc12@localhost ~]$ emctl start agent Oracle Enterprise Manager Cloud Control 12c Release 5 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. …

Continue reading

"ORA-15040: diskgroup is incomplete" but diskgroup is mounted

Those days, I was creating a new database on a system and when I tried to create any file (spfile / pwfile / control file) on diskgroup, I started receiving the error below: ORA-15001: diskgroup "DATA" does not exist or is not mounted ORA-15040: diskgroup is incomplete Usually this error comes together with something like …

Continue reading