- Oracle Linux 8.7
- Oracle Database 23.2 Free - Developer Release for Linux x86-64
- Oracle REST Data Services 23.1
- Oracle SQLcl 23.1
- Oracle APEX 22.2
ronald.vargas.quesada@gmail.com / Blog de Tecnologías Oracle desde 2009, San José, Costa Rica, 23 de Febrero 17 Aniversario -"No vivas para que tu presencia se note, sino para que tu ausencia se sienta" Bob Marley. Peter Drucker "No hay nada más inútil que hacer con gran eficiencia aquello que nunca debió hacerse."
viernes, 7 de abril de 2023
Máquina Vritual para VirtualBox con la versión gratuita de la base de datos Oracle 23c para desarrolladores y Oracle Apex 22.2- Por Clarisa Maman
lunes, 3 de abril de 2023
AskTOM Office Hours Digest for Week of April 03
Tuesday, April 04
16:00 UTC: Solution Deployment: Estimating home property values using Autonomous Database, Oracle Machine Learning, and Oracle APEXsábado, 11 de marzo de 2023
Oracle #STEAM #OracleNextEducation
domingo, 12 de febrero de 2023
Check this week's agenda with upcoming events from Oracle and the DBA Community!
By GREPORA EXPERTISE
| ||||||||||||||
|
martes, 7 de febrero de 2023
Planned Maintenance to My Oracle Support Portal on Friday February 10, 2023
Planned Maintenance to My Oracle Support Portal on Friday February 10, 2023
During the maintenance period you will not be able to create, view, or update SRs through our Customer Support portals. Oracle Support Services will continue to be available and can be reached via telephone for any critical issues that need immediate attention. In addition, access to Oracle Knowledge Base will be available from https://support-lite.oracle.com and you will be able to use MOS Communities at https://community.oracle.com. If you are using Oracle monitoring services like ASR and Platinum, these will continue to monitor your systems. However, the creation and update of Service Requests will occur after the planned maintenance if required.
You can find the telephone numbers for your location at Oracle Support Center.
miércoles, 1 de febrero de 2023
Historial de acciones sobre los PDBs de un Contenedor de Base de Datos
Con la siguiente consulta en el contenedor de la base de datos, puedes obtener el historial de dichas acciones.
SQL> @fecha_pdbs.sql
SQL> host more fecha_pdbs.sql
set pagesize 20
COLUMN DB_NAME FORMAT A10
COLUMN CON_ID FORMAT 999
COLUMN PDB_NAME FORMAT A15
COLUMN OPERATION FORMAT A16
COLUMN OP_TIMESTAMP FORMAT A10
COLUMN CLONED_FROM_PDB_NAME FORMAT A15
SELECT DB_NAME, CON_ID, PDB_NAME, OPERATION, OP_TIMESTAMP, CLONED_FROM_PDB_NAME
FROM CDB_PDB_HISTORY
WHERE CON_ID > 2
ORDER BY OP_TIMESTAMP,CON_ID
OCI Oracle Linux: SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptable' ...
Cuando reviso el estado, el mismo me arroja una serie de mensajes incómodos de "WARNINGS" como se muestra a continuación:
? firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2022-11-01 08:16:42 CST; 4s ago
Docs: man:firewalld(1)
Main PID: 29173 (firewalld)
Tasks: 2
CGroup: /system.slice/firewalld.service
+-29173 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --destination 192.168.122.0/24 --o...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --source 192.168.122.0/24 --in-int...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --in-interface virbr0 --out-interf...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --out-interface virbr0 --jump REJE... that name.
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --in-interface virbr0 --jump REJEC... that name.
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete INPUT --in-interface virbr0 --protocol udp...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete INPUT --in-interface virbr0 --protocol tcp...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete OUTPUT --out-interface virbr0 --protocol u...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete INPUT --in-interface virbr0 --protocol udp...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete INPUT --in-interface virbr0 --protocol tcp...at chain?).
Hint: Some lines were ellipsized, use -l to show in full.
[root@SRV-AUDIT yum.repos.d]# systemctl stop libvirtd
[root@SRV-AUDIT yum.repos.d]# systemctl disable libvirtd
Removed symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service.
Removed symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket.
Removed symlink /etc/systemd/system/sockets.target.wants/virtlockd.socket.
[root@SRV-AUDIT yum.repos.d]# systemctl status firewalld
? firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2022-11-01 08:16:42 CST; 2min 48s ago
Docs: man:firewalld(1)
Main PID: 29173 (firewalld)
CGroup: /system.slice/firewalld.service
+-29173 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --destination 192.168.122.0/24 --o...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --source 192.168.122.0/24 --in-int...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --in-interface virbr0 --out-interf...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete FORWARD --out-interface virbr0 --jump REJE... that name.
....
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete INPUT --in-interface virbr0 --protocol udp...at chain?).
Nov 01 08:16:43 SRV-AUDIT firewalld[29173]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -w --table filter --delete INPUT --in-interface virbr0 --protocol tcp...at chain?).
Hint: Some lines were ellipsized, use -l to show in full.
[root@SRV-AUDIT yum.repos.d]# systemctl restart firewalld
[root@SRV-AUDIT yum.repos.d]# systemctl status firewalld
? firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2022-11-01 08:20:02 CST; 4s ago
Docs: man:firewalld(1)
Main PID: 5063 (firewalld)
Tasks: 2
CGroup: /system.slice/firewalld.service
+-5063 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
Nov 01 08:20:02 SRV-AUDIT systemd[1]: Starting firewalld - dynamic firewall daemon...
Nov 01 08:20:02 SRV-AUDIT systemd[1]: Started firewalld - dynamic firewall daemon.
[root@SRV-AUDIT yum.repos.d]# systemctl status firewalld
? firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2022-11-01 08:20:02 CST; 12s ago
Docs: man:firewalld(1)
Main PID: 5063 (firewalld)
Tasks: 2
CGroup: /system.slice/firewalld.service
+-5063 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
Nov 01 08:20:02 SRV-AUDIT systemd[1]: Starting firewalld - dynamic firewall daemon...
Nov 01 08:20:02 SRV-AUDIT systemd[1]: Started firewalld - dynamic firewall daemon.
[root@SRV-AUDIT yum.repos.d]#
- virtqemud: es el demonio de gestión de QEMU, para ejecutar máquinas virtuales en KVM.
- virtnetworkd: es el demonio de gestión de red virtual.
- virtnodedevd: es el daemon de administración de dispositivos físicos del host.
- virtnwfilterd: es el demonio de gestión del cortafuegos del host.
- virtsecretd: es el demonio de gestión de secretos del host.
- virtstoraged: es el demonio de administración de almacenamiento del host.
- virtinterfaced: es el demonio de administración de la tarjeta de interfaz de red (NIC) del host.
sábado, 28 de enero de 2023
Oracle ADRCI: DIA-49803: Purge not possible due to incompatible schema version
ADRCI: Release 19.0.0.0.0 - Production on Sun Jan 8 15:35:51 2023
Copyright (c) 1982, 2020, Oracle and/or its affiliates. All rights reserved.
ADR base = "/home/app/oracle"
adrci> show homes
ADR Homes:
diag/tnslsnr/lab1/listener
adrci> show alert
ADR Home = /home/app/oracle/diag/tnslsnr/lab1/listener:
*********************************************************************
Output the results to file: /tmp/alert_94014_1401_listener_1.ado
adrci> purge -age 360
DIA-49803: Purge not possible due to incompatible schema version.
adrci> purge -age 60
DIA-49803: Purge not possible due to incompatible schema version.
Schema version (on-disk): 80
Schema version (library): 110
adrci> migrate schema
Schema migrated.
adrci> show version schema
Schema version (on-disk): 110
Schema version (library): 110
adrci> purge -age 360
Planned Maintenance to My Oracle Support Portal on Friday February 10, 2023
lunes, 23 de enero de 2023
Detalle en la instalación de Oracle Golden Gate 21.3: Base de datos 19c 19.11 igual a 21c.?
INFO: Start Oracle GoldenGate Manager process. : 0.1
INFO: ---------------------------------------
INFO: Starting to setup OGGInstall
INFO: Initializing setup OGGInstall
INFO: Session Details :
INFO: Setting property oracle.installer.ignoreCheckpoint to value : true
INFO: setting ORACLE_HOME_NAME=OraHome1. A default value was calculated as per oraparam.ini
INFO: Reading shiphome metadata from /opt/instaladores/ogg_install/fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/install/../stage/shiphomeproperties.xml
INFO: Loading beanstore from file:/opt/instaladores/ogg_install/fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/install/../stage/shiphomeproperties.xml
INFO: Translating external format into raw format
INFO: Restoring class oracle.install.driver.oui.OUIMetadata from file:/opt/instaladores/ogg_install/fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/install/../stage/shiphomeproperties.x
ml
INFO: Loading beans from Xml Bean Store. [BeanStoreName:oui-metadata]
INFO: Setting value for the property:properties in the bean:oui-metadata
domingo, 22 de enero de 2023
OGG-03542 Failed to connect to the database / OCI Error ORA (status = 12154-ORA-12154: TNS
GGSCI (oraclerdbms-origen) 1> dblogin userid c##ggadmin@pdb1 password oracle
2023-01-21 20:47:39 INFO OGG-03542 Failed to connect to the database. Verify that the connection string and following environment variables are correct:
TNS_ADMIN = /opt/app/oracle/product/19c/network/admin
LD_LIBRARY_PATH = /opt/app/oracle/product/19c/lib.
Error: OCI Error ORA (status = 12154-ORA-12154: TNS:could not resolve the connect identifier specified)
GGSCI (oraclerdbms-origen) 2> dblogin userid c##ggadmin@origen password oracle
Successfully logged into database.
Creando alias a cuentas de conexión en Oracle GoldenGate 21.3 en ambiente Multitenant
Successfully logged into database CDB$ROOT.
Una vez conectados, vamos a agregar un almácen de credenciales, con la instrucción a continuación.
GGSCI (oraclerdbms-origen as c##ggadmin@cdb/CDB$ROOT) 3> add credentialstore
Credential store created.
GGSCI (oraclerdbms-origen as c##ggadmin@cdb/CDB$ROOT) 4> alter credentialstore add user c##ggadmin@cdb alias ogg_root
Password:
Credential store altered.
En este caso, para la conexión al CDB hemos definido el alias de "ogg_root".
Nota: Cuidado OGG es sensitivo, cuiden las mayúsculas y minúsculas.
GGSCI (oraclerdbms-origen as c##ggadmin@cdb/CDB$ROOT) 5> alter credentialstore add user c##ggadmin@origen alias ogg_pdb
Password:
Credential store altered.
GGSCI (oraclerdbms-origen as c##ggadmin@cdb/CDB$ROOT) 6> INFO CREDENTIALSTORE
Reading from credential store:
Default domain: OracleGoldenGate
Alias: ogg_root
Userid: c##ggadmin@cdb
Alias: ogg_pdb
Userid: c##ggadmin@origen
GGSCI (oraclerdbms-origen as c##ggadmin@cdb/CDB$ROOT) 7> dblogin useridalias ogg_root
Successfully logged into database CDB$ROOT.
Para el PDB:
GGSCI (oraclerdbms-origen as c##ggadmin@cdb/CDB$ROOT) 8> dblogin useridalias ogg_pdb
Successfully logged into database.
martes, 17 de enero de 2023
Oracle Critical Patch Update for January 2023
January 17, 2023
Oracle Critical Patch Update for January 2023
The Critical Patch Update for January 2023 was released on January 17, 2023.
Oracle strongly recommends applying the patches as soon as possible.
If you are new to this process, please review Oracle's Security Fixing Policies and the Critical Patch Update Advisory. After reviewing these resources, if you are unable to determine if you require a software update, or how to apply it, please contact Oracle Support.
The Critical Patch Update Advisory is the starting point for relevant information.
It includes the list of products affected, pointers to obtain the patches, a summary of the security vulnerabilities for each product suite,
and links to other important documents. Supported products that are not listed in the "Affected Products and Components" section of the advisory do not require new patches to be applied.
Also, it is essential to review the Critical Patch Update supporting documentation
referenced in the Advisory before applying patches, as this is where you can find important pertinent information.
Critical Patch Update Advisories are available at the following location:
Oracle Technical Resources:
https://www.oracle.com/
Oracle Cloud Customers should review:
https://www.oracle.com/
The Critical Patch Update Advisory for January 2023 is available at the following location:
Oracle Technical Resources:
https://www.oracle.com/
Important information can also be found at:
https://blogs.oracle.com/
Oracle's Security Fixing Policies are available at the following location:
https://www.oracle.com/
The next four dates for Critical Patch Updates are:
April 18, 2023
July 18, 2023
October 17, 2023
January 16, 2024
sábado, 14 de enero de 2023
Los 3 scripts que deberías tener a mano para descargar los últimos PSU de Oracle Database 19c a Enero de 2023
Me imagino que como me ha pasado, en ocasiones estás de carreras y necesitas bajar rápidamente un PSU para hacer un parche a una base de datos.
Cuando ingresas a MOS para ir a la zona de parches y descargas generalmente lo haces desde tu máquina de trabajo y no desde el servidor.
Esto implica, que debes luego trasladar el archivo descargado al servidor en donde vas a ejecutar la actualización.
Bueno, puedes ahorrar parte de ese tiempo si tu servidor tiene navegación a internet. Antes de darle descargar a un archivo del MOS, al lado izquierdo abajo, encontrarás la opcion "wget Options"













