Unable to connect to Auxiliary instance using connect string

Hi All
I am trying to setup Data guard on 11G Release 2 OS : OEL 5.4. I have to connect to the auxiliary instance using rman. But i am getting following error.
>
[oracle@vm4dg ~]$ rman
Recovery Manager: Release 11.2.0.1.0 - Production on Mon Apr 29 19:25:13 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect auxiliary sys/orcl123@melbourne
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges
>
I have tried the solutions like all service name in listener.ora to be in upper/lower case.
Thanks
Ankur

Here's what you asked for
On primary
>
[oracle@oel54gen ~]$ rman target sys/orcl123@London auxiliary sys/orcl123@melbourne
Recovery Manager: Release 11.2.0.1.0 - Production on Mon Apr 29 19:50:09 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: LONDON (DBID=3149285088)
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-01031: insufficient privileges
>
for sqlplus on primary
>
[oracle@oel54gen ~]$ sqlplus "sys/orcl123@melbourne as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 29 19:52:13 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
>
for sqlplus on Standby
>
[oracle@vm4dg dbs]$ sqlplus "sys/orcl123@london as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 29 19:53:42 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
SQL>
>
One more thing is that i have two oracle homes on each machine. And listener are running from grid home
Thanks
Ankur

Similar Messages

  • Unable to connect to an instance using EM but connecting fine with SQL*Plus

    Good morning,
    I followed these steps (from the 2 Day DBA document):
    1. I created a template (including database) from an instance named "orcl" using DBCA, before proceeding to create the template, DBCA informed me that the instance would be shutdown, I told it to proceed.
    2. The template was created successfully.
    3. I am now unable to log into the orcl instance using EM, yet I can log into that instance without any problems using SQL*Plus.
    The Question: Why am I not able to connect to the instance using EM ? and what do I need to do to correct this problem ?
    Thank you very much for your help,
    John.
    PS: in case it may be helpful, the listener, tnsnames and Sqlnet files follow:
    # listener.ora Network Configuration File: E:\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = E:\Oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:E:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
    ADR_BASE_LISTENER = E:\Oracle
    # tnsnames.ora Network Configuration File: E:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    DBCA =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = dbca.localsite.com)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.localsite.com)
    # sqlnet.ora Network Configuration File: E:\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

    Hi Chinar,
    What you suggested solved the problem.
    I am grateful for your help but, please, the next time you suggest a process that takes over an hour to complete, let me know beforehand.
    thank you for your help, I do appreciate it.
    John.
    PS: here are the result of the process:
    0 07:57 [Oracle] [17G] [608M] E:\Temp>emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Aug 15, 2010 7:58:21 AM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: orcl
    Listener port number: 1521
    Password for SYS user:
    Password for SYS user: abc123
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Aug 15, 2010 7:59:37 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at E:\Oracle\cfgtoollogs\emca\orcl\emca_201
    0_08_15_07_58_21.log.
    Aug 15, 2010 7:59:38 AM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
    WARNING: EM is not configured for this database. No EM-specific actions can be p
    erformed.
    Aug 15, 2010 7:59:38 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Dropping the EM repository (this may take a while) ...
    Aug 15, 2010 8:06:59 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Aug 15, 2010 8:07:17 AM
    0 08:09 [Oracle] [17G] [355M] E:\Temp>emca -config dbcontrol db -repos create
    STARTED EMCA at Aug 15, 2010 8:09:23 AM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: orcl
    Listener port number: 1521
    Listener ORACLE_HOME [ E:\Oracle\product\11.2.0\dbhome_1 ]:
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Password for SYSMAN user: Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ E:\Oracle\product\11.2.0\dbhome_1
    Local hostname ................ 192.168.3.134
    Listener ORACLE_HOME ................ E:\Oracle\product\11.2.0\dbhome_1
    Listener port number ................ 1521
    Database SID ................ orcl
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: y
    Aug 15, 2010 8:10:51 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at E:\Oracle\cfgtoollogs\emca\orcl\emca_201
    0_08_15_08_09_23.log.
    Aug 15, 2010 8:11:10 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Aug 15, 2010 8:43:41 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Aug 15, 2010 8:44:09 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepos
    itory
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Aug 15, 2010 8:47:39 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Aug 15, 2010 8:48:31 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareL
    ib
    INFO: Software library configured successfully.
    Aug 15, 2010 8:48:31 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibra
    ry
    INFO: Deploying Provisioning archives ...
    Aug 15, 2010 8:53:19 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibra
    ry
    INFO: Provisioning archives deployed successfully.
    Aug 15, 2010 8:53:34 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Aug 15, 2010 8:54:22 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Aug 15, 2010 8:54:38 AM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Aug 15, 2010 9:12:50 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: Database Control started successfully
    Aug 15, 2010 9:13:09 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: >>>>>>>>>>> The Database Control URL is https://192.168.3.134:5501/em <<<<
    <<<<<<<
    Aug 15, 2010 9:14:22 AM oracle.sysman.emcp.EMDBPostConfig invoke
    WARNING:
    ************************  WARNING  ************************
    Management Repository has been placed in secure mode wherein Enterprise Manager
    data will be encrypted.  The encryption key has been placed in the file: E:/Orac
    le/product/11.2.0/dbhome_1/192.168.3.134_orcl/sysman/config/emkey.ora.   Please
    ensure this file is backed up as the encrypted data will become unusable if this
    file is lost.
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Aug 15, 2010 9:14:22 AM
    0 09:14 [Oracle] [17G] [603M] E:\Temp>

  • Error when connecting to auxiliary instance

    Hi,
    I have set up an auxiliary database to do a DUPLICATE. The auxiliary instance is started in NOMOUNT mode.
    When i try to connect from RMAN i get the following error:
    RMAN>connect auxiliary sys/<password>@<sid>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04006: error from auxiliary database: ORA-00600: internal error code, arguments: [15435], [SYS], [X$DBMS_BACKUP_RESTORE], [], [], [], [], []
    ORA-04031: unable to allocate 1040 bytes of shared memory ("shared pool","X$DBMS_BACKUP_RESTORE","PL/SQL DIANA","PAR.C:parapt:Page")
    RMAN-04015: error setting target database character set to WE8MSWIN1252
    Environment is 10.2 on Windows
    any clues??
    Regards
    Rolf

    Hi all and thanks for your response,
    RMAN client is 10.1.0.3.0. Auxiliary instance is 10.2.0.3 (same as target).
    I modified auxiliary init.ora with:
    SHARED_POOL_SIZE=64M
    I had created the auxiliary instance as said in the manual (I think), using orapwd, oradim, creating a init.ora file, etc.
    I don't remember that SHARED_POOL_SIZE was mandatory for the init.file of the auxiliary instance...
    However, i restarted the instance (nomount), and now I can connect the auxiliary instance from RMAN :)
    However; i was going to create a duplicate database useing the DUPLICATE command. Everything went smoothly, all datafiles restored to correct path, but when RMAN finaly was trying to CREATE CONTROLFILE... I hit this error:
    SQL-setning: CREATE CONTROLFILE REUSE SET DATABASE "W558DUP" RESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 200
    MAXINSTANCES 8
    MAXLOGHISTORY 77312
    LOGFILE
    GROUP 1 ( 'D:\ORACLE\ORADATA\W558DUP\REDO01.LOG' ) SIZE 16 M REUSE,
    GROUP 2 ( 'D:\ORACLE\ORADATA\W558DUP\REDO02.LOG' ) SIZE 16 M REUSE,
    GROUP 3 ( 'D:\ORACLE\ORADATA\W558DUP\REDO03.LOG' ) SIZE 16 M REUSE,
    GROUP 4 ( 'D:\ORACLE\ORADATA\W558DUP\REDO04.LOG' ) SIZE 16 M REUSE,
    GROUP 5 ( 'D:\ORACLE\ORADATA\W558DUP\REDO05.LOG' ) SIZE 16 M REUSE
    DATAFILE
    'D:\ORACLE\ORADATA\W558DUP\SYSTEM01.DBF'
    CHARACTER SET WE8MSWIN1252
    frigitt kanal: TSM
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/25/2008 04:20:19
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE
    failed
    ORA-00600: internal error code, arguments: [kccscf_1], [9], [77312], [65535], []
    RMAN>
    I find Bug 4877360 (*'Create controlfile command in 10.2 compatibility mode results in an ORA-600 [kccscf_1]*') on metalink, confirmed in 10.2.0.3 (my version) and fixed in 10.2.0.4, and there is a patch (Patch 4877360)
    but not for Windows as far as i can see...
    I also tried the CREATE CONTROLFILE ( referencing all datafiles) from sql*plus but got the same error.
    My auxiliary init.ora files contain the COMPATIBLE=10.2.0.3.0 parameter.
    Could I set compatibility to, say 10.1 (since the bug reference the 10.2 compatibility mode) ??
    Regards
    Rolf

  • ORCL Failed to connect to database instance: Closed Connection.

    Hi all,
    i am getting ORCL Failed to connect to database instance: Closed Connection, on my work environment but when i look into the database it is ok more over this ticket is generated from GridControl , i checked in trace-file but i haven't got any clue what to do in this case please any one help me on this why it is giving this kind of error
    (ORCL Failed to connect to database instance: Closed Connection.)
    Thanks
    venkat
    Edited by: madala03 on Apr 10, 2013 3:32 AM

    Hi ,
    thanks for the reply i checked in listener log , havent got any connection errors but in sqlnet.log
    i got this
    VERSION INFORMATION:
    TNS for Linux: Version 10.2.0.4.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
    Time: 10-JAN-2011 12:08:29
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0

  • Thread: Cannot connect to auxiliary instance posted by William Wong

    I am experiencing the same issue and I am able to get the suggestion to work connecting to both the target and auxiliary databases on the auxiliary server, but I don't know where to go from there. Do I go back to the target server and continue from there?
    This is on 2 identical linux boxes running Oracle 10.2.0.6.

    Your problem I think is that the listener on the auxiliary server is likely to have the status of this service (shown with lsnrctl servcies) as BLOCKED.
    What you need to do is, on that server, edit the listener.ora and add a static SID_LIST section to the file, so that the listener will report that service as status UNKNOWN. That is, there will be two statuses listed for the same service, one BLOCKED because that's coming from dynamic registration and one UNKNOWN because that's what the SID_LIST says.
    An example listener.ora would look like:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = PLPC358)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = TESTDB)
          (ORACLE_HOME = c:\oracle\10g\db_1)
          (SID_NAME = TESTDB)
      )You will have to make sure that on the server where you're running RMAN (effectively, the client for this occasion), the auxiliary instance is listed in the tnsnames.ora with a SID=TESTDB sort of line, rather than a SERVICE=TESTDB. If you try to connect via 'service=' aliases, you'll be trying to connect via the BLOCKED "socket" on the auxialiary instance. If you connect via a "sid=" alias, you'll be connecting via the UNKNOWN socket, and that's what you want.
    Message was edited by:
    Catfive Lander
    I should have read your earlier post more carefully. I see you already have the UNKNOWN instance listed on the auxialiary server, so I think you're half-way there. I think you just need to make sure the tnsnames.ora used by your RMAN machine refers to SID= not SERVICE=

  • Connect to multi instance use sqlplus command

    Hi Brother
    We would like to use following statement to connect to DB instance and execute script through sysdba but the statement seem not work, which connect to default DB only "db00", pls help
    sqlplus / "as sysdba" @db01 @/home/dba/myscript

    user460521 wrote:
    Hi Brother
    We would like to use following statement to connect to DB instance and execute script through sysdba but the statement seem not work, which connect to default DB only "db00", pls help
    sqlplus / "as sysdba" @db01 @/home/dba/myscriptUsing the convention of "multi-instance" would give an impression that you are willing to work in a RAC system. If yes, then you can use the command srvctl to manage more than one instance. But to run scripts or to execute some statement, you would need to connect only the designated instance using the properly configured TNSNAMES.ora file. So tell us clearly what you want to do and what you have done for it so far?
    Aman....

  • Problems connecting to iPad 2 using "Connect to Server"

    Hi Everyone,
    I am experiencing an ongoing problem establishing a connection from my 13" MacBook Pro (2.26 GHz Intel Core 2 Duo, 4 GB 1067 MHz DDR3 RAM, Mac OS x 10.7 Lion) to my iPad 2 (64 GB WiFi, iOS 4.3.4 (8K2).
    I have recently installed Avatron Software's Air Sharing HD v2.6,1 (10509) onto my iPad 2 and have been able to copy files too and from my MobileMe iDisk without any issues whatsoever.
    I have also been able to establish a connection using Finder/Go/Connect to Server and then entering the http://192.168.xx.xx IP address that Air Sharing asks you to use from my MacBook Pro.
    The first time I followed this procedure, I successfully connected to my iPad and Air Sharing HD and then started to copy files over. After about 10 minutes or so, the file transfer failed whilst trying to copy over an .m4v file.
    I subseqently tried to connect again from my MacBook Pro with no success. Each time I try to connect, it fails presenting with the following error message:
    "There was a problem connecting to the server "192.168.x.xx". The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again."
    Of course, I have tried doing this - with no success. I have restarted the MacBook Pro and the iPad 2 and tried to restablish a connectin between the two with no success. I tried connecting the two devices using the Bonjour address, appending :80 and :8080 to the IP address, still with no success.
    I have also tried to turn off all passcodes and any type of restrictions on Air Sharing and as of this time, I have been unable to establish a connection between the MacBook Pro using the 'Connect to Server' route from the MacBook Pro.
    I am still able to upload files to my MobileMe account and establish a connection to MobileMe on my iPad 2 and obviously via USB via iTunes.
    I have now run out of ideas.
    Would anyone out there have any ideas what might be happening here and have figured out what needs toi be done to resume successful contact between the two devices?
    Many thanks in advance.
    Andy

    Hi,
    It gives me the correct IP when I ping yes. It's only when the SLD tries to resolve IP via JCO destinations. Yesterday I put in all hosts in my landscape into the hosts file of the SLD, disabled the NIC that it shouldn't be using and restarted.
    Still it tries to resolve hosts in my landscape to 10.150.83.XXX. How is this possible??
    Thanks - any other ideas?
    .: HP

  • Connecting to personal oracle8 using connection wizard in jdeveloper3.0

    i am trying to connect to oracle8 using jdbc
    using connection wizard in jdeveloper3.0
    but when i test the connection i gives
    an error "no ocijdbc8 in shared library path"
    please help me out.

    The problem isn't Personal Oracle, but rather trying to use the JDBC/OCI driver which uses native code.
    Here's some text from the 3.1 release notes about how to solve your problem (I think this was in 3.0's release notes as well, however I'm not sure)
    If you are using the Oracle JDBC/OCI or Oracle Lite JDBC Driver with JDeveloper (JDK 1.2/1.3) add the %ORACLE_HOME%/bin directory to java.library.path and sun.boot.library.path in bin/jdeveloper.ini. It should look like this:
    [Java_2]
    JDK=java version "JDK1.2.2_JDeveloper"
    Java2VM=OJVM
    JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;C:\ORANT\BIN
    SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;C:\ORANT\BIN
    If you are executing applications which use the JNI to call native libraries (DLL files) under JDeveloper with JDK 1.2/1.3 it is necessary to edit your project properties. Add to the Java VM Parameters, under the Run/Debug tab the following setting: -Djava.library.path=(Path where DLL files are located)".
    Take Care,
    Rob
    null

  • Sql server 2012 express - tcp/ip connection to named instance using dynamic port not working

    I have a named instance on a SQL 2012 Express server that won't connect via TCP/IP when wanting to connect off of the dynamic port.  I can connect via shared memory locally on the server.   I can connect to the namespace when specifying the
    dynamic port listed in the configuration manager.  
    This is the only named instance on the server and it is not the default.
    TCP/IP is enabled
    Allow Remote connections is enabled
    the server browser service is running
    I can connect via the dynamic port number
    I am testing the connection locally on the server, so I don't believe a firewall is the issue.  I get the same results if I test it from a remote computer.
    When using the sqlcmd (sqlcmd -S tcp:SQLSRVR\NAMEINST -E) I get the message that "the requested protocol isn't supported [xfffffffff]".   The command (sqlcmd -S tcp:SQLSRVR\NAMEINST,59992 -E) works.
    Through SSMS, I get the message "the connection was actively refused".
    On other boxes, I can connect with the named instance without having to specify the port. 
    I have looked through the sql logs and nothing much shows up.  The log does show that is listening on the port # for ipv4 and ipv6.   There is also a line in there talking about the SPN not being registered and not to worry about it if
    you are not using Kerberos.  I logged in through shared memory and it said I was using NTLM.
    Any help would be appreciated.
    thanks.

    Hi clw,
    I’m writing to follow up with you on this post. According to your description, I do a test, if you configure the database engine to listen on a specific TCP port (59992), and
    the port is opened in the firewall. If you want to connect to the SQL Server instance, you 'd better to
    use the port number.
    In my opinion, by default, the default instance of the Database Engine uses port 1433, usually, if you have configured the server to listen on a non-default port number, when an instance of SQL Server uses dynamic port allocation, the connection string that
    is built at the SQL Server client does not specify the destination TCP/IP port unless the user or the programmer explicitly specifies the port. Therefore, the SQL Server client library queries the server on UDP port 1434 to collect the information about the
    destination instance of SQL Server.
    If UDP port 1434 is disabled, the SQL Server client cannot dynamically determine the port of the named instance of SQL Server. Therefore, the SQL Server client may be unable to connect to the named instance of SQL Server. In this situation, the SQL Server
    client must specify the dynamically allocated port where the named instance of SQL Server is listening.
    For more information about configuring an instance of SQL Server to listen on a specific TCP port or dynamic port, you can review the following article.
    https://support.transfrm.com/entries/503111-How-to-configure-an-instance-of-SQL-Server-to-listen-on-a-specific-TCP-port-or-dynamic-port
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Wget - Connection timed out when using "long" strings

    I'm having a problem with a little script to change some settings for IP-phones. Here is the script:
    #!/bin/bash
    for i in "0" #"4"
    do
    for j in $(seq 176 176)
    do
    wget --timeout=1 --tries=1 --keep-session-cookies --save-cookies cookies.txt --post-file=postfile http://192.168.$i.$j/dologin.htm
    wget --timeout=1 --tries=1 --load-cookies cookies.txt --post-file=postfile2 http://192.168.$i.$j/update.htm
    done
    done
    postfile looks like this and is just for logging in:
    P2=<pass>&
    postfile2 looks like this:
    P270=123456&
    The problem now is, when using it like above, everything works fine. But if I make the text in postfile2 one character longer, I get this:
    Connecting to 192.168.0.176:80... connected.
    HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
    Giving up.
    It doesn't matter where I put the character to make the string longer (I can for example use P32=1234567& and it works). I have tested the script from different machines and used different phones, always the same. Any ideas?

    daf666 wrote:The two files look identical, are you sure that the "bad" one is actually a capture of the timed out session? (both have same data length and same value in the content-length header).
    Yes, they are different and the bad is is from the timeout .
    daf666 wrote:Anyway, this timeout might occur, if for some reason wget will say content length is 10 and send only 9 characters in the post request..
    Any idea what I can do about it? There is something fishy going on. I did this once before a few month ago when I wanted to change other settings. I tried to do the same thing again but even this doesn't work anymore. Maybe I should just try curl .

  • Creating instances using a string identifier

    Is there a way to create an instance of a class given it's
    class name as a string( for example). I know I could do it simply
    by using conditional logic, but I'd like this to be extensible and
    don't want to have to keep adding conditions as the system grows.
    In other languages I've used, this is possible in many ways
    and was wondering if there is a way to do this in AS 3.0
    Thanks.

    Thanks for the heads up Ed!
    One way to be ableto get around your issue (not that this
    exists in AS 3.0) is to be able to "register" a class so the
    compiler/linker can link it into the swf and you get compile time
    checking.
    This is the way Delphi allows for this. The C# complier is
    kind of in between in that you are still liable to get a runtime
    error in the case that you creat an instance of a class using (say)
    Activator.CreateInstance() which is the equivalent.
    One way to get around this in AS 3.0 (I think) would be to
    simply declare a variables of the types you intend to create
    instances of dynamically. This should force the linker to link in
    the class definition.
    Of course in both C# and Delphi you can create instances of
    classes unknown to you at complie time. From the looks of it, AS
    3.0 can't do this.

  • Can not connect to auxiliary when Duplicating

    Hi all,
    on 10g R2 on Windows 2003 , my auxiliary is in nomount state as it should and when I want to connect to by RMAn I have :
    C:\Documents and Settings\Administrateur>rman nocatalog target sys@orcl2 auxiliary sys@TESTDUP
    Recovery Manager: Release 10.2.0.4.0 - Production on Thu Feb 16 10:41:57 2012
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    target database Password:
    connected to target database: ORCL2 (DBID=728416591)
    using target database control file instead of recovery catalog
    auxiliary database Password:
    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-12528: TNS:listener: all appropriate instances are blocking new connections
    C:\Documents and Settings\Administrateur>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 16-FEB-2012 10:42:50
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date                16-FEB-2012 10:40:29
    Uptime                    0 days 0 hr. 2 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   E:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         E:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=optim65-win)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TESTDUP" has 1 instance(s).
      Instance "TESTDUP", status BLOCKED, has 1 handler(s) for this service...
    Service "TESTDUP_XPT" has 1 instance(s).
      Instance "TESTDUP", status BLOCKED, has 1 handler(s) for this service...
    Service "orcl2" has 1 instance(s).
      Instance "orcl2", status READY, has 1 handler(s) for this service...
    Service "orcl2XDB" has 1 instance(s).
      Instance "orcl2", status READY, has 1 handler(s) for this service...
    Service "orcl2_XPT" has 1 instance(s).
      Instance "orcl2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\Administrateur>tnsping testdup
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.4.0 - Production on 16-FEB-2012 10:43:51
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = optim65-win)(PORT = 1521)) (CONNECT_DATA = (SERVER
    ) (SERVICE_NAME = testdup)))
    OK (10 msec)Any idea ?
    Thank you.

    yes thank you.
    following worked :
    From your link :
    Option 1:Connect to the auxiliary instance using OS authentication (as /) and use password file authentication for target database and connect via Listener.For an example:
    Here from auxiliary destination I issued the command and hence successfully connected.
    bash-3.00$ rman target sys/a@neptune:1522/dbase AUXILIARY /
    Great.

  • Cannot connect to the Instance

    Hi there, I'm a newbie to Oracle. I downloaded Oracle 9i Database. After installation, when I try to connect to the Instance using command prompt, I get the following error message:
    SQL> CONNECT SYS/change_on_install AS SYSDBA
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Could anyone please show me how to resolve the above problem. Thanks. :)

    DB_DOMAIN is not a mandatory parameter.
    The DB_NAME parameter is the value of the database and is the name used when creating the database. It is specified within the INIT.ORA parameter file or in the CREATE DATABASE command. This is one of those parameters that is optional but is always best to set it.
    DB_DOMAIN is the value of the domain to which the database belongs. It is the location of the database within the network hierarchy. Even if the database you are creating is not going to be a part of any network or distributed system, I would suggest that you set this parameter just for the sake of going through the thought process and understanding how things connect when networked.

  • Error in a page with a master-detail:Unable to resolve a Validator instance

    Hi all,
    I am using Jdeveloper 11.1.1.2
    I have a page with a master table and a detail table.
    When I try to select a row in the some tables (master or detail), I have this error:
    <AbstractValidatorTag><createValidator> Unable to resolve a Validator instance using either validatorId ' or binding #{row.bindings.IdLocazione.validator}.
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    javax.servlet.ServletException: Unable to resolve a Validator instance using either validatorId '' or binding '#{row.bindings.IdLocazione.validator}'.
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any suggestions?
    Thanks
    Andrea
    Edited by: Andrea9 on 17-feb-2010 00:45

    I am using ADF, I can reproduce in a testcase, but I need time.
    If you want, I can cut and paste the jspx page.
    However, I have a panelStretchLayout: on top facet I have the master table, while in the center facet I have the detail table.
    I have a query component to filtering data of the master table.
    I have this problem doing this:
    1) create a new record on master table.
    2) create some records on detail table (sons of the record of the master table just created).
    3) clicking on "find" of the query component.
    I have tried to do a master-detail with the HR connection using Departments table (master) and Employee (detail). When I try to delete a departments, it does not work, because I have to delete the employees first, while in my case I want to delete the master and the detail in cascade.
    Thanks
    Edited by: Andrea9 on 17-feb-2010 08:25

  • Unable to connect to the database instance using Enterprise Manager.

    I just install Oracle 10gr2 in my computer and after successful installation created a database instance which also install successfully. I then configure the listener using Net Manager and then start the database instance, the listener and dbconsole, everything seems to work fine and checking the status of this services from the command prompt indicates everything started successfully. But when I try to use Enterprise Manager I was directed to the Database Down Page with a message unable to connect to database instance. I try to use startup and perform recovery but every time I log-in to the database an error message comes out:
    SQLEXCEPTION
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified.
    It seems for Enterprise Manager to connect to the database it needs to access this NLS(National Language Support) data files or specify an environment variable to point to this data files. I am just new to Oracle and I am having difficulty solving this particular problem. Where is this data files located and how do I configure Enterprise Manager to access this NLS data Files?
    Any help however small will be highly appreciated.

    Are you able to connect to the database via SQLPlus?
    What Operating System are you using?
    Assuming Windows, can you RUN regedit to open Windows Registry and check the value or NLS_LANG when you select
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<your_oracle_home>
    Examples of vaules you may find:
    1. ENGLISH_UNITED KINGDOM.WE8MSWIN1252
    2. AMERICAN_AMERICA.US7ASCII
    3. AMERICAN_AMERICA.WE8MSWIN1252
    4. FRENCH_FRANCE.WE8MSWIN1252
    5. GERMAN_GERMANY.WE8MSWIN1252
    If you are not able to connect to SQLPlus, from the command prompt try setting one of the above:
    e.g.
    D:\>set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    D:\>sqlplus /nolog
    SQL>connect sysman/password

