ORA: 01996 GRANT failed:

I looked online to try to solve this problem, but so far the answers I'm looking for to do not answer all the questions that I have. They all speak to recreate password file and the increase in the number of users that can be granted rights sysdba or sysoper. I recently installed 11g and I do not remember if I put the sysdba password. Y at - it a default password for sysdba or is there a way to set or reset before you delete the current password. If I delete the current password, I said I have to login as sysdba. I was login as sys/as sysdba. Basically, I want to know, if I create a new password file, how to get back in the system.

Connect to the DB server as the OS Oracle software owner user

sqlplus / as sysdba

Show user

After COPY PASTE & results do you the same thing as above as below

[oracle@localhost ~] $ sqlplus / as sysdba

SQL * more: Production of liberation 11.2.0.2.0 Mon 9 June 14:35:20 2014

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

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production

With partitioning, OLAP, Data Mining and Real Application Testing options

SQL > show user

The USER is "SYS".

SQL >

Tags: Database

Similar Questions

  • ORA-01994: GRANT failed: failed to add the users to the public password file

    Snoussi,

    our applications 11.5.10.2 and db 9.2.0.6 whenever I'm in the process of grant dba privileges to rman user sys, I get the below error

    ORA-01994: GRANT failed: failed to add the users to the public password file

    I created the password file and I've changed remote_login_passwordfile = NONE for remote_login_passwordfile = EXCLUSIVE lock
    in initSID.ora then I bounced DB but its showing again.


    SQL > show the distance parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    real chain of remote_archive_enable
    remote_dependencies_mode string TIMESTAMP
    remote_listener chain
    Remote_login_passwordfile string NONE
    REMOTE_OS_AUTHENT boolean FALSE
    remote_os_roles boolean FALSE
    SQL >

    Here is my information in initSID.ora file.

    ----------------------------------------------
    #############################################################################
    #
    # END OF THE CBO SETTINGS SECTION
    #
    #############################################################################


    #---FIN OF REQUIRED OPTIMIZER PARAMETERS-

    #
    # Client settings.
    #
    Remote_login_passwordfile = EXCLUSIVE lock
    #EMOTE_LOGIN_PASSWORDFILE = exclusive lock
    IFile=/U05/Oracle/visdb/9.2.0/DBS/VIS_linux2_ifile.ora
    [oracle@linux2 dbs] $

    Published by: HumanDBA on June 9, 2009 04:06

    Danny,

    Do you use a spfile to start the database? If Yes, then you must change this setting in the spfile so (issue "show the spfile parameter' to check).

    Kind regards
    Hussein

  • GRANT failed: password file missing or disabled

    Hello

    I created the password help file
    orapwd FILE = orapwprj ENTRIES = 30 (where prj is the name of the instance)



    SQL > show parameter remote_login_passwordfile

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    Remote_login_passwordfile string EXCLUSIVE


    SQL > grant sysdba to Arou.
    grant sysdba to Arou
    *
    ERROR on line 1:
    ORA-01994: GRANT failed: password file missing or disabled

    Try to give the full path of the file. Check if the file is created under the folder$ ORACLE_HOME\dbs\

    SID is case-sensitive, try file = $ORACLE_HOME\dbs\PWD

    Published by: Vieira on August 30, 2012 21:52

  • ORA-12545: Connect failed because target host or object does not exist

    Hi all

    I am not able to connect database remotely. I have two servers with the name U.S. and localhost. Here are my coordinates tns:

    Details of the host server we:

    [oracle@US admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    PROD =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = EN)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )

    PROD_STBY =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )


    [oracle@US admin] $ more sysconfig

    Networking = yes

    NETWORKING_IPV6 = yes

    HOSTNAME = US.localdomain


    [oracle@US admin] $ more/etc/hosts

    # Do not remove the next line, or various programs

    # requiring a network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    : US.localdomain6 1 U.S.

    Remote Ping US server location:

    [oracle@US admin] $ ping 192.168.188.131

    PING 192.168.188.131 (192.168.188.131) 56 (84) bytes of data.

    64 bytes from 192.168.188.131: icmp_seq = 1 ttl = 64 time = 0,662 ms

    64 bytes from 192.168.188.131: icmp_seq = 2 ttl = 64 time = 0,558 ms

    64 bytes from 192.168.188.131: icmp_seq = 3 ttl = 64 time = 0,566 ms

    64 bytes from 192.168.188.131: icmp_seq = 4 ttl = 64 time = 0,603 ms

    64 bytes from 192.168.188.131: icmp_seq = 5 ttl = 64 time = 0.575 ms

    ^ C

    -192.168.188.131 - ping statistics

    5 packets transmitted, 5 received, 0% packet loss, time 4002ms

    RTT min/avg/max/leg = 0.558/0.592/0.662/0.048 ms

    Details of the server remote localhost:

    [oracle@localhost admin] $ more tnsnames.ora

    PROD =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = EN)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )

    PROD_STBY =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )


    [oracle@localhost admin] $ cat/etc/hosts

    # Do not remove the next line, or various programs

    # requiring a network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    : 1 localhost6.localdomain6 localhost6


    [oracle@localhost admin] $ cat sysconfig

    Networking = yes

    NETWORKING_IPV6 = yes

    HOSTNAME = localhost.localdomain

    [oracle@localhost admin] $ listener.ora more

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = prod. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = prod)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@localhost admin] $ lsnrctl status


    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 4 February 2014 16:49:36

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date February 4, 2014 16:42:09

    Uptime 0 days 0 h 7 min 26 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    Summary of services...

    Service "prod. The WORLD' has 1 instance (s).

    Instance "prod", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    Location of ping to the server hosting remote localhost:

    [oracle@localhost admin] $ ping 192.168.188.130

    PING 192.168.188.130 (192.168.188.130) 56 (84) bytes of data.

    64 bytes from 192.168.188.130: icmp_seq = 1 ttl = 64 time = 1.57 ms

    64 bytes from 192.168.188.130: icmp_seq = 2 ttl = 64 time = 0,223 ms

    64 bytes from 192.168.188.130: icmp_seq = 3 ttl = 64 time = 0,577 ms

    64 bytes from 192.168.188.130: icmp_seq = 4 ttl = 64 time = 0,571 ms

    64 bytes from 192.168.188.130: icmp_seq = 5 ttl = 64 time = 0,568 ms

    ^ C

    -192.168.188.130 - ping statistics

    5 packets transmitted, 5 received, 0% packet loss, time 4006ms

    RTT min/avg/max/leg = 0.223/0.703/1.578/0.458 ms

    Connection database target mode ensures via RMAN:

    [oracle@localhost admin] $ rman target sys/oracle_4U@PROD auxiliary sys/oracle_4U@PROD_STBY


    Recovery Manager: release 11.2.0.1.0 - Production on Tue Feb 4 16:56:45 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-00554: initialization of the package manager internal collection failed

    RMAN-04005: target database error:

    ORA-12545: Connect failed because target host or object does not exist

    Please let me know the cause of this error and it please help me how can I solve it.

    Kind regards

    Michel

    OK, so you have a software firewall (IPTables) running.  By default, it will not be configured to accept connections on port 1521.  You have two options...

    (1) disable the firewall completely.  Run these commands to do this...

    stop /etc/init.d/iptables

    chkconfig iptables off

    The first command stops the service.  The second command prevents revived at every restart of the OS.

    (2) add an exception to the firewall for port 1521.  I'm not a Linux expert, but it should be something like this...

    Change the configuration of IPTables with vi...

    VI/etc/sysconfig/iptables

    Add a new rule as follows...

    -A of ENTRY m state - state NEW-m tcp tcp - dport 1521-j ACCEPT Pei

    Save and close, and then restart the IPTables service...

    /etc/init.d/iptables restart

    NOTE: you must always change the name of this server to something other than "localhost".

  • root.sh defect on the second node with ' ora.asm - init ' failed

    The completing the two roots of scripts on the first end, but on the second node node, I get:

    [root@alvis oracle] # /home/oracle/app/11.2.0/grid/root.sh
    Run the script root.sh from Oracle 11 g...

    The following environment variables are defined as:
    ORACLE_OWNER = oracle
    ORACLE_HOME = /home/oracle/app/11.2.0/grid

    Enter the full path of the local bin directory: [usr/local/bin]:
    The 'dbhome' file already exists in the usr. Overwrite it? (y/n)
    [n]: y
    Copying dbhome to usr...
    The 'oraenv' file already exists in the usr. Overwrite it? (y/n)
    [n]: y
    Copying oraenv to usr...
    The 'coraenv' file already exists in the usr. Overwrite it? (y/n)
    [n]: y
    Copying coraenv to usr...

    Entries will be added to the/etc/oratab file according to the needs of
    Assistant configuration database when a database is created
    Finished to turn the generic part of the root.sh script.
    Now root product-specific actions will be performed.
    2012-05-11 11:19:58: the analysis of the host name
    2012-05-11 11:19:58: verification of superuser privileges
    2012-05-11 11:19:58: user has superuser privileges
    The file of configuration settings using: /home/oracle/app/11.2.0/grid/crs/install/crsconfig_params
    ADD LOCAL MODE
    Creating OCR keys for the user "root", "root"... privgrp
    Successful operation.
    Adding to inittab demon
    CRS-4123: Oracle high availability Services started.
    starts ohasd
    ADVM/ACFS is not supported on oraclelinux-release-6Server - 2.0.2.i686



    CRS-4402: the CSS daemon has been started in mode exclusive, but found an active CSS daemon on the node betoracle, number 1 and ends
    An active cluster was found at the exclusive start, start to join the cluster
    CRS-2672: attempt to start 'ora.mdnsd' on 'alvis '.
    CRS-2676: beginning of 'ora.mdnsd', the 'alvis' successful
    CRS-2672: attempt to start 'ora.gipcd' on 'alvis '.
    CRS-2676: beginning of 'ora.gipcd', the 'alvis' successful
    CRS-2672: attempt to start 'ora.gpnpd' on 'alvis '.
    CRS-2676: beginning of 'ora.gpnpd', the 'alvis' successful
    CRS-2672: attempt to start 'ora.cssdmonitor' on 'alvis '.
    CRS-2676: beginning of 'ora.cssdmonitor', the 'alvis' successful
    CRS-2672: attempt to start 'ora.cssd' on 'alvis '.
    CRS-2672: attempt to start 'ora.diskmon' on 'alvis '.
    CRS-2676: beginning of 'ora.diskmon', the 'alvis' successful
    CRS-2676: beginning of 'ora.cssd', the 'alvis' successful
    CRS-2672: attempt to start 'ora.ctssd' on 'alvis '.
    CRS-2676: beginning of 'ora.ctssd', the 'alvis' successful
    CRS-2672: attempt to start 'ora.asm' on 'alvis '.
    CRS-5011: control of resources '+ ASM' failed: details at "(:CLSN00006:))" "in ' / home/oracle/app/11.2.0/grid/log/alvis/agent/ohasd/oraagent_oracle/oraagent_oracle.log '.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory
    Process ID: 0
    Session IDs: serial number 0: 0
    ORA-48108: invalid value for the parameter in init.ora diagnostic_dest
    CRS-5011: control of resources '+ ASM' failed: details at "(:CLSN00006:))" "in ' / home/oracle/app/11.2.0/grid/log/alvis/agent/ohasd/oraagent_oracle/oraagent_oracle.log '.
    CRS-2674: beginning of 'ora.asm', the 'alvis' failed
    CRS-2679: attempt to clean "ora.asm" on the "alvis".
    CRS-5011: control of resources '+ ASM' failed: details at "(:CLSN00006:))" "in ' / home/oracle/app/11.2.0/grid/log/alvis/agent/ohasd/oraagent_oracle/oraagent_oracle.log '.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory
    Process ID: 0
    Session IDs: serial number 0: 0
    CRS-5011: control of resources '+ ASM' failed: details at "(:CLSN00006:))" "in ' / home/oracle/app/11.2.0/grid/log/alvis/agent/ohasd/oraagent_oracle/oraagent_oracle.log '.
    CRS-2681: clean 'ora.asm' on 'alvis' successful
    CRS-4000: Start command has failed, or completed with errors.
    Return code of 1 (256) control command: /home/oracle/app/11.2.0/grid/bin/crsctl start resource ora.asm - init
    Beginning of the resource ' ora.asm - init ' failed
    Could not start ASM
    The Oracle Clusterware boot failure battery

    To get to this point, I'm already have to do:

    ls - la /tmp/.oracle/ /var/tmp/.oracle/ /usr/tmp/.oracle/ in another terminal, and as soon as I see the files increase I do
    / bin/dd if=/var/tmp/.oracle/npohasd of = / dev/null bs = 1024 count = 1 due to the publication (inappropriate ioctl) in the https://forums.oracle.com/forums/thread.jspa?messageID=9579932

    Any ideas?

    OK, default ORACLE_BASE is/home/oracle/app/oracle

    the directory does not exist a single node2 and cannot be created as/home/oracle/app is owned by root: oinstall, only root has write permissions there and in some way, it has not been created
    ASM runs as user oracle, so it can not create the/home/oracle/app/oracle/diag/asm directory for newspapers/traces of ASM

    the 2nd node:
    try to create the directory/home/oracle/app/oracle manually with appropriate permissions (oracle: oinstall, 755, even as on node1)
    Then run /home/oracle/app/11.2.0/grid/crs/install/rootcrs.pl - deconfig-force (to unconfigure the clusterware failed battery config)
    Run root.sh again

  • ORA-01720: grant option does not exist for ' APPS. FND_PROFILE'

    Hi all

    When creating view Schema CUSTOM the below error is coming in the deployment.

    ORA-01720: grant option does not exist for ' APPS. FND_PROFILE'

    Creation of the view, but while giving grants to the APPS error schema has occurred.

    Can someone help us please on this?

    Kind regards
    Suresh Reddy.

    You must grant EXECUTE on fnd_profile. VALUE, in addition to the tables.

  • ORA-01720: grant option does not "table".

    Hi all


    There is problem


    ORA-01720: there is no such thing as grant option of ' Creator.collateralevaluation '.


    CREATE VIEW zoo.v2947collateralevaluation
      
    AS SELECT * FROM creator.collateralevaluation
      
    GRANT select ON zoo.v2947collateralevaluation TO USER1234;


    We also tried

    GRANT SELECT ON creator.collateralevaluation TO USER1234 WITH GRANT OPTION

    but it fails...

    Error on line 1

    ORA-01031: insufficient privileges

    Please help me find the solution...

    SELECT * FROM V$ VERSION

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    PL/SQL Release 11.2.0.4.0 - Production

    CORE Production 11.2.0.4.0

    AMT for 64-bit Windows: Version 11.2.0.4.0 - Production

    NLSRTL Version 11.2.0.4.0 - Production

    5 selected lines.

    The CREATOR user:

    Zoo TO GRANT SELECT ON creator.collateralevaluation WITH GRANT OPTION;

    From ZOO user your the below:

    GRANT SELECT ON creator.collateralevaluation to ABS1497;

  • With the help of the ORA-00904 granted by ROLE

    Hi all

    I have an error using the grant through ROLE (Oracle 11.2.0.1 on redhat Linux)

    Here is the explanation of my problem:

    I create a package to wear patterns

    create or replace 
    PACKAGE                     usera.pkg_utils AS 
     function f_my_function return RAW;
    END pkg_utils;
    

    I create the package body:

    create or replace 
    PACKAGE BODY usera.pkg_utils  AS 
     function f_my_function return RAW  is
      v_uuid RAW(16);
    begin
      v_uuid := sys.dbms_crypto.randombytes(16);
      return (utl_raw.overlay(utl_raw.bit_or(utl_raw.bit_and(utl_raw.substr(v_uuid, 7, 1), '0F'), '40'), v_uuid, 7));
    end f_random_uuid;
    END pkg_utils;
    

    I create a 'R_ROLE1' role to which I admit "EXECUTE ON USERA. PKG_UTILS TO R_ROLE1.

    I give you that R_ROLE1 to the PUBLIC so that each user can access the package USERA. PKG_UTIS

    If I call another user f_my_function, it works well.

    If I call another user from a procedure f_my_function I get "ORA-00904".

    ex: to UserB

    create or replace 
    PROCEDURE P_PROC
    AS
    num int;
    uuid_ RAW(16);
    BEGIN
        select usera.pkg_utils.f_my_function() into uuid_ from dual;
    END P_PROC;
    /
    

    If I give you that directly "GRANT EXECUTE ON USERA. PKG_UTILS TO PUBLIC' so it works well.

    Thus, the error comes from the fact that I use a role, but I can't fix it. I don't understand why USERB does not use its grant to the role of r_role1 granted to PUBLIC.

    Is there something as USERB is unusable cascade role during the call to a procedure? is there something to "activate"? ".

    Thank you all

    See the doc database security for your answer and the explanation of what others have said.

    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/authorization.htm#i1007304

    Operation of the roles in PL/SQL blocks

    The use of roles in a PL/SQL block depends on if it is an anonymous block, or a block named (stored procedure, function, or trigger), and if it runs with the rights of the author or the rights of the applicant.

    Roles used in the appointed with rights to define blocks

    All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.

    The SESSION_ROLES view shows all roles that are currently enabled. If a named PL/SQL block that runs with Definer Rights queries SESSION_ROLES , then the query will return no rows.

  • Reg: Error when connecting to a remote database as user SYS.

    Hi all


    When I try to connect to a database as user SYS I get the error as

    ora-01017 invalid username/password denied logon

    But it is the registration of the local system where the oracle is installed.

    I created the password file and check the content in v$ pwfile_users.

    The result is "no selected lines.

    then, when I try to grant sysdba to user sys

    grant sysdba to sys.

    I get the error message like,

    ORA-01994: GRANT failed: password file missing or disabled

    Please help me solve this.

    Kind regards

    Konda

    Hello

    Its should be like

    orapwd.exe file=E:\app\Administrator\product\11.2.0\dbhome_1\database\pwdEE.ora force = entered y = 30 = password

    HTH

  • password file

    Hi all

    I read the document, but I always get confused on something in the password file

    oracle 2 = enteries say this setting means that allow the user to connect with sysdba or sysoper in the same time not longer than 2 bust

    I tested this
    SQL > grant sysdba to scott, hr, ahmed;

    Grant succeeded.

    now, I have three windows open and connect with these three users as sysdba

    Conn scott as sysdba;
    Conn HR as sysdba;
    Conn ahmed as sysdba;

    This three victory.


    This is my first question?


    the second, the

    well my if I'm wrong password file contain the user name, password and valves. all users, not just sys?


    the third party


    now, I delete the password file

    C:\Documents and Settings\ahmed.adel > sqlplus sys as sysdba

    SQL * more: Production version 11.2.0.1.0 on Sun Aug 12 00:39:31 2012

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

    Enter the password:

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the optio of partitioning, OLAP, Data Mining and Real Application Testing

    SQL > grant sysdba Ahmed;
    grant sysdba Ahmed
    *
    ERROR on line 1:
    ORA-01994: GRANT failed: password file missing or disabled

    When I delete the password file how can I connect with passwordfile?

    Thank you very much

    861100 wrote:
    Thank you very much for your answer, Yes, when I use the user see the the result is sys which is oki

    but can I use three connection (three windows and conn as sysdba) when I have tickets = 2?

    I have NO idea what you mean above.
    What is COPY & PASTE broken for you?

    >

    can you also me say how other users will connect to the database when isn't in the dba group and the password file is missing?

    The easiest way is to use SQL * Net as below:

    bcm@bcm-laptop:~$ sqlplus scott/tiger@v112
    
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Aug 11 15:56:30 2012
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    15:56:30 SQL> show user
    USER is "SCOTT"
    15:56:34 SQL> 
    

    where 'v112' is a valid entry in the tnsnames.ora file & listener is running on the Server DB system

    oracle@bcm-laptop:~$ lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-AUG-2012 15:57:37
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                11-AUG-2012 15:55:37
    Uptime                    0 days 0 hr. 2 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/bcm-laptop/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "v112" has 1 instance(s).
      Instance "v112", status READY, has 1 handler(s) for this service...
    Service "v112XDB" has 1 instance(s).
      Instance "v112", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@bcm-laptop:~$ lsnrctl service
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-AUG-2012 15:57:43
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "v112" has 1 instance(s).
      Instance "v112", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0 state:ready
             LOCAL SERVER
    Service "v112XDB" has 1 instance(s).
      Instance "v112", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:972 state:ready
             DISPATCHER 
             (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=19183))
    The command completed successfully
    oracle@bcm-laptop:~$ 
    
  • Sysdba role

    Hi all

    I'm triyng to give sysdba user. See the result:

    SQL > grant sysdba to tests;
    grant sysdba to tests
    *
    ERROR on line 1:
    ORA-01994: GRANT failed: password file missing or disabled

    SQL > show parameter remote_login_passwordfile;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    Remote_login_passwordfile string EXCLUSIVE

    Anyone know if need to change the init.ora or there another way?

    Thanks in advance.

    ABR,

    All the

    HUH?

    SQL> desc dba_roles
     Name                            Null?    Type
     ----------------------------------------- -------- ----------------------------
     ROLE                            NOT NULL VARCHAR2(30)
     PASSWORD_REQUIRED                        VARCHAR2(8)
     AUTHENTICATION_TYPE                        VARCHAR2(11)
    
    SQL> select role from dba_roles where role like 'SYS%';
    
    no rows selected
    

    READY, FIRE, AIM!

  • Oracle10G password file ignored

    Hello

    I have a strange problem. My DB 10 g has been configured to authenticate users via the OS. The PB resides on a Solaris machine. I want to include more users with sysdba privilege, I was unable to add the users that the DB has no password file.
    So, I changed the parameter REMOTE_LOGIN_PASSWORDFILE = EXCLUSIVE lock and restart the Instance.
    Then I added a Passsword file named "PWD < instname > .ora" usinf Orapwd command, even if the password file was created successfully.
    I'm unable to grant SYSDBA/SYSOPER privileges users according to the system

    ORA-01994: GRANT failed: password file missing or disabled.

    Thanks in adance for assistance.

    Kind regards
    Subrahmanya

    Published by: user4566776 on July 10, 2009 12:30 AM

    In Solaris, you must create a password with "orapw.ora" file using Orapwd utility.

    http://www.akadia.com/services/ora10_sol10_install.html

    Kind regards
    S.K.

    Published by: Santosh Kumar on July 10, 2009 13:04

  • CREATE a USER Oracle 12 c fails with ORA-01031 (insufficient privileges)

    I work with a client to start the test 12 c with an application.

    User logged into the database by using both "/ as sysdba" and "xxxxxxx/sys as sysdba.

    However, doing so CREATE USER someuser IDENTIFIED BY somepass;

    insufficient privileges ORA-01031 auto fails.

    I don't see an obvious reason why this does not work, and it works on my own system. Any ideas are appreciated.

    He said he was using a traditional database (no plug-in) wrong after previously created a pluggable.

    Daryl

    by chance, do you have database Vault (figure DVSYS) installed in your database? According to default manual installation program prevents you to create the user if data vault is configured.

    http://docs.Oracle.com/CD/B28359_01/server.111/b31222/DB_objects.htm

    Oracle Database Vault | Oracle database | Oracle

    Oracle Database Vault allows customers to avoid excesses in controlling the use of commands such as ALTER SYSTEM, ALTER USER, DROP USER, CREATE USER, etc.

    In addition, check this box

    "Create a user" gives ORA-01031: not sufficient privileges to user sys

  • access the web service WSDL (https) - ORA-29273: HTTP request failed

    I use 11g (11.2.0.1.0)

    I've already implemented a function that access a WSDL service, sending a XML request with answer. It is an HTTPS service and I had successfully setup the configuration of the ACL.
    Wallets and certificates were also imported according to the needs.
    However, it has stopped working and I get the following errors, which I can't find out why?

    ORA-29273: HTTP request failed
    ORA-06512: at "SYS." UTL_HTTP", line 1130
    ORA-12545: Connect failed because target host or object does not exist

    The same service works perfectly for an another database 11g...

    Any ideas?

    AndreasCon wrote:

    ORA-12545: Connect failed because target host or object does not exist

    This error means generally that the socket connect command failed, because the host name has not be resolved to an IP or IP connection failed.

    What is the URL that you use? It contains a host name? If so, how PL/SQL solves that one IP (use utl_inaddr.get_host_address () to determine that)?

    What is a valid IP address for the host? Connectivity to this IP address works of your Oracle (test using telnet on port https to IP) Server?

    Looks like on this server host name resolution is not working / configured correctly (saw that the code works on other servers).

  • The problem of Script root.sh - ora.asm and ASM and Clusterware battery failed

    People,

    Hello. I want to install Oracle 11 g RAC 2 using 2 VMs (rac1 and rac2) whose BONES are Oracle Linux 5.6 in VMPlayer according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html

    I'm installing network infrastructure. On step 9/10 - run script /u01/app/grid/root.sh for 2 virtual rac1 and rac2 machines.

    After running root.sh rac1 successfully. I run root.sh in rac2 and get an error like below:



    [grid root@rac2] #./root.sh
    Run the script root.sh from Oracle 11 g...

    The following environment variables are defined as:
    ORACLE_OWNER = ora11g
    ORACLE_HOME = / u01/app/grid

    Enter the full path of the local bin directory: [usr/local/bin]: usr
    Copying dbhome to usr...
    Copying oraenv to usr...
    Copying coraenv to usr...


    Creating/etc/oratab file...
    Entries will be added to the/etc/oratab file according to the needs of
    Assistant configuration database when a database is created
    Finished to turn the generic part of the root.sh script.
    Now root product-specific actions will be performed.
    2012-03-05 16:32:52: analyzing the host name
    2012-03-05 16:32:52: verification of superuser privileges
    2012-03-05 16:32:52: user has superuser privileges
    Using the configuration settings file: / u01/app/grid/src/install/crsconfig_params
    Create the trace directory
    ADD LOCAL MODE
    Creating OCR keys for the user "root", "root"... privgrp
    Successful operation.
    Adding to inittab demon
    CRS-4123: Oracle high availability Services started.
    starts ohasd
    CRS-4402: the CSS daemon has been started in mode exclusive, but found a CSS daemon that is active on node rac1, number 1 and ends
    An active cluster was found at the exclusive start, start to join the cluster
    CRS-2672: attempt to start 'ora.mdnsd' on 'rac2.
    CRS-2676: beginning of "ora.mdnsd", the successful "rac2"
    CRS-2672: attempt to start 'ora.gipcd' on 'rac2.
    CRS-2676: beginning of "ora.gipcd", the successful "rac2"
    CRS-2672: attempt to start 'ora.gpnpd' on 'rac2.
    CRS-2676: beginning of "ora.gpnpd", the successful "rac2"
    CRS-2672: attempt to start 'ora.cssdmonitor' on 'rac2.
    CRS-2676: beginning of "ora.cssdmonitor", the successful "rac2"
    CRS-2672: attempt to start 'ora.cssd' on 'rac2.
    CRS-2672: attempt to start 'ora.diskmon' on 'rac2.
    CRS-2676: beginning of "ora.diskmon", the successful "rac2"
    CRS-2676: beginning of "ora.cssd", the successful "rac2"
    CRS-2672: attempt to start 'ora.ctssd' on 'rac2.
    Start action for octssd abandoned
    CRS-2676: beginning of "ora.ctssd", the successful "rac2"
    CRS-2672: attempt to start 'ora.drivers.acfs' on 'rac2.
    CRS-2672: attempt to start 'ora.asm' on 'rac2.
    CRS-2676: beginning of the 'ora.drivers.acfs' on 'rac2' succeeded
    CRS-2676: beginning of "ora.asm", the successful "rac2"
    CRS-2664: resource 'ora.ctssd' is already running on "rac2.
    CRS-4000: Start command has failed, or completed with errors.
    Return code of 1 (256) of control: / u01/app/grid/bin/crsctl start resource ora.asm - init
    Beginning of the resource ' ora.asm - init ' failed
    Could not start ASM
    The Oracle Clusterware boot failure battery
    [grid root@rac2] #.



    As seen above, the output at the end of the exit
    (1) beginning of resource ora.asm - init failed
    (2) could start ASM
    (3) could start Oracle Clusterware battery

    The runInstaller is in the first VM rac1. My question is:

    Any folk that understand how to solve the root.sh script in problem rac2 (3 fails to ora.asm, ASM and Clusterware battery as stated above)?


    Thank you.

    Please check there is no firewall don't exist:

    Try this as:
    root.sh fails on the second node

    Note MOS:

    Grid 11 GR 2: root.sh fails to start the Clusterware on the second node due to the firewall on the private network [981357.1 ID]

    Infrastructure 11.2.0.2 grid or upgrade installation may fail because of the requirement of multicast [1212703.1 ID] (most probabily this problem)

Maybe you are looking for

  • Block diagram of... block diagram

    Hi, I need your help. IM the wrong person for this post, but I have to do, so I depend on your help. I need to explain how LabView (pasted below) program works, but I don't understand it myself I would like to ask if someone can create a simplified b

  • How to scan in Windows 8? Video

    Here is a video that will show you how to scan in Windows 8 by using the HP software.  Enjoy. Scanning with HP on Windows 8 software

  • Usefulness of the right temperature for Vista Home Premium

    I'm checking the temperature on my Vista Home Premium, so I need some suggestions... And what do I really get a temp on the subject and what should be a good temp reading?

  • Power on password for compaq 6910p

    How will I know what the power on password is for a Compaq laptop 6910p

  • BlackBerry Smartphones Internet access problems.

    Hello everyone, I'm new to the forum and just bought my first Blackberry, it's the 8120 pearl on the Orange uk network.  I had the phone for a week now and just can't go on the internet when I try to access, say Yahoo, this message came "this is a Wi