<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8711387962400263266</id><updated>2024-09-22T22:07:39.529+02:00</updated><category term="Oracle"/><category term="Linux"/><category term="OSX"/><category term="Postgres"/><category term="Standby"/><category term="Tablespace"/><category term="VNC"/><category term="sudo"/><title type='text'>DBGeek</title><subtitle type='html'>Un peux de DBA, un peux de système et un peux de Geek</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8711387962400263266.post-226732342151431920</id><published>2012-07-13T16:52:00.001+02:00</published><updated>2012-07-13T16:56:18.343+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>RMAN-20052: invalid datafile create SCN</title><summary type="text">Suite à un migration en 11.2.0.3, je me suis retrouvé avec des backups échoués avec une erreur RMAN-20052.
En farfouillant sur internet ou metalink, on ne trouve rien de vraiement probant.
&amp;nbsp;Il semble y avoir un bug identifié chez Oracle mais à ce jour toujours pas corrigé.

&amp;nbsp;Pour ma part, je suis surpris que personne ne poste de solution à ce problème... surtout qu&#39;il y en a une....

Il</summary><link rel='replies' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/226732342151431920/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://menardodb.blogspot.com/2012/07/rman-20052-invalid-datafile-create-scn.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/226732342151431920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/226732342151431920'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/2012/07/rman-20052-invalid-datafile-create-scn.html' title='RMAN-20052: invalid datafile create SCN'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711387962400263266.post-3241773155771300176</id><published>2012-07-05T13:46:00.000+02:00</published><updated>2012-07-05T14:00:46.584+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OSX"/><category scheme="http://www.blogger.com/atom/ns#" term="VNC"/><title type='text'>Activer le Serveur VNC sur OXC Lion depuis une session ssh</title><summary type="text">Qui n&#39;a jamais voulu prendre le contrôle de son Mac (pour ceux qui ont un mac.....) en étant connecté à distance ?

Pas de chance Teamviewer n&#39;est pas installé et le serveur vnc n&#39;est pas activé.....


On peux l&#39;activer depuis une session ssh :




sudo  /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts </summary><link rel='replies' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/3241773155771300176/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://menardodb.blogspot.com/2012/07/activer-le-serveur-vnc-sur-oxc-lion.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/3241773155771300176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/3241773155771300176'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/2012/07/activer-le-serveur-vnc-sur-oxc-lion.html' title='Activer le Serveur VNC sur OXC Lion depuis une session ssh'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711387962400263266.post-767603582271399830</id><published>2012-02-27T13:37:00.002+01:00</published><updated>2012-03-01T09:09:58.932+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="sudo"/><title type='text'>Outil d&#39;export de tables sans authentification avec liste de filtrage</title><summary type="text">Voici un cas pratique qui m&#39;a été posé.

Un utilisateur souhaite pouvoir backuper certaines tables via exp.
A priori pas de problème, mais cela veut dire que je doit lui donner le droit d&#39;exporter y compris les objets que je ne souhaite pas lui donner accès.

De plus le ROLE EXP_FULL_DATABASE implique pour moi une faille de sécurtié, n&#39;importe que grant sera bypassé à cause de ce role.

Pour ce </summary><link rel='replies' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/767603582271399830/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://menardodb.blogspot.com/2012/02/outil-deport-de-tables-sans.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/767603582271399830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/767603582271399830'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/2012/02/outil-deport-de-tables-sans.html' title='Outil d&#39;export de tables sans authentification avec liste de filtrage'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711387962400263266.post-8023508898790898850</id><published>2012-02-27T09:39:00.001+01:00</published><updated>2012-02-27T09:39:23.529+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Tablespace"/><title type='text'>Reduire la taille d&#39;un datafile au minimum requis</title><summary type="text">
Il arrive souvent (voir trop souvent) que l&#39;on se retrouve avec des ressources disque limitées.

Notre base de données à&amp;nbsp;vécue, l&#39;espace libre&amp;nbsp;s’amenuise&amp;nbsp;mais nous constatons que plus de la moitié de l&#39;espace alloué dans un de nos tablespace est vide.

Voici une petite solution qui peut vous permettre&amp;nbsp;d’éviter&amp;nbsp;de redeverser les objets de notre tablespace dans un autre

