Unable to connect pluggable database

Hello

Version: 12.1.0.2, platform: AIX, CBD: B12C, PDB: MYPDB1

I am trying to connect newly created connectable to database. But it is throwing an error is not available and when I check open_mode is read/write for mypdb1 the database.

Can you please help me where I am wrong? I fight with it more than a week.

listener.ora :
LSNRB12C =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = adc40)(PORT = 1550))
    )
  )


SID_LIST_LSNRB12C =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = B12C)
      (ORACLE_HOME = /oracle/AIX/12102_64)
      (SID_NAME = B12C)
    )
    (SID_DESC =
      (ORACLE_HOME = /oracle/AIX/12102_64)
      (SID_NAME =MYPDB1)
    )
  )


tnsnames.ora for pluggable database:
MYPDB1 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = adc40)(PORT = 1550))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = MYPDB1)
    )
  )


adc40 {oracle}:>lsnrctl status LSNRB12C
LSNRCTL for IBM/AIX RISC System/6000: Version 12.1.0.2.0 - Production on 09-SEP-2015 21:56:44
Copyright (c) 1991, 2014, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=adc40)(PORT=1550)))
STATUS of the LISTENER
------------------------
Alias                     LSNRB12C
Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 12.1.0.2.0 - Production
Start Date                08-SEP-2015 23:21:16
Uptime                    0 days 22 hr. 35 min. 28 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /oracle/AIX/12102_64/network/admin/listener.ora
Listener Log File         /oracle/AIX/diag/tnslsnr/adc40/lsnrb12c/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=adc40)(PORT=1550)))
Services Summary...
Service "B12C" has 1 instance(s).
  Instance "B12C", status UNKNOWN, has 1 handler(s) for this service...
Service "MYPDB1" has 1 instance(s).
  Instance "MYPDB1", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully


adc40 {oracle}:>env |grep ORACLE
ORACLE_BASE=/oracle/AIX
ORACLE_SID=B12C
ORACLE_HOME=/oracle/AIX/12102_64


adc40 {oracle}:>sqlplus "/as sysdba"
SQL*Plus: Release 12.1.0.2.0 Production on Wed Sep 9 22:01:50 2015
Copyright (c) 1982, 2014, Oracle.  All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options


SQL> select NAME,OPEN_MODE,RESTRICTED from v$pdbs;


NAME                           OPEN_MODE  RES
------------------------------ ---------- ---
PDB$SEED                       READ ONLY  NO
MYPDB1                         READ WRITE NO
MYPDB2                         READ WRITE NO
MYPDB3                         READ WRITE NO


SQL> create user c##1 identified by oracle container=all;
User created.
SQL> grant create session to C##1 container=all;
Grant succeeded.
SQL> sho con_name
CON_NAME
------------------------------
CDB$ROOT
SQL>  alter session set container=mypdb1;
Session altered.
SQL> sho con_name
CON_NAME
------------------------------
MYPDB1


SQL> connect c##1/oracle@adc40:1550/b12c
Connected.
SQL> connect c##1/oracle@adc40:1550/mypdb1
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 2311
Additional information: 186818867
Process ID: 0
Session ID: 0 Serial number: 0


Warning: You are no longer connected to ORACLE.



Can you please tell me why it shows database is unavailable, even if mypdb is open?

Thank you

Arul

You cannot connect to a PDB file through a registration of the listener static like this, because there is just no SID not named MYPDB1. You must register the services dynamically. In the root.

ALTER system set local_listener = "adc40:1550";

editing the system registry;

--

John Watson

Oracle Certified Master s/n

Tags: Database

