Creating a new database using an MDF file

My database saves as MDF. I want to know what are the steps to restore or create a new database using a MDF file? I tried to restore as usual but it shows an error. Please help.

An MDF file isn’t a backup file isn’t the main data file (or master data file depending on who you ask) hence the file extension MDF. You can attach the MDF to the database by right clicking on the databases folder in Enterprise Manager (SQL 2000) or Management
Studio (SQL 2005) then selecting all tasks and then Attach Database. When you do this you will get an error about the log file missing. This shouldn’t matter as SQL Server will simply create a new log file for you. This will only work if the SQL Server was
stopped when you copied the MDF file from the old SQL Server. If you copied the file while the SQL Server was running this file probably will not attach either and you will need to get a valid backup of the database.
Download help tool for sql database - SQL Server Restore Toolbox.
http://www.sqlserver.restoretools.com/
You can read up more on SQL Server here.
http://www.filerepairforum.com/forum/microsoft/microsoft-aa/sql-server/498-creating-a-new-database-using-an- mdf-file?_=1416149856104

Similar Messages

  • How to create a new DataBase using Oracle 10g Express Edition???

    Hello, I am new to Oracle, I am used to Microsoft SQL Server (Enterprise Manager).
    Here in Oracle I do not get how do I create a DataBase, and then create tables on it.
    could anyone please explain to me how to do it?

    A SQL Server database is roughly equivalent to an Oracle schema.
    You should rarely need to create a new database. If you do need to create a database, get a 'for fee' edition of Oracle and use the dbca tool (Database Configuration Assistant) to do that. In fact, you are only allowed to have one XE database on the machine.
    However, you can create as many schemas in an existing Oracle database as you need. (One schema, owned by userid SYS, is roughly equal to your 'master catalog'.)
    You can create other schemas simply by
    1) creating a userid that will own the schema (one designated for maintenance of the schema);
    2) grant that userid appropriate privileges, such as 'CREATE TABLE', 'CREATE VIEW' as shown in the SQL Reference manual under the GRANT section;
    3) provide that userid with a quota in one or more tablespaces (see the CREATE USER command in the SQL Reference manual);
    4) create the objects, such as tabels, views, sequences, stored procs and functions, etc. (as in the SQL Reference manual);
    5) create the users who will access the objects, and grant them the CREATE SESSION capability (as in the SQL Reference manual);
    6) grant access (select, update, execute, etc.) on the schema objects to these users (as in the SQL Reference manual);
    7) if desired, create synonyms on the schema objects so the users do not need to use fully qualified syntax such as "SELECT col FROM schema.table;" (as in the SQL Reference manual).
    In case you are interested in looking at the SQL Reference manual, it can be found at http://www.oracle.com/pls/db102/portal.portal_db?selected=1 ;-)

  • How to create a new database using Enterprise manager?

    hi all,
    thank you for all your support. i want to create a new database . I tried following these steps
    i am using Oracle 9i and windows XP
    1, opened the enterprise manager by clicking from programs
    2,selected launch standalone Application
    3, from the tree i expanded the network node and expanded the databases node ,now i can see the globaldatabase i created during installation . i can login that database using systems and manager (username & password )
    4, clicked the new database icon from the window , a small window with node named database appeared
    5 , I tried to expand that by clicking on the database node ,but it pops up a new window showing no active session selected
    I would be grateful if anyone can suggest a solution for this
    thanks & regards

    Hi,
    How can i access DBCA
    start ---> run ---> DBCA <<hit enter>>
    or
    start ---> program ---> oracle home ---> configuration tools ---> database configuration assistant.Regards
    Mohammed Taj
    http://dbataj.blogspot.com

  • Create a new Database in an other server using a copie of RMAN backup

    Hi all,
    I want to create an other instance for our production database. We have disk and tape in rman backup. My question is can i create a new database using our disk backup in an other server?
    If some procedure or steps is there, email it to my adresse [email protected]
    Hamid.
    Thanks

    By means of the use of Recovery Manager it is possible to duplicate a database out from a previously taken rman backup. The method will be outlined in the next few lines.
    Let's assume a source database named SRCDB and the target database, named GEMINI. A unix like environment is assumed, but it can be implemented on windows as well, just beware of the particular Oracle implementation on a windows platform (orapwd file name, service creation, path format)
    1. Create a password file for the Cloned (GEMINI) instance:
    orapwd file=/u01/app/oracle/product/9.2.0.1.0/dbs/orapwGEMINI password=password entries=10
    2. Configure tnsnames.ora and listner.ora
    Properly identify the database at the tnsnames.ora and have the instance manually registered against the listener.ora files, both files located at the $ORACLE_HOME/network/admin directory.
    2.a Manually register the database against the listener (listener.ora)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/9.2.0.1.0)
    (SID_NAME = GEMINI)
    2.b Added the target GEMINI to the tnsnames.ora
    GEMINI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mydomain.com)(PORT = 1521))
    (CONNECT_DATA =
    (ORACLE_SID = GEMINI)
    2.c Reload the listener
    lsnrctl reload
    3. Create a new init.ora for the cloned database.
    Next create an init.ora file for the cloned database. In case the same paths cannot be used on the target host, either because it is the same source host or because those paths are not reproducible on the target, then DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT may be required to be defined
    DB_NAME=GEMINI
    CONTROL_FILES=(/u02/oradata/GEMINI/control01.ctl,
    /u02/oradata/GEMINI/control02.ctl,
    /u02/oradata/GEMINI/control03.ctl)
    # Convert file names to allow for different directory structure.
    DB_FILE_NAME_CONVERT=(/u02/oradata/SRCDB/,/u02/oradata/GEMINI/)
    LOG_FILE_NAME_CONVERT=(/u01/oradata/SRCDB/,/u01/oradata/GEMINI/)
    # block_size and compatible parameters must match those of the source database
    DB_BLOCK_SIZE=8192
    COMPATIBLE=9.2.0.0.0
    4. Connect to the cloned instance
    ORACLE_SID=GEMINI; export ORACLE_SID
    sqlplus /nolog
    conn / as sysdba
    5. Create an SPFILE based on the init.ora
    CREATE SPFILE FROM PFILE='/u01/app/oracle/admin/GEMINI/pfile/init.ora';
    6. Start the database in NOMOUNT mode:
    STARTUP FORCE NOMOUNT;
    7. Connect to the TARGET, CATALOG and AUXILIARY databases.
    By means of the rman three connections are open, one for the Source Database (SOURCEDB), another for the Catalog database (RCAT), and one more for the cloned database (GEMINI)
    ORACLE_SID=GEMINI; export ORACLE_SID
    rman TARGET sys/password@SRCDB CATALOG rman/rman@RCAT AUXILIARY /
    8. Complete or Incomplete clone (recover)
    From the rman the database using one of the following commands:
    8.a Clone the database by means of a complete recover.
    DUPLICATE TARGET DATABASE TO GEMINI;
    8.b Clone the database up to a defined point in time in the past by means of an incomplete recover
    DUPLICATE TARGET DATABASE TO GEMINI UNTIL TIME 'SYSDATE-2';
    9. Process finished.
    Once the process is finished, the newly created GEMINI database is ready to be used as an independent new cloned database.
    Ref. RMAN Clone a Database
    ~ Madrid

  • Creating a new database with exporrt file

    Hi there,
    I am to create a new database with an export file.
    I have the export file (exp) and the new environment set up (Oracle10g on UNIX)
    Can someone gimme some guide lines and what I might probably face and new to correct.
    Regards.

    Well I don't think that it would be possible to show you a full db import/export here. All you need to do s a full database import from the source database to the target database.
    And I have to rrename
    the db to some other name.
    Use the DBNEWID utility to do it.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm#i1004664
    HTH
    Aman....

  • Create a new database in foxpro , msaccess dynamically

    hello,
    i am writing an application in which depending on the users selection a database will be created dynamically .i.e if he selects oracle or foxpro or access it will create a new database using the dsn supplied by the user and then creates the tables in that particular database .
    i would like to know how to create a new database from within a class file for foxpro or msacces dynamically.
    thanks for the help

    hi,
    thanks for ur response.
    i have no problem in creating tables
    my application does that, but i wanna know how to create a new database so that the tables that are created for a particular clients data are stored in a database specific for that client only , i.e. when his work is over he can completely discard the database by dropping it and can create new database when he wants to start a new database related to different client.
    i would like to know how to create that database file, system or file dsn dynamically.

  • How to create a new database and use it?

    Hi there,
    I have so many tables in the current database that i'm working on. When i start to create a new table such as employee, student, person...etc it doesnt allow me to create them becuase it says the tables exists. Even when i use the drop command to drop the tables, doesn't help. So most of the time i have to create a table with postfix of 1, 2 to the table name.
    Therefore i need to create a database for every project that i do.
    How do i create a new database?
    Then how do i use the database that i just created?
    Then how do i find the out whats the database that i'm currently working on?
    Thanks!
    Message was edited by:
    dingdong
    Message was edited by:
    dingdong

    A database is a physical set of files that contains many schemas. Each schema has a one to one relationship with database users, so to create a new schema you create a new database user.
    e.g.
    CREATE USER fred IDENTIFIED BY fredspassword;Then, by logging on as fred you can create all the new tables you like as that user, in that users schema.
    If you create a new database then you will find you cannot access functions/procedures, packages, tables etc. that exist in another users schema without creating a database link to the other database that contains them.
    If you just create a new schema, you can more easily get at other users schema objects (tables, packages etc.) by referencing them with the users name e.g. JOE.TABLE1 providing that user has given permission for your user to access them. You can also create synonyms that allow you to reference other users schema objects as if they exist in your own e.g. you can have something called TABLE1 in your own schema that is in fact referencing JOE.TABLE1.
    Message was edited by:
    BluShadow
    remove quotes from password. oops! thanks padders

  • Create new database using rman cold backup

    It oracle 10g database version 10.2.0.4
    I took the cold backup of the database using rman ( Database name TEST)
    1.RMAN> startup mount;
    2.RMAN> backup database include current controlfile;
    3.RMAN> alter database open;
    I aim to create the new database called DEMO using this backup
    Please let know the setps for creating new database
    Edited by: prajeevan on Jan 19, 2011 9:09 PM

    I took the cold backup of the database using rman ( Database name TEST)
    1.RMAN> startup mount;
    2.RMAN> backup database include current controlfile;
    3.RMAN> alter database open;
    I aim to create the new database called DEMO using this backup
    Please let know the setps for creating new databaseIf it is in archivelog mode you can use duplicate to refresh database DEMO from TEST..
    or after cold backup, go to mount ,
    create trace file of controlfile becuase you are chaning database name
    recreate the controlfile
    open database in resetlogs;
    check also http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf

  • How to Create new database from cold backup files.

    Dear Experts,
    I have an oracle 10g databae on windows 2003 server.
    The database is in Archive log mode and backup strategy is Taking cold backup ever night.
    Backup steps:
    shut down database.
    copy data files, control files, redo logs, archive logs and parameter files to safe location.
    Startup.
    I have taken a backup at Tuesdaay 1AM and I have archive logs also.
    On Wednesday, I want to Create a new database on another server with the available cold backup files and archive logs. I want to recover the database upto 4PM Wednesday. How can I do this.
    I am not using control file auto backup or control file backup to trace.
    Please help me how can I do this. I am new to oracle database Administration.
    --Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The steps :
    shut down database.
    copy data files, control files, redo logs, archive logs and parameter files to safe location -- you mean the alternate location for the new databaseare correct (except that I would say "alternate location for the new database").
    If you do not have controlfile backups, you cannot either OPEN the database or RECOVER the database until and unless you CREATE the Controlfiles. You have to generate a CREATE CONTROLFILE script using a BACKUP CONTROLFILE TO TRACE from the Production serer and create the controlfile on the new server.
    BEFORE the Startup, I would use
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;The "using backup controlfile" tells Oracle to continue attempting Recovery -- ie doing a RollForward -- till the last archivelog made available to it.
    For the Recover command, you then keep applying the ArchiveLogs from the Tuesday 1am ColdBackup upto Wednesday 4pm.
    Once you have applied the last ArchiveLog, you do an
    ALTER DATABASE OPEN RESETLOGS;Here are my notes of doing a RollForward "Recovery" from a Cold Backup :
    http://hemantoracledba.blogspot.com/2007/05/rollforward-from-cold-backup.html
    If you are attempting all these steps on a different server from your current Production database, you should be safe.
    Once you OPEN the database, you can use CREATE CONTROLFILE or the NID utility to rename the database.
    If you are attempting to create the new database on the same server there are many other precautions you have to take and unless you have experience with cloning databases, I would advice you against doing so (only the RMAN DUPLICATE DATABASE command has a safer method of cloning a database).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Creating a new database containing part of an existing database,same server

    Hi All Experts,
    I have a problem. I am trying to create a new database on a server which already has a database (named qadb10g) running on it. I want the new database to contain only a few tablspaces of the "qadb10g" database. I tried this approach.
    1. Take an RMAN backup of the desired tablespaces from the source database (qadb10g), including system and undo tablespaces as well.
    2. Use "SET NEWNAME FOR DATAFILE ..." RMAN commands to restore all the data files in the new disk location on the same server.
    3. Run "ALTER DATABASE BACKUP CONTROLFILE TO TRACE" command in the "qadb10g" database to generate a "create controlfile...." script.
    4. Edit the resulting file (from step 3) to change file locations and database name, instance name, etc.
    5. Create a new init.ora file for the new database.
    6. From an sql*plus session, with "ORACLE_SID" already set to new database name, run the "create controlfile ..." script which we generated and changed above.
    I performed steps 1-5 successfully, But when I ran the step 6 command, I got an error saying "Datafile Header contains database name 'qadb10g' which is not maching the <newdb name> .....".
    This means, the database datafiles which were backed up and restored from the 'qadb10g' database still contain the same db name in their header and this is preventing new control file from being created. So, the new datbase cannot be created. Can anbody help me how to resolve this problem???
    Any urgent help would be greatly appreciated. Thanks in advance.

    At Step 4, did you use the SET <newdbname> in the create controlfile script ?
    At Step 5, did you change the db_name in the pfile ?
    nid is the new and easier way to change the database name.

  • About spfile creating in oracle 10g while creating a new database

    hi everyone,
    i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
    im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
    thanx

    first of all, thanx for giuding me as im a student doing a course in this
    what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
    Step 5: Create a Server Parameter File (Recommended)
    Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
    The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
    -- create the server parameter file
    CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
    PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
    SHUTDOWN
    -- the next startup will use the server parameter file
    EXIT
    the error : db_name does not match with the parameter.
    its still taking the default orcl database name

  • TNS Protocol error in 11g when creating a new database

    Hi,
    I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
    I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
    =====================================================
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Solaris: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
    Time: 17-DEC-2009 10:30:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    =====================================================
    Some excerpts from the trace is:
    =====================================================
    2009-12-17 11:14:38.776040 : nsopen:opening transport...
    2009-12-17 11:14:38.776097 : ntpcon:entry
    2009-12-17 11:14:38.776140 : ntpcon:toc = 1
    2009-12-17 11:14:38.776196 : sntpcall:entry
    2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
    2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
    2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
    2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
    2009-12-17 11:14:38.796571 : sntpcall:exit
    2009-12-17 11:14:38.796674 : ntpcon:exit
    2009-12-17 11:14:38.796755 : nserror:entry
    2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    2009-12-17 11:14:38.796861 : nsopen:unable to open transport
    2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
    =====================================================
    In /etc/host i have added server ip with host name.
    $ more /etc/host
    172.26.171.57 sol11oracle-vm
    The .profile of oracle user
    export TMP=/tmp
    export TMPDIR=$TMP
    export ORACLE_BASE=/export/home/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
    export ORACLE_SID=TSG11G
    export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
    Please suggest.

    $ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TSG11G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSG11G)
    $ tnsping tsg11g
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
    OK (50 msec)

  • Exception while creating a new database

    Greetings,
    I was using dbca (Database Configuration Assistant) on Linux to create a new database. Everything was going ok until it was 85% done, at which point it waited a long time and then said it had failed and gave the path to a log file. Below is [what I think to be] the relavant part of that log file (emConfig.log). I sure could use some help on this, thanks.
    -Sam
    Mar 14, 2007 1:56:48 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [DISPLAY=:0.0, NEED_EXIT_CODE=1, ORACLE_HOSTNAME=deadbeef, ORACLE_SID=dbxv3x, PATH=/usr/kerberos/bin:/opt/jdk1.5.0_08/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/u01/app/oracle/product/10.2.0/db_1/bin:/home/oracle/bin, TZ=]
    Mar 14, 2007 1:56:48 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: TZ set to US/Pacific
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://deadbeef:5501/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
    Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/deadbeef_dbxv3x/sysman/log
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/dbx_v3x/emConfig.log for more details.
    Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
         at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:565)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:177)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:146)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
         at java.lang.Thread.run(Thread.java:534)

    This may be a clue. In the file emdctl.trc there are many WARN lines (Connection refused) and two ERROR lines (timezones do not match) right at the time when dbca was 85% done. I am speculating that the timezone errors might be relevant to this problem. Below is just a snippet. Yesterday and this morning we tried to run $ORA_HOME/bin/emctl start dbconsole on this database and we get the timezone errors only. If timezone mismatch is the problem, how do you fix it?
    2007-03-14 14:57:58 Thread-3062621888 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:02 Thread-3062679232 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:06 Thread-3062081216 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:10 Thread-3061798592 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:14 Thread-3062118080 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:18 Thread-3062658752 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:22 Thread-3062699712 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:24 Thread-3061970624 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-420,and testTZoffset for US/Pacific:-480 do not match
    2007-03-14 14:58:25 Thread-3061970624 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-420,and testTZoffset for US/Pacific:-480 do not match
    2007-03-14 14:58:26 Thread-3061864128 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:30 Thread-3061888704 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:34 Thread-3062695616 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:38 Thread-3061864128 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:42 Thread-3062556352 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:46 Thread-3062650560 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
    2007-03-14 14:58:50 Thread-3062388416 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)

  • Problem in Creating a new database in Oracle 9i

    I have installed Oracle 9i for Windows successfully. Now when I try to create a new database either using the Database Configuration Assistant or using the script generated by the Assistant, I get an error message that DATABASE NOT OPEN. So the database will not be created. Please help in this regard, so that I can create a database and I can start working on Oracle 9i.
    Thanks in advance.
    Kiran

    Hi DENIS,
    I have executed the following commands (which are in a script file),
    1. sqlplus /nolog
    2. connect sys/change_on_install as sysdba
    3. create database ...
    4. ...
    When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
    How to rectify this problem.
    Thanks in advance,
    Kiran

  • Creating a new database

    Ok new to Sun JSE8. How do you create a new PointBase database? Do you have to have PointBase installed on you PC? or is it installed with JSE8? I have a application that was prototyped in Access and now we are going to do it in Java. This is a school project that we are working on but it will be used when we are done creating it. I looked in the help file but could not find out how to do it. I have used MSSql alot and can create a database there and then connect to it but we were trying to get away from MS products a non proft will be using our program and the cost of MSSql would be to much.
    Is everything done by code only for creating a new database and tables?
    Thanks

    Pointbase comes bundled with JSE8.
    To create new pointbase database:
    Go to the following directory under your JSE8 installation directory:
    For example:
    \jstudio_ent8\AppServ8.1UR2\pointbase\tools\serveroption
    Use the startconsole file to start the pointbase client console.
    The pointbase GUI will come. This has the option to create new database by going to the pointbase console menu. Also, remember to start the pointbase server before. You can start it from the IDE, by going to Tools -> Pointbase Database.
    Also, the following sample databases are installed with the Pointbase installation:
    sample
    sun-appserv-samples
    To connect to the Pointbase sample database, you can check the IDE help online. Simply search for pointbase.

Maybe you are looking for