RC-40201: Unable to connect to Database

I am trying to run
perl adclonectx.pl migrate
on new linux server, I am getting error, I tried with some action metalink notes, but no luck,
DB is up and runnin and listener is up and running,
what else i need to check, i am not sure, i have created SR, but i have not got good action plan,
Initializing the Apps Service Context variable Hash
DEBUG: Apps Service Status context variable extracted from the given Apps context file
s_apcstatus
s_apc_restrict_status
s_apcstatus_pls
s_tnsstatus
s_tcfstatus
s_concstatus
s_formsstatus
s_reptstatus
s_metcstatus
s_metsstatus
s_icsmstatus
s_jtffsstatus
s_icxblkstatus
s_discostatus
s_mwastatus
PROMPT :
Does the target system have more than one application tier server node (y/n) [y] ?
ANSWER :
y
PROMPT :
Does the target system application tier utilize multiple domain names (y/n) [n] ?
ANSWER :
n
PROMPT :
Default value found for s_tools_oh : /tmp/
Default value found for s_weboh_oh : /tmp/
PROMPT :
Do you want to preserve the Display set to dbora12:1.0 (y/n) [y] ?
ANSWER :
n
PROMPT :
Location of the JDK on the target system [opt/java1.5]
ANSWER :
/usr/java/jdk1.5.0_21
StackTrace:
java.lang.Exception: Cant connect to database using DBUtil
at oracle.apps.ad.context.CloneContext.checkDatabaseConnection(CloneContext.java:5694)
at oracle.apps.ad.context.CloneContext.promptForPortPool(CloneContext.java:5376)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:637)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6228)
RC-40201: Unable to connect to Database OFMSREGT.

Danny,
Please mention the application release and the OS.
Do you have proper entry in the hosts file? Can you connect to the database remotely?
Do you have the latest AutoConfig (Rapid Clone) patches applied?
Please see if these docs help.
Note: 273477.1 - Running Perl Adcfgclone.Pl Appstier Gives Error
Note: 421148.1 - Jdbc Errors Cloning Apps Tier
Note: 271250.1 - Adcfgclone.pl tier apps Errors with RC-40201: Unable to connect to Database
Note: 392989.1 - Oam Cloning Preclone while Failed trying to connect to the target DB
Regards,
Hussein