</summary><link rel='replies' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/8023508898790898850/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://menardodb.blogspot.com/2012/02/reduire-la-taille-dun-datafile-au.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/8023508898790898850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/8023508898790898850'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/2012/02/reduire-la-taille-dun-datafile-au.html' title='Reduire la taille d&#39;un datafile au minimum requis'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711387962400263266.post-466553650563851126</id><published>2012-02-23T09:48:00.001+01:00</published><updated>2012-02-23T11:30:30.071+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Postgres"/><category scheme="http://www.blogger.com/atom/ns#" term="Standby"/><title type='text'>Construction d&#39;une standby à froid (Warm) en PostgreSQL 8.2</title><summary type="text">La version Postgresql 8.2 introduit une nouvelle fonctionnalité de haute disponibilité, le log shipping.

Le but est d&#39;avoir un serveur de secours en attente permanente, qui va rejouer en quasi temps réel les journaux
de transaction (appelés WALs pour Write Ahead Log&#39;&#39;) du serveur primaire, et qui est prêt à prendre le relai à tout
moment, en cas d&#39;incident sur le serveur primaire.

Deux serveurs</summary><link rel='replies' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/466553650563851126/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://menardodb.blogspot.com/2012/02/construction-dune-standby-froid-warm-en.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/466553650563851126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/466553650563851126'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/2012/02/construction-dune-standby-froid-warm-en.html' title='Construction d&#39;une standby à froid (Warm) en PostgreSQL 8.2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711387962400263266.post-3839350461272866100</id><published>2012-02-23T09:09:00.000+01:00</published><updated>2012-02-23T11:34:42.513+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Résoudre ORA-24247: network access denied by access control list (ACL) when trying to send email</title><summary type="text">
En 11G, Oracle à introduit des controles d&#39;accès sur certain packages entrainant un accès exterieur à la base.

C&#39;est le cas&amp;nbsp;notamment&amp;nbsp;du package utl_mail_send, pour ce faire, il faut&amp;nbsp;définir&amp;nbsp;des &#39;Access Control List&#39; (ACL) pour&amp;nbsp;définir&amp;nbsp;qui, quoi et vers ou un utilisateur peut effectuer des connexions&amp;nbsp;extérieures&amp;nbsp;à la base de données.

Le pré requis est </summary><link rel='replies' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/3839350461272866100/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://menardodb.blogspot.com/2012/02/oracle-11g-fix-error-ora-24247-network_22.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/3839350461272866100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/3839350461272866100'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/2012/02/oracle-11g-fix-error-ora-24247-network_22.html' title='Résoudre ORA-24247: network access denied by access control list (ACL) when trying to send email'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711387962400263266.post-6957636997462996972</id><published>2012-02-22T12:00:00.007+01:00</published><updated>2012-02-23T11:36:43.249+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>ORA-08104 : this index object xxxxx is being online built or rebuilt</title><summary type="text">
Si votre session oracle a été killée lors d&#39;un rebuild online d&#39;un index, il y a de fortes chances que vous rencontriez une erreur ORA-08104 (this index object xxxxx is being online built or rebuilt).



Votre index se trouve alors dans un état incohérent et toute tentative de rebuild ou drop vous renvoi cette erreur.



Le seul moyen est d’utiliser le package DBMS_REPAIR.




La première étape </summary><link rel='replies' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/6957636997462996972/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://menardodb.blogspot.com/2012/02/oracle-ora-08104-this-index-object.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/6957636997462996972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/6957636997462996972'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/2012/02/oracle-ora-08104-this-index-object.html' title='ORA-08104 : this index object xxxxx is being online built or rebuilt'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8711387962400263266.post-7527415608529805819</id><published>2012-02-22T11:56:00.002+01:00</published><updated>2012-02-23T11:37:10.665+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Réparer l&#39;erreur ORA-24248: .... XML DB not installed</title><summary type="text">



$ cd $ORACLE_HOME/rdbms/admin

$ sqlplus / as sysdba

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL&amp;gt; spool install_xml_db.log

SQL&amp;gt; @catqm xdb sysaux temp YES
</summary><link rel='replies' type='application/atom+xml' href='http://menardodb.blogspot.com/feeds/7527415608529805819/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://menardodb.blogspot.com/2012/02/oracle-11g-fix-error-ora-24248-xml-db.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/7527415608529805819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8711387962400263266/posts/default/7527415608529805819'/><link rel='alternate' type='text/html' href='http://menardodb.blogspot.com/2012/02/oracle-11g-fix-error-ora-24248-xml-db.html' title='Réparer l&#39;erreur ORA-24248: .... XML DB not installed'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17938565590108818545</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>