Alter user + ora-03114
Hello...
Using Forms 10gR1(9.0.4.19).
When the command call database procedure "execute immediate alter user..."
return the error "ORA-03114".
Can you help me?
Thanks.
ORA - 3114 Not connected to OracleIt looks like you somehow got disconnected from the database or never connected in the first place. You don't suppress logging on to the database by overriding the ON-LOGON trigger?
If you are initially connected you somehow got disconnected. Could be that you're database session crashed on a previous action. Check the bdump directory at the database server to see if there is a log file of a crashed session.
I haven't ever experienced this myself, but could it be that you are altering the current user in such a way that the session is ended? You did not specify what you are doing in the ALTER USER, so it's only guessing for me
Similar Messages
-
Frm-40735 when-button-pressed trigger raised unhandled exception ora-03114
hi everybody,
i am using oracle 10g release 2 in my test server and 10g release 1 in production server with forms in 10g running through the oracle 10g application server with no problem with our production server.
but the same form when i try to use through the same application server for my
with my test database server which is oracle 10g release 2 is giving me
frm exceptions and disconnecting the session.
like i get frm-40735 when-button-pressed trigger raised unhandled exception
ora-03114. then frm-40655 sql error forced rollback;clear form and reenter transaction. then when i try to exit it shows ora-24324 service handle not initialized.
The same thing when i try with my production server i dont get any exception handle error or forced rollback error.
i am not facing any problem as such to connect to my test database(release 2)
through sql plus client or TOAD OR ENTERPRISE MANAGER THEY ARE ALL FINE. IT IS ONLY WHEN I GO THROUGH THE APPLICATION SERVER TO ACCESS MY FORMS I GET THIS ERROR. BUT MY PRODUCTION IS RUNNING THE SAME WAY WITH NO ERRORS.
any suggestions welcome as i have to bring release 2 in the production next month
thanks and regards
manishORA-03114 not connected to ORACLE
Cause: A call to Oracle was attempted when no connection was established. Usually this happens because a user-written program has not logged on. It may happen if communication trouble causes a disconnection. In addition, this message could occur when ALTER SYSTEM KILL SESSION or ALTER SYSTEM DISCONNECT SESSION were issued with the IMMEDIATE qualifier because, in those cases, the client's connection to the database is terminated without waiting for the client to issue a request.
Action: Try again. If the message recurs and the program is user written, check the program.
zaibi. -
Ora-03114 error when using trigger on spatial field
I have a table the has a lat and long field and an geometry field. I want to place a trigger so that as the users insert lat and long into the table it also populates those values into the geometry field. I built a trigger that is supposed to do this. Upon insert I get an ora-03114 error. I can run the same piece of pl/sql as a plain update statement. How do I solve this problem.
the DB is 9.0.1.2 and is stuck thier because of some 3rd party tools.
AaronHi,
ORA-03114: not connected to ORACLE
Cause: A call to Oracle was attempted when no connection was established. Usually this happens because a user-written program has not logged on. It may happen if communication trouble causes a disconnection. In addition, this message could occur when ALTER SYSTEM KILL SESSION or ALTER SYSTEM DISCONNECT SESSION were issued with the IMMEDIATE qualifier because, in those cases, the client's connection to the database is terminated without waiting for the client to issue a request.
Check your client connection settings, your driver etc.
regards, Andreas -
Error: ORA-03114: not connected to ORACLE
While executing the database creation at the middle it is asking for password even if i give password (first attempt ) or empty enter (Last attempt)i'm unable to connect the database.
Password for DBSNMP user:
null [ORA-03114: not connected to ORACLE
Thanks!in my lsnrctl i am unable to see the database
H:\lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:10:31
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
Start Date 01-FEB-2013 19:01:09
Uptime 0 days 0 hr. 9 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\listener.ora
Listener Log File e:\app\username\diag\tnslsnr\mysystem\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Service "First" has 1 instance(s).
Instance "First", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfullyi am able to see the all the database which running under this instances
After that i pingged the database
H:\>tnsping First
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:13:47
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost
)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = FIRST)))
OK (30 msec)where as in tnsping Last i am able to see the database
H:\>tnsping Last
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:13:47
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost
)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = LAST)))
OK (30 msec)Last database is in oracleserviceLast
What is wrong with the process. -
Oracle Fusion Middleware 11 - Failover - ORA-03114
We use Oracle Fusion Middleware 11.1.1.4 to run a Oracle Forms based application that connects to an Exadata - Oracle 11g 11.2.0.3 database.
In order to test the failover to Data Guard mechanism, we changed the tnsnames.ora to include the stanza for the data guard and disaster recovery databses.
However after changing the tnsnames.ora entry, the Fusion Forms refused to connect. It gave
FRM-40735: ON-ERROR trigger raised unhandled exception ORA-03114
Present below is the tnsnames.ora entry .
The first one is the unmodified one that works(we can open up Oracle forms app and connect successfully to the database).
The second one is the modified one with the failover phrase that does not work - gives
ORA-03114. However the same entry as a jdbc connection string is working fine.
Works :
clientdb_oltp.world =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = client7-scan1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = clientdb_oltp_srvc.world)
Does NOT work:
clientdb_oltp.world =
(DESCRIPTION =
(LOAD_BALANCE = OFF)
(FAILOVER = ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = client7-scan1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = client3-scan01)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = client1-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = clientdb_oltp_srvc.world)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC))))
JDBC Connection string that works :
jdbc:oracle:thin:@(DESCRIPTION_LIST=(LOAD_BALANCE=off)(FAILOVER=on)(DESCRIPTION= (ADDRESS_LIST= (LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST= client7-scan1)(PORT=1521)))(CONNECT_DATA=(SERVER = DEDICATED) (SERVICE_NAME=clientdb_oltp_srvc.world)))(DESCRIPTION= (ADDRESS_LIST= (LOAD_BALANCE=on) (ADDRESS=(PROTOCOL=TCP)(HOST=client3-scan01)(PORT=1521))) (CONNECT_DATA=(SERVER = DEDICATED) (SERVICE_NAME= clientdb_oltp_srvc.world))) (DESCRIPTION= (ADDRESS_LIST= (LOAD_BALANCE=on) (ADDRESS=(PROTOCOL=TCP)(HOST=client1-scan)(PORT=1521))) (CONNECT_DATA=(SERVER = DEDICATED) (SERVICE_NAME=clientdb_oltp_srvc.world))))
Could you please advise if there is any reason why Oracle Fusion Middleware will not connect with the tnsnames.ora having the failover stanza ? Does the above entry require any change ?
We have already checked for any TAB or other non-print characters.
Edit : 6/3/2014 I mistakenly gave the Forms Oracle error as ORA-12154. The error faced is "FRM-40735: ON-ERROR trigger raised unhandled exception ORA-03114"
Updated Title and description.
The credentials were validated multiple times. (user id and password is correct)
Message was edited by: skrishnanHi Prakash,
The database is up and running. We are able to login to it using sqlplus and other sql tools from different clients(sql client and java based programs).
We believe its either due to Oracle Middleware not supporting the tnsnames.ora entry with the failover stanza , or some quirk with our tnsnames.ora file.
Is there anything you would advise that we try ?
Thank you,
S. Krishnan -
SQLLDR run command line fails: ORA-03114: not connected to ORACLE
We moved our db (11.2.0.3) to a new server (VM) and cannot get sql loader direct load to run for a non-oracle db owner account without specifying a connection string (@DB). I have the environment set up correctly for this user and can connect to the database via sqlplus.
sqlldr dba1 control=test.ctl direct=yes <==FAILS
Password:
SQL*Loader: Release 11.2.0.3.0 - Production on Fri May 17 13:00:32 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
SQL*Loader-925: Error while uldlfca: OCIStmtExecute (ptc_hp)
ORA-03114: not connected to ORACLE
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
sqlldr dba1@DB control=test.ctl direct=yes <==SUCCESSFUL
Password:
SQL*Loader: Release 11.2.0.3.0 - Production on Fri May 17 12:59:11 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.My thoughts were along the line that the environment for user x not set up correctly but I verified ORACLE_SID & ORACLE_HOME prior to posting. This user's environment references TNS_ADMIN so I'm sending you the tnsnames.ora from that location.
Please note that I can execute this logged in as the db binary owner (environment set the same as user x).
DWQ1 =
(DESCRIPTION =
(ENABLE = BROKEN)
(ADDRESS = (HOST = xxxx)(PORT = 1521)(PROTOCOL = TCP) )
(CONNECT_DATA =
(SERVICE_NAME = DWQ1)
) -
Alter user system identified by manager; need help
SQL> connect /as sysdba;
Connected.
SQL> alter user system account unlock;
User altered.
SQL> alter user system identified by manager;
User altered.
SQL> connect system/manager@q17als;
ERROR:
ORA-28000: the account is locked
Warning: You are no longer connected to ORACLE.can you try do to the connect system/manager without
putting the @q17als on it?
I bet it will work
Well that one should work, although it may not connect to the right database.
What may have happened is he logged in to a different database using "/as sysdba" and unlocked SYSTEM account there. Therefore connecting as system without using an alias would work (if the password is manager).
the net service name for q17als probably uses different database in its connect descriptor. We can see that if we know what connect descriptor for q17als looks like. (tnsping q17als or checking tnsnames.ora)
I agree with the earlier posts - I think you are
dealing with two different databasesThat is what I am trying to prove as well -
Alter user identified by values
I use the following method for connecting as different users for test purposes:
- select the encrypted password from dba_users
- temporarily change their password,
- connect using a temporary password,
- reset their original password using the encrypted value.
The last step is achieved by the 'alter user identified by values ..' syntax.
However, I have now found that if the user has a profile with password complexity verification, this always seems to fail.
Appending the new 9.2 REPLACE <old_password> does not make any difference,
and in any case that should not be needed if being done with alter any user privilege.
Has anyone found a way around this ?The bad news is that on a 9.2 database I got the error:
SQL> alter user a identified by values 'FD7C3F4E0D2D2A65' ;
alter user a identified by values 'FD7C3F4E0D2D2A65'
ERROR at line 1:
ORA-28003: password verification for the specified password failed
SQL>the good news is that on a 10.2 database it worked:
SQL> alter user a identified by values 'FD7C3F4E0D2D2A65' ;
User altered.
SQL> -
SQLPlus COPY error: ORA-03114: not connected to ORACLE
This is what I'm trying to do:
I'm logged into an Oracle 8.1.6 database on a Windows 2000 Professional box and trying to copy data and tables from an Oracle 7.3.4 database on an HP/UX box.
I log into my 8.1.6 SQLPlus as:
scott/tiger@testdb
Then I run the following:
SQL> set copycommit 1
SQL> set arraysize 1000
SQL> copy from user/user1@devp1 -
create reps_t -
using -
select * from reps_tThis is my error:
ORA-03114: not connected to ORACLE
Can someone give me a better understand how SQLPlus COPY works and give me an idea how to locate the problems.
Thanks,
Laith E.H.
nullI think this combination user/user1@devp1
is not ok.
U can get good material about copy command
from technet itself. Just search for Copy -
Error al ejecutar SQL plus y error ORA-03114
Instali Oracle 9i 9.2 cliente sobre windows 98 para conectarme a la base Oracle 7.3.4. La instalacisn fue exitosa y la configuracion del Net tambiin results exitosa, sin embargo, al ejecutar el sql plus me envma un error y hace referencia a product_user_profile, ademas, no puedo ejecutar mi aplicacisn en VB enviando el error ORA-03114: no conectado a ORACLE.
?Qui me falta por configurar?.
Al instalar Oracle 8i no presenta ningun error, funcionando todo exitosamente.Babblefish believes that your question translates to English as:
"I installed Oracle 9i 9,2 client on Windows 98 to connect me to the base Oracle 7.3.4. The installation was successful and the configuration of the Net also was successful, nevertheless, when executing the SQL extra sends an error to me and makes reference to product_user_profile, in addition, I cannot execute my application in VB sending the Ora-03114 error: not connected to ORACLE. What I need to form. When installing Oracle 8i does not present/display ningun successful error, working everything."
Assuming that's a proper translation, there are a couple of points:
- The 9.2 client ins't certified to connect to a 7.3.4 database. There may well be random issues with this configuration.
- product_user_profile indicates to me that your DBA may have set something up that prevents certain users/machines/applications/etc. from logging into the database. I'd try speaking with your DBA to see whether this is the case, and what you need to do to have the system changed.
Justin -
Standby Database gives error ORA-03113:ORA-03114
Hi
I am using oracle 9iR2 on standby database when i recover it return errors like
SQL> recover standby database;
ORA-00279: change 8209765386 generated at 07/18/2008 12:10:41 needed for thread
1
ORA-00289: suggestion : J:\ORACLE\ORADATA\APR1\ARCHIVE\APR1T001S86548.ARC
ORA-00280: change 8209765386 for thread 1 is in sequence #86548
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00279: change 8209782309 generated at 07/18/2008 12:22:05 needed for thread
1
ORA-00289: suggestion : J:\ORACLE\ORADATA\APR1\ARCHIVE\APR1T001S86549.ARC
ORA-00280: change 8209782309 for thread 1 is in sequence #86549
ORA-00278: log file 'J:\ORACLE\ORADATA\APR1\ARCHIVE\APR1T001S86548.ARC' no
longer needed for this recovery
ORA-03113: end-of-file on communication channel
ORA-03114: not connected to ORACLE
Alert log display
Starting datafile 1 recovery in thread 1 sequence 86551
Datafile 1: 'E:\ORANT\ORADATA\APR1\SYSTEM01.DBF'
Starting datafile 3 recovery in thread 1 sequence 86551
Datafile 3: 'E:\ORANT\ORADATA\APR1\CWMLITE01.DBF'
Starting datafile 4 recovery in thread 1 sequence 86551
Datafile 4: 'E:\ORANT\ORADATA\APR1\DRSYS01.DBF'
Starting datafile 5 recovery in thread 1 sequence 86551
Datafile 5: 'E:\ORANT\ORADATA\APR1\EXAMPLE01.DBF'
Starting datafile 6 recovery in thread 1 sequence 86551
Datafile 6: 'E:\ORANT\ORADATA\APR1\INDX01.DBF'
Starting datafile 7 recovery in thread 1 sequence 86551
Datafile 7: 'E:\ORANT\ORADATA\APR1\ODM01.DBF'
Starting datafile 8 recovery in thread 1 sequence 86551
Datafile 8: 'E:\ORANT\ORADATA\APR1\TOOLS01.DBF'
Starting datafile 9 recovery in thread 1 sequence 86551
Datafile 9: 'J:\ORACLE\ORADATA\APR1\USERS01.DBF'
Starting datafile 10 recovery in thread 1 sequence 86551
Datafile 10: 'E:\ORANT\ORADATA\APR1\XDB01.DBF'
Starting datafile 11 recovery in thread 1 sequence 86551
Datafile 11: 'J:\ORACLE\ORADATA\APR1\APR_DATA5_E.DBF'
Starting datafile 12 recovery in thread 1 sequence 86549
Datafile 12: 'J:\ORACLE\ORADATA\APR1\APR_DATA4_C.DBF'
Starting datafile 13 recovery in thread 1 sequence 86550
Datafile 13: 'J:\ORACLE\ORADATA\APR1\APR_DATA2_D.DBF'
Starting datafile 14 recovery in thread 1 sequence 86550
Datafile 14: 'J:\ORACLE\ORADATA\APR1\APR_DATA2_A.DBF'
Starting datafile 15 recovery in thread 1 sequence 86548
Datafile 15: 'J:\ORACLE\ORADATA\APR1\APR_DATA2_B.DBF'
Starting datafile 16 recovery in thread 1 sequence 86550
Datafile 16: 'J:\ORACLE\ORADATA\APR1\APR_DATA1_A.DBF'
Starting datafile 17 recovery in thread 1 sequence 86550
Datafile 17: 'J:\ORACLE\ORADATA\APR1\APR_DATA1_B.DBF'
Starting datafile 18 recovery in thread 1 sequence 86550
Datafile 18: 'J:\ORACLE\ORADATA\APR1\APR_INDX1_A.DBF'
Starting datafile 19 recovery in thread 1 sequence 86549
Datafile 19: 'J:\ORACLE\ORADATA\APR1\APR_INDX1_B.DBF'
Starting datafile 20 recovery in thread 1 sequence 86549
Datafile 20: 'J:\ORACLE\ORADATA\APR1\APR_INDX1_C.DBF'
Starting datafile 25 recovery in thread 1 sequence 86550
Datafile 25: 'J:\ORACLE\ORADATA\APR1\APR_INDX3_A.DBF'
Starting datafile 26 recovery in thread 1 sequence 86550
Datafile 26: 'J:\ORACLE\ORADATA\APR1\APR_INDX3_B.DBF'
Starting datafile 27 recovery in thread 1 sequence 86550
Datafile 27: 'J:\ORACLE\ORADATA\APR1\APR_INDX3_C.DBF'
Starting datafile 28 recovery in thread 1 sequence 86550
Datafile 28: 'J:\ORACLE\ORADATA\APR1\APR_MVIEWS_A.DBF'
Starting datafile 29 recovery in thread 1 sequence 86550
Datafile 29: 'J:\ORACLE\ORADATA\APR1\BLOB_A.DBF'
Starting datafile 30 recovery in thread 1 sequence 86549
Datafile 30: 'J:\ORACLE\ORADATA\APR1\HR_DATA1_A.DBF'
Starting datafile 31 recovery in thread 1 sequence 86548
Datafile 31: 'J:\ORACLE\ORADATA\APR1\HR_DATA2_A.DBF'
Starting datafile 32 recovery in thread 1 sequence 86550
Datafile 32: 'J:\ORACLE\ORADATA\APR1\HR_INDX1_A.DBF'
Starting datafile 33 recovery in thread 1 sequence 86550
Datafile 33: 'J:\ORACLE\ORADATA\APR1\HR_INDX2_A.DBF'
Starting datafile 34 recovery in thread 1 sequence 86548
Datafile 34: 'J:\ORACLE\ORADATA\APR1\INVENTORY_A.DBF'
Starting datafile 35 recovery in thread 1 sequence 86550
Datafile 35: 'J:\ORACLE\ORADATA\APR1\INVENTORY_INDX_A.DBF'
Starting datafile 36 recovery in thread 1 sequence 86550
Datafile 36: 'E:\ORANT\ORADATA\APR1\SAMPLE_DATA1_A.DBF'
Starting datafile 37 recovery in thread 1 sequence 86550
Datafile 37: 'J:\ORACLE\ORADATA\APR1\VMS_DATA1_A.DBF'
Starting datafile 38 recovery in thread 1 sequence 86550
Datafile 38: 'J:\ORACLE\ORADATA\APR1\APR_MMS_A.DBF'
Starting datafile 39 recovery in thread 1 sequence 86550
Datafile 39: 'J:\ORACLE\ORADATA\APR1\AUDIT_DATA_A.DBF'
Starting datafile 40 recovery in thread 1 sequence 86549
Datafile 40: 'J:\ORACLE\ORADATA\APR1\UNDOTBS.DBF'
Starting datafile 41 recovery in thread 1 sequence 86550
Datafile 41: 'J:\ORACLE\ORADATA\APR1\APR_DATA1_C.DBF'
Starting datafile 42 recovery in thread 1 sequence 86549
Datafile 42: 'J:\ORACLE\ORADATA\APR1\APR_INDX3_E.DBF'
Starting datafile 43 recovery in thread 1 sequence 86548
Datafile 43: 'J:\ORACLE\ORADATA\APR1\APR_DATA2_C.DBF'
Starting datafile 44 recovery in thread 1 sequence 86550
Datafile 44: 'J:\ORACLE\ORADATA\APR1\APR_INDX1_E.DBF'
Starting datafile 46 recovery in thread 1 sequence 86550
Datafile 46: 'E:\ORANT\ORADATA\APR1\SYSTEM02.DBF'
Starting datafile 47 recovery in thread 1 sequence 86550
Datafile 47: 'J:\ORACLE\ORADATA\APR1\APR_INDX4_A.DBF'
Starting datafile 48 recovery in thread 1 sequence 86549
Datafile 48: 'J:\ORACLE\ORADATA\APR1\APR_DATA4.DBF'
Starting datafile 49 recovery in thread 1 sequence 86550
Datafile 49: 'J:\ORACLE\ORADATA\APR1\APR_DATA4_A.DBF'
Starting datafile 50 recovery in thread 1 sequence 86548
Datafile 50: 'J:\ORACLE\ORADATA\APR1\APR_DATA4_B.DBF'
Starting datafile 51 recovery in thread 1 sequence 86550
Datafile 51: 'J:\ORACLE\ORADATA\APR1\APR_INDX4_B.DBF'
Starting datafile 52 recovery in thread 1 sequence 86550
Datafile 52: 'J:\ORACLE\ORADATA\APR1\APR_DATA5_A.DBF'
Starting datafile 53 recovery in thread 1 sequence 86550
Datafile 53: 'J:\ORACLE\ORADATA\APR1\APR_DATA5_B.DBF'
Starting datafile 54 recovery in thread 1 sequence 86550
Datafile 54: 'J:\ORACLE\ORADATA\APR1\APR_DATA5_C.DBF'
Starting datafile 55 recovery in thread 1 sequence 86550
Datafile 55: 'J:\ORACLE\ORADATA\APR1\APR_DATA5_D.DBF'
Starting datafile 56 recovery in thread 1 sequence 86549
Datafile 56: 'J:\ORACLE\ORADATA\APR1\APR_INDX4_C.DBF'
Starting datafile 57 recovery in thread 1 sequence 86550
Datafile 57: 'J:\ORACLE\ORADATA\APR1\APR_INDX3_F.DBF'
Starting datafile 58 recovery in thread 1 sequence 86550
Datafile 58: 'J:\ORACLE\ORADATA\APR1\APR_DATA6_A.DBF'
Starting datafile 59 recovery in thread 1 sequence 86548
Datafile 59: 'J:\ORACLE\ORADATA\APR1\APR_DATA6_B.DBF'
Starting datafile 60 recovery in thread 1 sequence 86549
Datafile 60: 'J:\ORACLE\ORADATA\APR1\APR_DATA6_C.DBF'
Starting datafile 61 recovery in thread 1 sequence 86549
Datafile 61: 'J:\ORACLE\ORADATA\APR1\APR_INDX4_D.DBF'
Starting datafile 62 recovery in thread 1 sequence 86550
Datafile 62: 'J:\ORACLE\ORADATA\APR1\APR_INDX5_A.DBF'
Starting datafile 63 recovery in thread 1 sequence 86550
Datafile 63: 'J:\ORACLE\ORADATA\APR1\APR_INDX5_B.DBF'
Starting datafile 64 recovery in thread 1 sequence 86550
Datafile 64: 'E:\ORANT\ORADATA\APR1\USERS01_A.DBF'
Starting datafile 65 recovery in thread 1 sequence 86550
Datafile 65: 'J:\ORACLE\ORADATA\APR1\GMT1_DATA.DBF'
Starting datafile 66 recovery in thread 1 sequence 86548
Datafile 66: 'J:\ORACLE\ORADATA\APR1\GMT1_INDX.DBF'
Starting datafile 67 recovery in thread 1 sequence 86550
Datafile 67: 'J:\ORACLE\ORADATA\APR1\APR_DATA7.DBF'
Starting datafile 68 recovery in thread 1 sequence 86550
Datafile 68: 'J:\ORACLE\ORADATA\APR1\APR_INDX7A.ORA'
Starting datafile 69 recovery in thread 1 sequence 86550
Datafile 69: 'J:\ORACLE\ORADATA\APR1\APR_INDX8_A.DBF'
Starting datafile 70 recovery in thread 1 sequence 86550
Datafile 70: 'J:\ORACLE\ORADATA\APR1\APR_INDX8_B.DBF'
Media Recovery Log
ORA-279 signalled during: ALTER DATABASE RECOVER standby database ...
Wed Jul 23 11:26:24 2008
ALTER DATABASE RECOVER CONTINUE DEFAULT
Wed Jul 23 11:26:24 2008
Media Recovery Log J:\ORACLE\ORADATA\APR1\ARCHIVE\APR1T001S86548.ARC
ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
Wed Jul 23 11:26:25 2008
ALTER DATABASE RECOVER CONTINUE DEFAULT
Media Recovery Log J:\ORACLE\ORADATA\APR1\ARCHIVE\APR1T001S86549.ARC
Wed Jul 23 11:26:53 2008
Some recovered datafiles maybe left media fuzzy
Media recovery may continue but open resetlogs may fail
Wed Jul 23 11:26:53 2008
ARC0: terminating instance due to error 472
Instance terminated by ARC0, pid = 2100
Tell me the solution.
Thanks in advanceI think your database is not going in begin backup mode...
this is my standby database server Pratap is there any method to check backup mode .
Thanks -
Hi,
Before I have an account login : rran pwd : $rran$
Now I alter my account with password admin and I want to go back with the password $rran$ with the command
SQL> alter user rran with password '$rran$';
and I have this error
alter user rran with password '$rran$'
ERROR à la ligne 1 :
ORA-00922: option erronée ou absente
How could i rresolve this problem because I need to return to the last password because it is usefull in the program JSPSorry the command is like this
SQL> alter user rran IDENTIFIED BY $rran$;
and I have this error
alter user rran identified by '$rran$'
ERROR à la ligne 1 :
ORA-00922: option erronée ou absente
How could i rresolve this problem because I need to return to the last password because it is usefull in the program JSP
Replies: 0 Pages: 1 -
Hi,
Here is the situation:
- When I use "FORMS_DLL(alter user....)" inside the Forms, it's ok.
- When I use "EXECUTE IMMEDIATE('alter user....)" inside a Package, it gives me an error: "Insuficient Privilegies".
The user has permission to execute the package. The "execute immediate" is ok when using another command, like "alter table", "create table", etc...
What's the problem? Is there another command to grant the usage of "alter user" inside the package?
Thanks!SQL> CREATE SYNONYM t_syn FOR dept;
Synonym created. I have ROLE for creating synonyms but not direct privilege thats why i can create
synonoym from SQL through ROLE but for creating synonyms through procedure
ROLE are ignored or volatile for stored procedure to get it done from procedure
you should have DIRECT PRIVILEGE.You have privilge through ROLE not
DIRECT PRIVILEGE.
SQL> create or replace procedure cpr (p in varchar2)
2 as
3 begin
4 execute immediate 'create synonym syn_'||p||' for a';
5 end;
6 .
SQL> /
Procedure created.
SQL> execute cpr('A');
BEGIN cpr('A'); END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SCOTT.CPR", line 4
ORA-06512: at line 1
With Invoker Right using AUTHID CURRENT_USER privileges are checked at
runtime not Role so below code will run successfully
SQL> create or replace procedure cpr (p in varchar2)
2 AUTHID CURRENT_USER
3 as
4 begin
5 execute immediate 'create synonym syn_'||p||' for a';
6 end;
7 .
SQL> /
Procedure created.
SQL> execute cpr('A');
PL/SQL procedure successfully completed.You can get it done by getting direct privilege as well creating synonyms on the fly
using stored procedure if you give DIRECT PRIVILEGE.
SQL> GRANT CREATE SYNONYM TO scott;
Grant succeeded.
SQL> create or replace procedure cpr (p in varchar2)
2 as
3 begin
4 execute immediate 'create synonym syn_'||p||' for a';
5 end;
6 .
SQL> /
Procedure created.
SQL> execute cpr('B');
PL/SQL procedure successfully completed.
As documented
The reason is that, for a definer's rights procedure, the database checks privileges
at compilation time, not at execution time. That is, the database verifies that the
owner of the procedure has necessary privileges--granted directly, not through a
role--at the time the procedure is compiled.
Khurram -
Dear all,
i have made a procedure which will alter the user password
but when i run this procedure from the form and send the password as number it gives me an error, but when i send the password as characters it runs perfectly:
like this l_user_name = ashraf
password = 123456
the code like this :
Execute Immediate 'ALTER USER '|| l_user_name ||' IDENTIFIED BY '||p_new_password;
the error is ORA-00988 missing or invalid password(s)
but when it from the sql/plus
alter user ashraf identified by "123456"; it runs perfectly
Please Advice
Best Regards,
AshrafAshraf,
On your sql*Plus prompt
alter user ashraf identified by 123456 will give same error.
but,
alter user ashraf identified by '123456' will work.
try putting to_char in your procedure -
ALTER USER USERNAME DEFAULT ROLE ALL;
Hi,
I want to know, what is the meaning of "ALTER USER CARDS DEFAULT ROLE ALL"It's easy to understand things when you try them,
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL> grant connect to newuser identified by newuser;
Grant succeeded.
SQL> conn newuser/newuser
Connected.
SQL> select * from session_roles;
ROLE
CONNECT
SQL> conn / as sysdba
Connected.
SQL> create role new_user;
Role created.
SQL> grant select any table to new_user;
Grant succeeded.
SQL> grant new_user to newuser;
Grant succeeded.
SQL> conn newuser/newuser
Connected.
SQL> select * from session_roles;
ROLE
CONNECT
NEW_USER
SQL> conn / as sysdba
Connected.
SQL> alter user newuser default role connect;
User altered.
SQL> conn newuser/newuser
Connected.
SQL> select * from session_roles;
ROLE
CONNECT
SQL> set role new_role;
set role new_role
ERROR at line 1:
ORA-01919: role 'NEW_ROLE' does not exist
SQL> set role new_user;
Role set.
SQL> select * from scott.dept;
DEPTNO DNAME LOC
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTONHTH
Aman....
Maybe you are looking for
-
I use my MacBook Pro (Late 2009) for EVERYTHING and I have loaded so many apps, even doubles of some, I think! My computer is running really SLOW and I think it is because I don't have enough memory. I just installed the new Adobe CS6 and that was
-
AIP-51806: Error during callout invocation
I am trying to setup a callout Oracle EM Server properties Callout Directory: D:\Oracle\OraVSS10g\ip\lib Created a new Callout Usage under the XSLTCallout xsltFile D:\Oracle\OraVSS10g\ip\lib\xsltfiles\death_out_sc.xslt Applied this callout usage to m
-
Transfer photos and videos from iOS Messages app to Mac
Hi! I have an iPad 4 16 GB with iOS 7. There's no secret that I need 5 GB of free space to update to iOS 8. But I don't have such amount of megabytes to install new iOS due to small size of my iPad's storage. However I noticed that Messages app took
-
Hey everyone... ok so, im running vista on my pc and recently i went to foxsoccer.tv and subscribed to their service. prior to subscribing i watched a test video which worked great (audio too). i subscribed and when trying to watch the videos now i g
-
Editing JPanel of TreeNode in JTree
Hi all, I am badly stuck with one issue. I have a Jtree, some of the node of Jtree contains panel, panels also has some components JtextField and JLabels. Tree is generating properly. Node containing Panel shows all the components (TextField and Labe