Similar Questions

  • Unable to connect target database using dbclient

    Hi all

    I installed database 11.2.0.2 successfully on linux machine.other machine is windows machine, I installed in CUSTOMER DB 11.2.0.2 by using db client unable to connect target database.


    Database version: 11.2.0.2(64 bit)

    Windows database: 11.2.0.2(32bit)


    Thank you
    GS

    I installed database 11.2.0.2 successfully on linux machine.other machine is windows machine, I installed in CUSTOMER DB 11.2.0.2 by using db client unable to connect target database.

    Set up Listener on the server?

    Can you tnsping from windows to linux machine?

  • Unable to connect to databases via Grid Control

    Hello world

    I have seen similar topics on the forums, but none of them could help me.

    I installed version OEM Grid Control 5 on a rhel 5.3. I started to deploy agents on multiple hosts (windows 2003 and linux). I now opened ports in the firewall:
    TCP_4889: agent-> control grid
    TCP_1521: grid-> agent control
    TCP_3872: grid-> agent control

    Agents are up and I see all the instances in the target/databases tab.
    Here's my problem:
    The State of each instance is Metric Collection error and the message is * "this database is not configured."

    When I click on Configure , then test the connection , I have the following error:
    Unable to connect to the database: IO exception: connection is the connection descriptor was (description = (address = (host = myserver_hostname)(protocol=tcp) (port = 1521)) (connect_data = (service_name = instance_name) (instance_name = instance_name)(UR=A)))

    When I connect to the server, I can connect to the database, the listener is in place. But emctl status dbconsole says:
    TZ set to Europe/Paris
    OC4J Configuration problem. $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_servername_instancename not found.

    But this file is...

    Any idea?
    Thank you very much

    ORA-01017: name of user and password invalid.

    Network server connect to the use of target-> "general" user database

    "" So, make target you as 'general' on the database "not blocking" status and course of password.

    Example: on the basis of data target

    SQL > select username, account_status from dba_users where username = "GENERAL";

    USERNAME ACCOUNT_STATUS
    ------------------------------ --------------------------------
    OPEN DBSNMP

    SQL > connect dbsnmp/pasword@target_database

    After this trial once again ;)

  • Unable to connect to database through OEM

    I am trying to connect to a database through OEM as SYSDBA. By using the same user name and password, I can connect the OEM server through sqlplus database. However, when I try to connect via OEM, is getting an ORA-01017: username/password invalid name

    It seems that you are using the window, if yes please make sure you have activate the log on as batch jon

    Go to control panel, administrative tools.

    2. click on local security policy.

    3. policies, user rights assignment.

    4. double-click on, "log in as a batch.

  • Unable to connect local database using net service name

    Hello all;


    FYI: This question has been posted in high availability. Now, it has been deleted from there.


    I'm trying to connect my local database using authentication remote.

    but make a mistake. Client & server are on the same server.


    SQL > conn u1/u1@primdb

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


    SQL > conn / as sysdba

    Connected.


    SQL > show parameter db_name;

    VALUE OF TYPE NAME

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

    db_name chain primary


    SQL > show parameter service_name.

    VALUE OF TYPE NAME

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

    service name string mydb


    SQL > show parameter db_domain;

    VALUE OF TYPE NAME

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

    db_domain string primary.com


    SQL > show parameter global_name;

    VALUE OF TYPE NAME

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

    global_names boolean FALSE


    SQL > select * from global_name;

    GLOBAL_NAME

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

    PRIMARY

    [oracle@localhost admin] $ lsnrctl start

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:32:08

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

    From /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 10.2.0.1.0 - Production

    System settings file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora

    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log

    Error listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=oel5.linuxserver) (PORT = 1521)))

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

    AMT-12560: TNS:protocol adapter error

    TNS-00515: Connect failed because target host or object does not exist

    Listening port could start. See the above error messages...


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


    My listener.ora file content:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = primary)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    (GLOBAL_DBNAME = mydb.primary.com)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))

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

    My tnsnames.ora content

    primdb =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = mydb)

    )

    )

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

    $ tnsping primdb


    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:40:55

    Copyright (c) 1997, 2005, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = oel5.linuxserver)(PORT=1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb)))

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

    Thanks in advance...


    SERVICE_NAME =? in tnsnames.ora file should MATCH what is reported by the listener EXACTLY (like one from below)

    > Service 'mydb.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary_XPT.primary.com' has 1 instance (s).

  • Unable to connect to database uccx

    attempted to connect according to Cisco DB history report, but still get the wrong password.

    I use the ccx s Adminitrator account as account report. is this OK for this?

    Has anyone tried to do this summer before successfully?

    Hello

    This is not quite correct - UCCX8 can be connected to JDBC or ODBC, but need the appropriate drivers for each. Either you use ODBC, if you want to the Informix ODBC driver on the computer you connect from (best way to get them is to install HRC).

    With JDBC, you need the informix JDBC driver... you get this on the web.

    Your error message indicates you are using the wrong user name - I don't like that squirrel doc, because it requires root access... not easy. What I did use so far is uccxhruser, you can set the password on this through the admin of the CCX GUI in management tools and password.

    Personally, I found SquirrelSQL lack - the Informix plugin lists only existing 'procedures' of the DB, so that some "procedures" stock market news are defined as 'functions' (or vice versa). This isn't a big problem if you start a report from scratch, but I often use parts of exsiting canned reports to simplify the process or improve stock market news.

    I had more success with:

    • AGS Server Studio
    • Razor SQL
    • IBM Data Studio (it's free, but a bit eccentric)
    Aaron Harrison

    Senior Engineer at Logicalis UK

    Please note the useful messages...

  • Developer unable to connect SQL database Oracle as a SYSDBA

    Hi all
    Recently, I installed SQL Developer3.0 on my machine and try to create the connection to the local Oracle server. But something confuses me. When I login as normal role, it can connect DB successfully; When I connect as sysdba role named sys, it has always failed and show "name of user and password invalid. I don't know that the username and password are right, because I haved connected the oracle DB from pl/SQL with the same user name and password. And I also chose the role as sysdba. SQL Developer3.0 not support connect as sysdba? I would be very grateful if someone could give me a helping hand. Thanks in advance.

    Hi 851634,

    Do you need a password for remote sysdba (old link) file?
    Cannot connect as sysdba in Oracle Enterprise Management Console

    You can try to open a session (loopback) on the network as sysdba, which requires a password file.

    -Turloch
    Team SQLDeveloper

  • VAIO Messenger-unable to connect to the database

    I had this problem for months. When I connect to the internet... about 10-15 minutes later... a box opens "Vaio Messenger unable to connect to the database." I'd like to just turn off Vaio Messenger. I looked up how to disable Messenger but he always States go to the settings dialog box. For the life of me I can't find a dialog box. How can I disable Messenger? How do I repair Messenger so it CAN connect to the database? Help!

    I had this problem for months. I can't change the dialog box. I can't uninstall vaio Messenger. I have so much pain to find this site, if you have a cure please write me [email protected]

  • Unable to connect my Linux Machine database

    Dear all,

    Hope you will be fine.

    I'm having a problem to connect to PL / SQL Developer with my database available on the Oracle Linux virtual machine.

    I have a windows 7 installed on my PC, I have installed a virtual machine and install oracle 11g on this machine. I have a database named orcl on this and I am trying to connect to the database with my windows machine. I assigned ip appropriate to both computer and created under the setting mentioned in my tnsnames.ora file. But when I go to connect it shows error ORA-12203: TNS: unable to connect to the destination. Please guide me where I am doing wrong so I'll do it properly.

    ORCL_11G =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS =

    (COMMUNITY = tcp.world)

    (PROTOCOL = TCP)

    (Host = 192.168.0.100)

    (Port = 1521)

    )

    )

    (CONNECT_DATA = (SID = orcl)

    )

    )

    Kind regards

    Atif Zafar

    Thank you all for your help. I solved this problem by mentioning the HOST in listener.ora and tnsnames.ora files. In fact, I have to assign the static IP address of my Linux machine and unfortunately not to mention the IP address in my two files. It is show HOST = localhost this is why it is forbidden to connect with the other machine. Now I connected successfully and it works fine now.

    You mention linux machine IP here.

    ORCL =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS =

    (COMMUNITY = tcp.world)

    (PROTOCOL = TCP)

    (Host =192.168.0.100)

    (Port = 1521)

    )

    )

    (CONNECT_DATA = (SID = orcl)

    )

  • RCU error: unable to connect to the database using the contact information provided

    Hello

    I am not able to connect to the database using the remote control 11.1.1.10.1 to create patterns. I ran the UCR even a week ago and I managed to connect. My database and listener are up and running and the host and the credentials are correct. I don't know where is the problem. Any help will be appreciated. Attaching the screenshot for reference.

    rcu.PNG

    Concerning

    Oumaima

    Hi Handal

    Thanks for the reply. Looks like someone had blocked the firewall settings, so I was unable to connect to the database using the port.

    Thank you

    Oumaima

  • Unable to connect to the database GGSCI

    Hi experts,

    Currently, I am trying to configure an installation of goldengate and have a problem with the connection to the database through GGSCI.

    In SQLPLUS and sql developer, I can connect to the database, but thanks to GGSCI is impossible to connect to the database.

    I am trying to connect this name ggate@service, I get an error ORA-12504. I am unable to connect using this method.

    ggate@ggsrc password username dblogin *.
    ERROR: Could not connect to the database using the user ggate@ggsrc. Please check privileges.
    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA.

    granted DBA privilege user GGATE but still cannot connect to the database, can any one help on this subject, it is very useful.

    Thanks in advance.

    AT

    Hi thanks,

    After the set up TNS_ADMIN environment its works very well

    Thank you

  • Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello.

    Hello

    Do you have any idea of this error, I went through a few forums, but I still got the same message.

    FDM is my server on computer A

    and my Foundation + shared on machine B


    Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello

    Browse the following post

    Failed to create the application of FDM

    (mark this message as useful or appropriate if that helps!)

    concerning

    -DM

  • RC-40201: unable to connect to the database

    Hi Experts,

    While running 'perl adcfgclone.pl appsTier' I get below error.

    [applmgr@tfnvlskp01 bin] $ perl adcfgclone.pl appsTier

    Enter the password [APPS] APPS:

    ....

    ....

    Enter the number of the port pool [0-99]:

    70

    Audit of the pool of port 70

    fact: Port pool 70 is free

    Information available at /app/oracle/testappl/admin/out/TEST_tfnvlskp01/portpool.lst complete port

    Checking the connection to the base...

    RC-40201: unable to connect to the TEST database.

    Enter the listener of the port database [1531]: 1526

    RC-40201: unable to connect to the TEST database.

    Could not establish connection to database on Port 1526.

    Please verify that the database is running.

    Make sure that the Port DB corresponds to that used on the dbTier.

    ERROR: creation of context not completed successfully.

    Please check for errors in the /tmp/adcfgclone_28867.err file

    But when I check the listener and the DB to db node status, everything is running.

    STATUS of the LISTENER

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

    Alias TEST

    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production

    Start date October 14, 2013 06:33:49

    Uptime 0 days 0 h 0 min 0 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /app/orabin/testdb/11.2.0/network/admin/TEST_tfnslskp01/listener.ora file

    The listener log file /app/orabin/testdb/11.2.0/log/diag/tnslsnr/tfnslskp01/test/alert/log.XML

    Summary of endpoints listening...

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

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=tfnslskp01.d1.peapod.com) (PORT = 1526)))

    Summary of services...

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Service 'TEST' has 1 instance (s).

    Instance of 'TEST', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    SQL > select instance_name, status from v$ instance;

    STATUS INSTANCE_NAME

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

    OPEN TEST

    Outputs information complete port available at /app/oracle/testappl/admin/out/TEST_tfnvlskp01/portpool.lst

    List of allocated ports based on port 70 pool *.

    Web listening port: 8070

    Database port: 1591

    RPC port: 1696

    Reports port: 7070

    OPROC Manager of Port: 8170

    Web PLSQL Port: 8270

    Port of servlet: 8870

    Listening port of forms: 9070

    Data port for the server Metrics: 9170

    Req server settings. Port: 9270

    JTF Fulfillment Server Port: 9370

    Map Viewer Servlet Port: 9870

    Utility Web OEM port: 10070

    VisiBroker OrbServer Agent Port: 10170

    ACEM Server Port: 10620-10625

    ACEM Telnet Port: 10620,10622,10624

    ACEM Port Dispatcher: 10580-10583

    Range of ports OACORE Servlet: 16700-16709

    Port range of discoverer Servlet: 17700-17709

    Port range of forms Servlet: 18700-18709

    Port TCF: 15070

    Range of ports XMLSVCS Servlet: 19700-19709

    Port of Java object Cache: 12415

    iMeeting Collaboration Server Port: 9570

    iMeeting the registration Server Port: 9670

    iMeeting iMon port Monitor Port: 9770

    Please let me know if the value portpool.lst to the Port of database should be 1526

    Or

    Miss me a few concepts here and I have to choose another port instead of the 70 pool value.

    OS - RHEL 5.4 version (64-bit)

    Version of DB - 11.2.0.3

    Version of the EBS - 11.5.10.2

    -Thank you

    Hello

    This is what has been done on my previous post on the basin of the port and the listening port you are trying to connect, as above, that you use 70 portpool was offset... This is what did not create a connection on port 1526 (which means chicken port 5)

    anyway nice to hear that the problem is now resolved

    Please mark the thread as answered and close it.

    Thank you &

    Best regards

  • SGC does not start - unable to connect to the database

    Hi all

    My development/test environment is unbootable SGD. This has really we stopped in our tracks...

    He'll start the WebTier, but CMS will not come to the top:

    [Journal of the oracle@ora-emcc] $ $OMS_HOME/bin/emctl status SGD

    Oracle Enterprise Manager Cloud control 12 c Release 2

    Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.

    WebTier is in place

    Oracle Management Server does not work for the following reason:

    Unable to connect to the repository database. SGD will be automatically restarted once he identifies database and the listener are on the rise.

    Try to check the details SGD results in an error as well:

    [config oracle@ora-emcc] $ $OMS_HOME/bin/emctl status who-details - sysman_pwd $SYSMAN_PWD

    Oracle Enterprise Manager Cloud control 12 c Release 2

    Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.

    Exception in thread "main" java.util.MissingResourceException: can't find bundle for the base oracle.security.jps.internal.common.resources.keystore.KeyStoreResources, locale name

    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)

    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)

    at java.util.ResourceBundle.getBundle(ResourceBundle.java:952)

    to oracle.security.jps.util.JpsBundle. < init > (JpsBundle.java:70)

    at oracle.security.jps.util.JpsBundle.getResourceBundle(JpsBundle.java:151)

    at oracle.security.jps.util.JpsBundle.getResourceBundle(JpsBundle.java:106)

    at oracle.security.jps.JpsLocalizableException.getResourceBundle(JpsLocalizableException.java:157)

    at oracle.security.jps.JpsLocalizableException.getLocalizedMessage(JpsLocalizableException.java:140)

    at oracle.security.jps.JpsLocalizableException.getLocalizedMessage(JpsLocalizableException.java:131)

    at java.lang.Throwable.toString(Throwable.java:343)

    at java.lang.String.valueOf(String.java:2826)

    at java.lang.StringBuilder.append(StringBuilder.java:115)

    at java.lang.Throwable.printStackTraceAsCause(Throwable.java:536)

    at java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)

    at java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)

    at java.lang.Throwable.printStackTrace(Throwable.java:516)

    at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:59)

    at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:342)

    at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:304)

    at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:234)

    at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)

    at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)

    at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)

    at org.apache.log4j.Category.callAppenders(Category.java:203)

    at org.apache.log4j.Category.forcedLog(Category.java:388)

    at org.apache.log4j.Category.error(Category.java:319)

    at oracle.sysman.emctl.oms.PrintOMSSetupInfo.main(PrintOMSSetupInfo.java:240)

    In the WebLogic administration Console, I see the BEEP, EMGC_ADMINSERVER, and EMGC_OMS1 are all in the State Running and health Ok.

    Our servers SGD and OMR are (and have always been) 2 different machines. The database on OMR has always been (and is currently) high and available.

    Checking that I can connect to the database of repository on the SGD server OMR:

    [oracle@ora-emcc ~] $ sqlplus sysman / $SYSMAN_PWD@ora-emccdb:1521 / emccdb

    SQL * more: version 11.1.0.7.0 - Production on Thu Nov 10 23:34:53 2013

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

    Connected to:

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

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

    SQL >

    Any suggestion will be highly appreciated.

    Ed

    Hi Mathieu,

    Thanks for the comments. I just got an update of Oracle on the SR with a few more instructions on different things to try/run.

    I met problems with Weblogic in step 1 and could not understand the multitude of possible causes. After some googling I found others who has ended up just restart that did the trick. It worked for me as well as far as I can see now. I'll do some tests to check, but well.

    Thank you

    Ed

  • RC-40201: unable to connect to the TEST database running adcfgclone.pl appsTier

    Hi Experts,

    While performing a cloning my instance of R12, I got RC-40201 error when I ran "adcfgclone.pl appsTier.

    [appltst@oracleupk bin] $ perl adcfgclone.pl appsTier

    Copyright (c) 2002 Oracle Corporation

    Redwood Shores, California, USA

    Applications Oracle rapid Clone

    Version 12.0.0

    adcfgclone Version 120.31.12010000.1

    Enter the password for APPS:

    Running:

    / data/appl_top/apps/apps_st/comn/clone/bin /... / JRE/bin/Java-Xmx600M - cp /data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext EI/data/appl_top/apps/apps_st/comn/clone/bin /... /Context/Apps/CTXORIG.xml-valider - pairsfile /tmp/adpairsfile_24425.lst-stade/data/appl_top/apps/apps_st/comn/clone 2 > /tmp/adcfgclone_24425.err; ECHO $? > /tmp/adcfgclone_24425.res

    Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log

    Provide the values required for the creation of the new file APPL_TOP context.

    Target System Hostname (virtual or normal) [oracleupk]:

    SID data system target: TEST

    Target database system [oracleupk] server node:

    Target system Base Directory: / data / appl_top

    Target system tools ORACLE_HOME directory [/ data/appl_top/apps/tech_st/10.1.2]:

    Target Web ORACLE_HOME directory system [/ data/appl_top/apps/tech_st/10.1.3]:

    Target system APPL_TOP directory [/ data/appl_top/apps/apps_st/appl]:

    Target system COMMON_TOP directory [/ data/appl_top/apps/apps_st/comn]:

    Target system Instance home directory [/ data/appl_top/inst]:

    Target system service root [activated]:

    Target Web Entry Point [active] System Services:

    Target [active] System Web Application Services:

    Target [active] Batch Processing Services system:

    Other Services target system [off]:

    You want to preserve the display [oracleupk:0.0] (y/n)? : n

    Target display system [oracleupk:0.0]: oracleupk:1.0

    System Target Pool [0-99] port: 80

    Audit of the pool of port 80

    fact: Port 80 pool is free

    Report file is located at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst

    Information available at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst complete port

    RC-40201: unable to connect to the TEST database.

    Create the new file APPL_TOP context of:

    /Data/APPL_TOP/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp

    The new context APPL_TOP file was created:

    / Data/APPL_TOP/inst/Apps/TEST_oracleupk/Appl/admin/TEST_oracleupk. XML

    Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log

    Check the context Clone logfile /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log for more details.

    Clone of fast running with the command:

    Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method

    Running:

    Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method

    Apps for password:

    Start application layer apply - Fri Oct 12 15:01:20 2013

    / données/appl_top/apps/apps_st/comn/clone/bin /... /jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/data/appl_top/apps/apps_st/comn/clone/ jlib/Oui/share.jar:/data/appl_top/apps/apps_st/ Comn/clone/jlib/Oui/srvm.jar:/Data/APPL_TOP/Apps/apps_st/COMN/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier EI /data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml-/data/appl_top/apps/apps_st/comn/clone - scene showProgress

    Password APPS: log file located at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log

    -79% completed

    ERROR when executing apply...

    Fri Oct 12 15:07:47 2013

    ERROR: Cannot run /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl

    Contents of the log file: -.

    [AutoConfig error report]

    The following report lists the errors autoconfig met in each

    execution phase.  Errors are grouped by directory and by phase.

    The format of the report is:

    < file name > < phase > < eventually return code >

    [INSTALLATION STAGE]

    AutoConfig could not successfully run the following scripts:

    Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install

    adgendbc.sh INSTE8_SETUP 1

    afcpnode.sh INSTE8_SETUP 1

    afgcsreg.sh INSTE8_SETUP 1

    txkWfClone.sh INSTALL_SETUP 1

    [PROFILE PHASE]

    AutoConfig could not successfully run the following scripts:

    Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi /data/appl_top/inst/apps/TEST_oracleupk/admin/scripts/adexecsql.pl sqlfile = / data/appl_top/inst/apps/TEST_ oracleupk/admin /. install

    afwebprf. SQL INSTE8_PRF 1

    amscmprf. SQL INSTE8_PRF 1

    amswebprf. SQL INSTE8_PRF 1

    bisadmprf. SQL INSTE8_PRF 1

    bisdblrp. SQL INSTE8_PRF 1

    clnadmprf. SQL INSTE8_PRF 1

    cncmprf. SQL INSTE8_PRF 1

    cseadmprf. SQL INSTE8_PRF 1

    csfadmprf. SQL INSTE8_PRF 1

    csiadmprf. SQL INSTE8_PRF 1

    eamadmprf. SQL INSTE8_PRF 1

    fteadmprf. SQL INSTE8_PRF 1

    ibywebprf. SQL INSTE8_PRF 1

    icxwebprf. SQL INSTE8_PRF 1

    oksfrmprf. SQL INSTE8_PRF 1

    wshadmprf. SQL INSTE8_PRF 1

    Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install

    adadmprf.sh INSTE8_PRF 1

    admk80ln.sh INSTALL_PRF 1

    afadmprf.sh INSTE8_PRF 1

    afcpctx.sh INSTE8_PRF 1

    afcpgsm.shINSTE8_PRF1
    igccmprf.shINSTE8_PRF1
    jtfictx.shINSTE8_PRF1
    okladmprf.shINSTE8_PRF1
    txkJavaMailerCfg.shINSTE8_PRF1
    txkWebServicescfg.shINSTE8_PRF1

    [APPLY PHASE]

    AutoConfig could not successfully run the following scripts:

    Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi/data/appl_top/inst/apps/TEST_oracleupk/admin/install
    adadmat.plINSTE8_APPLY1

    Fate of 31 stateful auto-configuration

    RC-50014: Fatal: failed to run the auto configuration service

    Asked by oracle.apps.ad.clone.ApplyApplTop

    ERROR: AutoConfig completed with errors. Check the logfile at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log for more details.

    ApplyApplTop completed successfully.

    # Check the race situation AutoConfig of ApplyApplTop

    WARNING: The autoconfiguration service has completed with errors.

    Please help me solve this problem, your prompt response will be highly appreciated.

    -Thank you

    Ankur

    Audit of the pool of port 70

    fact: Port pool 70 is free

    You used port 70 for the node of the database layer, so you will need to use the same port pool (70 instead of 80) when running "perl adcfgclone.pl appsTier.

    Thank you

    Hussein

Maybe you are looking for