ALTER DATABASE RENAME DATAFILE, what really needs to bu run later?

Hi!
If I "alter database" and move some datafiles to newly added luns, do I need to run:
On DB side:
1) perl adcfgclone.pl dbTechStack (according new luns!)
2) If 1) is yes, then probably have to run "perl adcfgclone.pl dbconfig $CONTEXT_FILE"?
On APPS side:
1) Autoconfig?
Second question. If on on new LUN is only having archived log files (no db datafiles are on that lun), should they be involved in Number of DATA_TOP's on the target system?
THX

If I "alter database" and move some datafiles to newly added luns, do I need to run:
On DB side:
1) perl adcfgclone.pl dbTechStack (according new luns!)
2) If 1) is yes, then probably have to run "perl adcfgclone.pl dbconfig $CONTEXT_FILE"?
On APPS side:
1) Autoconfig?Damir,
Could you please elaborate more? Why would you need to run perl adcfgclone.pl if you alter the database and add more datafiles?
Second question. If on on new LUN is only having archived log files (no db datafiles are on that lun), should they be involved in Number of DATA_TOP's on the target system?When cloning, it is not required to copy the archivelog files. DATA_TOPs should point to the mount points where datafiles are located.

Similar Messages

  • Diff btw "recover datafile file#" & "alter database recover datafile file#"

    What is the difference between
    "recover datafile file#"
    "alter database recover datafile file#"
    Thanks
    Naveen

    I don't mean to be rude, but the statement that "There is no difference in both the commands" is facile in the extreme. Sounds like more off-the-cuff instant advice than the considered thoughts of someone who's actually bothered to try both commands out.
    The "alter database recover..." command is a disaster waiting to happen and should never be used by anyone who actually wants to achieve a successful database recovery. It has the effect of suppressing most of the interactive dialogue you get when you submit the shorter "recover..." command, and indeed causes spurious errors to be displayed because the non-interactive recovery process gets it wrong.
    For example, here's me recovering my database using the "alter database" syntax:
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\WIN10\USERS01.DBF'
    SQL> alter database recover datafile 4;
    alter database recover datafile 4
    ERROR at line 1:
    ORA-00279: change 642359 generated at 07/04/2008 09:03:18 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_9_%U_.ARC
    ORA-00280: change 642359 for thread 1 is in sequence #9Note the slightly alarming report of an 'error at line 1'. What's difficult to convey in mere text, however, is that at the end of that output, the thing just sits there, and you've no idea what on Earth is happening on the database. The text tells you it's making a suggestion, but there's no indication of how you accept the suggestion, of what's happening when you do accept it or where anything is up to.
    I've interrupted one of those once (fortunately only in a training room) and lost the entire database as a result (because a half-complete, interrupted recovery is worse than no recovery at all).
    Compare that with the plain "recover..." syntax example:
    SQL> recover datafile 4;
    ORA-00279: change 642359 generated at 07/04/2008 09:03:18 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_9_%U_.ARC
    ORA-00280: change 642359 for thread 1 is in sequence #9
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 642571 generated at 07/04/2008 09:06:26 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_10_%U_.ARC
    ORA-00280: change 642571 for thread 1 is in sequence #10
    ORA-00278: log file
    'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_9_46TPVL2G_.ARC' no longer needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 642576 generated at 07/04/2008 09:06:32 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_12_%U_.ARC
    ORA-00280: change 642576 for thread 1 is in sequence #12
    ORA-00278: log file
    'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_11_46TPVRMK_.ARC' no longer needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    Log applied.
    Media recovery complete.There are no weird error messages reported here. The suggestion is accompanied by a prompt that tells you how to accept it. Every time a new log is required, a new prompt is given. You can cleanly cancel at any time by typing 'cancel'. You are kept informed throughout and are in charge throughout.
    Anyone that uses "alter database" syntax during a recovery is, therefore, either brave or foolhardy. In either case, there is a very profound difference between the two.
    Your parting shot that 'alter database' is a SQL command and 'recover' can be an RMAN command misses the point by a wide mile, too. RMAN can issue pretty much any piece of SQL you like, so long as you wrap it in the SQL command:
    RMAN> sql 'alter database recover datafile 4';
    using target database control file instead of recovery catalog
    sql statement: alter database recover datafile 4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 07/04/2008 09:23:16
    ORA-00279: change  generated at  needed for thread
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover datafile 4
    ORA-00279: change 642359 generated at 07/04/2008 09:03:18 needed for thread 1
    ORA-00289: suggestion : C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\WIN10\ARCHIVELOG\2008_07_04\O1_MF_1_9_%U_.ARC
    ORA-00280: change 642359 for thread 1 is in sequence #9We don't get much further in RMAN with this dodgy form of the recovery command than we did in SQL*Plus, it's true -but that's just because it's a silly command to use in the first place, wherever you thought to use it. The distinction you seek to draw between 'SQL commands' and 'RMAN commands' is false in this case, in other words.

  • Alter database create datafile as

    Hi
    T1-)shutdown immediate;
    T2-)Take full backup
    T3-)startup;
    T4-)move the objects in tablespace test1 to some other tablespace
    T5-)drop tablespace test1;
    T6-)create tablespace test1
    datafile 'C:\oraclexe\oradata\XE\test1.dbf' reuse;
    T7-)alter system switch logfile;
    In some other server;
    startup nomount;
    restore the backupset which was taken at T2.
    restore controlfile at T7.
    startup mount;
    alter database create datafile 'C:\oraclexe\oradata\XE\test1.dbf' as 'C:\oraclexe\oradata\XE\test1.dbf';
    ALTER DATABASE RECOVER automatic database until cancel using backup controlfile;
    Recovery performed succefully.
    What I wanna ask is;
    Since First I issue:
    "alter database create datafile as ...."
    The contents of this datafile should be deleted with this statement.
    Why oracle doesnt give error in recovery, during appliying the statement at T4 ?
    I have already deleted the contents of the datafile, how come oracle move the objects?
    I hope I am clear

    Hi,
    although it is beyound my imagination what kind of real world scenario you are trying to simulate with your test, I can tell you why no error gets returned:
    You create a new tablespace t1 after you dropped the old one. That gets stored in the current controlfile. The previous backup of the datafile of the old tablespace that incidentally has the same name is now useless for the new tablespace.
    You then restore that controlfile and create the datafile manually as it looked after you created the new tablespace (empty) and then recover that. RMAN does that (without complaining even about the uselessness of your doing). If you look into that tablespace, you will see that it is empty as it was after you created it - unless you have put any objects into it after the second creation of that tablespace t1.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • During daily refresh/clone alter database rename file genrating logs under $ORACLE_HOME/dbs with name c-1437102747-20130920-16

    Did anyone have seen this behavior?
      DB version : 11.1.0.7
      OS : HP-UX Itanum
      EBS -11.5.10.2
    We are doing daily refresh/clone of a database instance from production. Recently we are seeing the growth of $ORACLE_HOME/dbs directory during this
    refresh.   During investigation we find out that
      1) When we rename the database files after database restoration. Each below command genrating the 24MB of log file under $ORACLE_HOME/dbs.
      Command :
      alter database rename file '/db02/prod/XDB.dbf' to '/db02/test/XDB.dbf';
    alter database rename file '/db02/prod/a_archive01.dbf' to '/db02/test/a_archive01.dbf';
      Logfiles under $ORACLE_HOME/dbs on target :
      -rw-r----- xxxxx 24379392 Sep 20 05:30 ./dbs/c-1437102747-20130920-02
      -rw-r----- xxxxx 24379392 Sep 20 05:30 ./dbs/c-1437102747-20130920-03
      2) After few minutes, these logs got removed from the directory.
      3) Did not find anything unusual in the alert log.

    These are controlfile autobackups.   Every time you make a physical change to the database structure, an autobackup is created.  In 11.2, the frequency is reduced -- for example if you make 5 changes in quick succession, one autobackup is created.
    CONTROLFILE AUTOBACKUP ON    would be visible when you do a SHOW ALL in rman.
    Hemant K Chitale

  • Do you really need lion to run face time?

    Do you really need loin OS to run face time?  We just got a ipad2 and I'd like to talk to it but my macbook has leopard.  Any work arounds?

    Facetime on a Mac requires OSX 10.6.6 (Snow Leopard) or Lion.

  • Alter Database Create Datafile

    Hi Fellows,
    Can any body explain me if i dont have backup of datafile, how could i recover my database.
    I will appreciate sooner response.
    Thanks
    Mustafa

    Hi,
    The only way out is, if you have a export dump, you can get back the data till the time of export.
    Raghu.

  • Renaming datafiles in control files with database mounted but not open

    Hi,
    I moved a database (physical files) from one server to another. I need to modify the contents of the control files since the directory structure of the servers are not the same (and I can't change that).
    I know I can use ALTER DATABASE BACKUP CONTROLFILE TO TRACE to produce a script that I can than modify and run with the instance started, database mounted but not open, and that will recreate the control files. I don't want to do that.
    I was also told I can modify the datafile entries in the control files by starting the instance, mounting but not opening the database. Then I can issue the (this is the part I need help with) ALTER DATABASE RENAME FILE <file1> to <file2>. When I tried this it complains that <file1> is not found. Obviously the command I used is not the right one,,, what is the right command for what I want to do.
    Thanks,
    Gabriel

    Move all datafiles from one directory to an other without recreate controlfile :
    SYS@DEMO102> select file_name from dba_data_files
      2  union
      3  select member from v$logfile
      4  union
      5  select file_name from dba_temp_files
      6  union
      7  select name from v$controlfile;
    FILE_NAME
    E:\ORACLE\ORADATA\DEMO102C\CONTROL01.CTL
    E:\ORACLE\ORADATA\DEMO102C\CONTROL02.CTL
    E:\ORACLE\ORADATA\DEMO102C\CONTROL03.CTL
    E:\ORACLE\ORADATA\DEMO102C\EXAMPLE01.DBF
    E:\ORACLE\ORADATA\DEMO102C\REDO01.LOG
    E:\ORACLE\ORADATA\DEMO102C\REDO02.LOG
    E:\ORACLE\ORADATA\DEMO102C\REDO03.LOG
    E:\ORACLE\ORADATA\DEMO102C\SYSAUX01.DBF
    E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF
    E:\ORACLE\ORADATA\DEMO102C\TBS102_1.DBF
    E:\ORACLE\ORADATA\DEMO102C\TBS102_2.DBF
    E:\ORACLE\ORADATA\DEMO102C\TEMP01.DBF
    E:\ORACLE\ORADATA\DEMO102C\UNDOTBS01.DBF
    E:\ORACLE\ORADATA\DEMO102C\USERS01.DBF
    14 rows selected.
    SYS@DEMO102> create pfile='E:\oracle\admin\DEMO102\pfile\pfile102.ora' from spfile;
    File created.
    SYS@DEMO102> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.Here, I move all datafiles mentionned above, and modify my pfile for new controlfile directory. Then :
    SYS@DEMO102> startup pfile=E:\oracle\admin\DEMO102\pfile\pfile102.ora
    ORACLE instance started.
    Total System Global Area  272629760 bytes
    Fixed Size                  1288940 bytes
    Variable Size             163579156 bytes
    Database Buffers          100663296 bytes
    Redo Buffers                7098368 bytes
    Database mounted. --Note that we are in mount state
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF'
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\USERS01.DBF' to 'E:\ORACLE\ORADATA\demo102\USERS01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\SYSAUX01.DBF' to 'E:\ORACLE\ORADATA\demo102\SYSAUX01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\UNDOTBS01.DBF' to 'E:\ORACLE\ORADATA\demo102\UNDOTBS01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF' to 'E:\ORACLE\ORADATA\demo102\SYSTEM\SYSTEM01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\EXAMPLE01.DBF' to 'E:\ORACLE\ORADATA\demo102\EXAMPLE01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TBS102_1.DBF' to 'E:\ORACLE\ORADATA\demo102\TBS102_1.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TBS102_2.DBF' to 'E:\ORACLE\ORADATA\demo102\TBS102_2.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO01.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO01.LOG';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO02.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO02.LOG';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO03.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO03.LOG';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TEMP01.DBF' to 'E:\ORACLE\ORADATA\demo102\TEMP01.DBF';
    Database altered.
    SYS@DEMO102> alter database open;
    Database altered.
    SYS@DEMO102> create spfile from pfile='E:\oracle\admin\DEMO102\pfile\pfile102.ora';
    File created.
    SYS@DEMO102> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SYS@DEMO102> startup
    ORACLE instance started.
    Total System Global Area  272629760 bytes
    Fixed Size                  1288940 bytes
    Variable Size             163579156 bytes
    Database Buffers          100663296 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    Database opened.
    SYS@DEMO102> select file_name from dba_data_files
      2  union
      3  select member from v$logfile
      4  union
      5  select file_name from dba_temp_files
      6  union
      7  select name from v$controlfile;
    FILE_NAME
    E:\ORACLE\ORADATA\DEMO102\CONTROL01.CTL
    E:\ORACLE\ORADATA\DEMO102\CONTROL02.CTL
    E:\ORACLE\ORADATA\DEMO102\CONTROL03.CTL
    E:\ORACLE\ORADATA\DEMO102\EXAMPLE01.DBF
    E:\ORACLE\ORADATA\DEMO102\REDO01.LOG
    E:\ORACLE\ORADATA\DEMO102\REDO02.LOG
    E:\ORACLE\ORADATA\DEMO102\REDO03.LOG
    E:\ORACLE\ORADATA\DEMO102\SYSAUX01.DBF
    E:\ORACLE\ORADATA\DEMO102\SYSTEM\SYSTEM01.DBF
    E:\ORACLE\ORADATA\DEMO102\TBS102_1.DBF
    E:\ORACLE\ORADATA\DEMO102\TBS102_2.DBF
    E:\ORACLE\ORADATA\DEMO102\TEMP01.DBF
    E:\ORACLE\ORADATA\DEMO102\UNDOTBS01.DBF
    E:\ORACLE\ORADATA\DEMO102\USERS01.DBF
    14 rows selected.
    SYS@DEMO102> Nicolas.

  • Alter database open resetlog?

    Hi all,
    I am trying the Database cloning(new database name) in my development environment(Oracle 11g r1 Windows 2003 Server). While Creating a new controlfile we need pass command like this "CREATE CONTROLFILE REUSE SET DATABASE "ORCL2" RESETLOGS FORCE LOGGING NOARCHIVELOG"
    1.i just wants to know why we need to use resetlogs, when i pass this command what is internally happening in the oracle?
    2.when the new database name is updated in all datafile during controlfile creation or while opening the database?
    3.Alter database open resetlogs what is internally happening in the oracle when i pass this command?
    Please advice me
    Thanks & Regards,
    Shan

    this will help
    http://web.njit.edu/info/limpid/DOC/backup.102/b14191/osrecov009.htm

  • UNABLE TO RENAME DATAFILE

    Hi
    I tried to rename a datafile by making the datafile and table space offline,
    I am getting the following error messages
    SQL> alter tablespace usersdata rename datafile '/home/oracle/DB11G/usersdata03.dbf' to '/home/oracle/DB11G/usersdata04.dbf';
    alter tablespace usersdata rename datafile '/home/oracle/DB11G/usersdata03.dbf' to '/home/oracle/DB11G/usersdata04.dbf'
    ERROR at line 1:
    ORA-01525: error in renaming data files
    ORA-01141: error renaming data file 8 - new file
    '/home/oracle/DB11G/usersdata04.dbf' not found
    ORA-01110: data file 8: '/home/oracle/DB11G/usersdata03.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Y ITS NOT HAPPENING ???????
    Thnaks in adv..

    ##how to move datafiles.
    1. Shut down the database E.G: shutdown immediate
    2. Move datafiles by OS commands. mv /oracle/product/dbs/test02.dbf /oracle/oradata/ORALOG/test02.dbf
    3. Startup the database in mount state e.g: startup mount
    4. Rename that file e.g: alter database rename file '/oracle/product/dbs/test02.dbf' to '/oracle/oradata/ORALOG/test02.dbf';
    5. Open the database e.g: alter database open
    http://www.oracle-base.com/articles/misc/RenamingOrMovingOracleFiles.php
    Regards
    Asif Kabir

  • RENAMING DATAFILE

    Hello All,
    We use Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit on Solaris 10.
    I ran out of space in one of the mount points and when i checked al the files were oracle datafiles.
    so i thought of moving datafile and rename it.
    This is the steps i followed and the error thrown....
    1)shutdown the database
    2)cp /u02/oradata/DWH/temp01.dbf /u01/oradata/DWH/temp01.dbf
    3)startup nomount
    4)alter database mount
    5)alter database rename file '/u02/oradata/DWH/users01.dbf' to '/u01/oradata/DWH/temp01.dbf';
    Database altered.
    6)alter database open;
    alter database open
    ERROR at line 1:
    ORA-01122: database file 4 failed verification check
    ORA-01110: data file 4: '/u01/oradata/DWH/temp01.dbf'
    ORA-01251: Unknown File Header Version read for file number 4
    Where am i doing the mistake....
    Thanks in advance
    Vijay G

    "ALTER DATABASE RENAME FILE" doesn't move Oracle files. It assumes that you have already done so at the OS level (e.g. using "mv" or "cp" on Unix/Linux).
    The command only updates the controlfile because the controlfile tracks the physical structure of the database.
    You had already done a
    cp /u02/oradata/DWH/temp01.dbf /u01/oradata/DWH/temp01.dbfso your ALTER DATABASE command should have been_
    ALTER DATABASE RENAME FILE  '/u02/oradata/DWH/temp01.dbf'  TO  '/u01/oradata/DWH/temp01.dbf' ; Since you've issued the wrong command, the controlfile now "thinks" that '/u01/oradata/DWH/temp01.dbf' is the USERS datafile !
    You could, first try reversing your ALTER DATABASE command as
    ALTER DATABASE RENAME FILE '/u01/oradata/DWH/temp01.dbf' TO  '/u02/oradata/DWH/users01.dbf' ;Assuming that temp01.dbf is a TEMPFile and not DATAFILE, you could drop it and add TEMPFILE '/u01/oradata/DWH/temp01.dbf' to the TEMP Tablespace.

  • I really need a good help - Applets

    Well, i4m posting again, because i4ve got no answers, and i really need to run an applet.
    My environment is an NT Server with the database (8.0.5.1) and OAS (4.0.8) and i4m trying to run an applet in another NT machine (the same where i have JDev 3.0 installed).
    I don4t know if i4ve set all the needed to run an simple applet with database access, so i really need to know, step-by-step, what4s to do.
    My applet don4t run and in the java console i4ve read some errors, posted below :
    in IE 5.0 ->
    java.lang.NoClassDefFoundError: oracle/dacf/dataset/AppModuleInfo
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:508)
    at sun.plugin.AppletViewer.createApplet(AppletViewer.java:814)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:444)
    at sun.applet.AppletPanel.run(AppletPanel.java:282)
    at java.lang.Thread.run(Thread.java:479)
    in Netscape 4.7 ->
    load: class package10.Applet1.class not found.
    java.lang.ClassNotFoundException: java.io.FileNotFoundException: \Brasil\C\Web\Alessandro\package10\Applet1\class.class (The system cannot find the path specified)
    I4m trying real hard to run an applet and i4m becoming desperated !!! I know and hope that4s only something real easy was forgotten.
    Can u help me ? Thanks !
    null

    Ok, i4ve put my bussines.jar (the file where my Bussiness Components are) in the java_ARCHIVE tag and now the error changed :
    load: class package10.Applet1.class not found.
    java.lang.ClassNotFoundException: java.net.ConnectException: Connection refused: no further information
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
    at java.net.Socket.<init>(Socket.java:269)
    at java.net.Socket.<init>(Socket.java:98)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:54)
    at sun.net.NetworkClient.openServer(NetworkClient.java:42)
    at sun.net.ftp.FtpClient.openServer(FtpClient.java:271)
    at sun.net.ftp.FtpClient.<init>(FtpClient.java:385)
    at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:82)
    at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:101)
    at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:228)
    at sun.applet.AppletClassLoader.access$1(AppletClassLoader.java:218)
    at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:141)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:138)
    at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:198)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:377)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:508)
    at sun.plugin.AppletViewer.createApplet(AppletViewer.java:814)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:444)
    at sun.applet.AppletPanel.run(AppletPanel.java:282)
    at java.lang.Thread.run(Thread.java:479)
    What4s wrong now ? My html and jar files are all in the same directory on the Web Server.
    Can u help ?
    Thanks !

  • Sql "ALTER DATABASE DATAFILE x OFFLINE" not working??(solved)

    Hi all,
    I'm playing around with RMAN on a test instance, and am trying to just restore and recover a datafile. I can't see what I'm doing wrong.
    I've renamed the users01.dbf file like it is lost...
    I get RMAN going...I do a startup mount;
    When I try:
    RMAN> sql "alter database datafile '/data1/oradata/testdb5/users01.dbf' offline";
    sql statement: alter database datafile '/data1/oradata/testdb5/users01.dbf' offline
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 04/06/2009 16:13:28
    RMAN-10015: error compiling PL/SQL program
    Now....I did this with the number of the datafile, and it let me do the offine that way
    RMAN> sql "alter database datafile 4 offline";
    sql statement: alter database datafile 4 offline
    But, I want to try it with the file name, and I can't understand why it is giving me an error.
    Any suggestions?
    TIA,
    cayenne
    Edited by: cayenne on Apr 6, 2009 2:01 PM

    bigdelboy wrote:
    When I try:
    RMAN> sql "alter database datafile '/data1/oradata/testdb5/users01.dbf' offline";
    Try following, you need to put in the single quotes twice.
    RMAN> sql "alter database datafile ''/data1/oradata/testdb5/users01.dbf'' offline";Rgds - bigdelboyWow...ok, that was NOT in the book. This did work with double quotes on the outside " but, the datafile quoting required me to use 2 SINGLE quotes around that.
    RMAN> sql "alter database datafile ''/data1/oradata/testdb5/users01.dbf'' offline";
    sql statement: alter database datafile ''/data1/oradata/testdb5/users01.dbf'' offline
    Any explanation for this? Granted the oracle press example was for a windows machine...
    cayenne

  • Tried opening a file in library and it states can't open database with library name? It says Relaunch then will not open? and Blocks me completely from Aperture. I have to go to Finder to Rename it? I need this file how do I get it to open?

    Tried opening a file in library and it states can't open database with library name? It says Relaunch then will not open? and Blocks me completely from Aperture. I have to go to Finder to Rename it? I need this file how do I get it to open?

    Aftershotz,
    You're going to have to give a bit more information.
    What do you mean by "opening a file in library?"  There is no function of Aperture to open files -- you can open (switch) libraries.
    You'll have to be more specific about error messages, too.  Perhaps some screenshots would be useful to diagnose your problem.  "Can't open database with library name" is not enough detail about what Aperture is really telling you.
    nathan

  • 'alter database open resetlogs' didn't reset one of the datafiles

    I've spent the last three and a half weeks recovering an oracle database (11g 64-bit linux) because of a corrupt block in an online redo log (which I thought was being written to multiple locations). I restored the files, moving some of them around in the process; recovered to the latest possible point; moved files back to their proper location; ran 'alter database open resetlogs'; and one of the datafiles (from a bigfile tablespace) didn't get reset. I checked afterward, and it was marked offline. I do not remember placing the file offline, and cannot find such a statement in my last 300 sqlplus commands, which includes commands well before I renamed this file and the commands surrounding the rename.
    Restoring/recovering the database again will take too long, and is a remarkably poor option. Even if the database had opened correctly, the affected tablespace would not have been touched in the two or three minutes the database was open. Is there any way to force oracle to reset the logs again or otherwise fix this one file to mark it with the same date? Only allowing the resetlogs option after an incomplete recovery seems a poor restriction, especially, if files can slip through like this. I'm suspecting there is someway to just fix the checkpoint values for the tablespace, but I don't know where to begin. This particular file is <5% of the database, so if I have to do some sort of backup/restore with just it, that is probably doable.

    0: 11.1.0.6.0 on SUSE Linux Enterprise Server 10 SP2
    1: rman
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_datafiles_%p' (database);
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_archivelogs_%p' archivelog all delete input;
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_control_%p' current controlfile spfile;
    2:
    restore database; --not sure what datafiles were restored with this
    restore datafile X; --several files were restored individually
    recover database until scn 1137554504; -- I verified that all datafiles were on the same checkpoint after this finished. Not having placed any files offline, I didn't bother checking that.
    3:
    SQL> alter database open resetlogs;
    Database altered.
    Elapsed: 00:04:20.34
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    4: Nothing in the tablespace has been touched since I ran 'alter database open resetlogs;'. It also appears that oracle placed the file offline (without me telling it to do so) and left it that way through the resetlogs, leaving the tablespace unusable during the time it was opened. The only things that would be out of date are the 'RESETLOGS_CHANGE#', the 'CHECKPOINT_CHANGE#', and associated values. It's still at the last scn before the resetlogs, and the system has been in archivelog mode the entire time. This is all information that Oracle could be tracking, and from a program logic standpoint there is no reason why Oracle cannot tie together the changes before the resetlogs, the resetlogs command and the changes after the resetlogs into a new, continuous string of changes. I assume there is some such feature in a high-caliber program because I'm actually a programmer (who would have included such advanced tracking features), and I've become a DBA out of necessity. I admit to not knowing all of the oracle DBA commands, hence me posting here before doing the work of submitting a request to metalink.
    5: I consider it a poor restriction because it doesn't always reset the logs on all files, and as far as my knowledge goes it has rendered my 3.5 week recovery process WORTHLESS. I suppose it could cause numerous errors, especially if the database wasn't cleanly shut down, but having the ability to do something equivalent to datafiles that oracle skipped the process on seems quite useful in my situation. I guess the more fundamental problem to complain about is that it would apply such changes to only some of the files, while leaving others unusable, instead of just giving me an error that some files weren't going to be reset, but I think I'm done venting my Oracle frustrations for now.
    Am I stuck with a tablespace that I cannot bring online with the database open, or is there some sort of 'alter database datafile' command (or anything else) that I know nothing of that will fix the straggling file?
    Edited by: jbo5112 on Oct 5, 2009 3:33 PM -- obfuscated some file names to secure identity.

  • Alter database datafile online:

    I wanted to do an online backup of a datafile.
    This is what happened (in archive mode):
    alter database datafile <filename> offline
    copied file with O/S command
    alter database datafile <filename> online
    ERROR at line 1:
    ORA-01113: file 5 needs media recovery
    so then I had to do this:
    recover datafile <filename>
    Then I was able to proceed.
    Why this error? Is it normal?
    DA
    And now, when I try to backup the control file, this is what happens:
    alter database backup controlfile to 'C:\control_file_backups'
    ERROR at line 1:
    ORA-01580: error creating control backup file C:\control_file_backups
    ORA-27038: skgfrcre: file exists
    OSD-04010: <create> option specified, file already exists
    Message was edited by:
    Dan A
    Just changed it to
    alter database backup controlfile to trace;
    no problem now.
    Message was edited by:
    Dan A

    I wanted to do an online backup of a datafile.
    This is what happened (in archive mode):
    alter database datafile <filename> offline
    copied file with O/S command
    alter database datafile <filename> online
    ERROR at line 1:
    ORA-01113: file 5 needs media recovery
    so then I had to do this:
    recover datafile <filename>
    Then I was able to proceed.
    Why this error? Is it normal?
    its normal whenver a datfile is taken offline either by you or automatically by oracle you need media recovery.
    >
    And now, when I try to backup the control file, this
    is what happens:
    alter database backup controlfile to
    'C:\control_file_backups'
    ERROR at line 1:
    ORA-01580: error creating control backup file
    C:\control_file_backups
    ORA-27038: skgfrcre: file exists
    OSD-04010: <create> option specified, file already
    exists
    check at c there probably control_file_backups exist?
    Khurram

Maybe you are looking for

  • Problems with video settings after upgrade to  final cut 5.0

    I upgraded my G5 to 10.4.10; and final cut to studio 5, and alkso tried studio 2 final cut 6 both times I get the message: cannot find firewire device. I am using a Sony DSR 25 dvcam deck, and it is recognized a such on the firewire buss in the About

  • ISA Application SAP CRM 5.0 - on mobile

    Hi All, We are supporting ISA application fr our client on SAP CRM 5.0, as of now. We would like to check if there is any possibility for our end users to open the application on their mobiles. If its possible, what all do we need to configure, if an

  • Issues with Flash player Crashing

      I keep getting a gray exclamation mark on things that run a Flash player. I never go over my RAM memory and after I get the gray exclamation mark it asks me to update my flash player. Even when I do so it say I have the most update Flash player. i

  • Recovering 'Mysafe' folder from infected HDD in Ubuntu

    Hi, my wife's laptop was hit pretty hard by 'protectmypc' virus. went bsod on me. followed howtogeek.com img iso brnt ubuntu to run and recoeverd most of my files. Now before i do a clean install, i can't recover anything in the mysafe folder.... How

  • IOS8: Bug in Hour:Minute format

    iOS8: bug in Norwegian language: Hour:Minute separated by "." not ":"