[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Mon Nov 22 13:51:31 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect
Enter password:
Connected.
SQL> show sga
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
SQL> shutdown
ORA-01031: insufficient privileges
SQL> !id
uidP2(oracle) gidP3(dba) groupesP3(dba),504(oracle)
SQL>
[oracle@alpha111 bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Mon Nov 22 13:51:31 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect system@orcl
Enter password:
Connected.
SQL> show sga
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
SQL> shutdown
ORA-01031: insufficient privileges
SQL> !id
uidP2(oracle) gidP3(dba) groupesP3(dba),504(oracle)
SQL>
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Mon Nov 22 13:51:31 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect
Enter password:
Connected.
SQL> show sga
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
SQL> shutdown
ORA-01031: insufficient privileges
SQL> !id
uidP2(oracle) gidP3(dba) groupesP3(dba),504(oracle)
SQL>
Bruno t'a donné bonne réponse.
Si tu insiste à system lance
"connect system" au lieu de "connect "
Igor
Bruno t'a donné bonne réponse.
Si tu insiste à system lance
"connect system" au lieu de "connect system@orcl"
Igor
Bruno t'a donné bonne réponse.
Si tu insiste à system lance
"connect system" au lieu de "connect "
Igor
Bruno t'a donné bonne réponse.
Si tu insiste à system lance
"connect system" au lieu de "connect "
Igor
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:01:07 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect system /
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
SQL>
Bruno t'a donné bonne réponse.
Si tu insiste à system lance
"connect system" au lieu de "connect system@orcl"
Igor
[oracle@alpha111 bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:01:07 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect system /
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
SQL>
Bruno t'a donné bonne réponse.
Si tu insiste à system lance
"connect system" au lieu de "connect "
Igor
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:01:07 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect system /
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
SQL>
JB wrote:[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Mon Nov 22 13:51:31 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Faire :
SQL> connect / as sysdba
au lieu de :SQL> connect
Enter password:
Connected.SQL> show sga
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
SQL> shutdown
ORA-01031: insufficient privileges
SQL> !id
uidP2(oracle) gidP3(dba) groupesP3(dba),504(oracle)
SQL>
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
SQL>
JB <jb@bidon.fr> wrote:
[oracle@alpha111 bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Mon Nov 22 13:51:31 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Faire :
SQL> connect / as sysdba
au lieu de :
SQL> connect system@orcl
Enter password:
Connected.
SQL> show sga
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
SQL> shutdown
ORA-01031: insufficient privileges
SQL> !id
uidP2(oracle) gidP3(dba) groupesP3(dba),504(oracle)
SQL>
[oracle@alpha111 bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
SQL>
JB wrote:[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Mon Nov 22 13:51:31 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Faire :
SQL> connect / as sysdba
au lieu de :SQL> connect
Enter password:
Connected.SQL> show sga
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
SQL> shutdown
ORA-01031: insufficient privileges
SQL> !id
uidP2(oracle) gidP3(dba) groupesP3(dba),504(oracle)
SQL>
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
SQL>
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
[oracle@alpha111 bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
JB wrote:[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Si j'ai bien compris, ta base s'appelle ORCL.
Donc, il faut faire :
[ bin]$ export ORACLE_SID=ORCL
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
Pour finir, administrer une base Oracle ne s'improvise pas. Et j'ai
l'impression que tu es en train d'improviser ...
JB wrote:
[oracle@alpha111 bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Si j'ai bien compris, ta base s'appelle ORCL.
Donc, il faut faire :
[oracle@alpha111 bin]$ export ORACLE_SID=ORCL
[oracle@alpha111 bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
Pour finir, administrer une base Oracle ne s'improvise pas. Et j'ai
l'impression que tu es en train d'improviser ...
JB wrote:[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Si j'ai bien compris, ta base s'appelle ORCL.
Donc, il faut faire :
[ bin]$ export ORACLE_SID=ORCL
[ bin]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Tue Nov 23 09:04:46 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
Pour finir, administrer une base Oracle ne s'improvise pas. Et j'ai
l'impression que tu es en train d'improviser ...
openmotif compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
EOF
oracleasm-2.4.9-e-smp-1.0.0-1.i686.rpm
oracleasmlib-1.0.0-1.i386.rpm
oracleasm-support-1.0.0-1.i386.rpm
openmotif compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
EOF
oracleasm-2.4.9-e-smp-1.0.0-1.i686.rpm
oracleasmlib-1.0.0-1.i386.rpm
oracleasm-support-1.0.0-1.i386.rpm
openmotif compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
EOF
oracleasm-2.4.9-e-smp-1.0.0-1.i686.rpm
oracleasmlib-1.0.0-1.i386.rpm
oracleasm-support-1.0.0-1.i386.rpm
Starting and Stopping iSQL*Plus:
$ isqlplusctl start
$ isqlplusctl stop
Starting and Stopping the Listener:
The listener accepts connection requests from clients and creates
connections to the database once the credentials have been
authenticated. Before you can use OEM or iSQL*Plus, the listener must be
up.
$ lsnrctl start
$ lsnrctl stop
Starting and Stopping the Database:
The easiest way to start and stop the database is from the OEM Console.
To do that from the command line, use SQL*Plus while logged in as
oracle, as follows:
Startup:
$ sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Jun 13 22:27:48 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Le isqlplusctl sart ou stop est OK
le lsnrctl start/stop parait ok
le démarrage de la base est ko
le lsnrctl services orcl me donne:
[ bin]$ lsnrctl services orcl
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 24-NOV-2004 15:47:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=alpha111.bohain.fr)(PORT21))(CONNECT_DATA=(SERVERÞDICATED)(SERVICE_NAME=orcl)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
[ bin]$
ou est l'erreur!
A+
JB
Starting and Stopping iSQL*Plus:
$ isqlplusctl start
$ isqlplusctl stop
Starting and Stopping the Listener:
The listener accepts connection requests from clients and creates
connections to the database once the credentials have been
authenticated. Before you can use OEM or iSQL*Plus, the listener must be
up.
$ lsnrctl start
$ lsnrctl stop
Starting and Stopping the Database:
The easiest way to start and stop the database is from the OEM Console.
To do that from the command line, use SQL*Plus while logged in as
oracle, as follows:
Startup:
$ sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Jun 13 22:27:48 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Le isqlplusctl sart ou stop est OK
le lsnrctl start/stop parait ok
le démarrage de la base est ko
le lsnrctl services orcl me donne:
[oracle@alpha111 bin]$ lsnrctl services orcl
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 24-NOV-2004 15:47:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=alpha111.bohain.fr)(PORT21))(CONNECT_DATA=(SERVERÞDICATED)(SERVICE_NAME=orcl)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
[oracle@alpha111 bin]$
ou est l'erreur!
A+
JB
Starting and Stopping iSQL*Plus:
$ isqlplusctl start
$ isqlplusctl stop
Starting and Stopping the Listener:
The listener accepts connection requests from clients and creates
connections to the database once the credentials have been
authenticated. Before you can use OEM or iSQL*Plus, the listener must be
up.
$ lsnrctl start
$ lsnrctl stop
Starting and Stopping the Database:
The easiest way to start and stop the database is from the OEM Console.
To do that from the command line, use SQL*Plus while logged in as
oracle, as follows:
Startup:
$ sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Jun 13 22:27:48 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Le isqlplusctl sart ou stop est OK
le lsnrctl start/stop parait ok
le démarrage de la base est ko
le lsnrctl services orcl me donne:
[ bin]$ lsnrctl services orcl
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 24-NOV-2004 15:47:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=alpha111.bohain.fr)(PORT21))(CONNECT_DATA=(SERVERÞDICATED)(SERVICE_NAME=orcl)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
[ bin]$
ou est l'erreur!
A+
JB
ou est l'erreur!
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
ou est l'erreur!
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
ou est l'erreur!
SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified