IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Oracle Discussion :

[10gR2] : dbstart


Sujet :

Oracle

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut [10gR2] : dbstart
    Bonjour,

    J'ai un petit soucis, qd je lance dbstart, j'obtiens cette erreure :
    $./dbstart
    ./dbstart: VER10LIST=10: is not an identifier
    Qd je vais voir dans le script, il fait un export de la variable, je l'ai mit en commentaire et j'ai réessayé mais sans succès, il ne me redémarre pas la base
    Est-ce que quelqu'un aurait une idée ?

    Merci

  2. #2
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut
    J'ai oublié de vous donner mon environnement :

    Bdd : 10gR2
    OS : solaris 5.8

  3. #3
    Membre Expert
    Avatar de bouyao
    Inscrit en
    Janvier 2005
    Messages
    1 778
    Détails du profil
    Informations forums :
    Inscription : Janvier 2005
    Messages : 1 778
    Par défaut
    Alors, il faut coller ici le contenu du script dbstart

  4. #4
    Rédacteur

    Profil pro
    Inscrit en
    Janvier 2005
    Messages
    2 320
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2005
    Messages : 2 320
    Par défaut
    Dbstart se base sur le fichier oratab.

    Commencer par checker ce fichier

  5. #5
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut
    Voici le contenu du script dbstart :
    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
     
    LOGMSG="logger -puser.alert -s "
     
    trap 'exit' 1 2 3
     
    # for script tracing
    case $ORACLE_TRACE in
        T) set -x ;;
    esac
     
    # Set path if path not set (if called from /etc/rc)
    case $PATH in
        "") PATH=/bin:/usr/bin:/etc
            export PATH ;;
    esac
     
    # Save LD_LIBRARY_PATH
    SAVE_LLP=$LD_LIBRARY_PATH
     
    # Set this to bring up Oracle Net Listener
    #ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle
    ORACLE_HOME_LISTNER=$ORACLE_HOME
    if [ ! $ORACLE_HOME_LISTNER ] ; then
      echo "ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener"
    else
      LOG=$ORACLE_HOME_LISTNER/listener.log
     
      # Start Oracle Net Listener
      if [ -f $ORACLE_HOME_LISTNER/bin/tnslsnr ] ; then
        echo "$0: Starting Oracle Net Listener" >> $LOG 2>&1
        $ORACLE_HOME_LISTNER/bin/lsnrctl start >> $LOG 2>&1 &
       export VER10LIST=`$ORACLE_HOME_LISTNER/bin/lsnrctl version | grep "LSNRCTL for " | cut -d' ' -f
    5 | cut -d'.' -f1`
      else
        echo "Failed to auto-start Oracle Net Listene using $ORACLE_HOME_LISTNER/bin/tnslsnr"
      fi
    fi
     
    # Set this in accordance with the platform
    ORATAB=/var/opt/oracle/oratab10g
    if [ ! $ORATAB ] ; then
      echo "Set ORATAB to dir where oratab file is located"
      exit 1;
    fi
     
    # Checks Version Mismatch between Listener and Database Instance.
    # A version 10 listener is required for an Oracle Database 10g database.
    # Previous versions of the listener are not supported for use with an Oracle
    # Database 10g database. However, it is possible to use a version 10 listener
    # with previous versions of the Oracle database.
    checkversionmismatch() {
      if [ $VER10LIST ] ; then
        VER10INST=`sqlplus -V | grep "Release " | cut -d' ' -f3 | cut -d'.' -f1`
        case $VER10INST in
          "10")
          if [ $VER10LIST != "10" ] ; then
            $LOGMSG "Warning: Version 10 listener is required for Oracle Database 10g"
            $LOGMSG "Version $VER10LIST for Listener is NOT supported with Database version $VER10INST
    "
            $LOGMSG "Restart Oracle Net Listener using an alternate ORACLE_HOME_LISTNER: lsnrctl start
    "
          fi
          ;;
          *) ;;
        esac
      fi
    }
     
    # Starts a Database Instance
    startinst() {
      # Called programs use same database ID
      export ORACLE_SID
     
      # Put $ORACLE_HOME/bin into PATH and export.
      PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/etc ; export PATH
      # add for bug # 652997
      LD_LIBRARY_PATH=${SAVE_LLP}:${ORACLE_HOME}/lib ; export LD_LIBRARY_PATH
      PFILE=${ORACLE_HOME}/dbs/init${ORACLE_SID}.ora
      SPFILE=${ORACLE_HOME}/dbs/spfile${ORACLE_SID}.ora
      SPFILE1=${ORACLE_HOME}/dbs/spfile.ora
     
      echo ""
      echo "$0: Starting up database \"$ORACLE_SID\""
      date
      echo ""
     
      checkversionmismatch
     
      # See if it is a V6 or V7 database
      VERSION=undef
      if [ -f $ORACLE_HOME/bin/sqldba ] ; then
        SQLDBA=sqldba
        VERSION=`$ORACLE_HOME/bin/sqldba command=exit | awk '
          /SQL\*DBA: (Release|Version)/ {split($3, V, ".") ;
          print V[1]}'`
        case $VERSION in
          "6") ;;
          *) VERSION="internal" ;;
        esac
      else
        if [ -f $ORACLE_HOME/bin/svrmgrl ] ; then
          SQLDBA=svrmgrl
          VERSION="internal"
        else
          SQLDBA="sqlplus /nolog"
        fi
      fi
     
      STATUS=1
      if [ -f $ORACLE_HOME/dbs/sgadef${ORACLE_SID}.dbf ] ; then
        STATUS="-1"
      fi
      if [ -f $ORACLE_HOME/dbs/sgadef${ORACLE_SID}.ora ] ; then
        STATUS="-1"
      fi
      pmon=`ps -ef | egrep pmon_$ORACLE_SID  | grep -v grep`
      if [ "$pmon" != "" ];
      then
        STATUS="-1"
        $LOGMSG "Warning: ${INST} \"${ORACLE_SID}\" already started."
      fi
     
      if test $STATUS -eq -1 ; then
        $LOGMSG "Warning: ${INST} \"${ORACLE_SID}\" possibly left running when system went down (sy
    stem crash?)."
        $LOGMSG "Action: Notify Database Administrator."
        case $VERSION in
          "6")  sqldba "command=shutdown abort" ;;
          "internal")  $SQLDBA $args <<EOF
    connect internal
    shutdown abort
    EOF
            ;;
          *)  $SQLDBA $args <<EOF
    connect / as sysdba
    shutdown abort
    quit
    EOF
            ;;
        esac
     
        if test $? -eq 0 ; then
          STATUS=1
        else
          $LOGMSG "Error: ${INST} \"${ORACLE_SID}\" NOT started."
        fi
      fi
     
      if test $STATUS -eq 1 ; then
        if [ -f $SPFILE -o -f $SPFILE1 -o -f $PFILE ] ; then
          case $VERSION in
            "6")  sqldba command=startup ;;
            "internal")  $SQLDBA <<EOF
    connect internal
    startup
    EOF
              ;;
            *)  $SQLDBA <<EOF
    connect / as sysdba
    startup
    quit
    EOF
              ;;
          esac
     
          if test $? -eq 0 ; then
            echo ""
            echo "$0: ${INST} \"${ORACLE_SID}\" warm started."
          else
            $LOGMSG ""
            $LOGMSG "Error: ${INST} \"${ORACLE_SID}\" NOT started."
          fi
        else
          $LOGMSG ""
          $LOGMSG "Can't find init file for ${INST} \"${ORACLE_SID}\"."
          $LOGMSG "Error: ${INST} \"${ORACLE_SID}\" NOT started."
        fi
      fi
    }
     
    # Starts an ASM Instance
    #startasminst() {
      # Called programs use same database ID
    #  export ORACLE_SID
    #  ORACLE_HOME=`echo $LINE | awk -F: '{print $2}' -`
      # Called scripts use same home directory
    #  export ORACLE_HOME
     
      # For ASM instances, we have a dependency on the CSS service.
      # Wait here for it to become available before instance startup.
     
      # Is the 10g install intact? Are all necessary binaries present?
    #  if [ ! -f $ORACLE_HOME/bin/crsctl ]; then
    #    $LOGMSG "$ORACLE_HOME/bin/crsctl not found when attempting to start"
    #    $LOGMSG "  ASM instance $ORACLE_SID."
     
    #  else
    #    COUNT=0
    #    $ORACLE_HOME/bin/crsctl check css
    #    RC=$?
    #    while [ "$RC" != "0" ];
    #    do
    #    COUNT=$((COUNT+1))
    #    if [ $COUNT = 15 ] ; then
          # 15 tries with 20 sec interval => 5 minutes timeout
    #      $LOGMSG "Timed out waiting to start ASM instance $ORACLE_SID"
    #      $LOGMSG "  CSS service is NOT available."
    #      exit $COUNT
    #    fi
    #    $LOGMSG "Waiting for Oracle CSS service to be available before starting "
    #    $LOGMSG " ASM instance $ORACLE_SID. Wait $COUNT."
     
    #    sleep 20
    #    $ORACLE_HOME/bin/crsctl check css
    #    RC=$?
    #    done
    #  fi
    #  startinst
    #}
     
    # Start of dbstartup script
    #
    # Loop for every entry in oratab file and and try to start
    # that ORACLE.
    #
    # ASM instances need to be started before 'Database instances'
    # ASM instance is identified with '+' prefix in ORACLE_SID
    # Following loop brings up ASM instance[s]
     
    #cat $ORATAB | while read LINE
    #do
    #case $LINE in
    #  \#*)                ;;        #comment-line in oratab
    #  *)
      # Proceed only if last field is 'Y'.
      # Entries whose last field is not Y or N are not DB entry, ignore them.
    #  if [ "`echo $LINE | awk -F: '{print $NF}' -`" = "Y" ] ; then
    #    ORACLE_SID=`echo $LINE | awk -F: '{print $1}' -`
    #    if [ "$ORACLE_SID" = '*' ] ; then
          # same as NULL SID - ignore this entry
    #      ORACLE_SID=""
    #      continue
    #    fi
        # For ASM instances, we have a dependency on the CSS service.
        # Wait here for it to become available before instance startup.
    #    if [ `echo $ORACLE_SID | cut -b 1` = '+' ]; then
    #      INST="ASM instance"
    #      ORACLE_HOME=`echo $LINE | awk -F: '{print $2}' -`
          # Called scripts use same home directory
    #      export ORACLE_HOME
          # file for logging script's output
    #      LOG=$ORACLE_HOME/startup.log
    #      touch $LOG
    #      chmod a+r $LOG
    #      echo "Processing $INST \"$ORACLE_SID\": log file $ORACLE_HOME/startup.log"
    #      startasminst >> $LOG 2>&1
    #    fi
    #  fi
    #  ;;
    #esac
    #done
     
    # exit if there was any trouble bringing up ASM instance[s]
    #if [ "$?" != "0" ] ; then
    #  exit 2
    #fi
     
    #
    # Following loop brings up 'Database instances'
    #
    #cat $ORATAB | while read LINE
    #do
    #case $LINE in
    #  \#*)                ;;        #comment-line in oratab
    #  *)
      # Proceed only if last field is 'Y'.
      # Entries whose last field is not Y or N are not DB entry, ignore them.
    #  if [ "`echo $LINE | awk -F: '{print $NF}' -`" = "Y" ] ; then
    #    ORACLE_SID=`echo $LINE | awk -F: '{print $1}' -`
    #    if [ "$ORACLE_SID" = '*' ] ; then
          # same as NULL SID - ignore this entry
    #      ORACLE_SID=""
    #      continue
    #    fi
        # For ASM instances, we have a dependency on the CSS service.
        # Wait here for it to become available before instance startup.
    #    if [ `echo $ORACLE_SID | cut -b 1` != '+' ]; then
    #      INST="Database instance"
    #      ORACLE_HOME=`echo $LINE | awk -F: '{print $2}' -`
    #      # Called scripts use same home directory
    #      export ORACLE_HOME
          # file for logging script's output
    #      LOG=$ORACLE_HOME/startup.log
    #      touch $LOG
          chmod a+r $LOG
    #echo "Processing $INST \"$ORACLE_SID\": log file $ORACLE_HOME/startup.log"
    #  startinst >> $LOG 2>&1
    #    fi
    #  fi
    #  ;;
    #esac
    #done
    J'ai mit en commentaire tout ce qui concernait ASM car il n'est pas installé.

  6. #6
    Membre Expert
    Avatar de bouyao
    Inscrit en
    Janvier 2005
    Messages
    1 778
    Détails du profil
    Informations forums :
    Inscription : Janvier 2005
    Messages : 1 778
    Par défaut
    Tu utilise quoi comme version de listener ?
    essaye de voir

  7. #7
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut
    Voici le contenu du fichier oratab :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    Nom_bdd:/oracle/product/10g:Y
    Pour info, j'ai créé un autre fichier oracle (il démarre ou arrête iSQL*Plus, OEM database control, lsnrctl) dans /etc/init.d/oracle qui celui ci sera éxécutable :
    exemple :
    $ /etc/init.d/oracle start
    $ /etc/init.d/oracle stop
    Voici le code pour ceux ou celle qui seront intéressés :
    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
     
    #!/bin/bash
    #
    # Run-level Startup script for the Oracle Instance and Listener
    #
    # chkconfig: 345 91 19
    # description: Startup/Shutdown Oracle listener and instance
     
    ORA_HOME="/u01/app/oracle/product/10.1.0/db_3"
    ORA_OWNR="oracle"
     
    # if the executables do not exist -- display error
     
    if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
    then
            echo "Oracle startup: cannot start"
            exit 1
    fi
     
    # depending on parameter -- startup, shutdown, restart 
    # of the instance and listener or usage display 
     
    case "$1" in
        start)
            # Oracle listener and instance startup
            echo -n "Starting Oracle: "
            su - $ORA_OWNR -c "$ORA_HOME/bin/lsnrctl start"
            su - $ORA_OWNR -c $ORA_HOME/bin/dbstart
     
    	#Optional : for isqlplus only
            su - $ORA_OWNR -c "$ORA_HOME/bin/isqlplusctl start"
    	 #Optional : for Enterprise Manager software only
            su - $ORA_OWNR -c "$ORA_HOME/bin/emctl start dbconsole"
     
     
            touch /var/lock/subsys/oracle
            echo "OK"
            ;;
        stop)
            # Oracle listener and instance shutdown
            echo -n "Shutdown Oracle: "
     
    	#Optional : for isqlplus only
            su - $ORA_OWNR -c "$ORA_HOME/bin/isqlplusctl stop"
            #Optional : for Enterprise Manager software only
    	su - $ORA_OWNR -c "$ORA_HOME/bin/emctl stop dbconsole"
     
     
            su - $ORA_OWNR -c "$ORA_HOME/bin/lsnrctl stop"
            su - $ORA_OWNR -c $ORA_HOME/bin/dbshut
            rm -f /var/lock/subsys/oracle
            echo "OK"
            ;;
        reload|restart)
            $0 stop
            $0 start
            ;;
        *)
            echo "Usage: $0 start|stop|restart|reload"
            exit 1
    esac
    exit 0
    Rendez ensuite le script exécutable grâce à la commande:
    # chmod u+x /etc/init.d/oracle

  8. #8
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut
    Tu utilise quoi comme version de listener ?
    J'utilise la version 10.2.0.1.0

  9. #9
    Membre Expert
    Avatar de bouyao
    Inscrit en
    Janvier 2005
    Messages
    1 778
    Détails du profil
    Informations forums :
    Inscription : Janvier 2005
    Messages : 1 778
    Par défaut
    Ton oratab n'est pas bon. Vérifie le repertoire.

  10. #10
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut
    Bonjour,

    Ton oratab n'est pas bon. Vérifie le repertoire.
    Pourquoi mon oratab n'est pas bon ?
    C'est bien mon ORACLE_HOME (/oracle/product/10g) :o

  11. #11
    Expert éminent
    Avatar de orafrance
    Profil pro
    Inscrit en
    Janvier 2004
    Messages
    15 967
    Détails du profil
    Informations personnelles :
    Âge : 48
    Localisation : France

    Informations forums :
    Inscription : Janvier 2004
    Messages : 15 967
    Par défaut
    montre nous le contenu du fichier oratab

  12. #12
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut
    Je l'ai indiqué plus haut
    Voici le contenu du fichier oratab :
    Nom_bdd:/oracle/product/10g:Y

  13. #13
    Rédacteur

    Profil pro
    Inscrit en
    Janvier 2005
    Messages
    2 320
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2005
    Messages : 2 320
    Par défaut
    Bonjour
    Est ce que vous pouvez ajouter cette ligne dans le oratab ;

    *:/oracle/product/10g:Y
    Merci

  14. #14
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut
    aucun changement

  15. #15
    Expert éminent
    Avatar de orafrance
    Profil pro
    Inscrit en
    Janvier 2004
    Messages
    15 967
    Détails du profil
    Informations personnelles :
    Âge : 48
    Localisation : France

    Informations forums :
    Inscription : Janvier 2004
    Messages : 15 967
    Par défaut
    tape sh avant de lancer dbstart pour être sûr d'être en shell

  16. #16
    Membre éprouvé
    Profil pro
    Administrateur de base de données
    Inscrit en
    Mars 2004
    Messages
    79
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations professionnelles :
    Activité : Administrateur de base de données

    Informations forums :
    Inscription : Mars 2004
    Messages : 79
    Par défaut
    Heu pour moi, le fichier oratab ce trouve dans /etc et pas dans le oracle_home

  17. #17
    Membre éclairé Avatar de fdubks
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    73
    Détails du profil
    Informations personnelles :
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations forums :
    Inscription : Mai 2007
    Messages : 73
    Par défaut
    Citation Envoyé par djeant Voir le message
    Heu pour moi, le fichier oratab ce trouve dans /etc et pas dans le oracle_home
    Cela dépends du system
    Sur AIX, HP-UX, Linux, and Tru64 UNIX: /etc
    Sur Solaris : $(ORACLE_HOME) = /var/opt/oracle

  18. #18
    Membre confirmé
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    68
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 68
    Par défaut
    tape sh avant de lancer dbstart pour être sûr d'être en shell
    je suis bien en shell.

  19. #19
    Membre éclairé Avatar de fdubks
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    73
    Détails du profil
    Informations personnelles :
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations forums :
    Inscription : Mai 2007
    Messages : 73
    Par défaut
    Salut,

    j'ai le même probleme:

    en fait cela vient du script dbstart remplace:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    export VER10LIST=`$ORACLE_HOME_LISTNER/bin/lsnrctl version | grep "LSNRCTL for " | cut -d' ' -f5 | cut -d'.' -f1`
    par
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    VER10LIST=`$ORACLE_HOME_LISTNER/bin/lsnrctl version | grep "LSNRCTL for " | cut -d' ' -f5 | cut -d'.' -f1`
    export VER10LIST
    Cela permet qu script de continuer.
    J'espère que tu auras le même résultat que moi

Discussions similaires

  1. [10gR2] Execution d'un bloc begin...end
    Par hotkebab99 dans le forum Oracle
    Réponses: 2
    Dernier message: 11/01/2006, 12h26
  2. [10gR2] Recherche de chaines et formes flechies
    Par hotkebab99 dans le forum Oracle
    Réponses: 8
    Dernier message: 11/01/2006, 09h50
  3. [INSTALL][10gR2] Installation capricieuse
    Par max44410 dans le forum Oracle
    Réponses: 15
    Dernier message: 13/12/2005, 00h34
  4. [10gR2] : pb lancement Oracle Universal Installer...
    Par user_oracle dans le forum Oracle
    Réponses: 22
    Dernier message: 14/11/2005, 16h17
  5. Réponses: 8
    Dernier message: 04/10/2005, 19h27

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo