ORA-19612: datafile 0 not restored due to missing data

Hello,
I'm testing a restore of the controlfile. The database is in archivelog mode and autobackup is set to ON. I successfully did a full backup and backup as copy database.
To test I did the following:
- note the DBID
- shutdown the database
- renamed both controlfiles:
$ mv /u02/rcat/control01.ctl /u02/rcat/control01.ctl_old
$ mv /u02/fra/rcat/control02.ctl /u02/fra/rcat/control02.ctl_old
When I try to restore the controlfile form autobackup I receive the following error. What could be reason please?
[rcat@oel54]$ rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 10 00:07:41 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
connected to target database: RCAT (not mounted)
RMAN> set dbid 502889862;
executing command: SET DBID
RMAN> restore controlfile from autobackup;
Starting restore at 10-DEC-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK
recovery area destination: /u02/fra
database name (or database unique name) used for search: RCAT
channel ORA_DISK_1: AUTOBACKUP /u02/fra/RCAT/autobackup/2010_12_09/o1_mf_s_737336682_6j2pyv2l_.bkp found in the recovery area
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20101210
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20101209
channel ORA_DISK_1: restoring control file from AUTOBACKUP /u02/fra/RCAT/autobackup/2010_12_09/o1_mf_s_737336682_6j2pyv2l_.bkp
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/10/2010 00:09:55
ORA-19870: error while restoring backup piece /u02/fra/RCAT/autobackup/2010_12_09/o1_mf_s_737336682_6j2pyv2l_.bkp
ORA-19612: datafile 0 not restored due to missing data
$ ll /u02/fra/RCAT/autobackup/2010_12_09/o1_mf_s_737336682_6j2pyv2l_.bkp
-rw-r----- 1 oracle dba 10354688 Dec  9 23:44 /u02/fra/RCAT/autobackup/2010_12_09/o1_mf_s_737336682_6j2pyv2l_.bkpThanks!

The file was indeed corrupted as below will show.
Very strange. Perhaps something with the latest Virtualbox or the SSD/hybrid harddrive. (host MacOSX 10.6, guest Oracle Linux 5.5 UEK)
$ mv /u02/rcat/control01.ctl_old /u02/rcat/control01.ctl
$ mv /u02/fra/rcat/control02.ctl_old /u02/fra/rcat/control02.ctl
SQL> startup mount
ORACLE instance started.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00264: no recovery required
SQL> alter database open;
Database altered.
$ rman target /
connected to target database: RCAT (DBID=502889862)
RMAN> backup current controlfile;
piece handle=/u02/fra/RCAT/backupset/2010_12_10/o1_mf_ncnnf_TAG20101210T012420_6j2wsoko_.bkp
Finished backup at 10-DEC-10
Starting Control File and SPFILE Autobackup at 10-DEC-10
piece handle=/u02/fra/RCAT/autobackup/2010_12_10/o1_mf_s_737342662_6j2wspvf_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 10-DEC-10
RMAN> restore validate controlfile;
piece handle=/u02/fra/RCAT/autobackup/2010_12_10/o1_mf_s_737342662_6j2wspvf_.bkp tag=TAG20101210T012422
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: validation complete, elapsed time: 00:00:02
Finished restore at 10-DEC-10
SQL> shutdown immediate
$ mv /u02/rcat/control01.ctl /u02/rcat/control01.ctl_old
$ mv /u02/fra/rcat/control02.ctl /u02/fra/rcat/control02.ctl_old
SQL> startup nomount
$ rman target /
connected to target database: RCAT (not mounted)
RMAN> set dbid 502889862;
RMAN> restore controlfile from autobackup;
Starting restore at 10-DEC-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK
recovery area destination: /u02/fra
database name (or database unique name) used for search: RCAT
channel ORA_DISK_1: AUTOBACKUP /u02/fra/RCAT/autobackup/2010_12_10/o1_mf_s_737342662_6j2wspvf_.bkp found in the recovery area
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20101210
channel ORA_DISK_1: restoring control file from AUTOBACKUP /u02/fra/RCAT/autobackup/2010_12_10/o1_mf_s_737342662_6j2wspvf_.bkp
channel ORA_DISK_1: control file restore from AUTOBACKUP complete
output file name=/u02/rcat/control01.ctl
output file name=/u02/fra/rcat/control02.ctl
Finished restore at 10-DEC-10

