10GR1 GridControl  with existing database fails

Can anyone explain how the install with existing database works. I have tried to reason through it, but it always fails because it cannot find an oradata file in the directory where I am installing the software.... This makes no sense....
thanks,

You have to create the $ORACLE_HOME/oradata directory ahead of time. The installer
warns you that the directory exists, but lets you continue and specify the locations where
you would like to place the repository data files.
For more information, check out this MetaLink forum message:
http://metalink.oracle.com/metalink/plsql/for_main.expandThreads?p_thread_id=600102.992&p_forum_id=93&p_after_post=N&p_forum_scope=a&p_message_id=600102.992&p_forum_time=7&p_myThread=1
or this other forum message:
Re: 10g Grid Control on Solaris box

Similar Messages

  • Installation with Existing Database Fails

    We're installing SCVMM 2012 R2 and upgrading an existing 2012 R2 CU4 database. The installation fails after running for about 30 minutes with these lines in the SetupWizard.log
    03:53:43:Failed sql script: Threw Exception.Type: Microsoft.VirtualManager.DB.CarmineSqlException, Exception.Message: Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again.
    03:53:43:StackTrace:   at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.Setup.DBConfigurator.ExecuteScript(SqlContext ctx, String fileName)
    03:53:43:InnerException.Type: System.Data.SqlClient.SqlException, InnerException.Message: Incorrect syntax near 'MERGE'. You may need to set the compatibility level of the current database to a higher value to enable this feature. See help for the SET COMPATIBILITY_LEVEL
    option of ALTER DATABASE.
    Must declare the scalar variable "@error".
    Must declare the scalar variable "@error".
    03:53:43:InnerException.StackTrace:   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
    03:53:43:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.VirtualManager.Setup.Exceptions.DatabaseConfigurationException, Exception.Message: The Virtual Machine Manager database can not be upgraded.
    The Virtual Machine Manager database SCVMM2008Prod was not upgraded. Try a new database and run Setup again.
    Has anyone seen this before? The SQL is remote but is reachable.
    Orange County District Attorney

    We have to dig deeper on this one. Can you check the SQL errorlogs for related information?
    You must verify that the databases is working, have enough space, is healthy etc.
    The logs should tell you if everything is allright.
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • Problem while reconfiguring OIM 11g with existing Database

    Hello,
    I had some issues with my OIM 11g instance, so i reconfigured it by deleting user_projects folder,before deleting i took backup of config folder as i wanted to
    configure with existing database.
    Following steps were performed for reconfiguring OIM11g:-
    1)Ran config.sh from <Middleware>/Oracle_IDM1/common/bin
    2) Copied .xldatabasekey file to newly created domain
    3)Ran config.sh from <Middleware>/Oracle_IDM1/bin
    Then tried to start AdminServer, it showed status as running but with errors like
    java.lang.NoClassDefFoundError: Could not initialize class oracle.dfw.impl.common.TempFileManager
    at oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:120)
    Then tried to start OIM server , it showed status as running but with error as
    oracle.iam.platform.utils.OIMAppInitializationException:
    OIM application intialization failed because of the following reasons:
    Password for .xldatabasekey is not seeded in CSF.
    Then i tried to cofigure domain again & this time i didnt select Oracle Identity Manager from Select domain source & checked AdminServer & it was running without any errors, but when i select Oracle Identity Manager from Select domain source then i get above problems.
    Can anyone provide pointers about how to resolve this issue .
    Thank-You
    Rahul Shah

    Dear Rahul,
    I got the same errors:
    ./admin/IDMDomain/mserver/IDMDomain/servers/wls_oim1/logs/wls_oim1.log
    ####<Jan 27, 2013 10:58:09 PM CET> <Error> <Deployer> <server02> <wls_oim1> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <aa66ef4907f1903f:4c6a3b0:13c7e03232f:-8000-0000000000000003> <1359323889050> <BEA-149205> <Failed to initialize the application 'oim [Version=11.1.1.3.0]' due to error oracle.iam.platform.utils.OIMAppInitializationException:
    OIM application intialization failed because of the following reasons:
    oim-config.xml was not found in MDS Repository.
    oracle.iam.platform.utils.OIMAppInitializationException:
    OIM application intialization failed because of the following reasons:
    oim-config.xml was not found in MDS Repository.could you explain, how did you sort out it, please? For example point 2 did you create one more domain?
    Best regards,
    Lain

  • Installing SAP 4.6B with existing database

    Good evenning.
    I need to install SAP 4.6B with existing database in SQL Server 2003.
    How can I do this installation?.
    Can you send me many guide?
    Best regards.
    Luis Gomez.

    According to
    http://service.sap.com/mcod
    --> Availibility
    4.6B is not supported (too old).
    Markus

  • How to Create new database (copy all table with data excluding 2 table )with existing database.

    Please follow the scenario:
    using C#
    1) current database file name is DB20122013.
    when user click on new year button
    2)Create backup copy of current database
    3)New database should create with all table(excluding table "Dailytemp" and "DailyMain") with data and database name as DB20132014.
    Musakkhir Sayyed.

    Hi,
    I hope, below stored procedure is useful for your scenario.
    CREATE PROC Create_New_Database
    ( @DBNAME VARCHAR(550)
    )AS
    Test : Exec [Create_New_Database] @DBNAME='DB20122013'        
    BEGIN TRY               
    SET NOCOUNT ON   
    DECLARE @sql VARCHAR(MAX), @DBNAME_NEW VARCHAR(550),@num int
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME) AND ISNUMERIC(RIGHT(@DBNAME,4))=1
    BEGIN
    SELECT @num= RIGHT(@DBNAME,4) 
    SELECT @DBNAME_NEW='DB'+CAST(@num AS VARCHAR(10))+''+CAST(@num+1 AS VARCHAR(10)) 
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME_NEW)
    BEGIN
    SELECT @DBNAME_NEW+' database already exists'
    END
    ELSE
    BEGIN
    SET @sql='USE '+@DBNAME+'  '+' backup database '+@DBNAME+' to disk = ''C:\'+@DBNAME+'.bak''  '
    +' restore database '+@DBNAME_NEW+' from disk = ''C:\'+@DBNAME+'.bak'''
    +' with move '''+@DBNAME+''' to ''C:\'+@DBNAME+'_data.mdf'' ,
    move '''+@DBNAME+'_log'' to ''C:\'+@DBNAME+'_log.log'''
    EXEC (@sql)
    SET @sql=''
    SET @sql=' USE '+@DBNAME_NEW+' IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''Dailytemp'') 
    BEGIN DROP TABLE Dailytemp END IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''DailyMain'') 
    BEGIN DROP TABLE DailyMain END '
    EXEC (@sql)
    END  
    END
    ELSE 
    BEGIN
    SELECT 'Database is now found or Database name does not mach the scenario'
    END
    SET NOCOUNT OFF   
    END TRY   
    BEGIN CATCH                
     DECLARE @ErrorMessage NVARCHAR(4000)                
        DECLARE @ErrorSeverity INT                
        DECLARE @ErrorState INT                           
        SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE()                
        RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState )                
    END CATCH;   
    GO
    Regards,
    RAMBHARATH

  • Import to new Server with Standard Database Failing at 5%

    Since the new database edition (basic, standard, premium) preview has gone live I have been trying to import an automatically exported bacpac onto a new server and into a Standard S1 database using the portal UI. So far every attempt has failed
    at roughly 5% which it never appears to move past. It is roughly 26GB, the bacpac was created with the automatic export on a business edition database and I have selected Standard, S1 and 30GB for the new database. I have tried 3 times now with
    no success and have no idea what to try next.
    Any ideas on how to get this database into the new edition?

    Hello,
    I had also the same problem with much smaller databases. The only solution for the moment is to use Premium (maybe Premium 2 or 3) to do the import the database.
    The reason is that when I am trying to import the database, I see on the dashboard  monitor that I use 100% of available Write_log metric for the edition, and in some way the server is "slowing" my import requests to keep me in my edition limits. Of
    course with this policy is almost impossible to import relatively large databases to these editions. I hope Microsoft engineers find a solution to this problem, or remove the limit for this metric.
    Regards,
    Dimitris

  • DR type restore of 10gR1 RAC with ASM database to another cluster

    Hi,
    We have a requirement to restore the image copy of our production database to another location. The production database is a 10-node 10gR1 RAC deployment with ASM. The image copy is in the FRA.
    We want to restore this image copy onto a 2-node 10gR1 RAC cluster, which is also running a development environment. We have so far used the 'backup copy copy of database' command to pipe the image copy from the FRA to an NFS mounted filesystem. We plan to restore (and convert the names) the files from here. I have a list of steps we need to undertake - like adding the production database metadata on the development cluster into CRS, restore the spfile and controlfile, restore and convert the datafiles from the production ASM diskgroup to the development ASM diskgroup.
    has anyone out there done this? Are there any nasty 'gotchas' or pitfalls?
    Please, tell me your pain so I can spare it myself :o)
    regards
    Dilbert

    user562223 wrote:
    We are planning to take cold backup through RMAN. But now the issue is that if something going wrong with the storage then both the diskgroup on the same storage will not be mounted.
    What should be the backup & recovery strategy for this scenario? How to bring the server back online?The strategy depends entirely on the risk analysis and assessment. Do you need to be able to recover the database to the moment just before it crashed? Do you need point-in-time recovery? What are the availability requirements? Etc.
    Databases can be quite diverse in nature. It can be fairly static with very few changes, to very dynamic to totally dynamic. In some cases, the database only needs to be restored as a "container" (structures with no data) as that is all the processes need and as these will supply the data. In other cases, the entire database with all committed transactions to the second before the crash is needed. In a few cases, you may want to use Data Guard and standby/clone databases instead.
    There is no single set of rman instructions that you can copy-and-paste to implement any of these diverse backup and recovery strategies. You need to determine and define your backup, restore and availability requirement first - before looking at which rman commands to use and in what sequence, where and when.

  • Test Migration with existing database

    Hi,
    I am new to Sharepoint. I would like to know if it is possible to do a copy of the exiting database and use it in a test environment on a different server?
    I am currently using wss 3.0 and I would like to test how smoothly it would be to upgrade to 2010.

    Hi Jemelia,
    Yes this is possible, please refer this MS article which explains different methods to achive this 
    http://technet.microsoft.com/en-us/library/cc263037(v=office.12).aspx 
    Let us know if this helps, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Error in /tmp/applianceagent/scripts/Database.sh: Start database  failed with exit code 2

    Hello
    I have set up the Demo appliance landscape for the openSAP course "Introduction to SAP Fiori UX", on AWS.
    The frontend machine is OK, but the configuration and startup of the server machine has failed for some reason. When logging in with ssh to the server, this message is presented:
    The Appliance Agent detected an error and terminated.
    When asked, please provide the file /tmp/applianceagent_20141002-145658.tar.bz2.
    Note that a restrictive iptables based firewall is still active.
    I have attached the file (had to add .txt to the name to circumvent file type restrictions).
    I noticed that the appliancedeploy.log ended with these lines:
    Start database  Execute /usr/sap/hostctrl/exe/sapcontrol -nr 02 -function StartWait 3600 20
    02.10.2014 13:56:58
    Start
    OK
    02.10.2014 14:56:58
    StartWait
    FAIL: Timeout
    error in /tmp/applianceagent/scripts/Database.sh: Start database  failed with exit code 2
    Notice the 1 hour jump in time, and then the timeout error message.
    Do any of you have any idea what could be causing this, and how to fix it?
    Please let me know if you need any further information.
    Best regards,
    Bo

    Hi Hannes.
    Trying to create and activate a new instance (version 5 of the Fiori appliance), I first got this message in the CAL instance overview list:
    Instance Operation Failed
    Operation Start failed on step Start start VAs with message: Start failed for VM SAP Server due to Amazon Web Services issue : AMAZON : The snapshot 'snap-c779ff64' does not exist.
    Then I terminated the instance and tried over again. And this time the deployment worked - I have a running server, which responds to the SAP GUI, and shows the Fiori web page.
    Thanks a lot for your quick help.
    Best regards,
    Bo

  • Essbase Studio - Failed to Establish Connection With SQL Database Server

    Hi all,
    I am new to Hyperion and am having trouble deploying what seems a simple cube in Essbase Studio.
    My environment is Windows 2003, EPM 11.1.1.2, SQL Server 2000.
    I have the following two issues which may be related.
    1. The EPM System Diagnostic tool says that Hyperion Foundation cannot connect to the SQL database.
    Error:
    Failed: Connection to database
    Error: java.net.UnknownHostException: <server name: <server name>
    Recommended Action:
    Every other EPM application is able to connect to the database. I have tried re-configuring Foundation Services and checking the config files and nothing looks wrong. I would appreciate advice on how to fix this.
    2 In Essbase Studio, I was able to connect to the database where the source data is, build the minischema and create dimensions and measures. But when I run the cube deployment wizard I get the error:
    Message: Failed to deploy Essbase cube
    Caused By: Failed to build Essbase cube dimension: (Time)
    Caused By: Cannot incremental build. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server. See log for more information
    …ODBC Layer Error: [08001] ==> [[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied.]
    I have checked the DSN as well as the connections set up within Studio, and they are all able to connect to the database. I am using the admin user for the Essbase server and have created a different user for the databases where the data resides and the shared services database. I tried using the same user all the way through and this didn’t help.
    Can you please advise what else I can check or change to resolve this issue.
    Also, can you work in EAS with cubes that are created in Studio? I tried looking at it and I got an error that the rule file couldn’t be accessed because it was created in Studio.
    After the above failures, I tried creating a cube in EIS, with mixed success. I have been able to load the members and data without errors. But when I try to view the data in the cube, I am seeing field names for the measures instead of the data itself.
    ...Definitely more questions than answers at this stage of my learning.
    Regards
    Michelle

    Michelle,
    I don't know if you found an answer to you question after so many months but I was hoping I could be helpful.
    The issue you are experience happens often when the dimension that you are getting an error on, in this case TIME, is built from a snowflake lineage and there is a bad foreign key reference. This dimension is most like high-up in your outline build process for Essbase Studio and this prevents the build from happening usually early on.
    Check your logs also. They are in Hyperion > Products > logs > essbase > essbasestudio.
    You can also make your logs more verbose by setting a configuration variable in the essbase studio server.properties file but that should only be used for debugging as it really saps performance.
    And, yes, you can of course edit an Essbase Studio deployed cube in EAS. However, any changes you make to the cube in EAS are subject to being wiped-out upon the next Essbase Studio deployment of that Applicaion/Database combo.
    If you want to provide more detail, screenshots, etc. I would be glad to help where I can.
    Cheers,
    Christian
    http://www.artofbi.com

  • Create database fails with error ORA-01505: error in adding log files

    hi all,
    hope someone can help me out, I'm trying to create a database using a SQL script, the content of the script is:
    create database testora
    user sys identified by oracle
    user system identified by oracle
    logfile group 1 ('/u01/app/oracle/oradata/testora/redo01a.log', '/u02/app/oracle/oradata/testora/redo01b.log') size 100m blocksize 512 reuse,
         group 2 ('/u01/app/oracle/oradata/testora/redo02a.log', '/u02/app/oracle/oradata/testora/redo02b.log') size 100m blocksize 512 reuse,
         group 3 ('/u01/app/oracle/oradata/testora/redo03a.log', '/u02/app/oracle/oradata/testora/redo03b.log') size 100m blocksize 512 reuse,
    maxlogfiles 5
    maxlogmembers 5
    maxdatafiles 100
    character set US7ASCII
    national character set AL16UTF16
    extent management local
    datafile '/u01/app/oracle/oradata/testora/system01.dbf' size 400m reuse
    sysaux datafile '/u01/app/oracle/oradata/testora/sysaux01.dbf' size 400m reuse
    default tablespace users
         datafile '/u02/app/oracle/oradata/testora/users01.dbf' size 500m reuse autoextend on maxsize unlimited
    default temporary tablespace tempts1
         tempfile '/u01/app/oracle/oradata/testora/temp01.dbf' size 20m reuse autoextend on maxsize 4g
    undo tablespace undotbs1
         datafile '/u01/app/oracle/oradata/testora/undotbs01.dbf' size 200m reuse autoextend on maxsize unlimited
    It fails in creating the database with the following output:
    SQL> @/home/oracle/Oracle_Scripts/testora_db_script.sql
    create database testora
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-01501: CREATE DATABASE failed
    ORA-01505: error in adding log files
    ORA-01184: logfile group 1 already exists
    Process ID: 3486
    Session ID: 1 Serial number: 3

    sorry to revive this thread but i have one more issue with this. I created a database with DBCA insetead of CREATE DATABASE command and selected option for Fast Recovery Area space. This automatically set initialization parameter db_recovery_file_dest and db_recovery_file_dest_size, but did not create a OMF redo log group, but instead created three redo log groups with 1 member each.
    select * from v$logfile returns:
    1          ONLINE     /u01/app/oracle/oradata/testdb2/redo01.log     NO
    2          ONLINE     /u01/app/oracle/oradata/testdb2/redo02.log     NO
    3          ONLINE     /u01/app/oracle/oradata/testdb2/redo03.log     NO
    Any idea why if creating a database with create database command and specifying db_recovery_file_dest creates an OMF redo log group and with DBCA it doesn't?

  • Dw cs5 with existing wordpress site hosted on yahoo need help connecting to existing remote database

    I am having trouble establishing a database connection.  I can  connect with test databases but am having trouble using dreamweaver wtih  my existing wordpress website.  Am I able to use dreamweaver to edit  and live view my changes before uploading the changed files to my live  site?  Am I able to access my existing wordpress database with  dreaweaver?  I have imported it to my testing server/database but still  seem to be having trouble establishing a connection with it (think maybe  my folder hierarchy might be off).
    macintosh HD/Applications/MAMP/htdocs/nwm/wp/index.php
    "nwm" is the name of the folder that I have copied all of my site  files to and the folder I have dreamweaver pointing to.  "wp" is what I  have all of the wordpress files in (the ones I copied from my yahoo  server - including all my current theme files etc.)
    I am trying to put the info into the mysql connection dialog box:
    Connection Name: Testing (i am assuming this name is for my benefit only and doesn't actually matter)
    MySQL Server: mysql
    User Name: *****
    Password: *****
    Database: wp
    and am getting this message
    MySQL Error#: 2013
    Lost connection to MySQL server at 'reading initial communication packet', system error 61
    did some google seaches of the error.  Tried turning off the  firewall, and the advance tab allow mysql incoming  (there were 2 one  was allow one was not allow.  I changed both to allow)
    Cant really find anything on yahoo to help me out.  Looked in  phpmyadmin database named wp: wp_users to get the username and password  (which due to previous look for help - I think the password was  encrypted cuz it looked like a bunch of mumbo jumbo and am fairly  certain I know the correct password).
    Any help would be greatly appreciated!! I spent $50 on live chat  last night trying to resolve the issue only to find out at the end that  the guy really didn't understand my problem and doesn't have  dreamweaver.  I have also watched countless videos on Lynda.com and have  been thru forum after forum.  While this problem is only a couple weeks  old since I just got CS5.  I have been having trouble making any  headway learning php since I cant seem to make it past the set up  parts.  I have done the php / mysql essential training on lynda.com with  relative success except that I really dont want to work with any more  exercise files so I didn't go on to the beyond the basics. I recently  went thru most of the Dreamweaver CS5 and Wordpress 3. Also did the  first 4 chapters of Dreamweaver CS5 with PHP and MySQL. I need to start  integrating things into my live sites.  I am also trying to work my way  thru the learning php, mysql, javascript book by o'reily media by robin  nixon (as fun as reading a math text book) can't get thru it since I  can't relate any of it to my current sites/needs
    I am on MacBookPro OSX 10.6.6
    Installed MAMP to specification on all 20 tutorials I have tried including lynda.com
    Tested the testing server and is working
    Just installed dreamweaver cs5
    have been using wordpress online to create and edit posts (recently  upgraded to 3.? whatever the latest update was online which I believe  update the files on my yahoo server?)
    Have also installed wordpress on my computer (several times thru each tutorial trying to get this right.)
    Am I expecting the impossible?

    If wordpress controls it's own connection why am I unable to use the live view. I have synced the remote site to my local computer so all the files should be just as they are online with the exception of the DB which contains most of the content.
    I have done all of those steps.  I have even exported the database from inside internet phpmyadmin and imported into computer phpmyadmin.  When I hit live view I get one of couple of errors.
    1.  "One is that the dynamic related files could not be displayed due to an internal server error"
    At some point I was able to view some sample files inside dreamweaver.  But I would like to be able to view my real site files.  I was able to "connect" to the local databases (not the copy of my real one - I think that maybe that was because it is somehow nested inside another db an am going try to reimport to new location).  And then I changed the host/username/password trying to deal with the internal server error. Now instead I get the cannot connect to the database Error 2016 or whatever from the origianl post. Also, I am using yahoo if that matters and all I can find about what their server name is: mysql - is that correct?
    I have been thru this so many times with so many different tutorials I am losing track of what is what.
    2.  Can I access my remote database within dreamweaver? I do not want to create dummy files (seems to be a waste of time).  And while if it had worked exporting/importing a duplicate on to my computer would have satisfied me for a little while it also seems some what counter productive.  Since every post and page is different if I were doing a daily updates etc how would I be able to change the formating or design of them if I can't access the remote files.  Would I re- import everytime I want to work on it to get current database?
    I am trying to be clear.  I listed all the specs I could think as listed  in your "how to get help fast post" (yes I read that at least twice  too) of all of the steps and possible reasons for my problems.  I also  thought that the forum was on a seperate site so I didn't think it would  count as a duplicate.  I am frustrated to tears and am feeling  incredibly stupid that after all this time and all these tutorials yes  you are right I obviously am not understanding what is going on which is  why I am on this forum.

  • How to create a new database after copying an existing database with a new name

    hi
    i have an existing database and want to copy with a new name in sql server 2005 how do it is possible 
    spose
    i have a db name attached in sql server StoreManagementDB now i want to copy this database with all the transactions as StoreManagementDB_1.
    thanks

    Use a two steps to use a backup file to restore a database with a new name.
    ----You need to have a full backup of your database:
    --Step 1:
    RESTORE FILELISTONLY
    FROM DISK = 'C:\bk\TEST.BAK'
    --Find out the LogicalName of data file and log file
    -- in this case: the data file: TEST and the log file LogicalName: TEST_log
    --Both names will be used in the MOVE command
    --Step 2:
    -- Restore the files for test1.
    RESTORE DATABASE test1
    FROM DISK = 'C:\bk\TEST.BAK'
    WITH RECOVERY,
    MOVE 'TEST' TO 'C:\bk\test1_Data.mdf',
    MOVE 'TEST_log' TO 'C:\bk\test1_Log.ldf'
    GO

  • Failed to Establish Connection With SQL Database Server in Essbase studio

    I am using Essbase Studio Release 11.1.2.1.00 for developing XOLAP cubes and deploying them on to Essbase server .
    I am getting the below Error while deploying the cube onto Essbase server.
    error : Failed to deploy Essbase cube.
    Caused by: Failed to build Essbase cube dimension: (TimeHierarchy) .
    Caused by: Cannot get async process state. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server.
    From Essbase Studio -> Datasources tab, I could able to connect to SQL Database server..Please let me know how to resolve this issue.
    Thanks,
    Swathi

    Thanks for the reply.
    There was a problem with my Essbase Server..so now i m pointing to other server.
    now I am getting the below Error:
    Failed to deploy Essbase cube.
    Caused by: Cannot end incremental build. Essbase Error(1025008): Join Specification near [[TIMEID]] is invalid. Please verify the Xolap Schema file.
    Please let me know how can I validate my cube and what changes might require in my Cube definitions?

  • Failed to Establish Connection with SQL Database Server (EAS)

    Hi,
    We have recently installed version 11.1.2.1 of essbase. Everything is working just peachy. One of my users tried to build a load rule using an Oracle ODBC data connection and gets the error:
    Failed to Establish Connection with SQL Database Server.  See log for more information.
    When I look in the log I see this:
    [Tue Feb 28 09:14:43 2012]Local/Sample/Basic/mressler@EnCanaAD/4240/Info(1013091)
    Received Command [SQLListDsn] from user [mressler@EnCanaAD]
    [Tue Feb 28 09:14:43 2012]Local/Sample/Basic/mressler@EnCanaAD/4240/Info(1021020)
    Cannot read SQL driver name for [Backup Exec Catalogs] from [ODBC.INI]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1013091)
    Received Command [SQLRetrieve] from user [mressler@EnCanaAD]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021020)
    Cannot read SQL driver name for [Backup Exec Catalogs] from [ODBC.INI]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021004)
    Connection String is generated
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021041)
    Connection String is [DSN=Test;UID=...;PWD=...;]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021006)
    SELECT Statement [SELECT '1' from dual] is generated
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021013)
    ODBC Layer Error: [IM004] ==> [[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Info(1021014)
    ODBC Layer Error: Native Error code [0]
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Tue Feb 28 09:15:03 2012]Local/Sample/Basic/mressler@EnCanaAD/5228/Warning(1080014)
    Transaction [ 0x140002( 0x4f4cfd87.0x7b890 ) ] aborted due to status [1021001].
    I have tested that the ODBC connection can connect to the database. The sql query has been dumbed down to select '1' from dual. I have not included the word "select" in the query.
    Anyone seen this before? We are in the process of uninstalling the Oracle client completely and re-installing it to see if this solves the issue. We only installed the 64 bit version of the Oracle client. I am running on Windows Enterprise 2008 R2 - 64 bit. EAS, Essbase, EIS are all 64 bit installs. I believe Studio is the only one that is 32bit. However we are not currently using this product.
    Thanks,
    Mike

    Hi Mike,
    With Oracle Support's help, we got 3 of the 5 servers working now. We were using the Datadirect drivers but were configuring them wrong! You have to use the Standard Connection portion in the setup, specifying the Host, Port Number (1521) and the SID. We were using the TNSNames Connection which worked in the past, but apparently does not now.
    So I am down to 2 servers not working. They are both Windows 2008 R2 Enterprise 64 bit, running Oracle EPM Essbase 11.1.2.1. When I Open SQL in EAS it prompts for database (Essbase Server, App, DB) and when I hit ok it pops up with "Network error: Cannot Locate Connect Information For []". We did not do any of the suggestions in the document you linked to get the other 3 servers working. When you hit ok on that error, you then get another error stating, "There are no Data Sources defined. 'SQL data sources' option will be disabled". We do have datasources defined on the server.
    Any ideas?
    Thanks,
    Mike
    Edited by: Mike on Mar 1, 2012 8:38 AM

Maybe you are looking for

  • After 5.0.1 update on iPhone 4 my phone will no longer sync.

    After 5.0.1 update on iPhone 4 my phone will no longer sync.  Keeps sitting there says "waiting for sync to start".  Any ideas?  It was fine before the update.  I tried truning off the cloud but it made no difference.  Tried on a different computer. 

  • ERROR: Automation server can't create object

    Hi, I am at my wits end, and I hope you can help me. I have compiled a Webhelp project that runs just fine in Firefox (with the exception of expanding text but blah blah blah... :P) When I compile the same project in IE, I get an page loading error t

  • PAN Number IT 185

    Hai Friends In Dev and Production servers, want to maintain PAN details, IT 185  contains only the colums ID number, but to my knowledge it should have the columns like id number, pre id no, issueing number, validity, place of issue please let me kno

  • Streaming videos through apple tv

    Since the upgrade to iOs8 I cannot stream videos to my tv through appletv. If they work, it crashes a few seconds into it. Also, the little icon on the bottom right corner of the video where I would choose which device to play the video on (phone, an

  • Two iPhone questions (existing customer and data plan)

    Hello, I have two questions about the iPhone. I am on a family plan with At&t. I don't pay my bill. I want to keep it that way. Will I just be able to take my sim card out of my phone and put it in the iPhone since it's AT&T? Or do I use a new sim ca