Similar Messages

  • Server Error in '/' Application. [COMException (0x81020024): Unable to connect to database]

    Hi,
    My team and I are trying to resolve this issue. some of our users are having trouble uploading data into the database. this is the error that they are getting.
    I would really appreciate it if you could help me get ridd fo this issue.
    Server Error in '/' Application.
    Unable to connect to database. Check database connection information and make sure the database server is running.
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details:
    System.Runtime.InteropServices.COMException: Unable to connect to database. Check database connection information and make sure the database server is running.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace
    below.
    Stack Trace:
    [COMException (0x81020024): Unable to connect to database.  Check database connection information and make sure the database server is running.]
       Microsoft.SharePoint.Library.SPRequestInternalClass.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId,
    String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +0
       Microsoft.SharePoint.Library.SPRequest.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId, String
    bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +359
    [SPException: Unable to connect to database.  Check database connection information and make sure the database server is running.]
       Microsoft.SharePoint.Library.SPRequest.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId, String
    bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +479
       Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +666
       Microsoft.SharePoint.SPWeb.InitializeSPRequest() +548
       Microsoft.SharePoint.SPWeb.EnsureSPRequest() +75
       Microsoft.SharePoint.SPWeb.get_Request() +74
       Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +613
       Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(HttpContext context) +41
       Microsoft.SharePoint.SPContext.get_Current() +123
       CKS.EBE.BlogContext.get_BlogEnabledSite() +37
       CKS.EBE.BlogHttpModule._app_PostAuthorizeRequest(Object sender, EventArgs e) +113
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    the description of the error on the server is as follows:
    The description for Event ID ( 27745 ) in Source ( Windows SharePoint Services 3 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use
    the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: #50071: Unable to connect to the database MOSS_Content_RBI on BartDB\Bart.  Check the database connection information
    and make sure that the database server is running..

    are you using the Aliases for the SQL Server, make sure your account having the correct permission.
    If it is your QA farm, you can run the config wizard to fix his problem...
    check this post having the similar issue.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/478d6b3a-a51e-48c5-832b-5afb51c69734/unable-to-connect-to-the-sql-content-database-from-sharepoint-web-front-server?forum=sharepointadminlegacy
    http://hammad1.wordpress.com/2008/06/04/unable-to-connect-to-database-in-event-logs/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Unable to connect to database server : MDM 7.1

    Hello All,
    I installed MDM 7.1 and I am unable to create/mount/unarchieve repository : Error message I am getting is :
    Unable to connect to Database
    I installed MSDE : Light version of SQL server... On command prompt I used: setup.exe sapwd=abcd SECURITYMODE=SQL
    Its an mixed mode..
    Dont know MSDE is okey to use for MDM 7.1? Any one faced such issue?
    Thanks in advance
    Rajeev

    Hi,
    Did you install Oracle client on MDM server.  If not please install it and revert with the result..
    Please check SAP Note 1350635 - "Problem connecting to database from MDM console" & Note 1363797 -" Oracle connection problem".. Kindly also check the log in MDM console and revert with the result.
    Also, Please check Configurations Settings as mention in [MDM installation Document|https://websmp209.sap-ag.de/~sapidb/011000358700001668492008E] from Page no 42 to 45.
    Check it and revert with your findings.
    Regards,
    Shiv

  • Unable to Connect to Database (after server has been re-started)

    Hi,<BR><BR>I use Essbase Admin Services 7.1.3 and the server was not responding, therefore our IT guys re-started it. Since then I am unable to connect to one of the applications. I have tried to start/Stop the application but it just says "Application did not start". <BR><BR>There are 6 databases in this application altogether (3 data and 2 Currency). The application has been there for about 3 years (it holds historic sales data) and there has never been any problems with it.<BR><BR>When I tried to Start the application, in the message panel at the bottom it says "Error: 1013015 Unable to Connect to Database (2003)". It's as if there is a problem with this 2003 database but the 2002 and 2004 database are OK.<BR><BR>Has anyone ever had this problem and knows how to rectify it??<BR><BR>Thanks in advance.<BR><BR>Sarah

    It may be that the server restart corrupted the database. Go into database properties and uncheck the box start database with application and then try to restart the application.<BR><BR>You can try database validation, or simply reload the database from backup. But you can get the application up and the rest of the databases up by decoupling the database restart from the application start.<BR><BR>There will be a .xcp log file in your application directory (and possibly your database directory.) These might help Hyperion Support in identifying the cause of the problem. But the quickest solution would be to reload the database from backup. The serer and application logs can also provide help in identifying the problem.<BR><BR>One of the keys is to determine why the server is not responding before restarting the server. It may be that a single application is the source of problem. Typical causes are unscheduled free space restructures, application loads of large databases, and an occasional rogue process. Rather than rebooting the entire box, or even restarting the Essbase server, the safest approach is to only kill the job that is soaking up the cpu cycles, causing the server to be unresponsive. This requires identifying the offending process (esssvr.exe) and killingit. Often that restores the rest of the system to operations, giving you time to focus onthe offending application.<BR><BR>You learn thses things when you are pushing the server to its limits (or beyond). If it happens often, you need to do a serious performance audit of teh server and determine whether you need more power and/or memory. <BR><BR>And in any case, you are less likely to encounter this sort of problem in the future if you try to limit applications to a single database. This will allow a better utilization of system resources. And also, it's a good idea to shut down applications that you are not going to be using for a while. Every loaded app takes system resources whether or not it is doing anything. So review your list of apps that start on startup and consider unloading apps after completing batch processing. <BR><BR>Sorry about the long lecture, but I speak from somewhat painful experience. I hope that this will help you.

  • Unable to connect to database  in ofline mode

    Hi ,
    i have server OBIEE server installed in Linux and client installed on windows7
    the issue is
    when i log in to admin tool on client it opens and show all tables but..
    ..... when i right click a table and click on view data .. it through an error 'UNABLE TO CONNECT TO DATABASE"
    I HAD CHECKED THE TNS NAME S EVERY THING IS FINE
    can any help in this regard

    Hi,
    which DB are you using? if u r using Oracle DB refer the below steps and make sure u r end
    There are 3 options to work around this
    1. Copy your tnsnames.ora to {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory (only the former is needed as that is the ORACLE_HOME)
    2. Or instead of tnsnames.ora source entry, use the full expanded tnsnames as shown below
    (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.66.173)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = orcl)))
    3) easy to connect u r DB
    To configure OCI, you have to provide in the connection pool of the physical layer three parameters:
    the call interface. You must choose OCI.
    The data source name
    The user name and password
    In the data source name, you have to enter a connect identifier that can be one of the following naming methods.
    //database_host[:port]/service_name
    for more :
    http://gerardnico.com/wiki/dat/obiee/oci
    Thanks
    Deva

  • I'm unable to connect to database thru cold fusion

    I'm unable to connect to database thru cold fusion. it
    sometiems give me an error that your uname is undefined , soemtimes
    it gives ur index page not found so i created index page also but
    still im unable to connect to database n update my records..plz
    help me out..im a fresher in cold fusion

    I am having a similar problem having CFMX 7.02 verify my SQL
    Server 2005 Data Sources.
    I am using the sa account for CF to access the db's. But i
    get the following error:
    Connection verification failed for data source: myDatabase
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    Every role in SQL Server has the sa grantor Grant enabled. I
    can also login to SQL Server with the sa account w/o a hitch.
    I don't know what else to do. The server information is set
    to the ServerName port 1433, datasource name and database name are
    the same as the database name in sql server, and the username and
    password are set for the sa account.
    Thanks!

  • Upgrade SBO-COMMOM SQL -  unable to connect to database

    Dear Experts,
    I'm trying to upgarde from SAP 2007 A PL-42  to  PL-49.
    I have currently got SQL2000 (for legend system) running under the instance name SERVER and i have installed SQL2005 (SAP uses this) with the instance name SERVER\SQL2005, both running on the same machine called SERVER.
    When i try to upgrade the SBO-COMMON database, it installs the DI and reaches a point where it asks for:-
    Database Server:-              (I input SERVER\SQL2005)
    Database Name:-              (SBO-COMMON)
    User Name:-                     (sa)
    Password:-                      (password)
    When i click the NEXT button, i get the error "unable to connect to database; verify that database TCP/IP port serice is started."
    I have verified that the TCP/IP ie enabled,and running on port 1433.
    Addidtional Information:
    During installation, it tries to access c:\windows\system32\sqljdbc_auth.dll file, when i click the NEXT button, just before i get the TCP/IP error.
    Would highly appreciate the help.
    Regards,
    Asif

    Dear Asif,
    You may check these threads first:
    Re: Unable to connect after migrating from SQL Server 2000 to SQL Server 2005
    Re: Installing SBO 2007 Error Unable to connect to database
    Thanks,
    Gordon

  • MDM 71 - mdm console and clix - unable to connect to database server

    Hi,
    environment, MDM 7.1, AIX 6, Oracle 10.2.0.4 (installed as part of a standalone java AS)
    i've an issue. I have installed MDM 71 via sapinst, before that I installed a standalone java application server. During the installation, i gave the 'oracle client', 'oracle home' and 'oracle sqlplus utility' to be those of the oracle database installed for the java AS.
    After sapinst completed I tested my connection to the database via
    tnsping <SID> = OK
    sqlplus system/passwd@<SID> = OK
    When i start up the mdm console (7.1.02.90) i can mount the MDM server, BUT when I try to configure the database settings i get
    error  'unable to connect to database server'
    I get the same error when i use clix dblist
    Error: 0x84020004, Unable to connect with Database Server
    Has anybody got any ideas.

    To see why the MDM is not able to connect to database, do the following:
    % cd /usr/sap/<SID>/MDSxx/log
    % ls -ltr
    You will find last updated log file with name like MDS_LogXXUX101224X164953.csv
    % tail -100 MDS_LogXXUX101224X164953.csv
    You will see the reason for not being able to connect. If the reason is:
    ",MDSAdminServerXGetAvailableReps,Oracle_DBConnection.cpp,205,,,,server_user,server_global,,,
    2011-09-23T06:10:48.933,6       ,24,"Service 'SID', Schema 'system', ERROR CODE=12154 ||| ORA-12154: TNS:could not resolve the connect identifier specified
    OCI Attach, try again ...
    Then edit the /oracle/SID/112_64/network/admin/tnsnames.ora with entry like following:
    SID.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (COMMUNITY = SAP.WORLD)
            (PROTOCOL = TCP)
            (HOST = hostname)
            (PORT = PORT_NO)
        (CONNECT_DATA =
          (SID = SID)
          (GLOBAL_NAME = SID.WORLD)
    then issue:
    tnsping SID
    If result is like
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = hostname) (PORT = PORT_NO))) (CONNECT_DATA = (SID = SID) (GLOBAL_NAME = SID.WORLD)))
    OK (0 msec)

  • Unable to connect to database which uses custom NLS charset

    Hello,
    I have custom character set installed on my database. I'm trying to connect to DB using OCI driver. On the client machine (Linux), I have Oracle 10g Release 2 installed. Custom character set is installed on the client side too and SQL*Plus connection works fine. Both NLS_LANG and ORA_NLS10 environment variables are set correctly.
    When I'm trying to connect via JDBC, I'm getting the following error:
    java.sql.SQLException: Character Set Not Supported !!
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.sql.converter.CharacterSetMetaData.isFixedWidth(CharacterSetMetaData.java:924)
         at oracle.jdbc.driver.DBConversion.<init>(DBConversion.java:164)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:878)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
    and so on...
    The same code works fine on my computer (I have 9i client here). As I have read from various sources across the internet, Oracle 10g JDBC driver uses own character set conversation methods, encoded in orai18n.jar, it does not pay attention to NLS_LANG, etc.
    So, my question is: do I need to create own character set for JDBC? And if so, is there a chance to generate it from existing .nlt files or I need to build them from scratch?

    Sorry, I think it will be better if I move this post to "Globalization Support" forum : Unable to connect to database which uses custom NLS charset
    This thread can be closed

  • Installing SBO 2007 Error Unable to connect to database

    Trying to install SBO 2007. 
    First install server tools, then sever. 
    The SBO -Common database exists as per checking the SQl database.
    The install asked for the database server, database name, user name and password in which I enter this correctly.
    A message states:
    WARNING
    'Unable to connect to database;verify database server name and that database is started'.
    I am unable to proceed further.  Can any on assit please.
    Have also tried un installing SBO 2007, deleting databases and rebooting - without success.

    Dear Lisa,
    You will get this issue when you are using named/non-default instance of MS SQL Server during the installation progress
    of SAP Business One Integration Platform.
    The B1iP installation program uses default port (1433) to connect MS SQL
    Server and to create database. The named instance will use the port
    other than 1433.
    1.  Before the installation of B1iP, change the port of the named
        instance to 1433, which will be used to install B1iP.
    2.  If 1433 is being used by another application, and cannot be changed,
        the steps below is one walk-around way:
        a) Stop the instance of MS SQL Server, which is using the port 1433
        b) Change the named instance, which will be used to install B1iP, to
           1433 temporary, and remember the port to recover
        c) Install B1iP (or SAP Business One with B1iP component)
        d) After installation, stop the B1i service. Under B1i folder, in
           the Xcellerator.cfg, change 1433 to the port that B1iP DB
           instance used.
        e) Change back the ports of SQL Server.
        f) Run the service of SQL Server and B1i again.
    Regards,
    Rakesh Pati
    SAP Business One Forum Team

  • Error Message: Unable to connect to Database Contact IT Dept.

    Hi Everyone, there is a problem in login.
    The software is working fine from long time,
    Today all of a sudden while I logged into the software [which was created using oracle/reports 6i] (Version - Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production)],
    I got the error saying Unable to connect to Database Contact IT Dept.
    The same software is working fine in all the systems.
    In only 1 system, that error message is displayed.
    Thank You.

    From this  message,  it is understood that  your  database connectivity credentials is not correct.
    What makes you think that ? Do you know the Oracle error that caused the message ? (which is evidently generated by the application)
    Recently did you changed any password - which may be  hardcoded on form.
    On one client only ?

  • Error: unable to connect to database using user system. please check privil

    Hi All,
    i have 2 oracle databases in my system (ORCL,RR). i am able to connect both databases i sql prompt. but in ggsci prompt not able to connect rr database due to below error
    dblogin userid system, password tiger.
    Error: unable to connect to database using user system. please check privil
    Can you please help me to connect RR database also in GGSCI promt.
    Thanks
    Raja

    Did you try with RR database tns name or sid while connecting ?
    If No then try this ,
    GGSCI (ATP) 6> DBLOGIN USERID SYSTEM@<tns alias name>
    Password:
    Successfully logged into database.
    HTP
    Annamalai.

  • Error: Unable to connect to database using connection_pool

    Hi experts
    I have created repository and reports on my windows machine using ODBC , Now i have tranfered this to on unix with OCI, But when i am connecting to my dtabase it is showng the error:
    Error: Unable to connect to database using connection_pool
    Please suggest how to resolve this..

    Have you install the Oracle client in your Unix server?

  • P6 Professional R8.2 unable to connect to database

    Hi,
    I just installed Primavera P6 Professional R8.2 on Windows XP SP3. Everything went fine during the installation.
    However, when i first started the application and started logging in, i got the error message *"Unable to connect to database. Would you like to configure database connection now?"*. I have tried the following option but it still does not work:
    1. Stop Database ---> OracleServiceXE was stopped successfully
    2. Start Database ---> OracleServiceXE was started successfully
    3. Configure database with user "pubuser" or "privuser" ---> i got error message *"Bad public user name or password. ORA-01017: invalid username/password; logon denied;"*
    Could you please advise how to resolve this problem?
    Your comments will be very much appreciated.
    Thanks,
    sanlen

    I had also similar problem for 8.3.
    My web client is working fine.
    I am able to connect to database with user pubuser and password.
    But while configuring P6 Professional with pubuser, i am getting same above error *" Bad public user name or password. ORA-12154: TNS:could not resolve the connect identifier specified"*
    Please help me also to resolve this issue.

  • Unable to connect to Database Error in FDM application creation

    Hi All,
    I have Installed Financial Data Quality Management 11.1.2.2 in my machine. Database [Oracle 11g R2 64 bit] and client[Oracle client 32 bit] also installed in the same machine.
    We selected the following components while installing Oracle client[Custom installation],
    Oracle Objects for OLE
    Oracle Data Provider for .NET
    Oracle Providers for ASP.NET
    Oracle Provider for OLEDB
    Complete the install.
    When I tried to create FDM application it throws me the following error. Unable to connect to Database. Please check the database information and verify the database is accessible.
    Kindly guide me to overcome this issue.
    Thanks and Regards
    Sai

    Hi Sai,
    first of all, you have posted FDM issue in Essbase forum. Thats the reason you didn't get replies to this issue.
    To resolve this, we need to Oracle Client 32 bit first then Oracle Client 64 bit.
    Install Oracle Clients completly. (As per documentation, we need to install Clients completly. Means choose Administrator, not instant client and custom)
    After installing also if get same error, Goto Environment variables, Edit PATH variable and copy the 32 bit Client path to the first in the PATH variable.
    Then reboot the Server and try again to create FDM application.
    Thanks,
    mady

Maybe you are looking for