Similar Messages

  • Datafile not restored due to missing or corrupt data

    Hi all,
    I was asked to restore a RMAN backup which we got from another region, the rman backup contains controlfiles and datafiles as compressed backupset.
    oracle version is 10.2.0.3.0
    aix version 6
    First, I have restored the control file using the below command:
    run
    +{+
    allocate channel t1 type disk;
    restore controlfile from '/oracle/app/prod/rman/cf_t799873684_s17_p1';
    alter database mount;
    +}+
    Second, I have cataloged the backup piece:
    catalog backuppiece '/oracle/app/prod/rman/df_t794754324_s12_p1';
    catalog backuppiece '/oracle/app/prod/rman/df_t793567544_s13_p1';
    catalog backuppiece '/oracle/app/prod/rman/df_t731097654_s14_p1';
    catalog backuppiece '/oracle/app/prod/rman/df_t792538698_s15_p1';
    catalog backuppiece '/oracle/app/prod/rman/df_t792183472_s16_p1';
    catalog backuppiece '/oracle/app/prod/rman/cf_t799873684_s17_p1';
    Third, used below command to restore:
    +run {+
    allocate channel t1 type disk;
    allocate channel t2 type disk;
    allocate channel t3 type disk;
    allocate channel t4 type disk;
    set newname for datafile 01 to '/oracle/app/oradata/dbprod/system01.dbf';
    set newname for datafile 02 to '/oracle/app/oradata/dbprod/undotbs01.dbf';
    set newname for datafile 03 to '/oracle/app/oradata/dbprod/sysaux01.dbf';
    set newname for datafile 04 to '/oracle/app/oradata/dbprod/users01.dbf';
    set newname for datafile 06 to '/oracle/app/oradata/dbprod/datafile005.dbf';
    set newname for datafile 07 to '/oracle/app/oradata/dbprod/datafile006.dbf';
    set newname for datafile 08 to '/oracle/app/oradata/dbprod/datafile007.dbf';
    set newname for datafile 09 to '/oracle/app/oradata/dbprod/datafile008.dbf';
    set newname for datafile 10 to '/oracle/app/oradata/dbprod/datafile009.dbf';
    set newname for datafile 11 to '/oracle/app/oradata/dbprod/datafile010.dbf';
    set newname for datafile 14 to '/oracle/app/oradata/dbprod/datafile001.dbf';
    set newname for datafile 15 to '/oracle/app/oradata/dbprod/datafile002.dbf';
    set newname for datafile 16 to '/oracle/app/oradata/dbprod/datafile003.dbf';
    set newname for datafile 17 to '/oracle/app/oradata/dbprod/datafile004.dbf';
    set newname for datafile 18 to '/oracle/app/oradata/dbprod/indfile001.dbf';
    set newname for datafile 19 to '/oracle/app/oradata/dbprod/indfile002.dbf';
    set newname for datafile 20 to '/oracle/app/oradata/dbprod/indfile011.dbf';
    restore database;
    switch datafile all;
    recover database;
    +}+
    But while restoring, I got error like below:
    Starting restore at 22-OCT-12
    channel t1: starting datafile backupset restore
    channel t1: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /glotam3/oracle10g/oradata/T24DEV3/users01.dbf
    restoring datafile 00007 to /glotam3/oracle10g/oradata/T24DEV3/datafile006.dbf
    restoring datafile 00011 to /glotam3/oracle10g/oradata/T24DEV3/datafile010.dbf
    restoring datafile 00012 to /glotam3/oracle10g/oradata/T24DEV3/recop01.dbf
    restoring datafile 00014 to /glotam3/oracle10g/oradata/T24DEV3/datafile001.dbf
    channel t1: reading from backup piece /oracle/app/prod/rman/df_t793567544_s13_p1
    channel t2: starting datafile backupset restore
    channel t2: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /oracle/app/oradata/dbprod/system01.dbf
    restoring datafile 00003 to /oracle/app/oradata/dbprod/sysaux01.dbf
    restoring datafile 00008 to /oracle/app/oradata/dbprod/datafile007.dbf
    restoring datafile 00015 to /oracle/app/oradata/dbprod/datafile002.dbf
    restoring datafile 00018 to /oracle/app/oradata/dbprod/indfile001.dbf
    channel t2: reading from backup piece /oracle/app/prod/rman/df_t792538698_s15_p1
    channel t3: starting datafile backupset restore
    channel t3: specifying datafile(s) to restore from backup set
    restoring datafile 00002 to /oracle/app/oradata/dbprod/undotbs01.dbf
    restoring datafile 00009 to /oracle/app/oradata/dbprod/datafile008.dbf
    restoring datafile 00013 to /oracle/app/oradata/dbprod/prefstat01.dbf
    restoring datafile 00016 to /oracle/app/oradata/dbprod/datafile003.dbf
    restoring datafile 00019 to /oracle/app/oradata/dbprod/indfile002.dbf
    channel t3: reading from backup piece /oracle/app/prod/rman/df_t731097654_s14_p1
    channel t4: starting datafile backupset restore
    channel t4: specifying datafile(s) to restore from backup set
    restoring datafile 00006 to /oracle/app/oradata/dbprod/datafile005.dbf
    restoring datafile 00010 to /oracle/app/oradata/dbprod/datafile009.dbf
    restoring datafile 00017 to /oracle/app/oradata/dbprod/datafile004.dbf
    restoring datafile 00020 to /oracle/app/oradata/dbprod/indfile011.dbf
    channel t4: reading from backup piece /oracle/app/prod/rman/df_t794754324_s12_p1
    ORA-19870: error reading backup piece /oracle/app/prod/rman/
    df_t793567544_s13_p1
    ORA-19612: datafile 11 not restored due to missing or corrupt data
    channel t3: restored backup piece 1
    failover to piece handle=/oracle/app/prod/rman/
    df_t731097654_s14_p1 tag=TAG20120822T184703
    channel t3: restore complete, elapsed time: 01:06:05
    channel t2: restored backup piece 1
    failover to piece handle=/oracle/app/prod/rman/
    df_t792538698_s15_p1 tag=TAG20120822T184703
    channel t2: restore complete, elapsed time: 01:09:10
    ORA-19870: error reading backup piece /oracle/app/prod/rman/
    df_t794754324_s12_p1
    ORA-19612: datafile 20 not restored due to missing or corrupt data
    failover to previous backup
    released channel: t1
    released channel: t2
    released channel: t3
    released channel: t4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 10/22/2012 15:11:23
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 20 found to restore
    RMAN-06023: no backup or copy of datafile 17 found to restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN>
    This same rman backup has been restored in other server, the commands were same but the db was not restored in my server.
    Kindly help me....
    Thanks in advance,
    nonuday

    Hi mseberg,
    When I executed the below command with same date. This is what is got and am not able to understand what it says.
    RMAN> run
    +{+
    SET UNTIL TIME "TO_DATE('10/22/2012','MM/DD/YYYY')";
    restore database preview;
    +}2> 3> 4> 5>+
    executing command: SET until clause
    Starting restore at 23-OCT-12
    using channel ORA_DISK_1
    List of Backup Sets
    +===================+
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    +8 Full 11.68G DISK 02:10:15 22-AUG-12+
    BP Key: 18   Status: AVAILABLE  Compressed: YES  Tag: TAG20120822T184703
    Piece Name: /oracle/app/prod/rman/df_t793567544_s13_p1
    List of Datafiles in backup set 8
    File LV Type Ckp SCN    Ckp Time  Name
    +4 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/users01.dbf+
    +7 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile006.dbf+
    +11 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile010.dbf+
    +12 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/recop01.dbf+
    +14 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile001.dbf+
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    +10 Full 11.35G DISK 02:15:49 22-AUG-12+
    BP Key: 16   Status: AVAILABLE  Compressed: YES  Tag: TAG20120822T184703
    Piece Name: /oracle/app/prod/rman/df_t792538698_s15_p1
    List of Datafiles in backup set 10
    File LV Type Ckp SCN    Ckp Time  Name
    +1 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/system01.dbf+
    +3 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/sysaux01.dbf+
    +8 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile007.dbf+
    +15 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile002.dbf+
    +18 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/indfile001.dbf+
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    +11 Full 10.78G DISK 02:20:07 22-AUG-12+
    BP Key: 15   Status: AVAILABLE  Compressed: YES  Tag: TAG20120822T184703
    Piece Name: /oracle/app/prod/rman/df_t731097654_s14_p1
    List of Datafiles in backup set 11
    File LV Type Ckp SCN    Ckp Time  Name
    +2 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/undotbs01.dbf+
    +9 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile008.dbf+
    +13 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/prefstat01.dbf+
    +16 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile003.dbf+
    +19 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/indfile002.dbf+
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    +12 Full 16.83G DISK 03:25:43 22-AUG-12+
    BP Key: 14   Status: AVAILABLE  Compressed: YES  Tag: TAG20120822T184703
    Piece Name: /oracle/app/prod/rman/df_t794754324_s12_p1
    List of Datafiles in backup set 12
    File LV Type Ckp SCN    Ckp Time  Name
    +6 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile005.dbf+
    +10 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile009.dbf+
    +17 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile004.dbf+
    +20 Full 30013719101 16-AUG-12 /u01/oradata/dbproddata/datafile011.dbf+
    archive logs generated after SCN 30013719101 not found in repository
    Media recovery start SCN is 30013719101
    Recovery must be done beyond SCN 30013719101 to clear data files fuzziness
    Finished restore at 23-OCT-12
    RMAN>
    Thanks for reply,
    Nonuday

  • Anytime I open firefox I get a verizon installation started and then stops at 30%, then goes to "the flow will not proceed due to missing hand-off parameters: cutomertype.

    Anytime I open Firefox a Verizon "resume verizon high speed installation" icon appears and then automatically Verizon installation appears, stops at 30%. Then the box goes white and "The flow will not proceed due to Missing Hand-off Parameters:
    customertype
    guid value=2219665f-914a-b241-28ef-00254bc03fc8
    ver value=9.2.0
    accesstype value=
    service_provider value=verizon
    customertype value=
    sp value=0
    thd value=238147
    password value=
    language value=english
    line value=
    phonenumber value=
    regstep value=wba1
    cpu value=2147
    etc..
    Verizon/frontier tech had me restart modem and clear cache but the problem continues.

    solved

  • HT4623 I was updating my iPhone 4S when the internet got disconnected. By the time I get connected again it could not restore due to an unknown error code 1611, pls help

    was updating my iPhone 4S when the internet got disconnected. By the time I get connected again it could not restore due to an unknown error code 1611, pls help

    Try:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    Or it could be an Apple problem and you will have to wait.

  • Can not restore due to folder not being found

    I just want to wash my ipod harddrive and just start over due to a couple of problems I have had.
    Whenever I connect to itunes, it does not recognize that it is a nano, but does say it is an ipod, and that it is corrupted, so I should restore.
    I click restore and the error that comes up is
    " can not restore because the correct folder can not be found "
    any ideas what that is about.
    already done all the troubleshooting steps to no avail.
    not a newb on the computer so its frustrating me.

    You might want to try deleting the "iPod Photo Cache" folder on your computer.
    See the instructions here:
    Photo Sync creates iPod photo cache
    After that, restart your computer, and try restoring your iPod again.
    Any difference after trying that?
    -Kylene

  • Control file lost and datafile addeed restore/recovery with no data loss

    Here i have tried to the following
    created new table called t2 and made sure data went to a specific tablespace...
    took a level 0 backup
    removed the control file
    added couple of datafile to above tablespace and then inserted more data
    then went out to restore control file and the database...but datafile still could not be opened ?? what did i do wrong here....
    SQL> @datafile
    -- list of datafile
    Tablespace File Typ Tablespac File Stat    Used MB    Free MB    FILE_MB    MAXMB Datafile_name                     FILE_ID AUT
    UNDOTBS1   Datafile ONLINE    AVAILABLE         16         84        100    1,024 /data/trgt/undotbs01.dbf                3 YES
    USERS      Datafile ONLINE    AVAILABLE       1153        895       2048    3,072 /data3/trgt/user02.dbf                  5 YES
    CNT_TST    Datafile ONLINE    AVAILABLE          1          9         10        0 /data3/trgt/cnt_tst01.dbf               7 NO
    SYSAUX     Datafile ONLINE    AVAILABLE        626         35        660   32,768 /data/trgt/sysaux01.dbf                 2 YES
    USERS      Datafile ONLINE    AVAILABLE       2031         17       2048    2,048 /data3/trgt/move/users01.dbf            4 YES
    SYSTEM     Datafile ONLINE    AVAILABLE        712         58        770   32,768 /data/trgt/system01.dbf                 1 YES
    USERS      Datafile ONLINE    AVAILABLE         65         35        100   32,768 /data3/trgt/users03.dbf                 6 YES
    7 rows selected.
    -- new table is created called t2 and its going into TS called cnt_tst
    SQL> CREATE TABLE TEST.T2
      C1  DATE,
      C2  NUMBER,
      C3  NUMBER,
      C4  VARCHAR2(300 BYTE)
    TABLESPACE cnt_tst;  2    3    4    5    6    7    8
    Table created.
    -- data inserted
    SQL> INSERT INTO
      test.T2
    SELECT
    FROM
      (SELECT
        SYSDATE,
        ROWNUM C2,
        DECODE(MOD(ROWNUM,100),99,99,1) C3,
        RPAD('A',300,'A') C4
      FROM
        DUAL
      CONNECT BY
        LEVEL <= 10000)
    ;   2    3    4    5    6    7    8    9   10   11   12   13   14   15
    10000 rows created.
    SQL> commit;
    Commit complete.
    -- to check of cnt_tst has any free space or not, as we can see its full
    SQL> @datafile
    Tablespace File Typ Tablespac File Stat    Used MB    Free MB    FILE_MB    MAXMB Datafile_name                     FILE_ID AUT
    UNDOTBS1   Datafile ONLINE    AVAILABLE         16         84        100    1,024 /data/trgt/undotbs01.dbf                3 YES
    USERS      Datafile ONLINE    AVAILABLE       1153        895       2048    3,072 /data3/trgt/user02.dbf                  5 YES
    SYSAUX     Datafile ONLINE    AVAILABLE        626         35        660   32,768 /data/trgt/sysaux01.dbf                 2 YES
    USERS      Datafile ONLINE    AVAILABLE       2031         17       2048    2,048 /data3/trgt/move/users01.dbf            4 YES
    SYSTEM     Datafile ONLINE    AVAILABLE        712         58        770   32,768 /data/trgt/system01.dbf                 1 YES
    USERS      Datafile ONLINE    AVAILABLE         65         35        100   32,768 /data3/trgt/users03.dbf                 6 YES
    CNT_TST    Datafile ONLINE    AVAILABLE         10          0         10        0 /data3/trgt/cnt_tst01.dbf               7 NO
    7 rows selected.
    SQL> select count(*) from test.t2;
      COUNT(*)
         10000
    1 row selected.
    -- to get a count and max on date
    SQL> select max(c1) from test.t2;
    MAX(C1)
    29-feb-12 13:47:52
    1 row selected.
    SQL> -- AT THIS POINT A LEVEL 0 BACKUP IS TAKEN (using backup database plus archivelog)
    SQL> -- now control files are removed
    SQL> select name from v$controlfile;
    NAME
    /ctrl/trgt/control01.ctl
    /ctrl/trgt/control02.ctl
    2 rows selected.
    SQL>
    SQL> ! rm /ctrl/trgt/control01.ctl
    SQL> ! rm /ctrl/trgt/control02.ctl
    SQL> ! ls -ltr /ctrl/trgt/
    ls: /ctrl/trgt/: No such file or directory
    SQL>
    -- new datafile is added to CNT_TST TABLESPACE and new data is added as well
    SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST02.dbf' SIZE 100M AUTOEXTEND OFF;
    Tablespace altered.
    SQL> ALTER SYSTEM CHECKPOINT;
    System altered.
    SQL> alter system switch logfile;
    System altered.
    SQL> /
    System altered.
    SQL> /
    System altered.
    SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST03.dbf' SIZE 100M AUTOEXTEND OFF;
    Tablespace altered.
    SQL>  INSERT INTO
      test.T2
    SELECT
    FROM
      (SELECT
        SYSDATE,
        ROWNUM C2,
        DECODE(MOD(ROWNUM,100),99,99,1) C3,
        RPAD('A',300,'A') C4
      FROM
        DUAL
      CONNECT BY
        LEVEL <= 10000)
    ;   2    3    4    5    6    7    8    9   10   11   12   13   14   15
    10000 rows created.
    SQL> /
    10000 rows created.
    SQL> commit;
    Commit complete.
    SQL> INSERT INTO
      test.T2
    SELECT
    FROM
      (SELECT
        SYSDATE,
        ROWNUM C2,
        DECODE(MOD(ROWNUM,100),99,99,1) C3,
        RPAD('A',300,'A') C4
      FROM
        DUAL
      CONNECT BY
        LEVEL <= 40000)
    ;  2    3    4    5    6    7    8    9   10   11   12   13   14   15
    40000 rows created.
    SQL> commit;
    Commit complete.
    SQL> @datafile
    -- to make sure new datafile has been registered with the DB
    Tablespace File Typ Tablespac File Stat    Used MB    Free MB    FILE_MB    MAXMB Datafile_name                     FILE_ID AUT
    CNT_TST    Datafile ONLINE    AVAILABLE          9         91        100        0 /data3/trgt/CNT_TST03.dbf               9 NO
    UNDOTBS1   Datafile ONLINE    AVAILABLE         16         84        100    1,024 /data/trgt/undotbs01.dbf                3 YES
    USERS      Datafile ONLINE    AVAILABLE       1153        895       2048    3,072 /data3/trgt/user02.dbf                  5 YES
    CNT_TST    Datafile ONLINE    AVAILABLE          9         91        100        0 /data3/trgt/CNT_TST02.dbf               8 NO
    SYSAUX     Datafile ONLINE    AVAILABLE        626         35        660   32,768 /data/trgt/sysaux01.dbf                 2 YES
    USERS      Datafile ONLINE    AVAILABLE       2031         17       2048    2,048 /data3/trgt/move/users01.dbf            4 YES
    SYSTEM     Datafile ONLINE    AVAILABLE        712         58        770   32,768 /data/trgt/system01.dbf                 1 YES
    USERS      Datafile ONLINE    AVAILABLE         65         35        100   32,768 /data3/trgt/users03.dbf                 6 YES
    CNT_TST    Datafile ONLINE    AVAILABLE         10          0         10        0 /data3/trgt/cnt_tst01.dbf               7 NO
    9 rows selected.
    -- now the count and max ... note count before backup was 10000 and max(c1) was diff
    SQL> select count(*) from test.t2;
      COUNT(*)
         70000
    1 row selected.
    SQL> select max(c1) from test.t2;
    MAX(C1)
    29-feb-12 13:58:25
    1 row selected.
    SQL> -- now restore starts
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@berry trgt]$ rman
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 29 14:01:48 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    RMAN>  connect catalog rman/pass@rcat
    connected to recovery catalog database
    RMAN>  connect target /
    connected to target database (not started)
    RMAN> startup nomount;
    Oracle instance started
    Total System Global Area     188313600 bytes
    Fixed Size                     1335388 bytes
    Variable Size                125833124 bytes
    Database Buffers              58720256 bytes
    Redo Buffers                   2424832 bytes
    RMAN> restore controlfile from autobackup;
    Starting restore at 29-FEB-12 14:02:37
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    recovery area destination: /backup/trgt/flash_recovery_area
    database name (or database unique name) used for search: TRGT
    channel ORA_DISK_1: no AUTOBACKUPS found in the recovery area
    channel ORA_DISK_1: looking for AUTOBACKUP on day: 20120229
    channel ORA_DISK_1: AUTOBACKUP found: /backup/trgt/backup/cont_c-3405317011-20120229-09
    channel ORA_DISK_1: restoring control file from AUTOBACKUP /backup/trgt/backup/cont_c-3405317011-20120229-09
    channel ORA_DISK_1: control file restore from AUTOBACKUP complete
    output file name=/ctrl/trgt/control01.ctl
    output file name=/ctrl/trgt/control02.ctl
    Finished restore at 29-FEB-12 14:02:39
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> recover database;
    Starting recover at 29-FEB-12 14:02:55
    Starting implicit crosscheck backup at 29-FEB-12 14:02:55
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    Crosschecked 96 objects
    Finished implicit crosscheck backup at 29-FEB-12 14:02:57
    Starting implicit crosscheck copy at 29-FEB-12 14:02:57
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 29-FEB-12 14:02:57
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    using channel ORA_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log
    archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log
    archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log
    archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10
    archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10
    archived log file name=/redo_archive/trgt/archive/1_11_776523284.dbf thread=1 sequence=11
    archived log file name=/redo_archive/trgt/archive/1_12_776523284.dbf thread=1 sequence=12
    archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 02/29/2012 14:02:59
    ORA-01422: exact fetch returns more than requested number of rows
    RMAN-20505: create datafile during recovery
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/redo_archive/trgt/online/redo01.log'
    ORA-00283: recovery session canceled due to errors
    ORA-01244: unnamed datafile(s) added to control file by media recovery
    ORA-01110: data file 9: '/data3/trgt/CNT_TST03.dbf'
    RMAN> -- wnet to session 2 and renamed datafile from unammed-- wnet to session 2 and renamed datafile for unammed file
    SQL> select name from v$datafile;
    NAME
    /data/trgt/system01.dbf
    /data/trgt/sysaux01.dbf
    /data/trgt/undotbs01.dbf
    /data3/trgt/move/users01.dbf
    /data3/trgt/user02.dbf
    /data3/trgt/users03.dbf
    /data3/trgt/cnt_tst01.dbf
    /oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008
    /oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009
    9 rows selected.
    SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008' as '/data3/trgt/CNT_TST02.dbf';
    Database altered.
    SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009' as '/data3/trgt/CNT_TST03.dbf';
    Database altered.
    SQL>  select name from v$datafile;
    NAME
    /data/trgt/system01.dbf
    /data/trgt/sysaux01.dbf
    /data/trgt/undotbs01.dbf
    /data3/trgt/move/users01.dbf
    /data3/trgt/user02.dbf
    /data3/trgt/users03.dbf
    /data3/trgt/cnt_tst01.dbf
    /data3/trgt/CNT_TST02.dbf
    /data3/trgt/CNT_TST03.dbf
    9 rows selected.after above was done, went back to session 1 and tried recovered the DB
    RMAN> recover database;
    Starting recover at 29-FEB-12 14:06:16
    using channel ORA_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log
    archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log
    archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log
    archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13
    archived log file name=/redo_archive/trgt/online/redo02.log thread=1 sequence=14
    archived log file name=/redo_archive/trgt/online/redo03.log thread=1 sequence=15
    media recovery complete, elapsed time: 00:00:00
    Finished recover at 29-FEB-12 14:06:17
    RMAN> alter database open resetlogs;
    database opened
    new incarnation of database registered in recovery catalog
    starting full resync of recovery catalog
    full resync complete
    starting full resync of recovery catalog
    full resync complete
    RMAN> exit
    Recovery Manager complete.
    [oracle@berry trgt]$
    [oracle@berry trgt]$
    [oracle@berry trgt]$ sq
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 29 14:07:18 2012
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss:
      2
    SQL>
    SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss";
    Session altered.
    SQL> select count(*) from test.t2;
    select count(*) from test.t2
    ERROR at line 1:
    ORA-00376: file 8 cannot be read at this time
    ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
    SQL> select max(c1) from test.t2;
    select max(c1) from test.t2
    ERROR at line 1:
    ORA-00376: file 8 cannot be read at this time
    ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
    SQL> alter database datafile 8 online;
    alter database datafile 8 online
    ERROR at line 1:
    ORA-01190: control file or data file 8 is from before the last RESETLOGS
    ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf'
    {code}
    so what did i do wrong in my recovery that i could not get my data?? how can i avoid this?? and restore my DB?
    Edited by: user8363520 on Feb 29, 2012 12:24 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    user8363520 wrote:
    Here i have tried to the following
    created new table called t2 and made sure data went to a specific tablespace...
    took a level 0 backup
    removed the control file
    added couple of datafile to above tablespace and then inserted more data
    then went out to restore control file and the database...but datafile still could not be opened ?? what did i do wrong here....
    SQL> @datafile
    -- list of datafile
    Tablespace File Typ Tablespac File Stat    Used MB    Free MB    FILE_MB    MAXMB Datafile_name                     FILE_ID AUT
    UNDOTBS1   Datafile ONLINE    AVAILABLE         16         84        100    1,024 /data/trgt/undotbs01.dbf ;               3 YES
    USERS      Datafile ONLINE    AVAILABLE       1153        895       2048    3,072 /data3/trgt/user02.dbf ;                 5 YES
    CNT_TST    Datafile ONLINE    AVAILABLE          1          9         10        0 /data3/trgt/cnt_tst01.dbf ;              7 NO
    SYSAUX     Datafile ONLINE    AVAILABLE        626         35        660   32,768 /data/trgt/sysaux01.dbf ;                2 YES
    USERS      Datafile ONLINE    AVAILABLE       2031         17       2048    2,048 /data3/trgt/move/users01.dbf ;           4 YES
    SYSTEM     Datafile ONLINE    AVAILABLE        712         58        770   32,768 /data/trgt/system01.dbf ;                1 YES
    USERS      Datafile ONLINE    AVAILABLE         65         35        100   32,768 /data3/trgt/users03.dbf ;                6 YES
    7 rows selected.
    -- new table is created called t2 and its going into TS called cnt_tst
    SQL> CREATE TABLE TEST.T2
    C1  DATE,
    C2  NUMBER,
    C3  NUMBER,
    C4  VARCHAR2(300 BYTE)
    TABLESPACE cnt_tst;  2    3    4    5    6    7    8
    Table created.
    -- data inserted
    SQL> INSERT INTO
    test.T2
    SELECT
    FROM
    (SELECT
    SYSDATE,
    ROWNUM C2,
    DECODE(MOD(ROWNUM,100),99,99,1) C3,
    RPAD('A',300,'A') C4
    FROM
    DUAL
    CONNECT BY
    LEVEL <= 10000)
    ;   2    3    4    5    6    7    8    9   10   11   12   13   14   15
    10000 rows created.
    SQL> commit;
    Commit complete.
    -- to check of cnt_tst has any free space or not, as we can see its full
    SQL> @datafile
    Tablespace File Typ Tablespac File Stat    Used MB    Free MB    FILE_MB    MAXMB Datafile_name                     FILE_ID AUT
    UNDOTBS1   Datafile ONLINE    AVAILABLE         16         84        100    1,024 /data/trgt/undotbs01.dbf ;               3 YES
    USERS      Datafile ONLINE    AVAILABLE       1153        895       2048    3,072 /data3/trgt/user02.dbf ;                 5 YES
    SYSAUX     Datafile ONLINE    AVAILABLE        626         35        660   32,768 /data/trgt/sysaux01.dbf ;                2 YES
    USERS      Datafile ONLINE    AVAILABLE       2031         17       2048    2,048 /data3/trgt/move/users01.dbf ;           4 YES
    SYSTEM     Datafile ONLINE    AVAILABLE        712         58        770   32,768 /data/trgt/system01.dbf ;                1 YES
    USERS      Datafile ONLINE    AVAILABLE         65         35        100   32,768 /data3/trgt/users03.dbf ;                6 YES
    CNT_TST    Datafile ONLINE    AVAILABLE         10          0         10        0 /data3/trgt/cnt_tst01.dbf ;              7 NO
    7 rows selected.
    SQL> select count(*) from test.t2;
    COUNT(*)
    10000
    1 row selected.
    -- to get a count and max on date
    SQL> select max(c1) from test.t2;
    MAX(C1)
    29-feb-12 13:47:52
    1 row selected.
    SQL> -- AT THIS POINT A LEVEL 0 BACKUP IS TAKEN (using backup database plus archivelog)
    SQL> -- now control files are removed
    SQL> select name from v$controlfile;
    NAME
    /ctrl/trgt/control01.ctl
    /ctrl/trgt/control02.ctl
    2 rows selected.
    SQL>
    SQL> ! rm /ctrl/trgt/control01.ctl
    SQL> ! rm /ctrl/trgt/control02.ctl
    SQL> ! ls -ltr /ctrl/trgt/
    ls: /ctrl/trgt/: No such file or directory
    SQL>
    -- new datafile is added to CNT_TST TABLESPACE and new data is added as well
    SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST02.dbf' SIZE 100M AUTOEXTEND OFF;
    Tablespace altered.
    SQL> ALTER SYSTEM CHECKPOINT;
    System altered. Upto this i was clear, but now i cann't understand when you actually dropped the control file from you database(in running stat) how can you perform "alter system checkpoint" and other "alter tablespace.." command? Once controlfile is inaccessible, oracle database is not suppose to function.

  • TS3694 I have an ipad, 2 yrs old, that will not restore, due to error 3. what is error 3?

    What is error 3 ? I have a list of many but not that one. Ipad opens with a silver apple on a black screen, then when you hit HOME, it turns on for 30 seconds and a black screens comes in from the left, shutting it down. After 10 tries i got a graphic to plug into itunes, so did it. My mac worked on iy for 30 minutes, then came back with error 3.
    The ipad was taken to an Apple store & the genious said there was a battery problem and there was nothing they could do?
    Ideas?

    Thanks Alfred,
    My iTunes on the Air are up to date. Tried 3 times to restore and always get error 3. The iPad now only shows the graphic to plug into iTunes.
    Called hotline to Apple rep yesterday, (chat) then they phoned me. He couldn't figure it out and went to consult a colleague. That was yesterday afternoon &amp; he hasn't called back yet. This is on my dime.
    Any idea what error 3 is.
    Talaguniak
    Mac user since 1984,
    512k origininal, just smoked itself 4 months ago due to internal corrosion.
    Now using Air, iPad mini, iPhone

  • MariaDB not starting due to missing /run/mysqld directory

    Hi everyone,
    this is my first strike in the Forums, so please do not hurt me if I'm doing something wrong
    I already used the forum's search (using "mariadb /run" ad buzzwords), but didn't find a thing.
    I just installed MariaDB like described ion the wiki. But when I start it, I get these:
    Mar 26 14:04:19 alarmpi systemd[1]: Starting MariaDB database server...
    Mar 26 14:04:20 alarmpi mysqld[6626]: 130326 14:04:20 InnoDB: The InnoDB memory heap is disabled
    Mar 26 14:04:20 alarmpi mysqld[6626]: 130326 14:04:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins
    Mar 26 14:04:20 alarmpi mysqld[6626]: 130326 14:04:20 InnoDB: Compressed tables use zlib 1.2.7
    Mar 26 14:04:20 alarmpi mysqld[6626]: 130326 14:04:20 InnoDB: Initializing buffer pool, size = 16.0M
    Mar 26 14:04:20 alarmpi mysqld[6626]: 130326 14:04:20 InnoDB: Completed initialization of buffer pool
    Mar 26 14:04:20 alarmpi mysqld[6626]: 130326 14:04:20 InnoDB: highest supported file format is Barracuda.
    Mar 26 14:04:20 alarmpi mysqld[6626]: 130326 14:04:20 InnoDB: Waiting for the background threads to start
    Mar 26 14:04:21 alarmpi mysqld[6626]: 130326 14:04:21 Percona XtraDB (http://www.percona.com) 5.5.30-MariaDB-30.1 started; log sequence number 1597945
    Mar 26 14:04:26 alarmpi mysqld[6626]: 130326 14:04:26 [ERROR] Can't start server : Bind on unix socket: No such file or directory
    Mar 26 14:04:26 alarmpi mysqld[6626]: 130326 14:04:26 [ERROR] Do you already have another mysqld server running on socket: /run/mysqld/mysqld.sock ?
    Mar 26 14:04:26 alarmpi mysqld[6626]: 130326 14:04:26 [ERROR] Aborting
    I already figured out that this happens due to a missing directory /run/mysqld ; once this is created, it works like a charm. But just creating it manually won't fix this, since /run is a tmpfs . So next boot, this will happen again.
    I tried to edit /usr/lib/systemd/system/mysqld.service and added 'ExecStartPre=mkdir -p /run/mysqld' to it, but this didn't work. Also, it looks like a little bit weird solution even if it works, don't it?
    Could someone more familiar with MariaDB/Systemd/ArchLinux please assist ?
    Thank you !

    You actually found a bug in the mariadb package there. The package is supposed to run "systemd-tmpfiles --create mysql.conf" to make sure this directory exists after installing.
    Looking at the .install file, it runs "systemd-tmpfiles --create mysqld.conf" instead which fails (I wonder why there is no error message on installing). Please file a bug report about this.
    edit: to clarify, the directory will automatically be created on every boot by the systemd-tmpfiles-setup service, so everything should just work after a reboot. The problem is that currently the directory isn't created after installing the package so it won't work unless you create the directory manually or reboot.
    Last edited by 65kid (2013-03-26 14:34:10)

  • My Satellite A notebook does not start due to missing files

    I have a Toshiba Satellite and at the start of every month is ***** out.
    I brought it brand new about 2 years ago and at the start of every month it will not go into windows.
    It wont even let me into safe mode or anything and it is not a virus as I expected it to **** out tonight.
    So I did a virus scan and nothing showed up and then half an hour later it died, right on schedule. Im sick of this as each time it dies I have to use the recovery disk and it wipes everything. I have on there and after 2 years of having to restart everything all over again each month. Im ready to "accidentally" drop it in the pool and claim insurance on the dam thing. I dont get me wrong its great till the first of every month and without warning it just goes really slow, and when I restart it, it says a file is missing and wont boot up.
    The weird thing is........... it is always the same time of the month and since today is the 4th it died so at Im on my 8s computer typing this while my Toshiba is restarting all over again.
    IF U THINK, YOU CAN TELL ME WHY THIS IS HAPPING I will love u forever.
    Im just so sick of having to reload everything and like last month I expected it to kill itself. So I did all the scans and cleaned it up.
    But no it still died right on schedule..........hmm plz help

    Hi sorry can't actually give you a solution to your problem but would say sounds as if you never thought to buy extended warranty on it, also if it did this within the first year what did Toshiba say about it as surely you asked them to look into it and if not, sorry but why on earth not? I can see why you thought it was a virus but sounds to me(not technically trained but using logic) that if it does it at the beginning of each month then its something wrong with the actual computer that deals with the clock and might be worth emailing Toshiba themselves and explain it to them and see what they say or take it to a computer shop and explain and ask them to look at it and see if they can find out what is causing it as sounds as if it's been doing this from the time you first bought it.

  • PS not opening due to missing components

    I have downloaded PS CC but get the error message "Some of the application components are missing..." also NIK software not recognized by PS or LR

    Thanks. I did finally reinstall PS successfully and now it works!! Thanks for your input! Petra.
    Now I have to figure out how to get the photos from Iphoto to PS. Is there a quick way?   Petra

  • Postgresql installed but not working due to missing socket

    So I installed Postgresql onto my Mac and whenever I run anything like psql or createdb cool_database_name I get the following error.
    psql: could not connect to server: No such file or directory Is the server running locally
    and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
    So I follow along the different solutions. I reinstall postgresql to no avail. I go to postgresql.conf` and change it to
    #port = 5432                             # (change requires restart)
    #max_connections = 20                    # (change requires restart)
    # Note:  Increasing max_connections costs ~400 bytes of shared memory per
    # connection slot, plus lock space (see max_locks_per_transaction).
    #superuser_reserved_connections = 3     # (change requires restart)
    #unix_socket_directory = '/var/pgsql_socket'             # (change requires restart)
    #unix_socket_group = ''                 # (change requires restart)
    #unix_socket_permissions = 0777         # begin with 0 to use octal notation
    yet still nothing. I run commands such as
    ls -lA /var/run/postgresql
    Which tell me the file or directory does not exist.
    I also check into the pg_hba.conf file but everything looks ok
    # "local" is for Unix domain socket connections only local   all             all          trust
    # IPv4 local connections: host    all             all             127.0.0.1/32            trust
    # IPv6 local connections: host    all             all             ::1/128                 trust
    # Allow replication connections from localhost, by a user with the # replication privilege.
    #local   replication     jason                                trust
    #host    replication     jason        127.0.0.1/32            trust
    #host    replication     jason        ::1/128                 trust
    When I run psql -h localhost I get
    psql: could not connect to server: Connection refused Is the server running on host "localhost" (::1)
    and accepting TCP/IP connections on port 5432?
    could not connect to server:
    Connection refused Is the server running on host "localhost" (127.0.0.1) and
    accepting TCP/IP connections on port 5432?
    could not connect to server:
    Connection refused Is the server running on host "localhost" (fe80::1) and
    accepting TCP/IP connections on port 5432?
    I'm at a lost as to how to fix this. Any help would be appreciated.

    I see this all the time, even when AV is configured to exclude the RemoteInstall folder.
    To work around it I do:
    NET STOP WDSSERVER
    DISM /UnMount-Wim /MountDir:"F:\RemoteInstall\SMSTempBootFiles\ZZZ00011" /Discard
    DEL /f /s F:\RemoteInstall\SMSTempBootFiles\ZZZ00011\*.*
    DISM /Mount-Wim /WimFile:"F:\RemoteInstall\SMSImages\ZZZ00011\bootimage.wim" /index:1 /MountDir:"F:\RemoteInstall\SMSTempBootFiles\ZZZ00011"
    NET START WDSSERVER
    Where ZZZ00011 is the package id of your boot image
    This can be wrapped in a script for reuse
    After net stop wdsserver the unmount command is failing:
    Error DISM WIM Provider: PID=3892 TID=2220 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2796 - CWimManager::InternalOpUnmount(hr:0x80070032)

  • I was resetting my macbook pro 17 (early 2009) to factory settings but does not restore due to a problem with the restore disk. Please advice me on what to do next.

    I was resetting my macbookpro 17 (early 2009) to factory settings but was indicating problems on the restore disk.  I erased my macintosh hd drive so the hd is empty.  What do I do next?

    Get an external drive and make a clone of your internal, erase the internal, set it for 1 partition (OSX Journaled) and restore the clone.

  • Iphone 5 not restoring my back up data from itunes? Iphone 5 began freezing and turning off by itself after ios7 updates. How can i recover my data?

    I began having problems with my iphone 5 after I updated to ios7. It began having several issues e.g. freezing, turning on and off by itself and the home button was not responding.
    It is a long story because I had to talk to apple reps etc. to make a long story short; my iphone is now in recovery mode and only works when it is set as a new iphone.
    Now my back up data on itunes will not back up into my iphone 5 and my iphone is still in recovery mode.
    How can I restore my itunes back up data into my iphone 5?
    How can I get my phone out of recovery mode?
    How can I recover my potentially lost data, contacts, sms, etc.,  due to backing up my iphone and trying to fix the issues with apple reps?

    ArmanG wrote:
    Should I just let the energy run out and then plug it into iTunes and see what happens?
    Might be a better idea to try ALL of the Basic Troubleshooting steps as already mentioned to attempt to resolve the issue.

  • Update iphone 4 to ios7 now could not restore... Tried several time could not restore contacts and other data"... Please help

    I just updated my iphone 4 to ios 7. But after updated, it wont restore my contacts or pics from backup thru itunes.
    Not sure what else to do. I tried to reboot and restore again but still got the error.
    Please help!!!

    Your phone is in "recovery" mode, which means you data on your phone is already gone.  You have no other choice but to restore your phone.  If you've not been backing up regularly and importing your photos to your computer for safe keeping as is strongly recommended, then you've learned a very hard lesson.

  • Itunes 7 will not install due to DEP (data execution prevention)

    I am trying to install itunes 7 on a windows XP computer. It crashes each time I try to install immediately after clicking continue on the screen where it has 3 checkboxes (first puts icon on desktop, the second makes itunes the default audio player). I get an error that itunes installer has been shut down by windows by the DEP. It does this even if I exclude all the itunes on DEP. If I set DEP to only monitor windows processes, it still crashes at the same spot, it just doesnt bring up the dep window.
    Any ideas?

    Either way I get the same installer error twice then an itunes error that it could not install because it needs quicktime. (which I have).
    okay ... 7.0.0.70 needs QT 7.1.3. the itunes/QT installer bundle has changed up significantly, in that the QT part of the install runs before the itunes part. (it used to come second.) so if there's a problem with a QT install, that might be causing the current issue with the overall itunes install.
    so let's try a careful standalone QT 7.1.3 install, to see if that goes in properly.
    download and save a copy of the QT 7.1 standalone installer to your hard drive. (we'll run the install from there rather than online.) switch off antivirus and antispyware applications prior to the install.
    Quicktime 7.1 Installers … get the one that doesn’t mention itunes
    if you get an error message on the QT standalone reinstall, let us know what it says. include error message numbers if you're getting any.
    if the install goes through okay, try another itunes 7.0.0.70 install. does it go through properly this time?

Maybe you are looking for

  • Traffic lights both in header&item level in REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hi all, I am using 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'. I need to display traffic lights both in header and item level. here is the piece of code I used.   DATA : e_alvly TYPE slis_layout_alv.     e_alvly-expand_fieldname = 'LIGHT'.     e_alvly-lights_f

  • IPhoto update deleted my photo library

    Recently i was asked to update iPhoto to 9.5.1 by software update. I unfortunately did so. When I try to open iPhoto now there is an error message that says that I do not have access rights to my iPhoto library. I cannot find the library anymore and

  • Juice Pack Air di mophie per iPhone 4

    Should I buy this product vs. the third-party store (mophie Juice Pack Air for iPhone 4) but first I need to know some very technical information on the charging mode. Let me know if you can simultaneously charge the case and the iphone via usb cable

  • Why do we need info source in bi 7.0?

    hi friends, in bi 7.0 we have data source and make transformations. here why they gave again info source? Thanking u suneel.

  • Are Student Editions available for Hong Kong?

    And are there resellers for student edition licenses in Hong Kong/China?