Maybe you are looking for

  • Trying to update to OS 6

    Hi, I have a Bold 9650 that I am currently running 5.0.0.1006 on and I'm trying to get it to update to OS 6, I am currently away from my computer with the DM on it and my office computer won't let me download the DM. Last night I tried to pull it fro

  • JDBC - how to handle insert that returns value (bind?)

    Hi, I'm trying to do an insert into a table in an Oracle database with an auto-incrementing primary key (using a trigger and sequence) and I need to retrieve the value after the insert. From SQL*Plus, I'd enter: var id number; INSERT INTO mytable (na

  • Using IDVD to author

    I am trying to learn DVD SP and finding it very difficult. Has anyone tried authoring the DVD menu in iDVD and exporting the menu as a disk image to Compressor for compressing and burning? iDVD makes the process so much easier. Thanks Kent

  • Error in displaying CK11N

    Hi experts, When I'm trying to execute CK11N   I'm facing the error messages as follows. 1. Cost estimate Material RM1/plant is incorrent. Message No. 168 2. Cost estimate Material RM2/plant is incorrent. Message No. 168 I configured Raw  material, a

  • MY BB 8520 KEEPS EATING MY CREDIT ANY IDEAS WHY?

    I KEEP LOSING ALL MY CREDIT PLZ HELP. every now and then my credit keeps going down. i top up wiv £10 use £5 to pay for bbm and internet, then i check my credit and it says it has £5.03 left. the next day when i check my credit it has gone down by 50