Bonjour,

Je suis en train d'essayer d'installer un client oracle sur une RHEL 4 en mode silencieux.

Pour ce faire, j'utilise le fichier responses/cliantadmin.rsp suivant :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
####################################################################
## Copyright(c) Oracle Corporation 1998,2005. All rights reserved.##
##                                                                ##
## Specify values for the variables listed below to customize     ##
## your installation.                                             ##
##                                                                ##
## Each variable is associated with a comment. The comment        ##
## identifies the variable type.                                  ##
##                                                                ##
## Please specify the values in the following format:             ##
##                                                                ##
##         Type         Example                                   ##
##         String       "Sample Value"                            ##
##         Boolean      True or False                             ##
##         Number       1000                                      ##
##         StringList   {"String value 1","String Value 2"}       ##
##                                                                ##
## The values that are given as <Value Required> need to be       ##
## specified for a silent installation to be successful.          ##
##                                                                ##
##                                                                ##
## This response file is generated by Oracle Software             ##
## Packager.                                                      ##
####################################################################
 
 
RESPONSEFILE_VERSION=2.2.1.0.0
 
#------------------------------------------------------------------------------
#Name       : UNIX_GROUP_NAME
#Datatype   : String
#Description: Unix group to be set for the inventory directory.
#Example    : UNIX_GROUP_NAME = "install"
#------------------------------------------------------------------------------
#UNIX_GROUP_NAME=<Value Unspecified>
UNIX_GROUP_NAME=oinstall
 
#------------------------------------------------------------------------------
#Name       : FROM_LOCATION
#Datatype   : String
#Description: Complete path to the products.xml.
#Example    : FROM_LOCATION = "../stage/products.xml"
#------------------------------------------------------------------------------
FROM_LOCATION="../stage/products.xml"
#FROM_LOCATION="RHEL/client_oracle/client/stage/products.xml"
 
 
#------------------------------------------------------------------------------
#Name       : NEXT_SESSION_RESPONSE
#Datatype   : String
#Description: Optionally specifies the full path of the next session's response
#             file. If only a file name is specified, the response file is
#             retrieved from the <TEMP>/oraInstall directory. This variable is
#             only active if NEXT_SESSION is set to true.
#Example: NEXT_SESSION_RESPONSE = "nextinstall.rsp"
#------------------------------------------------------------------------------
#NEXT_SESSION_RESPONSE=<Value Unspecified>
NEXT_SESSION_RESPONSE=<Value Unspecified>
 
#------------------------------------------------------------------------------
#Name       : ORACLE_HOME
#Datatype   : String
#Description: Complete path of the Oracle Home.
#Example    : ORACLE_HOME = "/product/10.2.0/client"
#------------------------------------------------------------------------------
#ORACLE_HOME=<Value Required>
ORACLE_HOME=/soft/oracle/product/10.2.0/client
 
#------------------------------------------------------------------------------
#Name       : ORACLE_HOME_NAME
#Datatype   : String
#Description: Oracle Home Name. Used in creating folders and services.
#Example    : ORACLE_HOME_NAME = "OraClient10ghome1"
#------------------------------------------------------------------------------
#ORACLE_HOME_NAME=<Value Required>
ORACLE_HOME_NAME=OraClient10ghome1
 
#------------------------------------------------------------------------------
#Name       : TOPLEVEL_COMPONENT
#Datatype   : StringList
#Description: The top level component to be installed in the current session.
#Example    : TOPLEVEL_COMPONENT = {"oracle.client","10.2.0.1.0"}
#------------------------------------------------------------------------------
TOPLEVEL_COMPONENT={"oracle.client","10.2.0.1.0"}
 
#------------------------------------------------------------------------------
#Name       : DEINSTALL_LIST
#Datatype   : StringList
#Description: List of components to be deinstalled during a deinstall session.
#Example    : DEINSTALL_LIST = {"oracle.client","10.2.0.1.0"}
#------------------------------------------------------------------------------
DEINSTALL_LIST={"oracle.client","10.2.0.1.0"}
 
