OVH Cloud OVH Cloud

Oracle 10g nouveau

11 réponses
Avatar
JB
L'installation (ré) s'est bien déroulée
La connection à travers Konqueror est OK sauf pour:
http://alpha111.boxxx.fr:5620/ultrasearch et ultasearch/admin
pour isqlplus cest ok pour scott/tiger
mais non possible pour 5560/isqlplus/dba, j'ai une petite id le
lancement de Konquror par la barre de tache le user n'est oracle(!=
5500/em jocker

trace d'une connect manelle:

[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
uid=502(oracle) gid=503(dba) groupes=503(dba),504(oracle)

SQL>

La syntaxe de l'arret base est-elle correcte puisque 10g?

[oracle@alpha111 bin]$ oerr ora 1031
01031, 00000, "insufficient privileges"
// *Cause: An attempt was made to change the current username or password
// without the appropriate privilege. This error also occurs if
// attempting to install a database without the necessary operating
// system privileges.
// When Trusted Oracle is configure in DBMS MAC, this error may
occur
// if the user was granted the necessary privilege at a higher label
// than the current login.
// *Action: Ask the database administrator to perform the operation or grant
// the required privileges.
// For Trusted Oracle users getting this error although granted the
// the appropriate privilege at a higher label, ask the database
// administrator to regrant the privilege at the appropriate label.
[oracle@alpha111 bin]$

comment je m'attribue les priviléges!
A+
JB

1 réponse

1 2
Avatar
JB
Bruno Jargot wrote:
JB wrote:


ou est l'erreur!




Tu parles de cette erreur :


SQL> connect / as sysdba
ERROR:
ORA-12162: TNS:net service name is incorrectly specified




?

Si oui, as tu effectué l'export de la variable ORACLE_SID comme je l'ai
indiqué dans mon précédent message ?

Si non, où est l'erreur ?


ORACLE_SID est en dur dans .bashrc,
je l'ai revu, et j'ai enfin vu la poutre dans mon oeil,
il manquait l'export,
nota je n'ai vu aucune référence au LD_LIBRARY_PATH pour Oracle
ci joint le démarrage
[ bin]$ sqlplus

SQL*Plus: Release 10.1.0.3.0 - Production on Thu Nov 25 09:38:23 2004

Copyright (c) 1982, 2004, Oracle. All rights reserved.

Enter user-name: / as sysdba
Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
Database mounted.
Database opened.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release
10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
[ bin]$

Encore merci pour ton action, une hotline c'est dur
Merci,
A+
JB qui va bricoler sereinement
1 2