Error while trying to duplicate a database

I've got the following problem with rman-duplicate (oracle 10gR2) (see also: [this thread|http://forums.oracle.com/forums/thread.jspa?messageID=4446855#4446855])
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/22/2010 10:49:05
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
- followed by the list of all datafiles
I've made a full backup of the target database right before the duplicate. Rman reports (list backup; crosscheck backup) the availability of all database backups with all its datafiles.
Unfortunately in my case the reported very strange "shutdown abort"-"startup" - workaround doesn't work.
Has anyone any other hints - or is it just a serious bug (which would prevent me from further time-wasting trials ...).
friedhelm

Hashmi wrote:
Post your duplicate database command with error.Here is teh whole procedure (script):
RUN
SET until time "to_date('22/07/2010 10:10:00','DD/MM/YYYY HH24:MI:SS')";
ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
SET NEWNAME FOR DATAFILE 1 TO '/oracle/oradata/VG41VWT/system01.dbf';
SET NEWNAME FOR DATAFILE 34 TO '/oracle/oradata/VG41VWT/domea_ftr_imt_10.dbf';
SET NEWNAME FOR TEMPFILE 1 TO '/oracle/oradata/VG41VWT/temp01.dbf';
DUPLICATE TARGET DATABASE TO VG41VWT
LOGFILE
GROUP 1
'/oralogs/redolog/VG41VWT/logVG41VWT1.log',
'/oralogs/redolog/VG41VWT/logVG41VWT2.log',
'/oralogs/redolog/VG41VWT/logVG41VWT3.log'
) SIZE 10000K,
GROUP 2
'/oramirr/redolog/VG41VWT/logVG41VWT1.log',
'/oramirr/redolog/VG41VWT/logVG41VWT2.log',
'/oramirr/redolog/VG41VWT/logVG41VWT3.log'
) SIZE 10000K;
exit
The Error-Message is:
executing command: SET NEWNAME
Starting restore at 22-jul-10 14:24
released channel: aux1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/22/2010 14:24:04
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 34 found to restore
etc.
EDIT:
Now I realize that there is a "released channel" - message just before the Error message. But I don't think this is the reason for the trouble, but part of the ERROR-treatment.
Thanks
f.
Edited by: user8964905 on 22.07.2010 05:55
Edited by: user8964905 on 23.07.2010 01:43