#------------------------------------------------------------------------------
#Name       : SHOW_SPLASH_SCREEN
#Datatype   : Boolean
#Description: Set to true if the initial splash screen in OUI needs to be
#             shown.
#Example    : SHOW_SPLASH_SCREEN = true
#------------------------------------------------------------------------------
SHOW_SPLASH_SCREEN=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_WELCOME_PAGE
#Datatype   : Boolean
#Description: Set to true if the Welcome page in OUI needs to be shown.
#Example    : SHOW_WELCOME_PAGE = false
#------------------------------------------------------------------------------
SHOW_WELCOME_PAGE=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_CUSTOM_TREE_PAGE
#Datatype   : Boolean
#Description: Set to true if the custom tree page in OUI needs to be shown.
#
#             Use this page to select or de-select dependencies. This page
#             appears only in a custom install type.
#
#Example    : SHOW_CUSTOM_TREE_PAGE = false
#------------------------------------------------------------------------------
SHOW_CUSTOM_TREE_PAGE=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_SUMMARY_PAGE
#Datatype   : Boolean
#Description: Set to true if the summary page in OUI needs to be shown.
#
#             The summary page shows the list of components that will be
#             installed in this session.
#
#Example    : SHOW_SUMMARY_PAGE = true
#------------------------------------------------------------------------------
SHOW_SUMMARY_PAGE=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_INSTALL_PROGRESS_PAGE
#Datatype   : Boolean
#Description: Set to true if the install progress page in OUI needs to be
#             shown.
#
#             This page shows the current status in the installation. The
#             current status includes the product being installed and the file
#             being copied.
#
#Example    : SHOW_INSTALL_PROGRESS_PAGE = true
#------------------------------------------------------------------------------
SHOW_INSTALL_PROGRESS_PAGE=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_CONFIG_TOOL_PAGE
#Datatype   : Boolean
 
#Description: Set to true if the install progress page in OUI needs to be
#             shown.
#
#             This page shows the current status in the installation. The
#             current status includes the product being installed and the file
#             being copied.
#
#Example    : SHOW_INSTALL_PROGRESS_PAGE = true
#------------------------------------------------------------------------------
SHOW_INSTALL_PROGRESS_PAGE=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_CONFIG_TOOL_PAGE
#Datatype   : Boolean
#Description: Set to true if the config assistants page in OUI needs to be
#             shown.
#
#             This page shows the list of configuration assistants that are
#             part of this installation and are configured to launch
#             automatically.  It shows the status of each assistant, including
#             any failures with detailed information on why it failed.
#
#Example    : SHOW_CONFIG_TOOL_PAGE = true
#------------------------------------------------------------------------------
SHOW_CONFIG_TOOL_PAGE=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_XML_PREREQ_PAGE
#Datatype   : Boolean
#Description: This variable determines whether or not to show the prereq page.
#Example    : SHOW_XML_PREREQ_PAGE = true
#------------------------------------------------------------------------------
SHOW_XML_PREREQ_PAGE=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_ROOTSH_CONFIRMATION
#Datatype   : Boolean
#Description: Set to true if the Confirmation dialog asking to run the root.sh
#             script in OUI needs to be shown.
#Example: SHOW_ROOTSH_CONFIRMATION = false
#------------------------------------------------------------------------------
#SHOW_ROOTSH_CONFIRMATION=true
SHOW_ROOTSH_CONFIRMATION = false
 
#------------------------------------------------------------------------------
#Name       : SHOW_END_SESSION_PAGE
#Datatype   : Boolean
#Description: Set to true if the end of session page in OUI needs to be shown.
#
#             This page shows if the installation is successful or not.
#
#Example    : SHOW_END_SESSION_PAGE = true
#------------------------------------------------------------------------------
SHOW_END_SESSION_PAGE=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_EXIT_CONFIRMATION
#Datatype   : Boolean
#Description: Set to true if the confirmation when exiting OUI needs to be shown.
#Example    : SHOW_EXIT_CONFIRMATION = true
#------------------------------------------------------------------------------
SHOW_EXIT_CONFIRMATION=false
 
#------------------------------------------------------------------------------
#Name       : NEXT_SESSION
#Datatype   : Boolean
#Description: Set to true to allow users to go back to the File Locations page
#             for another installation. This flag also needs to be set to true
#             in order to process another response file
#             (see NEXT_SESSION_RESPONSE).
#Example    : NEXT_SESSION = true
#------------------------------------------------------------------------------
NEXT_SESSION=false
 
#------------------------------------------------------------------------------
#Name       : NEXT_SESSION_ON_FAIL
#Datatype   : Boolean
#Description: Set to true to allow users to invoke another session even if
#             current install session has failed. This flag is only relevant
#             if NEXT_SESSION is set to true.
#Example    : NEXT_SESSION_ON_FAIL = true
#------------------------------------------------------------------------------
NEXT_SESSION_ON_FAIL=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_DEINSTALL_CONFIRMATION
#Datatype   : Boolean
#Description: Set to true if deinstall confimation is needed during a deinstall
#             session.
#Example    : SHOW_DEINSTALL_CONFIRMATION = true
#------------------------------------------------------------------------------
SHOW_DEINSTALL_CONFIRMATION=false
 
#------------------------------------------------------------------------------
#Name       : SHOW_DEINSTALL_PROGRESS
#Datatype   : Boolean
#Description: Set to true if deinstall progress is needed during a deinstall
#             session.
#Example    : SHOW_DEINSTALL_PROGRESS = true
#------------------------------------------------------------------------------
SHOW_DEINSTALL_PROGRESS=false
 
#------------------------------------------------------------------------------
#Name       : CLUSTER_NODES
#Datatype   : StringList
#Description: This variable represents the cluster node names selected by the
#             user for installation.
#Example    : CLUSTER_NODES = {"node1","node2"}
#------------------------------------------------------------------------------
#CLUSTER_NODES=<Value Unspecified>
 
#------------------------------------------------------------------------------
#Name       : REMOVE_HOMES
#Datatype   : StringList
#Description: List of the homes to be removed during a deinstall session. Each
#             home is represented by its full path.
#Example    : REMOVE_HOMES = {<full_path_of_home1>,<full_path_of_home2>, ...}
#------------------------------------------------------------------------------
#REMOVE_HOMES=<Value Unspecified>
 
#------------------------------------------------------------------------------
#Name       : COMPONENT_LANGUAGES
#Datatype   : StringList
#Description: Languages in which the components will be installed.
#
#             The following choices are available. The value should contain
#             only one of these choices.
#             en,   : English
##LUSTER_NODES=
#             ar,   : Arabic
#             bn,   : Bengali
#             pt_BR,: Brazilian Portuguese
#             bg,   : Bulgarian
#             fr_CA,: Canadian French
#             ca,   : Catalan
#             hr,   : Croatian
#             cs,   : Czech
#             da,   : Danish
#             nl,   : Dutch
#             ar_EG,: Egyptian
#             en_GB,: English (United Kingdom)
#             et,   : Estonian
#             fi,   : Finnish
#             de,   : German
#             el,   : Greek
#             iw,   : Hebrew
#             hu,   : Hungarian
#             is,   : Icelandic
#             in,   : Indonesian
#             it,   : Italian
#             ja,   : Japanese
#             ko,   : Korean
#             es,   : Latin American Spanish
#             lv,   : Latvian
#             lt,   : Lithuanian
#             ms,   : Malay
#             es_MX,: Mexican Spanish
#             no,   : Norwegian
#             pl,   : Polish
#             pt,   : Portuguese
#             ro,   : Romanian
#             ru,   : Russian
#             zh_CN,: Simplified Chinese
#             sk,   : Slovak
#             sl,   : Slovenian
#             es_ES,: Spanish
#             sv,   : Swedish
#             th,   : Thai
#             zh_TW,: Traditional Chinese
#             tr,   : Turkish
#             uk,   : Ukrainian
#             vi,   : Vietnamese
#
#Example    : COMPONENT_LANGUAGES = {"en"}
#------------------------------------------------------------------------------
COMPONENT_LANGUAGES={"en"}
 
#------------------------------------------------------------------------------
#Name       : INSTALL_TYPE
#Datatype   : String
#Description: Installation type of the component.
#
#             The following choices are available. The value should contain
#             only one of these choices.
#             InstantClient : InstantClient
#             Administrator : Administrator
#             Runtime       : Runtime
#             Custom        : Custom
#
#Example    : INSTALL_TYPE = "Administrator"
#------------------------------------------------------------------------------
INSTALL_TYPE="Administrator"
 
#------------------------------------------------------------------------------
#Name       : b_launchNETCA
#Datatype   : Boolean
#Description: Determines whether the Network Configuration Assistant is lauched
#             at the end of the installation.
#
#             Set this to true if you wish to launch the NetCA at the end of
#             the client installation.  Set it to false if you wish to suppress
#             the launching of the NetCA at the end of the install.
#
#Example    : b_launchNETCA = false
#------------------------------------------------------------------------------
#b_launchNETCA=true
b_launchNETCA=false
 
#------------------------------------------------------------------------------
#Name       : s_responseFileName
#Datatype   : String
#Description: Holds the name of the response file to be used for silent
#             invocations of the NetCA.
#
#             A template for the NetCA response file can be found under the
#             response/ directory on the Oracle Client installation media.
#
#Example    : s_responseFileName = "/tmp/netca.rsp"
#------------------------------------------------------------------------------
#s_responseFileName=<Value Unspecified>
#s_responseFileName = "/tmp/netca.rsp"
seulement j'ai l'erreur suivante :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
./runInstaller -silent -responsefile /RHEL/client_oracle/client/response/clientadmin.rsp
Démarrage d'Oracle Universal Installer...
 
Vérification des exigences du programme d'installation...
 
Vérification de la version du système d'exploitation : il doit s'agir deredhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Réussite
 
 
Toutes les exigences du programme d'installation sont remplies.
 
Préparation du lancement d'Oracle Universal Installer à partir de /tmp/OraInstall2002-01-04_03-39-20AM. Veuillez patienter...
 
$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. Tous droits réservés.
 
Le journal de cette session d'installation se trouve dans :
 /home/oracle/oraInventory/logs/installActions2002-01-04_03-39-20AM.log
.................................................................................................... 100% terminés.
 
SEVERE:OUI-10029 : Le répertoire que vous avez indiqué pour linstallation de ce produit nest pas vide. Il est recommandé dindiquer un répertoire vide ou inexistant. Toutefois, vous pouvez choisir dignorer ce message si le répertoire contient des fichiers générés par le système dexploitation ou des sous-répertoires de type lost+found.
et il ne me rend pas la main a moins que je fasse un ctrl+C

ce que je ne comprend pas, c'est d'une part, pourquoi il utilise le dossier /home/oracle/oraInventory/ pour l'installation alors que je lui spécifie ORACLE_HOME=/soft/oracle/product/10.2.0/client dans le fichier réponse
ensuite, j'ai recherché cette erreur sur le net (OUI-10029) mais ca ne m'a rien donné, google est resté muet sur ce code erreur...

si quelqu'un pouvait m'expliquer ce que signifie les variables du fichiers, ca pourrait m'etre d'une grande aide.

je précise quelques éléments:
le user qui lance l'install est "oracle" dans le groupe principal "oinstall"
il est propriétaire du dossier /soft/oracle/
voici son .bash_profile :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cat /home/oracle/.bash_profile
# .bash_profile
 
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
 
# User specific environment and startup programs
 
umask 022
ORACLE_BASE=/soft/oracle
 
 
PATH=$PATH::$ORACLE_HOME/bin:$HOME/bin
 
export PATH
unset USERNAME
j'ai lu sur quelques forum que si on précisait ORACLE_BASE dans le bash_profile, il n'etait pas utile de définir le ORACLE_HOME (il prend la meme valeure par défaut).

voila merci à celles et ceux qui pourront m'aider

bonne journée.
twistophe