Documentation sur le logiciel SYMPA

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
actions:oracle [2015/04/02 09:08]
catherine.balleydier@grenoble-inp.fr [Packages système requis pour redhat]
actions:oracle [2015/04/02 09:36] (Version actuelle)
catherine.balleydier@grenoble-inp.fr [Packages perl]
Ligne 3: Ligne 3:
 Installation et prérequis : http://​www.oracle.com/​technetwork/​topics/​linuxx86-64soft-092277.html Installation et prérequis : http://​www.oracle.com/​technetwork/​topics/​linuxx86-64soft-092277.html
  
 +**??** : indique que je ne suis pas sure que c'est nécessaire
  
- +===== Packages système requis =====
-http://​www.sympa.org/​faq/​database#​errors_when_trying_to_load_dbdoracle +
- +
-===== Packages système requis ​pour redhat=====+
 <​columns>​ <​columns>​
-| binutils-2.15.92.0.2 |  +  * binutils-2.15.92.0.2  
-| compat-libstdc++-33-3.2.3 |  +  ​* ​compat-libstdc++-33-3.2.3 
-| elfutils-libelf-0.97 |  +  ​* ​elfutils-libelf-0.97  
-| elfutils-libelf-devel-0.97 |  +  ​* ​elfutils-libelf-devel-0.97  
-| expat-1.95.7 |  +  ​* ​expat-1.95.7  
-| gcc-3.4.6 |  +  ​* ​gcc-3.4.6  
-| gcc-c++-3.4.6 ??​? |  +  ​* ​gcc-c++-3.4.6 ??  
-| glibc-2.3.4-2.41 |  +<​newcolumn>​  
-| glibc-2.3.4-2.41 (32 bit) |  +  * glibc-2.3.4-2.41  
-| glibc-common-2.3.4 |  +  ​* ​glibc-2.3.4-2.41 (32 bit)  
-| glibc-devel-2.3.4 | +  ​* ​glibc-common-2.3.4  
 +  ​* ​glibc-devel-2.3.4  
 +  * libaio-0.3.105  
 +  * libaio-0.3.105 (32 bit)  
 +  * libaio-devel-0.3.105
 <​newcolumn>​ <​newcolumn>​
-| libaio-0.3.105 |  +  ​* libgcc-3.4.6  
-| libaio-0.3.105 (32 bit) |  +  ​* ​libgcc-3.4.6 (32-bit)  
-| **libaio-devel-0.3.105** |  +  ​* ​libstdc++-3.4.6  
-| libgcc-3.4.6 |  +  ​* ​libstdc++-3.4.6 (32 bit)  
-| libgcc-3.4.6 (32-bit) |  +  ​* ​libstdc++-devel 3.4.6  
-| libstdc++-3.4.6 |  +  ​* ​make-3.80  
-| libstdc++-3.4.6 (32 bit) |  +  ​* ​sysstat-5.0.5
-| libstdc++-devel 3.4.6 |  +
-| make-3.80 |  +
-| sysstat-5.0.5 |  +
 </​columns>​ </​columns>​
  
 + 
   # yum install unixODBC-devel ​ pour perl DBD::ODBC   # yum install unixODBC-devel ​ pour perl DBD::ODBC
-  # yum install kmod-oracleasm ​ ?? +  # yum install kmod-oracleasm ​ ??
   # yum install oracleasm-debuginfo ​ ??   # yum install oracleasm-debuginfo ​ ??
 +  ​
 ===== Installation client oracle ===== ===== Installation client oracle =====
    
Ligne 105: Ligne 103:
 ==== Bug sympa avec oracle ==== ==== Bug sympa avec oracle ====
  
-err SQLSource::​connect() No Database Driver installed for Oracle ; you should download and install DBD::Oracle from CPAN\\  +  ​err SQLSource::​connect() No Database Driver installed for Oracle ; you should download and install DBD::Oracle from CPAN 
-Apr  1 09:43:28 acacia wwsympa[1999]: ​err List::​_load_users_include2() Inclusion include_sql_query failed in list +  err List::​_load_users_include2() Inclusion include_sql_query failed in list 
  
 http://​www.sympa.org/​faq/​database#​errors_when_trying_to_load_dbdoracle http://​www.sympa.org/​faq/​database#​errors_when_trying_to_load_dbdoracle
Ligne 133: Ligne 131:
   # cd /​usr/​lib/​oracle/​11.2/​client/​   # cd /​usr/​lib/​oracle/​11.2/​client/​
   # vi tnsnames.ora  ​   # vi tnsnames.ora  ​
-     +     BASE1 = 
 +         ​(DESCRIPTION = 
 +           ​(ADDRESS = (PROTOCOL = TCP)(HOST = xxxx.xxxxx.fr)(PORT = 1521)) 
 +           ​(CONNECT_DATA = (SID = BASE1)) 
 +          )
                        
   # chown oracle:dba tnsnames.ora   # chown oracle:dba tnsnames.ora
Ligne 139: Ligne 141:
 ==== Test de connexion ​ ==== ==== Test de connexion ​ ====
    
-/​usr/​lib/​oracle/​11.2/​client/​bin/​sqlplus [login]/​[mot de passe]@[Base]+/​usr/​lib/​oracle/​11.2/​client/​bin/​**sqlplus** [login]/​[mot de passe]**@**BASE
  
 ===== Packages perl ===== ===== Packages perl =====
  
  
-Il faut les packages perl suivants ​(30/​03/​2015) +Il faut les packages perl suivants ​
 # perl -MCPAN -e shell  # perl -MCPAN -e shell 
- 
-  * CPAN (maj) 
   * DBD::Oracle   * DBD::Oracle
-  * DBD::ODBC  +  * DBD::​ODBC ​ ?? 
-  * Exporter ???+  * Exporter ?? 
 + 
 +===== Fichier de configuration de la liste ===== 
 + 
 +<​code>​ 
 +include_sql_query 
 +db_name BASE 
 +name XXXXXX 
 +db_port 1521 
 +host XXXX.XXX.fr 
 +passwd XXXXXXX 
 +db_type Oracle 
 +user XXXXXX 
 +sql_query select distinct mel from acces_user where mel like '​%@%grenoble-inp.fr'​ 
 +</​code>​