Similar Messages

  • RCU-6130:Action failed.RCU-6131:Error while trying to connect to database

    Hi,
    Iam facing issue while installing RCU in UBUNTU, its unable to create MDS schema showing "RCU-6130:Action failed.RCU-6131:Error while trying to connect to database" error.
    Any solutions welcome plz

    2013-03-20 17:53:17.450 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/mds_user.sql'Line Number: 30
    2013-03-20 17:53:17.450 rcu:Extracted SQL Statement: [CREATE USER &&1 IDENTIFIED BY &&2 DEFAULT TABLESPACE &&3 TEMPORARY TABLESPACE &&4]
    2013-03-20 17:53:17.450 rcu:Statement Type: 'DDL Statement'
    JDBC SQLException - ErrorCode: 1920SQLState:42000 Message: ORA-01920: user name 'DEV_MDS' conflicts with another user or role name
    JDBC SQLException handled by error handler
    2013-03-20 17:53:17.475 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/mds_user.sql'Line Number: 32
    2013-03-20 17:53:17.475 rcu:Extracted SQL Statement: [GRANT connect TO &&1]
    2013-03-20 17:53:17.475 rcu:Statement Type: 'DDL Statement'
    2013-03-20 17:53:17.542 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/mds_user.sql'Line Number: 33
    2013-03-20 17:53:17.543 rcu:Extracted SQL Statement: [GRANT create type TO &&1]
    2013-03-20 17:53:17.543 rcu:Statement Type: 'DDL Statement'
    2013-03-20 17:53:17.559 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/mds_user.sql'Line Number: 34
    2013-03-20 17:53:17.559 rcu:Extracted SQL Statement: [GRANT create procedure TO &&1]
    2013-03-20 17:53:17.559 rcu:Statement Type: 'DDL Statement'
    2013-03-20 17:53:17.576 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/mds_user.sql'Line Number: 35
    2013-03-20 17:53:17.576 rcu:Extracted SQL Statement: [GRANT create table TO &&1]
    2013-03-20 17:53:17.576 rcu:Statement Type: 'DDL Statement'
    2013-03-20 17:53:17.592 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/mds_user.sql'Line Number: 36
    2013-03-20 17:53:17.593 rcu:Extracted SQL Statement: [GRANT create sequence TO &&1]
    2013-03-20 17:53:17.593 rcu:Statement Type: 'DDL Statement'
    2013-03-20 17:53:17.609 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/mds_user.sql'Line Number: 39
    2013-03-20 17:53:17.609 rcu:Extracted SQL Statement: [ALTER USER &&1 QUOTA unlimited ON &&3]
    2013-03-20 17:53:17.610 rcu:Statement Type: 'DDL Statement'
    2013-03-20 17:53:17.634 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/mds_user.sql'Line Number: 40
    2013-03-20 17:53:17.635 rcu:Extracted SQL Statement: [DECLARE
    cnt NUMBER;
    package_not_found EXCEPTION;
    PRAGMA EXCEPTION_INIT(package_not_found, -00942);
    insufficient_privs EXCEPTION;
    PRAGMA EXCEPTION_INIT(insufficient_privs, -01031);
    BEGIN
    cnt := 0;
    SELECT count(*) INTO cnt FROM dba_tab_privs WHERE grantee = 'PUBLIC'
    AND owner='SYS' AND table_name='DBMS_OUTPUT'
    AND privilege='EXECUTE';
    IF (cnt = 0) THEN
    -- Grant MDS user execute on dbms_output only if PUBLIC
    -- doesn't have the privilege.
    EXECUTE IMMEDIATE 'GRANT execute ON dbms_output TO &&1';
    END IF;
    cnt := 0;
    SELECT count(*) INTO cnt FROM dba_tab_privs WHERE grantee = 'PUBLIC'
    AND owner='SYS' AND table_name='DBMS_LOB'
    AND privilege='EXECUTE';
    IF (cnt = 0) THEN
    -- Grant MDS user execute on dbms_lob only if PUBLIC
    -- doesn't have the privilege.
    EXECUTE IMMEDIATE 'GRANT execute ON dbms_lob TO &&1';
    END IF;
    EXCEPTION
    -- If the user doesn't have privilege to access dbms_* package,
    -- database will report that the package cannot be found. RCU
    -- even doesn't throw the exception to the user, since ORA-00942
    -- is an ignored error defined in its global configuration xml
    -- file.
    WHEN package_not_found THEN
    RAISE insufficient_privs;
    WHEN OTHERS THEN
    RAISE;
    END;
    2013-03-20 17:53:17.635 rcu:Statement Type: 'BEGIN/END Anonymous Block'
    2013-03-20 17:53:17.694 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 27
    2013-03-20 17:53:17.694 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 28
    2013-03-20 17:53:17.694 rcu:Extracted SQL Statement: [SET ECHO ON]
    2013-03-20 17:53:17.694 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.694 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 29
    2013-03-20 17:53:17.695 rcu:Extracted SQL Statement: [SET FEEDBACK 1]
    2013-03-20 17:53:17.695 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.695 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 30
    2013-03-20 17:53:17.695 rcu:Extracted SQL Statement: [SET NUMWIDTH 10]
    2013-03-20 17:53:17.695 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.695 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 31
    2013-03-20 17:53:17.695 rcu:Extracted SQL Statement: [SET LINESIZE 80]
    2013-03-20 17:53:17.695 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.695 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 32
    2013-03-20 17:53:17.695 rcu:Extracted SQL Statement: [SET TRIMSPOOL ON]
    2013-03-20 17:53:17.695 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.696 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 33
    2013-03-20 17:53:17.696 rcu:Extracted SQL Statement: [SET TAB OFF]
    2013-03-20 17:53:17.696 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.696 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 34
    2013-03-20 17:53:17.696 rcu:Extracted SQL Statement: [SET PAGESIZE 100]
    2013-03-20 17:53:17.696 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.696 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration//mds/sql/cremds-rcu.sql'Line Number: 35
    2013-03-20 17:53:17.696 rcu:Extracted SQL Statement: [ALTER SESSION SET CURRENT_SCHEMA=&&1]
    2013-03-20 17:53:17.696 rcu:Statement Type: 'DDL Statement'
    2013-03-20 17:53:17.712 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremds.sql'Line Number: 36
    2013-03-20 17:53:17.713 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremds.sql'Line Number: 37
    2013-03-20 17:53:17.713 rcu:Extracted SQL Statement: [SET ECHO ON]
    2013-03-20 17:53:17.713 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.713 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremds.sql'Line Number: 38
    2013-03-20 17:53:17.713 rcu:Extracted SQL Statement: [SET FEEDBACK 1]
    2013-03-20 17:53:17.713 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.713 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremds.sql'Line Number: 39
    2013-03-20 17:53:17.713 rcu:Extracted SQL Statement: [SET NUMWIDTH 10]
    2013-03-20 17:53:17.713 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.714 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremds.sql'Line Number: 40
    2013-03-20 17:53:17.714 rcu:Extracted SQL Statement: [SET LINESIZE 80]
    2013-03-20 17:53:17.714 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.714 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremds.sql'Line Number: 41
    2013-03-20 17:53:17.714 rcu:Extracted SQL Statement: [SET TRIMSPOOL ON]
    2013-03-20 17:53:17.714 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.714 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremds.sql'Line Number: 42
    2013-03-20 17:53:17.714 rcu:Extracted SQL Statement: [SET TAB OFF]
    2013-03-20 17:53:17.714 rcu:Skipping Unsupported Statement
    2013-03-20 17:53:17.714 rcu:Extracting Statement from File Name: '/obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremds.sql'Line Number: 43
    2013-03-20 17:53:17.715 rcu:Extracted SQL Statement: [SET PAGESIZE 100]
    2013-03-20 17:53:17.715 rcu:Skipping Unsupported Statement
    /obiapps/RCU/rcuHome/rcu/integration/mds/sql/cremdcmtbs.sql (No such file or directory)

  • ORA-20600 error while trying to add RAC database

    I'm receiving the following error while trying to add the RAC database in grid control. Any idea?.
    ORA-20600: The specified target is in the process of being deleted
    This database doesn't exists in targets. But, I'm still unable to add.

    Check the metalink Note: Unable To Add Rac Database To Grid Control Getting Error Ora-20600 [ID 1218797.1]
    You need to wait for a while and check the status.

  • Error while trying to export my database using this command

    Hi,
    I am trying to export my database using this command :
    expdp system/manager@db1 full=n schemas=kul4231 dumpfile=kul4231_20091122.dmp logfile=kul4231_20091122.log directory=dump_dir1
    Error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-31626: job does not exist
    ORA-31637: cannot create job SYS_EXPORT_SCHEMA_05 for user SYSTEM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 600
    ORA-39080: failed to create queues "KUPC$C_1_20091122101110" and "" for Data Pump job
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 1606
    ORA-01008: not all variables bound
    DB version : Release 10.2.0.4.0
    all ideas are welcomed!!!!!!!!!!!! let me know where am i going wrong!!!!!!!
    thanks in advance..!!!!!!!!
    venkat.

    What is your SGA settings? (especially streams_pool_size).
    You can try to bump streams_pool_size to 100M if your current setting is below that.
    Regards
    Tomasz K.

  • ORA-02081 error while trying to drop a database link

    Hello,
    I am trying to drop a database link but getting ORA-02081. How do you drop a database link if it is not open? Any help will be much appreciated.
    Mustafa

    Try this:
    COMMIT;
    alter session close database link dbl1;
    drop database link dbl1;
    Regards,

  • Getting `No such file or directory` error while trying to open bdb database

    I have four multi-threaded processes (2 writer and 2 reader processes), which make use of Berkeley DB transactional data store. I have multiple environments and the associated database files and log files are located in separate directories (please refer to the DB_CONFIG below). When all these four processes start to perform open and close of databases in the environments very quickly, one of the reader process is throwing a No such file or directory error even though the file actually exists.
    I am making use of Berkeley DB 4.7.25 for testing out these applications.
    The four application names are as follows:
    Writer 1
    Writer 2
    Reader 1
    Reader 2
    The application description is as follows:
    ‘*Writer 1*’ owns 8 environments and each environment having 123 Berkeley databases created using HASH access method. At any point of time, ‘*Writer 1*’ will be acting on 24 database files across 8 environments (3 database files per environment) for carrying out write operation. Where as reader process will be accessing all 123 database files / per environment (Total = 123 * 8 environments = 984 database files) for read activities. Similar configuration for Writer 2 as well – 8 separate environments and so on.
    Writer 1, Reader 1 and Reader 2 processes share the environments created by Writer 1
    Writer 2 and Reader 2 processes share the environments created by Writer 2
    My DB_CONFIG file is configured as follows
    set_cachesize 0 104857600 1   # 100 MB
    set_lg_bsize 2097152                # 2 MB
    set_data_dir ../../vol1/data/
    set_lg_dir ../../vol31/logs/SUBID/
    set_lk_max_locks 1500
    set_lk_max_lockers 1500
    set_lk_max_objects 1500
    set_flags db_auto_commit
    set_tx_max 200
    mutex_set_increment 7500
    Has anyone come across this problem before or is it something to do with the configuration?

    Hi Michael,
    I should have included about how we are making use of DB_TRUNCATE flag in my previous reply itself. Sorry for that.
    From writers, DB truncation happens periodically. During truncate (DB handle is not associated with any environment handle i.e. stand-alone DB
    ) following parameters are passed to db->open function call:
    DB->open(DB *db,                    
    DB_TXN *txnid,          => NULL
    const char *file,          => file name (absolute DB file path)
    const char *database,  => NULL
    DBTYPE type, => DB_HASH
    u_int32_t flags, => DB_READ_UNCOMMITTED | DB_TRUNCATE | DB_CREATE | DB_THREAD
    int mode); => 0
    Also, DB_DUP flag is set.
    As you have rightly pointed out, `No such file or directory` is occuring during truncation.
    While a database is being truncated it will not be found by others trying to open it. We simulated this by stopping the writer process (responsible for truncation) and by opening & closing the databases repeatedly via readers. The reader process did not crash. When readers and writers were run simultaneously, we got `No such file or directory` error.Is there any solution to tackle this problem (because in our case writers and readers are run independently. So readers won't come to know about truncation from writers)?
    Also, we are facing one more issue related to DB_TRUNCATE. Consider the following scenario:
    <ul><li>Reader process holds reference of database (X) handle in environment 'Y' at time t1
    </li>
    <li>Writer process opens the database (X) in DB_TRUNCATE mode at time t2 (where t2 &gt; t1)</li>
    <li>After truncation, writer process closes the database and joins the environment 'Y'</li>
    <li>After this any writes to database X is not visible to the reader process</li>
    <li>Once reader process closes the database X and re-joins the environment, all the records inserted from writer process are visible</li>
    </ul>
    Is it the right behavior? If yes, how to make any writes visible to a reader process without closing and re-opening the database in the above-mentioned scenario?
    Also, when [db_set_errfile|http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/db_set_errfile.html] was set, we did not get any additional information in the error file.
    Thanks,
    Magesh

  • En-Countering Error While trying to Open the Database

    Hi Everybody,
    Database Version:Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    Os: Solaris9
    This is one of our Test Database which is running in No-Archivelog Mode and having no backup of Physical Datafiles.
    Due to some Server issues the Database was Shutdown Abnormally after which when we are trying to open our DB it showing the following Error......
    ORA-01172: recovery of thread 1 stuck at block 13447 of file 216
    ORA-01151: use media recovery to recover block, restore backup if needed....
    we are also not able to perform a media recovery since the database is running in No-Archivelog Mode....
    The only way we know to bring up the Database is making the Datafile=216 offline and opening the Database...
    In there any workaround in order to resolve the Block corruption of Data-File 216........Since we will be needing the data located in datafile 216.
    Any help Appreciated,
    Thanks & Regards,
    Prosenjit Mukherjee

    DBVERIFY: Release 9.2.0.4.0 - Production on Thu Feb 26 15:37:47 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    DBVERIFY - Verification starting : FILE = /sts/oradata/npm/sts/STPUSER10.dbf
    DBVERIFY - Verification complete
    Total Pages Examined : 98304
    Total Pages Processed (Data) : 97673
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 1
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 570
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 60
    Total Pages Marked Corrupt : 0
    Total Pages Influx : 0
    This is the Output of the Dbverify Utility,but as i can see "Total Pages Marked Corrupt : 0"
    its telling me that neither of the blocks are corrupted......
    Earlier when i was trying to do a Recovery it was giving me the Following Error....
    ORA-01172: recovery of thread 1 stuck at block 13447 of file 216
    ORA-01151: use media recovery to recover block, restore backup if needed.........

  • Error while trying to connect to Database using Oracle instantclient

    I have a linux box where i have downloaded"instantclient-basic-linux.x64-11.2.0.3.0.zip". I have unzipped in /opt/instantclient_11_2.
    I am using this as a client in my code for connecting to the oracle 11g database which is in a different server. I have set the below env variables.
    LD_LIBRARY_PATH=/opt/instantclient_11_2
    CLASSPATH=/opt/instantclient_11_2:...
    PATH=/opt/instantclient_11_2:...
    When i run my program i am getting the below error.
    java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:162)
    I am trying to connect through a thick client as below.
    Class.forName ("oracle.jdbc.OracleDriver");
                   Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@hostname_orcl", userid, pwd);
    I have seen in some forums that we need to set $ORACLE_HOME and $TNS_ADMIN env variables as well. But, here i am trying to connect to a remote database. what should i set these variables to as i don't have oracle in my machine??
    Thanks

    looks like you didnt complete the install of the instant client. the ORACLE_HOME and TNS_ADMIN points to the location of the tnsnames if you dont have the full tns string in your jdbc connection string
    https://kb.berkeley.edu/jivekb/entry.jspa?externalID=1826

  • [SOLVED]Error while trying to synchronizing package databases...

    I got this error when I tried to update my system....:(
    [root@hudsonslair pacman.d]# pacman -Suy
    :: Synchronizing package databases...
    error: failed retrieving file 'current.db.tar.gz' from ftp.gigabit.nu : Connection refused
    error: failed retrieving file 'current.db.tar.gz' from ftp.ds.hj.se : Connection refused
    error: failed retrieving file 'current.db.tar.gz' from ftp.gigabit.nu : Connection refused
    error: failed to synchronize current: Connection refused
    error: failed retrieving file 'extra.db.tar.gz' from ftp.gigabit.nu : Connection refused
    error: failed retrieving file 'extra.db.tar.gz' from ftp.ds.hj.se : Connection refused
    error: failed retrieving file 'extra.db.tar.gz' from ftp.gigabit.nu : Connection refused
    error: failed to synchronize extra: Connection refused
    error: failed retrieving file 'community.db.tar.gz' from ftp.gigabit.nu : Connection refused
    error: failed retrieving file 'community.db.tar.gz' from ftp.ds.hj.se : Connection refused
    error: failed retrieving file 'community.db.tar.gz' from ftp.gigabit.nu : Connection refused
    error: failed to synchronize community: Connection refused
    error: failed to synchronize any databases
    [root@hudsonslair pacman.d]#
    I then tried to use another server in pacman.d but I got the same result. The good news is that I still got internet working ie. can use firefox and surf to different sites
    The server seems to be alive
    [root@hudsonslair pacman.d]# ping ftp.gigabit.nu
    PING ftp.gigabit.nu (81.170.139.233) 56(84) bytes of data.
    64 bytes from h-139-233.A157.cust.bahnhof.se (81.170.139.233): icmp_seq=1 ttl=57 time=1.56 ms
    64 bytes from h-139-233.A157.cust.bahnhof.se (81.170.139.233): icmp_seq=2 ttl=57 time=1.54 ms
    64 bytes from h-139-233.A157.cust.bahnhof.se (81.170.139.233): icmp_seq=3 ttl=57 time=1.65 ms
    Last edited by hudson (2007-08-14 19:22:37)

    Okey, I have tried all norways, finlands, swedens, germans and usa's mirrors and none of them will work for me. I got the exact same error as stated above! I don't think it's healthy for me to countinue and try out another mirror
    I will simply try to reboot my arch and see what will happend..hahaha...this is just crazy!
    Last edited by hudson (2007-08-14 17:32:15)

  • -8008: Error while trying to initialize database

    I'm trying to write an ASP .Net web application to connect to SBO 2004 database using DI API 6.7. Below is the code segment to connect to database:
    Private Function SBO_connect()
      dim oCompany as New SAPbobsCOM.Company
      oCompany.CompanyDB = "SBODemo_SG"
      oCompany.Server = "win2k1"
      oCompany.UserName = "manager"
      oCompany.Password = "manager"
      oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English
      return oCompany.connect()
    End Function
    But I get this message when I tried to run it:
    -8008: Error while trying to initialize database
    I have also tried to use DbUserName and DbPassword, it gave me the same output. I have assign administrator right to ASPNET user. What else can I do? Thanks for any advice.

    Now I encounter another problem. When I use the same code and tried to access, I have this message:
    -103 Connection to the company database has failed.
    I have also tried to set the UseTrusted to true
    The SDK ersion is 6.7 and the Business One version is 2004B.
    The strange thing is I have tried the same code on another machine with the same setup, the other machine works fine. The only difference is this other machine is a development machine.

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • Error while trying to create a new company

    Hey All
    I found an error while trying to create a new company.
    the Error like - No matching Records Found - [ODBC -2028]
    This can generate only database but not any tables in that database.
    Please help me.
    Thanking you
    Hepil Doshi

    Hello,
    I would prefer local language instead of US english.....
    My tips.
    1. DID you tried to Not apply the UDO/UDF things?
    2. Do not log in to the database, start from
    3. Please post the error message itself....
    4. If you are running on MS SQL 2005 server (not express) , You can start SQL profiler, and monitor the New Database creation.... you will see in profielr where is the error message and which tables / data is missing.
    If i know well,
    When you create a new company, the SBO-COMMON database is used to deploy the new database....
    If you get stock, reinstall your sbo-common from the last applyied patch..... (Detach SBO-common, move the files another directory, and start upgarder.exe).
    Regards,
    J.

  • Error while trying to retrieve text for error ORA-03113"

    We face an error saying "Error while trying to retrieve text for error ORA-03113" in our Mail trigger application.
    This error happens randomly
    This is the below error i am getting
    I see from the logs
    DBD::Oracle::st execute failed: Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute) [for State ment " insert into matrix_tbl (created_tm, tran_id, matrix_id, client_id, mailing_id, block_id, slist_id, profile_blob, profil e_id, plist_id, profile_key, email_addr, mail_pref, mail_pref_mask, alt_email_addr, num_ftd, pct_id )  SELECT sysdate, 0 , 619
    70818 , 7180280 , 39868792 , ?, 0 ,   substr( 'MT' || chr(1) || ''   || chr(1) || 'PAPER_USAGE' || chr(1) || s.C26 || chr(1) |
    | 'GARDEN' || chr(1) || s.C17 || chr(1) || 'TAG' || chr(1) || s.C34 ||
    | chr(1) || 'PASS_MAILING' || chr(1) || s.C27 || chr(1) | 'MS' || chr(1) || s.C24 || chr(1) || 'OPTIN_SOURCE' || chr(1) || s.C25 || chr(1) || 'DAILY' || chr(1) || s.C7 || chr(1) || '
    PROFILE_LIST' || chr(1) || s.C28 || chr(1) || 'HI' || chr(1) || s.C20 || chr(1) || 'EXIST_MAILING' || chr(1) || s.C11 || chr(1
    ) || 'RPASS2' || chr(1) || s.C30 || chr(1) || 'FORWARD_MAILING' || chr(1) || s.C15 || chr(1) || 'ACCESS' || chr(1) || s.C1 ||
    chr(1) || 'TRAVCON' || chr(1) || s.C35 || chr(1) || 'RPASS1' || chr(1) || s.C29 || chr(1) || 'FINANCE' || chr(1) || s.C12 || c
    hr(1) || 'CONFIRM_MAILING' || chr(1) || s.C5 || chr(1) || 'VENT' || chr(1) || s.C38 || chr(1) || 'SRC' || chr(1) || s.C32 || c
    hr(1) || 'DELIVERY' || chr(1) || s.C8 || chr(1) || 'SALUTATION' || chr(1) || s.C31 || chr(1) || 'UNTITLEDY' || chr(1) || s.C37  || chr(1) || 'CU18' || chr(1) || s.C6 || chr(1) || 'BIRTH_DATE' || chr(1) || s.C3 || chr(1) || 'BIRTH_YEAR' || chr(1) || s.C4  || chr(1) || 'DOWNLOAD' || chr(1) || s.C9 || chr(1) || 'LN' || chr(1) || s.C22 || chr(1) || 'VIRAL_LIST' || chr(1) || s.C39 |
    | chr(1) || 'GENDER' || chr(1) || s.C18 || chr(1) || 'WEEKLY' || chr(1)
    | || s.C40 || chr(1) || 'UNTITLEDX' || chr(1) || s.C36 |
    | chr(1) || 'ENTERTAINMENT' || chr(1) || s.C10 || chr(1) || 'HEALTH' ||
    | chr(1) || s.C19 || chr(1) || 'INCOME' || chr(1) || s.C
    21 || chr(1) || 'FN' || chr(1) || s.C13 || chr(1) || 'ZIP' || chr(1) || s.C41 || chr(1) || 'AGE' || chr(1) || s.C2 || chr(1) |
    | 'FOOD' || chr(1) || s.C14 || chr(1) || 'SUPPRESS' || chr(1) || s.C33
    | || chr(1) || 'FTD_REVAL_DATE' || chr(1) || s.C16 || chr
    (1) || 'MOVIE' || chr(1) || s.C23 , 0,3999) , s.profile_id, s.plist_id, s.profile_key, s.email_addr , s.mail_pref, s.mail_pref _mask, s.alt_email_addr, srt.num_ftd, s.block_id FROM subscriber_tbl s, sub_report_tbl srt WHERE s.plist_id = ?
    and s.block_id
    = ? and srt.plist_id = ? and srt.block_id = ?  and s.profile_id = srt.profile_id
        and nvl(srt.num_optout, 0) = 0 and nvl(srt.num_ftd, 0) <= 3 and srt.optin_mask like '%N01%'"
        with ParamValues: :p5='1941860', :p3='1941860', :p1=1, :p4='28895423', :p2='28895423'] at hcommon.pm line 1277.
    AJC MAILTRIGGER STH Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute)

    An ORA-03113 error would mean that the connection to the database no longer exists so any attempt to get the error message from the the database would result in an error. I think the real issue might be why was the session interrupted.
    03113, 00000, "end-of-file on communication channel"
    Depending on the front-end tool a pointer error or failure to properly terminate a string could result in corrupting the message to Oracle.
    There have been numerous bugs over the years that have resulted in this error message being returned. I notice that the Oracle version, platform, edition, and client tool set are not mentioned in the post. All this would potentially be important information for someone to recognize what might be the problem.
    I would look very closely at the code " at hcommon.pm line 1277 "
    HTH -- Mark D Powell --

  • Error while trying to retrieve text for error ORA-12705

    I am getting the message "Error while trying to retrieve text for error ORA-12705" when trying to connect to a remote oracle database on the network.
    I can access this database using:
    sqlplus username/password@database
    from a dos prompt.
    For some reason I can't connect when using PHP (through my local Apache2 server on Windows XP).
    'phpinfo' says oracle in enabled (installed as per: http://www.oracle.com/technology/pub/notes/technote_php_instant.html), so I'm pretty sure the problem isn't with php itself.
    My guess is it's something with Apache, and maybe environment variables or user permissions or instantclient (10).
    All the folders, from instantclient to the Apache server have full permissions set for "Everyone" which I would assume includes this mysterious "nobody" user I've read about.
    As for instantclient, I have placed that "tnsnames.ora" file from the oracle server there, and that hasn't changed much.
    I've tried setting, unsetting, editing (environment variables):
    LD_LIBRARY_PATH
    ORACLE_HOME
    ORACLE_SID
    TNS_ADMIN
    NLS_LANG
    ORA_NLS33
    in both the system environment, and even with PHP's "putenv" function. (Note: and restarting each time I changed a system var.)
    In PHP i'm using:
    $c = oci_connect("username","pasword", "database")
    I've tried OCILogon instead of oci_connect
    For "database" I've tried:
    - using the path to the oracle db: //Oracle1/e/oracle/ora81
    - mapping the path to x: drive and using: x:/oracle/ora81
    - using the name of the database by itself
    - using the name of the database underscored with the database name
    - using "(ADDRESS=(PROTOCOL=TCP)(HOST = host)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=database)))"
    I have tried everything I can find from:
    the Oracle installation page: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
    the Oracle troubleshooting page: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#connect
    and these forumswith no results, just the same error.
    I have also spent about 16 hours Googling for help, and nothing.
    Can someone please tell me, what exactly does a user using:
    Windows XP
    Apache 2
    PHP
    intantclient10
    Oracle 8i (on a remote server)
    need to do to connect to Oracle before jumping off a bridge?

    Turns out Oracle was previously installed on this company laptop :(
    I deleted any 'Oracle' mention in the registry with 'regedit' (from the command line) using the Find option. Not sure if it's always a good idea to do that, but I backed up the important stuff first anyway.
    I uninstalled and reinstalled everything using the same guide mentioned above, and then it worked.
    Now I can be friends with Oracle again.
    Would be nice if the "Deinstall" removed the registry entries that caused this issue...

  • Error while trying to register user to iFS 9.0.1

    Hi ,
    We are getting following error while trying to register user with our custom application. When I checked the forums it says the unique constraint might be the problem but I don't see any unique constraint violation in my exception trace. We are using 9.0.1 with 9.0.1 Database.
    Here is the stack trace:
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-00600: internal error code, arguments: [25012], [10], [0], [], [], [], [], []
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:184)
         at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1768)
         at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1380)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1868)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2377)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:427)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:492)
         at oracle.ifs.server.S_LibrarySession.execute(S_LibrarySession.java:14319)
         at oracle.ifs.server.S_LibraryObject.insertRow(S_LibraryObject.java:3251)
         at oracle.ifs.server.S_LibraryObject.insertRows(S_LibraryObject.java:3150)
         at oracle.ifs.server.OperationState.executeAtomicOperations(OperationState.java:487)
         at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:2716)
         at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:7922)
         at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7963)
         at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7945)
         at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:7604)
         at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:7901)
         at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySession.java:5345)
         at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:2973)
         at oracle.ifs.adk.user.UserManager.createDirectoryUser(UserManager.java:1122)
         at oracle.ifs.adk.user.UserManager.createUser(UserManager.java:987)
         at com.cisco.as.ifs.management.fndUserManager.createUser(fndUserManager.java:131)
    Thanks
    Rajesh Basawa

    Rajesh,
    I was wondering did you manage to get this problem fixed we are having a similar problem when creating an iFS object; the following is the stack trace
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    [Mon Jun 16 14:19:47 BST 2003] stderr: java.sql.SQLException: ORA-00600: internal error code, arguments: [25012], [5], [0], [], [], [], [], []
    [Mon Jun 16 14:19:47 BST 2003] stderr:
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1759)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1371)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1852)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1771)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2361)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:487)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.execute(S_LibrarySession.java:14319)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibraryObject.insertRow(S_LibraryObject.java:3251)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibraryObject.insertRows(S_LibraryObject.java:3150)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.OperationState.executeAtomicOperations(OperationState.java:487)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java:2716)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java:7922)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7963)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:7945)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:7604)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:7901)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySession.java:5345)
    [Mon Jun 16 14:19:47 BST 2003] stderr:      at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:2973)

Maybe you are looking for