ProC Batch Connect To Database Without Password Files
Post Admin
This post relates to ProC. I cannot locate ProC forum, this looks closest. If not please advise.
Question
We have batch ProC program that runs overnight on unix OS. Presently connects to database using userid/password read from file. Security are not happy with existence of file containing userid/password. I am looking for alternatives.
An approach used for sqlplus scripts and export/import is to connect as / as sysdba. This means must be run by OS user who has sysdba power. Are there any other options so ProC can connect without user/password in program or file that is read when run? PS - We do not have time at present to port to plsql inside database and schedule from database for this job.
The equivalent in ProC appears to be
strcpy(uid_pwd.arr,"/ IN SYSDBA MODE");
uid_pwd.len=strlen(uid_pwd.arr);
EXEC SQL CONNECT :uid_pwd;
But I receive
ORA-01017: invalid username/password; logon denied.
Is my syntax okay?
Update
The syntax should be
strcpy(uid_pwd.arr,"/");
uid_pwd.len = strlen(uid_pwd.arr);
EXEC SQL CONNECT :uid_pwd IN SYSDBA MODE;
Apologies for inconvience
Edited by: littlecat on Aug 3, 2010 2:26 PM
Tom Shen wrote:
The total project is migration database. The application system is Microsoft Dynamic AX system.
We migrate the database from 32 bit system to 64 bit system and the method I used is expdp/impdp
I confirm all the related user have created in new database with same password as the original one.
But now we got one problem. When AX system start, it pop out the error message. In the event view the error is ORACLE error message "invalid username / password" the username is empty.
I have checked with Microsoft engineer for the problem. He give me the suggestion is to use the windows authentication method without using username and password.
So I want to know how to login database from client without username and password.log into DB as which DB user?
Similar Messages
-
How to recover database without archive files
Hello,
I've a test database without archive files and I need to know how to recover it without using archive files.
What is SQL command to recover database wthout archives?
Thanks in advance for your help.
Regards,
CarlesThere are serveral information missing in this posting and as a support personnel, I would like to find out more when I see postings like this.
1. This person wants to "Test" his backup and recovery in NOARCHIVELOG mode.
2. He/She did not say his database had already crashed or had a problem.
3. He/She did not give any indication the kind of scenario he wants to recover from.
4. He/She did not mention the state of his database at the time of he posting.
5. He/She did not mention the Release of his Oracle Server or Platform.
6. He/She did not mention the type of backup he already has in place (although provided later as Full COLD Backup). How "genuine" is the back?
7. What actions has already been taken to attempt recovery.
In my support experience, I normally would go through a list of questions witht he use/client to get the full picture of the current status of the database before I give answers that would worsen situations, especially in a Disaster Recovery sitaution.
Personaly, I would suggest you have a look at the list above. One of the most important is number 3 (The Recovery Scenario), then number 4, number 6 and 7. Number 7 will determine the situation of your database. So, when you ask for SQL commands to use, there are different commands for different kind of recovery depending on what has gone wrong or what kind of file is damaged (Datafiles, Logfiles, Control Files, one tablespace, one table, entire database gone, etc). -
How to Connect Oracle Database without using TNS entry
Hi,
i need to connect Oracle Database server from my pc without using the TNS entry. How to do that?
Regards,
007You have marked the question as answered, so it means you can answer my questions:
1.How do i check that i can make easy connect to the server or not, I mean is it configured on Server ?
2.Can I make connection with easy connect without having Net Services software installed on the client ?
3.What if I am not able to access sqlnet.ora ?
4.Is there any difference in connect string, which is based upon OS for easy connect ?
5.How do i use global database name, if it is configured ?
6.What are pros and cons of using easy connect ?
7....
20....
I think this are those 20 questions which John is talking about.
Regards
Girish Sharma -
HELP about How to connect with Database without JDBC ?
Hello all,
i have oracel8i database and my programe work fine with JDBC
but now
i want to connect my programe with database without using JDBC connection please any body tell me syntex for that,
Class.forName("oracle.jdbc.driver.OracleDriver");
databaseConnection = DriverManager.getConnection("??","arif","arif");
i have user arif in my database and my computer name is "ABCD"
Please help me,
i m thanksfull,
onlyforjava.Thanks i try it,
url = "jdbc:oracle:thin:@ABCD:1521:" + sid;
connection = DriverManager.getConnection(url,"arif","arif");
but after that i got exception,
java.sql.SQLException: Protocol violation
Please help me,
i m thanksfull.
onlyforjava. -
Database recovery,password file missing
Hi
the operating system crashed .therefore i again installed oracle .
i had cold backup of my database.but the but the pwd file was missing.please note that database was not in archived mode.and the dumps were too old.
i tried to restored my database but because of missing password file ,i didn't
succeed .i created another password in svrmgr but it didn't worked.
please help me to restore the database which is oracle 8i.
Thanx alot
TauqeerHi
the operating system crashed .therefore i again installed oracle .
i had cold backup of my database.but the but the pwd file was missing.please note that database was not in archived mode.and the dumps were too old.
i tried to restored my database but because of missing password file ,i didn't
succeed .i created another password in svrmgr but it didn't worked.
please help me to restore the database which is oracle 8i.
Thanx alot
Tauqeer You use the orapwd command to create the password file.
$ orapwd
Usage: orapwd file=<fname> password=<password> entries=<users>
where
file - name of password file (mand),
password - password for SYS and INTERNAL (mand),
entries - maximum number of distinct DBA and OPERs (opt),
There are no spaces around the equal-to (=) character. -
How make connection with DataBase without define the my DataBase in ODBC
hi ...... iam using odbc-jdbc to connect an simple DB so i defined my DB on ODBC ....how i can connect my DB without define it on ODBC ,or, do this defination by programmer not by user ........thanks
after search >>u can do that by JDBC .if u connect your application with microsoft DBMS so u can download the driver free from microsoft.
good luck -
Cannot connect to database because log file is deleted
Greetings,
I just recently cleaned up some junk files from my PC and didn't realize that an oracle log file got deleted. Therefore when I try to connect to the database I got the following error:
ORA-01033: ORACLE initialization or shutdown in progress
From sql plus, I try to shutdown and startup the database so that I know what kind of file that got deleted. So, how can I fix the problem?
regards,
valerie
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 18 11:46:46 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> startup
ORA-01031: insufficient privileges
SQL> connect firefly
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
SQL> connect sys/manager as sysdba
Connected.
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 92278708 bytes
Database Buffers 50331648 bytes
Redo Buffers 2904064 bytes
Database mounted.
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1:
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
SQL>Hi Hermant,
I'm not sure if it in archivelog mode or not. The following is the content of alert_xe:
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
Fri Sep 18 10:53:16 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 3
CPU : 1 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:698M/990M, Ph+PgF:1306M/1621M, VA:1945M/2047M
Fri Sep 18 10:53:16 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 79691776
__large_pool_size = 8388608
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 146800640
control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
__db_cache_size = 50331648
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 31457280
PMON started with pid=2, OS id=4052
PSP0 started with pid=3, OS id=4048
MMAN started with pid=4, OS id=3220
DBW0 started with pid=5, OS id=3568
LGWR started with pid=6, OS id=3292
CKPT started with pid=7, OS id=3868
SMON started with pid=8, OS id=4004
RECO started with pid=9, OS id=3140
CJQ0 started with pid=10, OS id=2484
MMON started with pid=11, OS id=2840
MMNL started with pid=12, OS id=3348
Fri Sep 18 10:53:16 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Fri Sep 18 10:53:19 2009
alter database mount exclusive
Fri Sep 18 10:53:24 2009
Setting recovery target incarnation to 2
Fri Sep 18 10:53:25 2009
Successful mount of redo thread 1, with mount id 2578987615
Fri Sep 18 10:53:25 2009
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Fri Sep 18 10:53:25 2009
alter database open
Fri Sep 18 10:53:27 2009
Beginning crash recovery of 1 threads
Fri Sep 18 10:53:28 2009
Started redo scan
Fri Sep 18 10:53:28 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2876.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Fri Sep 18 10:53:28 2009
Aborting crash recovery due to error 313
Fri Sep 18 10:53:28 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2876.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-313 signalled during: alter database open...
Fri Sep 18 10:53:33 2009
Starting ORACLE instance (normal)
Fri Sep 18 11:08:24 2009
db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Fri Sep 18 11:16:12 2009
Starting ORACLE instance (normal)
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
Fri Sep 18 11:20:11 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 3
CPU : 1 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:647M/990M, Ph+PgF:1346M/1621M, VA:1945M/2047M
Fri Sep 18 11:20:11 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 79691776
__large_pool_size = 8388608
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 146800640
control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
__db_cache_size = 50331648
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 31457280
PMON started with pid=2, OS id=2696
PSP0 started with pid=3, OS id=2700
MMAN started with pid=4, OS id=2704
DBW0 started with pid=5, OS id=2708
LGWR started with pid=6, OS id=2712
CKPT started with pid=7, OS id=2716
SMON started with pid=8, OS id=2720
RECO started with pid=9, OS id=2724
CJQ0 started with pid=10, OS id=2728
MMON started with pid=11, OS id=2732
MMNL started with pid=12, OS id=2736
Fri Sep 18 11:20:11 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Fri Sep 18 11:20:20 2009
alter database mount exclusive
Fri Sep 18 11:20:26 2009
Setting recovery target incarnation to 2
Fri Sep 18 11:20:27 2009
Successful mount of redo thread 1, with mount id 2579045300
Fri Sep 18 11:20:27 2009
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Fri Sep 18 11:20:29 2009
alter database open
Fri Sep 18 11:20:32 2009
Beginning crash recovery of 1 threads
Fri Sep 18 11:20:33 2009
Started redo scan
Fri Sep 18 11:20:34 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2772.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Fri Sep 18 11:20:34 2009
Aborting crash recovery due to error 313
Fri Sep 18 11:20:34 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2772.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-313 signalled during: alter database open...
Fri Sep 18 11:20:39 2009
Starting ORACLE instance (normal)
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
Fri Sep 18 11:31:16 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 3
CPU : 1 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:673M/990M, Ph+PgF:1371M/1621M, VA:1945M/2047M
Fri Sep 18 11:31:16 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 79691776
__large_pool_size = 8388608
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 146800640
control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
__db_cache_size = 50331648
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 31457280
PMON started with pid=2, OS id=2740
PSP0 started with pid=3, OS id=2744
MMAN started with pid=4, OS id=2752
DBW0 started with pid=5, OS id=2756
LGWR started with pid=6, OS id=2760
CKPT started with pid=7, OS id=2764
SMON started with pid=8, OS id=2768
RECO started with pid=9, OS id=2772
CJQ0 started with pid=10, OS id=2776
MMON started with pid=11, OS id=2780
MMNL started with pid=12, OS id=2784
Fri Sep 18 11:31:16 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Fri Sep 18 11:31:21 2009
alter database mount exclusive
Fri Sep 18 11:31:26 2009
Setting recovery target incarnation to 2
Fri Sep 18 11:31:27 2009
Successful mount of redo thread 1, with mount id 2579028809
Fri Sep 18 11:31:27 2009
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Fri Sep 18 11:31:27 2009
alter database open
Fri Sep 18 11:31:28 2009
Beginning crash recovery of 1 threads
Fri Sep 18 11:31:28 2009
Started redo scan
Fri Sep 18 11:31:29 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2816.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Fri Sep 18 11:31:29 2009
Aborting crash recovery due to error 313
Fri Sep 18 11:31:29 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2816.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-313 signalled during: alter database open...
Fri Sep 18 11:31:34 2009
Starting ORACLE instance (normal)
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
Fri Sep 18 11:40:56 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 3
CPU : 1 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:656M/990M, Ph+PgF:1371M/1621M, VA:1945M/2047M
Fri Sep 18 11:40:56 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 79691776
__large_pool_size = 8388608
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 146800640
control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
__db_cache_size = 50331648
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 31457280
PMON started with pid=2, OS id=2612
PSP0 started with pid=3, OS id=2616
MMAN started with pid=4, OS id=2624
DBW0 started with pid=5, OS id=2628
LGWR started with pid=6, OS id=2632
CKPT started with pid=7, OS id=2636
SMON started with pid=8, OS id=2640
RECO started with pid=9, OS id=2644
CJQ0 started with pid=10, OS id=2648
MMON started with pid=11, OS id=2652
MMNL started with pid=12, OS id=2656
Fri Sep 18 11:40:57 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Fri Sep 18 11:40:59 2009
alter database mount exclusive
Fri Sep 18 11:41:04 2009
Setting recovery target incarnation to 2
Fri Sep 18 11:41:05 2009
Successful mount of redo thread 1, with mount id 2579051403
Fri Sep 18 11:41:05 2009
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Fri Sep 18 11:41:05 2009
alter database open
Fri Sep 18 11:41:06 2009
Beginning crash recovery of 1 threads
Fri Sep 18 11:41:07 2009
Started redo scan
Fri Sep 18 11:41:07 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2692.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Fri Sep 18 11:41:07 2009
Aborting crash recovery due to error 313
Fri Sep 18 11:41:07 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2692.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-313 signalled during: alter database open...
Fri Sep 18 11:41:11 2009
Starting ORACLE instance (normal)
Shutting down instance: further logons disabled
Fri Sep 18 11:43:19 2009
Stopping background process CJQ0
Fri Sep 18 11:43:19 2009
Stopping background process MMNL
Fri Sep 18 11:43:19 2009
Stopping background process MMON
Fri Sep 18 11:43:19 2009
Shutting down instance (immediate)
License high water mark = 1
Fri Sep 18 11:43:19 2009
Stopping Job queue slave processes
Fri Sep 18 11:43:19 2009
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Fri Sep 18 11:43:20 2009
alter database close normal
ORA-1109 signalled during: alter database close normal...
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
Fri Sep 18 11:43:27 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 3
CPU : 1 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:708M/990M, Ph+PgF:1375M/1621M, VA:1945M/2047M
Fri Sep 18 11:43:27 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 79691776
__large_pool_size = 8388608
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 146800640
control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
__db_cache_size = 50331648
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 31457280
PMON started with pid=2, OS id=3168
PSP0 started with pid=3, OS id=3172
MMAN started with pid=4, OS id=3176
DBW0 started with pid=5, OS id=3180
LGWR started with pid=6, OS id=3184
CKPT started with pid=7, OS id=3188
SMON started with pid=8, OS id=3192
RECO started with pid=9, OS id=3196
CJQ0 started with pid=10, OS id=3200
MMON started with pid=11, OS id=3204
MMNL started with pid=12, OS id=3208
Fri Sep 18 11:43:28 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Fri Sep 18 11:43:28 2009
alter database mount exclusive
Fri Sep 18 11:43:32 2009
Setting recovery target incarnation to 2
Fri Sep 18 11:43:32 2009
Successful mount of redo thread 1, with mount id 2579057184
Fri Sep 18 11:43:32 2009
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Fri Sep 18 11:43:33 2009
alter database open
Fri Sep 18 11:43:34 2009
Beginning crash recovery of 1 threads
Fri Sep 18 11:43:34 2009
Started redo scan
Fri Sep 18 11:43:34 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3240.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Fri Sep 18 11:43:34 2009
Aborting crash recovery due to error 313
Fri Sep 18 11:43:34 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3240.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-313 signalled during: alter database open...
Fri Sep 18 11:43:38 2009
Starting ORACLE instance (normal)
Fri Sep 18 11:47:55 2009
Shutting down instance: further logons disabled
Fri Sep 18 11:47:55 2009
Stopping background process CJQ0
Fri Sep 18 11:47:55 2009
Stopping background process MMNL
Fri Sep 18 11:47:55 2009
Stopping background process MMON
Fri Sep 18 11:47:55 2009
Shutting down instance (immediate)
License high water mark = 1
Fri Sep 18 11:47:55 2009
Stopping Job queue slave processes
Fri Sep 18 11:47:55 2009
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
Waiting for shared server 'S001' to die
All dispatchers and shared servers shutdown
Fri Sep 18 11:47:56 2009
ALTER DATABASE CLOSE NORMAL
ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
Fri Sep 18 11:47:56 2009
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Fri Sep 18 11:48:23 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 79691776
__large_pool_size = 8388608
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 146800640
control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
__db_cache_size = 50331648
compatible = 10.2.0.1.0
db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 31457280
PMON started with pid=2, OS id=3628
PSP0 started with pid=3, OS id=3632
MMAN started with pid=4, OS id=3636
DBW0 started with pid=5, OS id=3640
LGWR started with pid=6, OS id=3644
CKPT started with pid=7, OS id=3648
SMON started with pid=8, OS id=3652
RECO started with pid=9, OS id=3656
CJQ0 started with pid=10, OS id=3660
MMON started with pid=11, OS id=3664
MMNL started with pid=12, OS id=3668
Fri Sep 18 11:48:24 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Fri Sep 18 11:48:24 2009
ALTER DATABASE MOUNT
Fri Sep 18 11:48:29 2009
Setting recovery target incarnation to 2
Fri Sep 18 11:48:29 2009
Successful mount of redo thread 1, with mount id 2579048520
Fri Sep 18 11:48:29 2009
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Fri Sep 18 11:48:29 2009
ALTER DATABASE OPEN
Fri Sep 18 11:48:29 2009
Beginning crash recovery of 1 threads
Fri Sep 18 11:48:29 2009
Started redo scan
Fri Sep 18 11:48:29 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3708.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Fri Sep 18 11:48:29 2009
Aborting crash recovery due to error 313
Fri Sep 18 11:48:29 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3708.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-313 signalled during: ALTER DATABASE OPEN...
Fri Sep 18 11:53:41 2009
db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup. -
Cannot connect to database without giving @databasename in the sqlplus com
Hi i need to give sqlplus username/password@databasename to connect to the database
I have given the correct ORACLE_SID
if i give only sqlplus username/password then i recieve this error
ERROR:
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
IBM AIX RISC System/6000 Error: 13: Permission deniedWhich means the shared memory segment representing the SGA has incorrect permissions.
You can verify those by running
ipcs -m
Likely you have a faulty install and didn't run root.sh and/or rootpre.sh.
You need to verify the correct permissions in the installation documentation.
The oracle executable and the tnslistener executable need to have the suid bit set.
Sybrand Bakker
Senior Oracle DBA -
I only have single mdf file, the transaction log file was corrupted. When I was trying to attatch the mdf file, I received the following error message. Can someone give me a help..... it's really urgent!
TITLE: Microsoft SQL Server Management Studio
Attach database failed for Server 'DEV8\sqlexpress2008'. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.1600.22+((SQL_PreRelease).080709-1414+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Could not open new database 'Smartadmin'. CREATE DATABASE is aborted.
File activation failure. The physical file name "C:\MSSQL\Smartadmin_log.ldf" may be incorrect.
The log cannot be rebuilt because there were open transactions/users when the database was shutdown, no checkpoint occurred to the database, or the database was read-only. This error could occur if the transaction log file was manually deleted or lost due to a hardware or environment failure. (Microsoft SQL Server, Error: 1813)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.1600&EvtSrc=MSSQLServer&EvtID=1813&LinkId=20476
BUTTONS:
OK
JavafunI killed a dev db by accident (moved it between folders while it had an open transaction) and out of curiosity attempted to fix it as though it were a super-urgent client db. The above link fixed it, but I'll cut to the chase since it's a lot simpler than
most of the article:
1) Set aside the database mdf and ldf you're trying to recover.
2) Create a database in the location you wanted, of the same name as the problem DB.
3) Stop the SQL Server service.
4) Copy the mdf and ldf files in, overwriting the dummy db you created.
5) Start the SQL Server service.
Done. Fixed.
Surely you're doing something SQL Server does not like, but it is unfortunate you have to shut down the entire service to perform this trick. All of the other methods in that linked article and sp_attach_single_file_db failed, but this worked like a charm.
In my dev database I was left with a db that was good as new - no missing data no problems. It seems odd this works so well and yet all these other approaches get errors about an open transaction. To be fair though, my dev database is essentially a single-user
file that isn't heavily used, I assume a production DB on a busy server would be more problematic. -
IPad will not connect to iTunes without password, but screen inoperable
After an attempted software update, the iPad will not connect to iTunes because it is password locked. But eh screen does not allow me to input the password. This is not a jailbroken iPad, but I did get a message on it that my "iPhone cannot send or receive calls without resetting." This is why I tried to sync, etc.
Try recovery mode.
Read this: http://support.apple.com/kb/ht1808 -
I have tried a hard start, holding home button and on/off button at same time. Nothing! just says" ipod is disabled connect to itunes".
See if this program will get the iPod in recovery mode.
RecBoot: Easy Way to Put iPhone into Recovery Mode
If not successful than time for an appointment at the Genius Bar of an Apple store. -
How to connect HSQLDB database in jar
Hi people, How can i to connect hsqldb database in jar file without getResource() method ?
thanksDevel application in JBOoss application server.
JBoss is configured with HSQLDB by default. -
What exactly is a password file? I read somewhere that the password file is used to authenticate users when the db is not open (because it cannot access the Data Dictionary). I guess the RMAN jobs are done when the db is not open. Does that mean you can't use RMAN remotely if there is no password file?
Can a SYS user login to db remotely if there is no password file?
If there is no password file can you still connect using conn / as sysdbaWhat exactly is a password file?It is a file used to authenticate users with sysdba privilages
I read somewhere
that the password file is used to authenticate users
when the db is not open (because it cannot access the
Data Dictionary). The users authenticated by password file should have sysdba privilages.
I guess the RMAN jobs are done when
the db is not open. Does that mean you can't use RMAN
remotely if there is no password file?
Rman jobs are not done when database is close Infact RMAN need server process to connect to the database. U only need a connect descriptor if u wanna connect to database with RMAN with a user other than sysdba privs.
Can a SYS user login to db remotely if there is no
password file?a user with sysdba privs can not connect remotely if the password file does not exists -
How to find the number of users connected to database from OS level(Linux)
Hi All,
Could anyone know , how to find the number of users connected to database without connecting with sql*plus
is there any command to find it?
example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
oracle version:- 10g,11g
Operating System:- OEL4/OEL5/AIX/Solaris
any help will be appreciated.
Thanks in advance.
Thank you.
Regards,
Rajesh.Excellent.
Tested, works as long as you set the ORACLE_SID first ( to change databases )
ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
Thanks!
select OSUSER
from V$SESSION
where AUDSID = SYS_CONTEXT('userenv','sessionid')
and rownum=1;Best Regards
mseberg -
How to connect mysql database using xml
welcome to all,
here my doubt is how to connect mysql database using xml file, how to integrate xml file and jsp file and how to access data from dabase using jsp file. can any one help me
regardsShort answer: you wouldn't do any of those things. The first two are meaningless and the third is a bad practice. I have no idea what those ideas were supposed to achieve so I have no idea what tutorials I should suggest to you.
Maybe you are looking for
-
Unable to protect SQL Server after adding SQL Aliases
DPM 2012 R2 had been successfully backing up a Server 2012 R2 virtual machine running SQL Server 2012 SP2 with 3 databases. It had been working properly for several months, the Virtual Machine is running on a Hyper-V Cluster. Approximately a week ago
-
I just purchased a new computer with windows 8 and am trying to install Russel Browns watermark extension in CS5 Extended. The extension manager wont let me install it even as administrator nor does the manual instalation work. Any suggestions?
-
Help to create a pkgbuild for harpia
hi i want to create a pkgbuild for the harpia program http://s2i.das.ufsc.br/harpia/en/home.html searching in the aur and in the net i couldn't find something harpia exist for ubuntu and the .deb file is hosted here http://packages.ubuntu.com/oneiric
-
EOIO with dynamic queuename possible in SOAP sender ?
The customer has a requirement to pass a queuename parameter within its SOAP message, and our PI SOAP sender adapter (which must use QoS EOIO) should use that queuename. Apart from the question if that makes sense: is that possible at all ? If yet, w
-
How to identify the alternative payee in payment run
Hi All How to identify the alternative payee details in payment run by using transaction code F110 or which table or fields contain the alternative payee details for example REGHU & REGUP. How to identify the alternative payee details from system lev