Concurrent request - view output - Error connecting to database ORA-1017

Hi all,
When I run Active Users concurrent request.
It complete sucessfully without any error.
but when i click on view output then i get following error.
Error connecting to database ORA-1017
Reg
Chirag Patel
Nairobi

Hi All,
I followed this metalink note.
Copy File : Error connecting to database ORA-1017 [ID 269511.1]
and it if working fine now.
Reg
Chirag Patel

Similar Messages

  • Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver

    Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
    Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
    Checks performed:
    RMS Application code location and directory contents:
    [oracle@test-rms-app application]$ pwd
    /binary_files/STAGING_DIR/rms/application
    [oracle@test-rms-app application]$ ls -ltr
    total 144
    -rw-r--r-- 1 oracle oinstall   272 Dec 7  2010 version.properties
    -rw-r--r-- 1 oracle oinstall   405 Jan 16 2011 expected-object-counts.properties
    -rw-r--r-- 1 oracle oinstall   892 May 13 2011 ant.install.properties.sample
    -rw-r--r-- 1 oracle oinstall 64004 Jun  6  2011 build.xml
    drwxr-xr-x 9 oracle oinstall  4096 Jun 16 2011 rms13
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 installer-resources
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 antinstall
    drwxr-xr-x 2 oracle oinstall  4096 Jun 16 2011 ant-ext
    drwxr-xr-x 5 oracle oinstall  4096 Jun 16 2011 ant
    -rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
    -rwxr-xr-x 1 oracle oinstall  4249 Dec 18 10:01 install.sh
    drwxr-xr-x 4 oracle oinstall  4096 Dec 18 10:06 common
    -rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
    -rw-r--r-- 1 oracle oinstall   689 Dec 19 10:37 ant.install.log
    [oracle@test-rms-app application]$
    Application installation:
    [oracle@test-rms-app application]$ ./install.sh
    THIS IS the driver directory
    Verified $ORACLE_SID.
    Verified SQL*Plus exists.
    Verified write permissions.
    Verified formsweb.cfg read permissions.
    Verified Registry.dat read permissions.
    Verified Java version 1.4.2.x or greater. Java version - 1.6.0
    Verified Tk2Motif.rgb settings.
    Verified frmcmp_batch.sh status.
    WARNING: Oracle Enterprise Linux not detected.  Some components may not install properly.
    Verified $DISPLAY - 172.16.129.82:0.0.
    This installer will ask for your "My Oracle Support" credentials.
    Preparing installer. This may take a few moments.
    Your internet connection type is: NONE
    Integrating My Oracle Support into the product installer workflow...
         [move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
    Installer preparation complete.
    MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
    ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
    ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
    DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
    WLS_INSTANCE=WLS_FORMS
    ORACLE_SID=rmsdbtst
    JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
    Launching installer...
    To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
    [oracle@test-rms-app application]$ tnsping rmsdbtst
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
    OK (0 msec)
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ ping test-rms-db
    PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
    --- test-rms-db.vonmaur.vmc ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4001ms
    rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ uname -a
    Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ cat /etc/*-release
    Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    [oracle@test-rms-app application]$
    The database is created and all the batch file scripts have been successfully deployed.  Now working on the application server.  The  Weblogic server is installed and 11g forms and reports are installed successfully.
    Any help would be helpful.
    Thanks,
    Ram.

    Please check MOS Notes:
    FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1)

  • Error connecting to database - java.sql.SQLException: Io exception: The Net

    Hello friends,
    I know this question has been asked in a lot of other threads; but my problem is quite unique and that's why I'm starting a new thread...
    When I try to access an Oracle 10g database through a Servlet code using a JDBC thin driver (both Tomcat and the database are running on Solaris 9), I get the following error:
    "Error connecting to database - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"
    However, there is another application running on the same server using the same database server (only the actual databases being used differ) and it is able to access the database without any issues. Both of these are absolutely similar applications and I couldn't think of any reasons why one would work and the other wouldn't. I thought they might be conflicting each other and tried running only the problematic application. But even then, I get the same error.
    I know this might not be too relevant but to provide you some more information on the environment, the applications are running on separate Tomcat instances on the same server and they are connected to an Apache web server through Mod jk.
    Any help in solving this problem is greatly appreciated!
    Thanks!
    Regards,
    Yogaesh

    Yogaesh wrote:
    The 'application' that works is also a Tomcat application... It's exactly same as the problematic application in terms of the configuration and stuff... As for the typo errors, I copied the config info and pasted it... So pretty much it should be the same. And to add an additional note, I'm able to connect to the database from my localhost... I mean if I run the problematic application from localhost (without Apache and directly hitting Tomcat) I'm able to access the screens...
    The second part of that (localhost) usually isn't all that useful. You know it is a connection failure so that means the code is running and technically successfully (since connection failure is a legitimate runtime error.)
    You know it isn't a firewall issue because it connects from another app in tomcat. So it must be a configuration issue.
    So something like one of the following.
    1. It isn't the same (we already know this but this particular item means that it is not in fact exactly the same because you deliberately or accidently modified it.)
    2. It isn't pulling the right config. Maybe you aren't packaging it, maybe it is buffered on the server and it is using that rather than what you think it is.
    3. Java code is referring to the wrong name.
    Do this, change the configuration so it points to a server that does not exist. Repack, redeploy. If the error is the same (no diff) then you know that it is not running the code that you think it is. If it does change then you know that it can only be 1.

  • *** ERROR = Connect to database failed, rc = -4008 (POS(1) Unknown user na

    Hello
    I have just finished a dbcopy of Maxdb 7.6  to a new system with initilization.i can bring the db online. I have  ran the xuser command to fix the db users as below command as per note 39439
    i changed them in home dir of sidadm,sqdsid
                          xuser -U DEFAULT -u SAP<SID>,<password> -d <database_name> -n <database_server> -S SAPR3 -t 0 -I 0 set
    c) DBM user: for example, CONTROL.
                           xuser -U c -u CONTROL,<password> -d <database_name> -n <database_server> -S INTERNAL set
    d) SYSDBA user: for example, SUPERDBA.
                           xuser -U w -u SUPERDBA,<password> -d <database_name> -n <database_server> -S INTERNAL set 
    But iam having the below error now when trying to bring the SAP system up in dev_w0
    C  Try to connect (DEFAULT) onconnection 0 ...
    C
    C Mon Dec 19 21:46:11 2011
    C  *** ERROR => Connect to database failed, rc = -4008 (POS(1) Unknown user name/password combinati
    on)
    [dbsdbsql.cpp 137]
    B  ***LOG BY2=> sql error -4008  performing CON [dbsh#3 @ 1208] [dbsh    1208 ]
    B  ***LOG BY0=> POS(1) Unknown user name/password combination [dbsh#3 @ 1208] [dbsh    1208 ]
    B  ***LOG BY2=> sql error -4008  performing CON [dblink#8 @ 433] [dblink  0433 ]
    B  ***LOG BY0=> POS(1) Unknown user name/password combination [dblink#8 @ 433] [dblink  0433 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1537]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10837]
    M
    is there something  that i missed somewhere?
    Any ideas welcome

    erpsyscs1:cs1adm 46> xuser list
    XUSER Entry  1
    Key         :DEFAULT
    Username    :SAPCS1
    UsernameUCS2:S.A.P.C.S.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :SAPR3
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>
    XUSER Entry  2
    Key         :c
    Username    :CONTROL
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>
    XUSER Entry  3
    Key         :c_J2EE
    Username    :CONTROL
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :SAPR3
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>
    XUSER Entry  4
    Key         :w
    Username    :SUPERDBA
    UsernameUCS2:S.U.P.E.R.D.B.A. . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>

  • Error connect to database

    Hi There,
    I have Essbase 11.1.1.3, and I just have Reporting Studio installed , then I try to create new Report, insert Grid, then Database Connection property, I put essbase server name (same box), then admin user name and password, Application and database, I got the follwoing error:
    Error connecting to database connection ApplicationName: CubeName
    How can I fix this?
    I did install Reporting Studio first, then found out WoekSpace is not installed, then I installed work space. Does this have anything to do with the connection error?
    Thanks
    Edited by: user8091395 on Jul 15, 2010 3:09 PM

    Thank you for all for the reply.
    This is my test box, which I have all essbase 11.1.1.3 components installed at this box (essbase server, eas, essbase studio), and yes, I can connect fine using Excel Add in from my laptop.
    Essbase has been running for a while, then we need to have reporting tool, so I decide to install Reporting studio now, I download Financial Reporting studio zip file, install successfully at current essbase box. and got error at login, then realize I am missing workspace, then I install workspace, now I can login to reporting studio.
    Only thing now is that I get the error I mention when connecting to essbase app and db.
    Another thing I would like to mention is that I am using native essbase security on my test box, not share service.
    Thanks again
    Edited by: user8091395 on Jul 16, 2010 2:10 PM

  • Issue with OIDM - Error connecting to database -1

    In oidmon.log - "Error connecting to database -1".
    Config : OID on W2k
    Install created "ODS" user in the database. I can connect to the DB via SQLPLUS.
    Any idea what "-1" implies. Any help would be greatly appreciated

    Is this really a hard one to answer ? I have tried install, de-install, re-install nothing seems to work ?
    I would appreciate any help on this.
    Thx
    -- Geoff

  • ORACLE error from auxiliary database: ORA-01152: file 2 was not restored fr

    Hello,
    i'm trying to clone a database. It is in archive log mode.
    I took a full back using below command
    run {
      backup
         tag 'DAILY_WHOLE'
         format 'FULL_backup_%s_%p_%c.bkp'     database
         plus archivelog
         tag 'DAILY_WHOLE'
         delete all input;
      backup
         current controlfile
         format 'FULL_backup_%s_%p_%c.bkp'     tag 'WHOLE'
         spfile
         format 'FULL_backup_%s_%p_%c.bkp'     tag 'WHOLE';
    }then i issue a duplicate database command
    RUN
    DUPLICATE DATABASE TO TEST_DB
              NOFILENAMECHECK
               NOREDO
              BACKUP LOCATION '/disk10/flash_recovery_area/PROD';
    }at the very end I got this error.
    contents of Memory Script:
       Alter clone database open resetlogs;
    executing Memory Script
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/15/2013 11:59:21
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01152: file 2 was not restored from a sufficiently old backup
    ORA-01110: data file 2: 'sysaux.dbf'Can anyone help me? I would appreciate it. thanks

    NOREDO would be used when you have a Consistent Backup (i.e. backup taken when the database is MOUNTed but not OPEN) and so, no archivelogs need to be applied. (This would also be the case for a NOARCHIVELOG database).
    See the notes on NOREDO in the DUPLICATE command documentation in the Backup and Recovery Reference.
    http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta020.htm#i81724
    Hemant K Chitale

  • Error connecting to database thru tnsnames.ora in linux

    Hi,
    I can connect to database using service and port. Now i want to connect using the tnsnames. The following code returns error.
    import java.sql.;*
    import oracle.jdbc.OracleDriver;
    import oracle.jdbc.pool.OracleDataSource;
    public class Test
    public Test()
    System.setProperty("oracle.net.tns_admin","\oracle\product\TNS");
    public static Connection getConnection() throws SQLException
    OracleDataSource ds = new OracleDataSource();
    ds.setTNSEntryName("CMAD");
    ds.setDriverType("thin");
    ds.setUser("scott");
    ds.setPassword("tiger");
    Connection conn = ds.getConnection();
    return conn;
    public void run () throws SQLException
    Connection conn = getConnection();
    System.out.println("Check Auto Commit = " + conn.isClosed());
    conn.close();
    public static void main(String[] args)
    Test test = new Test();
    try
    test.run();
    System.out.println("all done..");
    catch (SQLException e)
    e.printStackTrace();
    \oracle\product\TNS is the place where my tnsnames.ora is stored and is set as TNS_ADMIN path in linux
    I encounter the follwing error while running the class file of above code
    java.sql.SQLException: Io exception: SO Exception was generated
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:273)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:327)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:365)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:195)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:145)
    at Test.getConnection(Test.java:41)
    at Test.run(Test.java:47)
    at Test.main(Test.java:57)
    Could someone help me? What is a SO exception?
    Thanks in advance.
    Allen

    Hi,
    Socket exception?
    What does your CMAD TNS entry look like?
    Regards
    Peter

  • Send email notification when a concurrent request completes with Error

    {color:#0000ff}I need to setup the system such that when a concurrent request completes with the status "Error", generate/send email notification to an application user. Please advice if you know how to configure the system to accomplish this.
    Note: If the concurrent request completes with status "Normal" or "Warning", do not send/generate email notification to the application user.
    Thanks.
    {color}

    We do what amOx does. I made a concurrent program that calls a sql script, and emails me of errored jobs. It is more convenient than logging in each day. I ran this twice daily, and the sql checks for the previous 12 hour time slice (ie - twice a day run).
    ..colin

  • Error Connect to database failed : sqlcode=-4008 in dev_w0

    Hi all,
    I have a testing ABAP ECC5 system (in Windows 2003, MaxDB 7.6 build 35).
    After changing default passwords of DB users SAP<SID>, CONTROL, SUPERDBA using DBMGUI, I then run commands below to update new passwords in XUSER entries (according to SAP Note 39439):
    - xuser -U DEFAULT -u SAP<SID>,<password> -d <database_name> -n <database_server> -S SAPR3 -t 0 -I 0 set
    - xuser -U c -u CONTROL,<password> -d <database_name> -n <database_server> -S INTERNAL set
    - xuser -U w -u SUPERDBA,<password> -d <database_name> -n <database_server> -S INTERNAL set
    The SAP system now cannot be started successfully. In dev_w0, there is info. like below:
    "Connect to database failed : sqlcode=-4008 (Unknown user name/password combination)."
    Command "r3trans -d" returns 0.
    In SAP Note 39439 I see that maybe I should update info. for OS user SAPService<SID>. But I don't know what "..." means in command "xuser -c <domain>\SAPService<SID> ..."
    I searched SAP SDN & SAP Notes, but still cannot fix this.
    Please guide me to update XUSER entries after changing passwords of DB users.
    Regards,

    > I have a testing ABAP ECC5 system (in Windows 2003, MaxDB 7.6 build 35).
    Just as additional info: your database version is ancient - I suggest upgrading to a newer release.
    > In SAP Note 39439 I see that maybe I should update info. for OS user SAPService<SID>. But I don't know what "..." means in command "xuser -c <domain>\SAPService<SID> ..."
    The SAP system runs under User SAPService<SID>, you're most likely logged on using <sid>adm, that's why your "R3trans -d" connect is successful.
    You have to execute the same command for the entry DEFAULT also for user <DOMAIN>\SAPService<SID>, that's what the dots mean
    Markus

  • Not able to connect to database: ORA-28001: the password has expired

    I started getting the 'password has expired' error in my SOA server log today (six months after installing my SOA Suite 11.1.1.4 development environment). I found a tip in an old forum thread:
    Failed to connect to database instance: ORA-28001: the password has expired
    and changed the password expiration time as suggested, and bounced my SOA server hoping for the best. But I'm still getting the password has expired error. Is there a way to clear that out so that I don't have to go back and figure out which user(s) are being affected and what their passwords should be reset back to so that my SOA environment will work again? Thanks!

    Hi,
    Better to check the password_life_time unlimited for all your schemas, suppose your prefix is DEV you may have:
    DEV_MDS
    DEV_ORABAM
    DEV_ORASDPM
    DEV_SOAINFRA
    Cheers,
    Vlad

  • SQL Developer Blocked and is not allowed to connect to database ORA-200001

    SQL Developer Blocked and is not allowed to connect to database gives ORA-200001.
    i found on net that DBA can write triggers which can deny connection to database from certain appplication.
    so i want a way to change application name so that when it connects to database
    the V$SESSION will have different value (other than SQL Developer) in column PROGRAM and/or MODULE (which i think is used by dba to restrict the connection).
    one more way is
    i am using jdbc url to connect to database
    in java we can change properties of connection to change the PROGRAM in V$SESSION.
    but i am not java expert so dont know how and where to make the changes
    either way my aim is to connect to database such that V$SESSION will have different value (other than "SQL Developer") in column PROGRAM and/or MODULE

    This is not system configration or credential issue.
    This is a check which is put DBA using logon trigger
    to check certain user loging in using certain application.
    only some users using particular username are getting this error when they try to logon using oracle sql developer
    the same users when uses different username(some generic user names created to access database) to access the same database then they are able to login.
    similarly if they login using SQL navigator they are able to login with both their own and the generic user name
    more over of all the database instances this is only happening on some of the instances and all of them are development instances.
    following will help you understand
    USER | DBUSERNAME | DATABASE | APPLICATION | ACTION
    X | X | DB1 | Oracle Sql Developer | Blocked
    X | G(Genric) | DB1 | Oracle Sql Developer | Login Success
    X | X | DB1 | Sql Navigator/SqlPLus | Login Success
    X | G(Genric) | DB1 | Sql Navigator/SqlPLus | Login Success
    X | X | DB2 | Oracle Sql Developer | Login Success
    X | G(Genric) | DB2 | Oracle Sql Developer | Login Success
    X | X | DB2 | Sql Navigator/SqlPLus | Login Success
    X | G(Genric) | DB2 | Sql Navigator/SqlPLus | Login Success
    I just want to bypass this check which i think uses V$SESSION and columns PROGRAM and/or MODULE to check the application used by particular user.
    if i can override these values some where in oracle sql developer before loging in the DB then i can clearly pass this check and login to database.
    Edited by: user13430736 on Jun 21, 2011 4:05 AM
    Edited by: user13430736 on Jun 21, 2011 4:12 AM

  • Error in Recover Database -  ORA-01547 , ORA-01194 and ORA-01110

    Hello folks,
    I am facing a problem when recovering a database..
    I made each tablespace in backup mode, then copied the datafile. I revert back the tablespace status to normal status.Once all datafiles are copied to target location, i created the control file from the source db.
    I started the target db by
    sqlplus "/ as sysdba"
    then i executed the control file
    SQL>@ctrlfile.sql
    Control file got created.
    SQL>recover database until cancel using backup controlfile;
    it asked for archives. I gave the path one by one until everything was done.Now i gave 'cancel' as below.
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 377 needs more recovery to be consistent
    ORA-01110: data file 377: '<path>/xxfndx01.dbf'
    ORA-01112: media recovery not started
    Could anyone please tell me where I went wrong and how can I move ahead from this stage???
    Later on, when I gave open resetlogs, it gave the same error(as below)
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 377 needs more recovery to be consistent
    ORA-01110: data file 377: '<path>/xxfndx01.dbf'
    Please let me know the mistake I made, how to avoid that and how to proceed now ???
    Thanks,
    Cherrish Vaidiyan
    [email protected]

    Hello Cherrish,
    A very good question you have asked. I hope you realize that you're doing an incomplete recovery. There is some amount of information that is still there in the online redo-log, that would not be applied on your target db. Moreover when you're using backup controlfile, you do not know till which point you need to apply archive logs.
    For incomplete recovery, Oracle for some reason has been very strict about the recover database command. i.e.
    recover database using backup controlfile
    recover database using backup controlfile until cancel
    Is not same. It also applies to the command that you had given. By giving the command 'recover database using backup controlfile until cancel', you're telling Oracle that incomplete recovery is in process, and you would do resetelogs, to make sure all files are in sync. This is required when you have lost the redo-logs
    In case you have just lost the control file. All latest redo-logs, archive-logs and datafiles are okay (or have been restored), then recover database using backup controlfile; would work perfectly okay. and resetlogs would not be required.. and that would be a complete recovery
    I hope this all makes sense to you
    Regards
    Sudhanshu

  • Problems viewing concurrent request pdf output on mac os

    Please your advice on this will be much appreciated.
    A user can run a c.request and view the pdf output on windows without problems. When she uses mac, she is able to run the request successfully but gets error if she click on the link to see the output. Are there any parameters etc to be changed to use mac os?
    Thanks

    Do you meet the requirements of the "Certification Matrix for Safari" as outlined in the following note?
    Note: 285218.1 - Recommended Browsers for Oracle E-Business Suite 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=285218.1

  • Error connecting to database from Crystal Report

    Hi,
    I am using Crystal report 2008, .NET 3.5 on Windows Server 2008 + SQL Server 2008
    I have a batch that generates report (via export) then this batch will send the exported report via email.
    I am encountering this error when reading report from BO Server
    Error: CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    While when trying to read the report from physical file within the server, it will give me this error
    Error: CrystalDecisions.CrystalReports.Engine.InternalException: Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ] ---> System.Runtime.InteropServices.COMException (0x800002D3): Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    The report is working in our SIT environment but it is not working in our UAT environment.
    I have tried the following:
    1) running the batch (that generates the report) in SIT environment to call SIT database
    Working fine
    2) running the batch (that generates the report) in SIT environment to call UAT database
    Will give the above error
    3) running the batch (that generates the report) in UAT environment to call UAT database
    Will give the above error
    4) running the batch (that generates the report) in UAT environment to call SIT database
    Working fine
    For reading report from BO Server, I have tried viewing the report directly and scheduling the report directly from BO Server and it works fine.
    Also I have tried to 'verify database' on the UAT report, but it seems it didn't solve the issue.
    Does anyone have any idea how to solve this? Or what could cause this?
    Appreciate your help.
    Thanks.

    Here's how I connect to the database
    when reading report from bo server:
    Dim enterpriseSession As CrystalDecisions.Enterprise.EnterpriseSession
                Dim enterpriseService As CrystalDecisions.Enterprise.EnterpriseService
                Dim infoObjects As CrystalDecisions.Enterprise.InfoObjects
                Dim infoObject As CrystalDecisions.Enterprise.InfoObject
                Dim infoStore As CrystalDecisions.Enterprise.InfoStore
                Dim query As String = ""
                query = "SELECT * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report' AND SI_NAME LIKE '" & reportName & "'"
                'Create a session manager
                Dim sessionMgr As New CrystalDecisions.Enterprise.SessionMgr
                'Log into BusinessObjects Enterprise
                enterpriseSession = sessionMgr.Logon(cu.BOXIUser, cu.BOXIPwd, cu.BOXIServer, cu.BOXIAuthentication)
                'Create the infostore object
                enterpriseService = enterpriseSession.GetService("InfoStore")
                infoStore = New CrystalDecisions.Enterprise.InfoStore(enterpriseService)
                infoObjects = infoStore.Query(query)
                If (infoObjects.Count > 0) Then
                    infoObject = infoObjects(1)
                    crDoc.Load(infoObject, enterpriseSession)
                    crDoc.SetParameterValue("@batchID", batchID)
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions()
                    Dim CrPDFFormatOptions As New PdfRtfWordFormatOptions
                    Dim CrExcelFormatOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = reportFile
                    CrExportOptions = crDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = IIf(reportFormat = IAConstant.PDF, _
                                                ExportFormatType.PortableDocFormat, _
                                                IIf(FINRptFormat = IAConstant.EXCELONLY, _
                                                ExportFormatType.ExcelRecord, ExportFormatType.Excel))
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = IIf(reportFormat = IAConstant.PDF, _
                                             CrPDFFormatOptions, CrExcelFormatOptions)
                    End With
                    crDoc.Export()
                Else
                    Throw New ApplicationException(Constant.APP_ERR & " - Report not found")
                End If
    The error is thrown when trying to export --> crDoc.Export()
    The username and password are correct because it is the same username and password that the batch used to extract the data in the initial stage.
    Here's how my batch works:
    1) Extract and massage data directly from .net SP (this is working fine)
    2) Obtain the report then use the same connection string (for physical path report) or use the report connection string (for bo server report), this report is using Stored Procedure (the problem starts here)
    For reading report from bo server, I have also checked that the connection from the report itself is correct, because we can schedule/view the report from bo server successfully.
    SQL Driver, is it the SQL Native Client you are saying? It's SQL Native Client 10.
    I think we are using Business Objects Enterprise XI 3.1 Client Tools SP2 in our apps server.

Maybe you are looking for