Connected to auxiliary database (not started)

Hello! I'm establishing Data Guard on Oracle 11g (x64). OS - CentOS 6.6 x86_x64.
The problem occurs when i'm trying to connect from my primary db to standby.
I expect:
connected to auxiliary database (not mounted)
but getting
not started
And when i'm trying to:
duplicate target database for standby nofilenamecheck dorecover;
I get an expected error:
Starting Duplicate Db at 17-MAR-15
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/17/2015 01:04:49
RMAN-06403: could not obtain a fully authorized session
RMAN-04006: error from auxiliary database: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
I also read simular topic:
Creating a duplicated database from active database
but i check several times my listener.ora on standby, and i can't figure out where the problem lies.
Actions that preceded the appearance of the error:
The main base is loaded by default (startup)
StandBy base loaded without mount (startup nomount)
On the main launch from the terminal «rman target /»
Command «connect auxiliary sys@orclstandby»
Password (sys)
Got: connected to auxiliary database (not started)
Here is my configuration files:
Primary:
tnsname:
orclprimary =
  (DESCRIPTION =
   (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11centos.com)(PORT = 1521))
   (CONNECT_DATA =
   (SERVER = DEDICATED)
   (SERVICE_NAME = orcl.com)
orclstandby =
  (DESCRIPTION =
   (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.115)(PORT = 1521))
   (CONNECT_DATA =
   (SERVER = DEDICATED)
   (SERVICE_NAME = orclstandby.com)
   (SID_NAME = orcl)
  pfileORCL.ora
orcl.__db_cache_size=301989888
orcl.__java_pool_size=4194304
orcl.__large_pool_size=4194304
orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=314572800
orcl.__sga_target=469762048
orcl.__shared_io_pool_size=0
orcl.__shared_pool_size=150994944
orcl.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
*.db_block_size=8192
*.db_domain='com'
*.db_name='orcl'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=4070572032
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.memory_target=784334848
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
db_unique_name='orclprimary'
log_archive_config='dg_config=(orclprimary,orclstandby)'
log_archive_dest_1='SERVICE=orclstandby LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=orclstandby'
log_archive_dest_2='LOCATION=/u01/app/oracle/oradata/orcl/archive VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclprimary'
log_archive_dest_state_1=ENABLE
log_archive_dest_state_2=ENABLE
fal_client='orclprimary'
fal_server='orclstandby'
standby_file_management='AUTO'
StandBy
tnsname
orclstandby =
  (DESCRIPTION =
   (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11standby2centos.com)(PORT = 1521))
   (CONNECT_DATA =
   (SERVER = DEDICATED)
(SERVICE_NAME = orclstandby.com)
orclprimary =
  (DESCRIPTION =
   (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.101)(PORT = 1521))
   (CONNECT_DATA =
   (SERVER = DEDICATED)
(SERVICE_NAME = orcl.com)
listener
SID_LIST_LISTENER =
(SID_LIST =
  (SID_DESC =
   (GLOBAL_DBNAME = orclstandby.com)
  (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1/)
(SID_NAME = orcl)
LISTENER =
(DESCRIPTION_LIST =
   (DESCRIPTION =
   (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
   (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11standby2centos.com)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
pfileORCL.ora
orcl.__db_cache_size=301989888
orcl.__java_pool_size=4194304
orcl.__large_pool_size=4194304
orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=314572800
orcl.__sga_target=469762048
orcl.__shared_io_pool_size=0
orcl.__shared_pool_size=150994944
orcl.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
*.db_block_size=8192
*.db_domain='com'
*.db_name='orcl'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=4070572032
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.memory_target=784334848
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
db_unique_name='orclstandby'
log_archive_config='dg_config=(orclprimary,orclstandby)'
log_archive_dest_1='SERVICE=orclstandby LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=orclprimary'
log_archive_dest_2='LOCATION=/u01/app/oracle/oradata/orcl/archive VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclstandby'
log_archive_dest_state_1=ENABLE
log_archive_dest_state_2=ENABLE
fal_client='orclstandby'
fal_server='orclprimary'
standby_file_management='AUTO'
Where I did wrong?

Thanks for the quick reply!
Primary:
sqlplus sys/<password>@orclstandby as sysdba
Result:
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 17 09:01:29 2015
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to an idle instance.
SQL>
sqlplus sys/<password>@orclprimary as sysdba
Result:
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 17 09:28:21 2015
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Standby
sqlplus sys/<password>@orclstandby as sysdba
Result:
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 17 09:08:37 2015
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to an idle instance.
SQL>
sqlplus sys/<password>@orclprimary as sysdba
Result:
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 17 09:10:22 2015
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor

Similar Messages

  • RMAN saying database not started??

    Hi there,
    If I log into my database through OEM, it connects fine.
    Through Unix, I set my SID and type in:
    rman target /
    It connects me to rman but says: connected to target database (not started)
    I then try and run a crosscheck archivelog all and it says this:
    Erro message stack....
    failure of crosscheck command
    automatic channel allocation initialization failed
    could not obtain a fully authorized session
    ORACLE not available
    shared memory realm does not exist
    Linux Error: No such file or directory.
    Any thoughta on what is going on here?
    Thanks in advance!

    herb:oradbp2 ~$ id
    uid=500(herb) gid=501(dba) groups=501(dba)
    herb:oradbp2 ~$ env | sort
    _=/bin/env
    DISPLAY=oradbp2.lilydale:33
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/herb
    HOSTNAME=oradbp2.lilydale
    INPUTRC=/etc/inputrc
    KDEDIR=/usr
    LANG=en_US
    LD_ASSUME_KERNEL=2.4.19
    LD_LIBRARY_PATH=:/d01/app/oracle/9ise/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=herb
    LS_COLORS=no=00:fi=00:di=00;33:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/herb
    ORACLE_BASE=/d01/app/oracle
    ORACLE_HOME=/d01/app/oracle/9ise
    ORACLE_SID=LSDB
    PATH=/d01/app/oracle/9ise/bin:/d01/app/oracle/9ise/OPatch:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/herb/bin
    PWD=/home/herb
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=::ffff:10.1.6.200 50766 22
    SSH_CONNECTION=::ffff:10.1.6.200 50766 ::ffff:10.1.0.193 22
    SSH_TTY=/dev/pts/1
    TERM=xterm
    USER=herb
    herb:oradbp2 ~$ ps -ef | grep -i pmon
    herb 1934 1 0 2010 ? 00:02:32 ora_pmon_lsdb
    herb 3984 3359 0 11:06 pts/1 00:00:00 grep -i pmon
    herb:oradbp2 ~$ ls -l $ORACLE_HOME/dbs
    total 18960
    lrwxrwxrwx 1 herb dba 53 Dec 4 2008 initanalyzer.ora -> /d01/app/oracle/admin/analyzer/pfile/initanalyzer.ora
    lrwxrwxrwx 1 herb dba 49 Nov 12 2008 initcit1p1.ora -> /d01/app/oracle/admin/cit1p1/pfile/initcit1p1.ora
    lrwxrwxrwx 1 herb dba 45 Oct 25 2008 initlsdb.ora -> /d01/app/oracle/admin/lsdb/pfile/initlsdb.ora
    lrwxrwxrwx 1 herb dba 45 Nov 22 2008 initpvsp.ora -> /d01/app/oracle/admin/pvsp/pfile/initpvsp.ora
    lrwxrwxrwx 1 herb dba 43 Nov 12 2008 initrep.ora -> /d01/app/oracle/admin/rep/pfile/initrep.ora
    -rw-rw---- 1 herb dba 24 Dec 13 2008 lkANALYZER
    -rw-rw---- 1 herb dba 24 Dec 12 2008 lkCIT1P1
    -rw-rw---- 1 herb dba 24 Dec 9 2008 lkKRON43
    -rw-rw---- 1 herb dba 24 May 18 2010 lkLSDB
    -rw-rw---- 1 herb dba 24 Dec 13 2008 lkPVSP
    -rw-rw---- 1 herb dba 24 Dec 12 2008 lkREP
    -rwSr----- 1 herb dba 2048 Dec 4 2008 orapwanalyzer
    -rwSr----- 1 herb dba 2048 Nov 12 2008 orapwcit1p1
    -rwSr----- 1 herb dba 2048 Nov 25 2008 orapwkron43
    -rwSr----- 1 herb dba 1536 Oct 25 2008 orapwlsdb
    -rwSr----- 1 herb dba 2048 Nov 22 2008 orapwpvsp
    -rwSr----- 1 herb dba 2048 Nov 12 2008 orapwrep
    -rw-rw---- 1 herb dba 4718592 Mar 10 2009 p1k9ipga_1_1
    -rw-rw---- 1 herb dba 1630208 Dec 12 2008 snapcf_analyzer.f
    -rw-rw---- 1 herb dba 1630208 Dec 11 2008 snapcf_cit1p1.f
    -rw-rw---- 1 herb dba 1679360 Dec 9 2008 snapcf_kron43.f
    -rw-rw---- 1 herb dba 6397952 Jan 16 18:27 snapcf_lsdb.f
    -rw-rw---- 1 herb dba 1630208 Dec 12 2008 snapcf_pvsp.f
    -rw-rw---- 1 herb dba 1630208 Dec 11 2008 snapcf_rep.f
    -rw-rw---- 1 herb dba 2560 Oct 25 2008 spfilelsdb.ora.bak

  • Error RMAN connection to auxiliary database ORA- 12514

    Hi,
    I'm trying to make a clone of my database in another server but when I'm trying to connect as follow the RMAN return
    to me the error ORA-12514.
    C:\Documents and Settings\joses.morales>rman TARGET sys/pass@iswgen nocatalog
    AUXILIARY sys/[email protected]
    Recovery Manager: Release 8.1.7.4.1 - Production
    RMAN-06005: connected to target database: ISWGEN (DBID=2348350645)
    RMAN-06009: using target database controlfile instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    For more information:
    - the auxiliary database is started whit nomount option.
    - this is my listener.ora in the auxiliary host
         LISTENER =
         (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
         SID_LIST_LISTENER =
         (SID_LIST =
         (SID_DESC =
         (GLOBAL_DBNAME = oracle8)
         (ORACLE_HOME = C:\oracle\ora81)
         (SID_NAME = iswgen)
         (SID_DESC =
         (GLOBAL_DBNAME = oracle8)
         (ORACLE_HOME = C:\oracle\ora81)
         (SID_NAME = oracle8)
    - this is my tnsnames.ora in the auxiliary host
         ISWGEN =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = iswgen)
         ORACLE8 =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = oracle8)
    - this is my tnsnames.ora in the target host
    iswgen =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gdcoracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = iswgen)
         iswgen.wssp61 =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = iswgen)
    - target server: gdcoracle
    - auxiliary server: wssp61
    - global name in auxiliary: Oracle8
    - intances in auxiliary: Oracle8 & Iswgen
    I was expecting the follow message:
    connected to target database: ISWGEN (DBID=519338572)
    using target database control file instead of recovery catalog
    connected to auxiliary database: ISWGEN.WSSP61 (not mounted)
    Can anybody help me to resolve this error ORA-12514??
    Thanks

    I'm try to connect to the auxiliary server at SQLPLUS and I get the follow:
    C:\Documents and Settings\joses.morales>sqlplus /nolog
    SQL*Plus: Release 8.1.7.0.0 - Production on Sex Jun 1 12:26:09 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    SQL> conn sys@iswgen
    Informe a senha:
    ERROR:
    ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
    descitor de conexao
    SQL> conn sys@iswgen as sysdba
    Informe a senha:
    ERROR:
    ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
    descitor de conexao
    SQL> conn internal as sysdba
    Conectado.
    SQL>
    Any sugestions?
    Thanks everyone and regards

  • Error while connecting to  Auxiliary Database

    Hi
    I am practicing Cloning the database on my Personal Computer. I am following the steps outlined here
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
    But while connecting to Auxiliary database I get this error.
    RMAN - 04006 Error from auxiliary database: ORA 12514 TNS: listener does not currently know of service requested in connect descriptor
    RMAN - 00554 initialization of internal recovery manager package failed...
    what is the solution for this?
    This is 10g database and my PC has Opensuse 11 OS
    I think the problem is in configuring listener. But I am following the instructions given in that page....

    You probably skipped this part
    Next add the appropriate entries into the tnsnames.ora and listener.ora files in the $ORACLE_HOME/network/admin directory. Remember to load the new configuration into the listener:
    Which is why you are getting the error. The database needs to register itself with the listener. This doesn't happen in nomount mode.
    Other than that: there is an option in database control to duplicate a database in 10g. Using that you only need to hit buttons. Why are you using 9i code and policies?
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle Database Not Starting Up Properly

    On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. I kinda figured that I wouldn't run into the exact same issue on Oracle VM. I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still here. I didn't find anything in this forum about the database not starting up, so I'm wondering if others are running into the same problem and how to resolve the issue. Thanks a bunch for your help.

    keithrust wrote:
    On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. Hmmm, doing it several time, and never seen such issue. Which "known issue" and by who are you talking about ?
    I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still hereI'm sure, you miss something somewhere in the config. Right now, you're on supported configuration, you could either raise a SR to the support, or get help from your peer on Oracle Database General forum.
    Ah, but it's not a Windows issue. On a non-VM Windows box the database starts just fine all the time. Again, this is a known issue acknowledged by Oracle on the VMware side, I'm just surprised it exists on the Oracle VM side.Again, give more details about this "known issue". Never heard about that, eventhough I've been around for years.
    I was afraid you were going to ask that. I'll have to search for it again, but I think you can do the same as well....Well, I doubt you could find a Metalink note about Oracle on VMWare. So far, Oracle has always refused to support database on OS virtualized on VMWare (or any VM software other than Oracle VM). Based on that, you could be sure, your "known issue" is not an issue on Oracle VM.
    If you want more help, again, give more details about your issue.
    Nicolas.

  • When I connect the iphone does not start automatically Itunes Please help me

    when I connect the iphone does not start automatically Itunes
    Please help me
    How to solve this problem that I have

    i've had a few issues like this.
    I've found that it is an issue with items that are already on your phone.
    several troubleshoots. 
    1) uncheck everything from syncing (apps, music, tv shows, movies, podcasts, etc), try to perform a sync, it most likely will work.  Then, sync after checking each item individually (check the sync box for videos, then sync, check the sync box for podcasts, then sync, check the sync box for music, then sync, etc).  One of two things will happen, 1) you will fix the problem, or 2) you will identify exactly what part of the sync setup is the culprit.
    2) if the above doesn't work, I've found that it is likely an issue with files that are on your phone but your phone doesn't exaclty recognize (for example, I had copies of music on my phone that didn't show up in the music app, I went in on itunes and manually deleted those songs from my phone and that fixed the sync).  to do this, check the "manually manage music and videos" box at the bottom of "summary" while your phone is connected to itunes.  Then, go to the left hand pane in itunes and find your iphone device, click the drop-down arrow that shows all the categories for media on your iphone.  Go to the music category in your iphone on itunes and delete all the music that shows up.  Try to perform a sync - it likely will work.  After this, you can uncheck the manually manage music box and re-sync your phone as normal
    let me know if either works

  • Unable to connect to datasource:(database not running)

    I was running this example Car Application.
    I downloaded SQL Studio and wanted to check if the db tables are created or not.
    Tried to open through SQL studio but got the following exception as a pop-up:
    <b>
    [SAP-AG][SQLOD32 DLL][SAP DB]unable to connect to datasource:(database not running).return-code:SQL_ERROR(-709)</b><i></i>
    I believe my J2EE engine is running fine with all the three boxes in green.
    Does anyone went through this kind of situation?
    Please help me in this regards.
    Thanks
    -Sudheer

    Nitzan,
    Thanks for the reply.
    To be honest, I didnt understand what u meant.Iam a beginner trying to learn N/W though Iam in J2EE for a long while.
    Here is what I have done so far:
    Installled WAS with developer studio ran this Car rental application.While doing this I installed SQL studio to check if the tables r created or not.
    I dont have any back end database like oracle or SQL server installed.The car application example documentation doesnt say so.
    This is what I have given in persistant.xml:
    Datasource Name:CAR_RENTAL_POOL
    Database Vendor: SAPDB
    I dont have visual admin installed.
    Please let me know if this makes any sense.
    And also there is another problem with car reservation application:
    The application seems to running fine except withe the saving part:
    when I tried to add a car reservation, there is no response , it's not getting added to the DB.There are no error messages on screen. The screen is same before and after.
    Any help would be greatly greatly appreciated.
    Thanks

  • When I plug in my iphone5 or iPad into my Mac I get the message iTunes could not connect the service did not start properly on this device

    when I plug in my iphone5 or iPad into my Mac I get the message iTunes could not connect the service did not start properly on this device

    If you are using Windows 7, go to:
    Control Panel>Programs>Programs and Features
    Look for a program called 'Apple Mobile Device Support'
    Right-click on it
    Click 'repair'
    Wait until the repair operation is complete, and voila, your problem should be solved, itunes will recognise your iphone/ipod once more. This worked for me.

  • Oracle 9i database not starting

    Dear all,
    need ur help. i have installed oracle9i on wndows xp. then i stoped all the services for 9i. n i installed oracle 10g also.
    My problem is that bothy database servies are their and they are automatic.
    10 g Database is starting automatically. but 9i database instance is not opeing automatically.
    i tried STARTTYPE the opetion of oradim also but its not working.
    tell me how to start the 9i database automatically.
    regds
    Ashish

    most likely while installation you might have given a different port no.As a result oracle has ultimately landed up with having more than one listener.And some times I have seen after installation the previous listener does not get started.So I would like to you to check your listener.
    One more point while 2nd installtion you might have changed your oracle home.so while trying to connect to prev instance try using sqlplus from previous oracle_home\bin\.

  • ORA-01031 WHEN CONNECTING TO AUXILIARY DATABASE

    Hi
    i am currently trying to to create a standby database using RMAN using the ORACLE RMAN Backup and recovery book.
    I get the ORA-01031 when i connect to the auxiliary database.
    i do the following:
    RMAN> connect target sys/password@primary
    connected to target
    RMAN > connect auxiliary sys/password@aux1
    ORA-01031.............insufficient privileges
    obviously the database aux1 hasnt been created yet but i have configured the tns and listener and both work fine, also created a password file and created a pfile from the spfile in the primary database as instructed by the book. I also started the aux1 database in nomount mode as well.
    does any one have any ideas where i maybe going wrong?
    thanks

    conn sys/pwd@aux1 as sysdba ,what happens to this
    in sqlplus
    add an entry to your TNSNAMES.ora
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    We dont need this entry this is for OS authenicarion sorry
    then try again
    Version and OS?
    Message was edited by:
    Maran Viswarayar
    Message was edited by:
    Maran Viswarayar

  • Oracle Database not starting ORA-01034: ORACLE not available and ORA-27101

    Dear Sir,
    today i have restarted the database server (11gR2) after that database service is not starting, the error message is
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0

    [oracle@bladb ~]$ export $ORACLE_HOME
    -bash: export: `/oracle/product/11.2.0/dbhome_1': not a valid identifier
    [oracle@bladb ~]$ sqlplus sys/manager as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri May 3 17:46:28 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    [oracle@bladb ~]$ tail -20 /oracle/product/11.2.0/dbhome_1/startup.log
    SQL> Connected to an idle instance.
    SQL> ORA-00845: MEMORY_TARGET not supported on this system
    SQL> Disconnected
    /oracle/product/11.2.0/dbhome_1/bin/dbstart: Database instance "bladb" warm started.
    /oracle/product/11.2.0/dbhome_1/bin/dbstart: Starting up database "bladb"
    Fri May 3 17:40:24 IST 2013
    SQL*Plus: Release 11.2.0.1.0 Production on Fri May 3 17:40:24 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORA-00845: MEMORY_TARGET not supported on this system
    SQL> Disconnected
    /oracle/product/11.2.0/dbhome_1/bin/dbstart: Database instance "bladb" warm started.

  • Database not starting automatically

    OS windows 2000 server
    database 8i
    I have changed sid of database successfully and manually database is opening up but it is not starting up automatically with machine startup.

    While changing SID of database I have deleted the service and recreated it with
    ORADIM utility .
    -startmode a
    I have even edited the service but of no use .database is not starting up .
    As I have mentioned above oracle service has been started successfully and it is running in auto mode.
    One more problem I am facing after change of SID ,I can to database with user sys
    but when I am trying to connect as normal user I am getting error:
    ORA-03113: end-of-file on communication channel

  • VDI 3.0 installation problems - VDI database not starting

    Hi
    I am trying to install VDI 3.0 (released yesterday) on a Sun Fire X2200 server, running Solaris 10u6. The package installation runs just fine, but I can't get VDI configured properly. When running the vdi-config program, I choose to set up a evaluation VDI host, and then everything runs fine until it reaches the "Starting Sun VDI database (MySQL)" point. It hangs there for a couple of minutes, before simply stating "Failed". The configuration program also prints out the following in the end of the run:
    Common Agent Container Configuration
       + Restarting Common Agent Container service...
    Error when trying to start SMF service: [svc:/application/management/common-agent-container-1:default].
    Please check the SMF log file for more information: [/var/svc/log/application-management-common-agent-container-1:default.log].This seems to be because the common-agent-container-1 service depends on vdadb:sql running, which it fails to.
    If I try to start vdadb:sql manually after the configuration (using svcadm clear vdadb:sql), the following is put into the services log, and the service is still in maintenance mode:
    [ Mar 25 15:16:19 Executing start method ("/opt/SUNWvda/lib/vda-db-service start") ]
    Configuration:                                                                     
       MGMT_NODE=[1]; NDBD_NODE=[1]; SQL_NODE=[1]; MULTI_HOST_MODE=[0];                
       NDBD_CONNECTSTRING=[localhost]; NDBD_INITIAL_ARG=[--initial]; NDBD_NODE_ID=[2]; 
    Starting the Sun Virtual Desktop Infrastructure Database service:                  
       - Starting Management Node... OK                                                
       - Starting Data Node...                                                         
         Arguments: [localhost --initial]...                                           
         Error                                                                         
    [ Mar 25 15:21:26 Method "start" exited with status 95 ]I can't seem to get any further debug messages, and I can't find out how to go any further with this, as "Failed" and "Error" seems to be the only error messages I get.
    As far as I can see, the error message is coming from the "waitForNdbdNodeStartup" function on line 296 of /opt/SUNWvda/lib/vda-db-service, but I can't really get any nearer than that.
    Does anybody know how to get further in this regard?
    /Jeppe

    Hi, I have been reading and trying the solutions on this post to no avail ... as this post is still open and it seems like the subject still applies to my problem, I am using this one... the case is:
    I am trying to setup an evaluation for vdi3 using several machines, 1 for the vdi core, 2 for the secondaries and another one as the storage server. the main and one secondary installed and got configured fine, but the second secondary is failing and I dont know why, I just unconfigured and uninstalled it and did reinstalled and reconfigured it again, but something went wrong, I havent
    touched anything except changing the 300 to 16 in the ini file ...
    bash-3.00# /opt/SUNWvda/sbin/vda-config
    Sun Virtual Desktop Infrastructure 3.0 Configuration
    An Evaluation Sun VDI Host configures all necessary components on one server.
    1 Primary Sun VDI Host
    2 Secondary Sun VDI Host
    0 Evaluation Sun VDI Host
    Select (1/2/0): 2
    Specify the maximum number of concurrent sessions this host will support [100]: 20
    There are as many local users created as the maximum number of concurrent sessions defined.
    Enter the user ID range start [150000]: 20000
    Enter the DNS name of the primary host: holanda
    Enter the DNS name of this host [ghana]:
    You can use the MySQL database of the Sun VDI cluster or connect to a remote MySQL database.
    1 Sun VDI cluster database
    2 Remote database
    Select ([1]/2):
    Do you want to apply the settings? ([y]/n)
    Sun Ray Server Software Configuration
    + Providing configuration data...
    + Loading Sun Ray data store...
    + Populating Sun Ray data store...
    + Creating Sun Ray core services configuration...
    + Restarting Sun Ray data store daemon...
    + Configuring Sun Ray Server Software Web Administration...
    + Adding 20 user accounts for Sun Ray sessions...
    Sun Ray Client Configuration
    + Enabling Kiosk Mode Policy for All Card and Non-Card Users...
    + Enabling LAN Connections...
    + Configuring Sun Ray Connector for Windows Operating Systems...
    + Restarting Sun Ray Server Software...
    MySQL Database Configuration
    + Creating MySQL group (vdadb)...
    + Creating MySQL user (vdadb)...
    + Setting up MySQL directory...
    + Setting up MySQL cluster directory...
    + Initializing database...
    + Starting Sun VDI database (MySQL)...
    Failed.
    + Synchronizing time...
    Sun VDI Web Administration Configuration
    + Enabling Sun VDI web administration...
    + Restarting Sun VDI web administration...
    RDP Broker Configuration
    + Starting RDP broker...
    Common Agent Container Configuration
    + Restarting Common Agent Container service...
    Error when trying to start SMF service: [svc:/application/management/common-agent-container-1:default].
    Please check the SMF log file for more information: [var/svc/log/application-management-common-agent-container-1:default.log].
    The configuration of Sun VDI 3.0 has completed.
    A log file is available at '/var/adm/log/vda-config.2009_04_13_09:00:44.log'.
    The command line tools are located at '/opt/SUNWvda/sbin'.
    You can access the Sun VDI web administration at http://ghana:1800
    the log shows:
    bash-3.00# tail -30 /var/svc/log/application-database-vdadb:core.log
    Configuration:
    MGMT_NODE=[0]; NDBD_NODE=[1]; SQL_NODE=[0]; MULTI_HOST_MODE=[1];
    NDBD_CONNECTSTRING=[holanda]; NDBD_INITIAL_ARG=[--initial]; NDBD_NODE_ID=[2];
    Starting the Sun Virtual Desktop Infrastructure Database service:
    - Starting Data Node... 2009-04-13 08:37:47 [ndbd] INFO -- Unable to alloc node id
    2009-04-13 08:37:47 [ndbd] INFO -- Error : Could not alloc node id at holanda port 1186: No free node id found for ndbd(NDB).
    error=2350
    2009-04-13 08:37:47 [ndbd] INFO -- Error handler restarting system
    2009-04-13 08:37:47 [ndbd] INFO -- Error handler shutdown completed - exiting
    sphase=0
    exit=-1
    Arguments: [holanda --initial ]...
    Error (255)
    [ Apr 13 08:37:47 Method "start" exited with status 95 ]
    [ Apr 13 09:04:02 Disabled. ]
    [ Apr 13 09:04:02 Rereading configuration. ]
    [ Apr 13 09:04:02 Rereading configuration. ]
    [ Apr 13 09:04:03 Rereading configuration. ]
    [ Apr 13 09:04:03 Enabled. ]
    [ Apr 13 09:04:03 Executing start method ("/opt/SUNWvda/lib/vda-db-service start") ]
    Configuration:
    MGMT_NODE=[0]; NDBD_NODE=[1]; SQL_NODE=[0]; MULTI_HOST_MODE=[1];
    NDBD_CONNECTSTRING=[holanda]; NDBD_INITIAL_ARG=[--initial]; NDBD_NODE_ID=[2];
    Starting the Sun Virtual Desktop Infrastructure Database service:
    - Starting Data Node...
    Arguments: [holanda --initial ]...
    Error
    [ Apr 13 09:11:33 Method "start" exited with status 95 ]
    bash-3.00#
    bash-3.00# svcs -l svc:/application/database/vdadb:corefmri svc:/application/database/vdadb:core
    name SUNWvda MySQL Cluster and Application
    enabled true
    state maintenance
    next_state none
    state_time Mon Apr 13 09:11:33 2009
    logfile /var/svc/log/application-database-vdadb:core.log
    restarter svc:/system/svc/restarter:default
    contract_id
    dependency require_all/none svc:/milestone/network:default (online)
    dependency require_all/none svc:/system/filesystem/local:default (online)
    dependency require_all/refresh svc:/milestone/name-services (online)
    bash-3.00# svcs -a|grep vda
    legacy_run 8:58:36 lrc:/etc/rc3_d/S99vda-webadmin-init
    disabled 9:04:02 svc:/application/database/vdadb:sql
    maintenance 9:11:33 svc:/application/database/vdadb:core
    bash-3.00# cacaoadm status
    default instance is ENABLED at system startup.
    default instance is not running.
    bash-3.00# /opt/SUNWvda/sbin/vda-db-status
    Node Type IP/HostName Id Status
    Management node holanda 1 up
    Data node ghana 2 down
    Data node paraguay 3 up
    as I said, the only thing I changed is the value for the redo files, as suggested in one of the replies above.
    This is the second time I uninstall/unconfigure this server and start over (config/install)
    this is a newly installed Sol10 U6 system:
    bash-3.00# uname -a
    SunOS ghana 5.10 Generic_138889-03 i86pc i386 i86pc
    bash-3.00# prtconf
    System Configuration: Sun Microsystems i86pc
    Memory size: 8064 Megabytes
    System Peripherals (Software Nodes):
    bash-3.00# prtdiag | head -10
    System Configuration: Sun Microsystems Sun Fire X4100 Server
    BIOS Configuration: American Megatrends Inc. 080010 01/31/2006
    BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)
    ==== Processor Sockets ====================================
    Version Location Tag
    AMD Opteron(tm) Processor 254 H0
    AMD Opteron(tm) Processor 254 H1
    bash-3.00# swap -s
    total: 876688k bytes allocated + 405180k reserved = 1281868k used, 8752988k available
    help is appreciated.

  • Connecting to Oracle Database - Not Connecting

    I am new to JAVA and for the first time I am trying to connect to an Oracle data using JAVA. Well, I am getting an error when trying to connect to the database. What I can see the error has to do that the strings passed to make the databases connection are NULL. So, an error (see error below).
    Question
    How come the "connection" varriable is NULL?
    It appears that the hold "try" session is not executed. Is this session out of order?
    ERROR
    Could not find the database connection: null
    Database connection before call: null
    Exception in thread "main" java.lang.NullPointerException
         at TestOCIApp.main(TestOCIApp.java:39)
    ========= JAVA Program START =======
    //import java.sql.*;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class TestOCIApp {
    public static void main(String args[]) throws ClassNotFoundException,
    SQLException {
         Connection connection = null;
         try {
         // Load the JDBC driver
         String driverName = "oracle.jdbc.driver.OracleDriver";
         Class.forName(driverName);
         // Create a connection to the CCMS PROD database
         String serverName = "192.168.2.144";
         String portNumber = "1521";
         String sid = "op01ccdb01";
         String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
         String username = "user-id";
         String password = "password";
         connection = DriverManager.getConnection(url, username, password);
         System.out.println("connection value: " + connection);
         } catch (ClassNotFoundException e) {
         // Could not find the database driver
              System.out.println("Could not find the database connection: " + connection);
         } catch (SQLException e) {
         // Could not connect to the database
              System.out.println("Could not connect to the database connection: " + connection);
         System.out.println("Database connection before call: " + connection);
         Statement stmt = connection.createStatement();
    ResultSet rset = stmt.executeQuery("select 'Hello OCI driver tester '||USER||'!' result from dual");
    while (rset.next())
    System.out.println(rset.getString(1));
    rset.close();
    stmt.close();
    connection.close();
    ========= JAVA Program END =========

    The try section is being executed just fine but only partially because you get the exception "ClassNotFoundException", which means it cannot load the Oracle driver class (so it fails at the line where it says):
    Class.forName(driverName);You catch this exception, and then just print a line "Could not find the database connection: null". Then you let the code continue, obviously without having initialized your variables yet.
    I would recommend rewriting those catch blocks to throw a new RuntimeException so the code will not continue further when an error is detected in the try, or to not catch them not all if you donot want to handle them there in a proper fashion.
    As to your problem, you probably have not added the ojdbc14.jar to your project, and that's why it cannot find the OracleDriver class.
    Finally, try to add {noformat}{noformat} around your code when you post code.  It makes it a lot more readable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle database not starting up in oracle 10g RAC

    Hi!
    Recently I came across one problem with one node oracle 10g RAC.When the Oracle database is started,while opening it is giving ORA-03113:End of file on communication channel error.When I saw the the alert trace file and other trace files I found Disk group is exhausted error and it is not able to create .dbf files.Actually it is not a production server and I gave archive log destination in SAN.Even the spfile(content of init_database.ora) is in SAN..
    I tried Asmcmd utility to delete the archive log files.As the oracle is not available I am not able to asmcmd prompt.
    How to change the destination of archive log and to remove the old archive log files(as it is a testing environment we can remove) from SAN?Please let me know.
    Thanks & Regards
    Srikanth MVS

    keithrust wrote:
    On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. Hmmm, doing it several time, and never seen such issue. Which "known issue" and by who are you talking about ?
    I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still hereI'm sure, you miss something somewhere in the config. Right now, you're on supported configuration, you could either raise a SR to the support, or get help from your peer on Oracle Database General forum.
    Ah, but it's not a Windows issue. On a non-VM Windows box the database starts just fine all the time. Again, this is a known issue acknowledged by Oracle on the VMware side, I'm just surprised it exists on the Oracle VM side.Again, give more details about this "known issue". Never heard about that, eventhough I've been around for years.
    I was afraid you were going to ask that. I'll have to search for it again, but I think you can do the same as well....Well, I doubt you could find a Metalink note about Oracle on VMWare. So far, Oracle has always refused to support database on OS virtualized on VMWare (or any VM software other than Oracle VM). Based on that, you could be sure, your "known issue" is not an issue on Oracle VM.
    If you want more help, again, give more details about your issue.
    Nicolas.

Maybe you are looking for

  • Ebusiness Suite SDK for Java session management

    Hi, I am trying to try sample java application mentioned in Oracle® E-Business Suite Software Development Kit for Java Release 11i and 12 Part No. E28169-02 Current version i am trying is Jdeveloper 11.1.1.4.0 and Ebiz suite 12.1.3 able to create App

  • Package/class which gives currency exchange rates

    Is there any package /class in Java which gives the current currency exchange rate ? If not how can this be achieved?

  • How to read data with different XML schemas within the single connection?

    I have Oracle 11g database I access it through jdbc:oracle:thin, version 11.2.0.3, same as xdb. I have several tables, each has one XMLType column, all schema-based. There are three different XML schemata registered in the DB I may need to read the X

  • Jsp form + servet =nullpointer

    Hi everyone, I'm trying to make a form using a servlet to insert the data from the jsp form into my database. What im using was from an example i found online. All i'm trying to do right now is declare a string with the req.getParameter("textdemo");

  • Uploading Images to Picasa - they appear lighter

    When I upload images from Aperture to Picasa the images on Picasa appear to be somewhat lighter than the original in Aperture. The photos on Picasa appear to be overexpoxed by about 0.5 EV. I save my images in Aperture in RAW format. Can the conversi