Startup nomount errror..
Hi guys,
I got error while i'm trying to startup database nomount in order to create oracle database.
ORA-27123: unable to attach to shared memory segment
Linux Error: 22 : Invalid argument
Additional information: 1
Additional information: 21129975
have guys ever encountered this?
TIA,
Lux
My server RAM is 4GB.
SGA parameter u mean Sga_Maximum_Size..
if so, i didn't set for this parameter.
Here some parameter files i've set..
db_block_size=32K
db_cache_size=1350M
pga_aggregate_target=1350M
share_pool_size=400M
Any way, i'm being dim about your third Q?
cos i've touch this file /etc/sysctl.conf..
In oracle document was not mentined about it.
could you give me some clues?
TIA,
Lux
Similar Messages
-
ORA-00444 & ORA-07446 while startup nomount with pfile(DB installation)
Hi
I am trying to create a single instance 10g database in a rac machine (SOLARIS) I had setuped the pfile and create DB scripts too. When I try startup nomount with pfile its throwing below error.
$
$ sqlplus
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jan 7 21:45:19 2013
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Enter user-name: /as sysdba
Connected to an idle instance.
SQL> startup nomount pfile='/oracle/app/oracle/product/10.2.0/db/dbs/initdrc.ora';
ORA-00444: background process "LMD0" failed while starting
ORA-07446: sdnfy: bad value '' for parameter .
SQL>
Please find the init file contents.
*.audit_file_dest='/oracle/app/oracle/admin/drc/adump'
*.background_dump_dest='/oracle/app/admin/drc/bdump'
*.compatible='10.2.0.4.0'
*.control_files='+DATA/DRC/control01.ctl','+DATA/DRC/control02.ctl','+DATA/DRC/control03.ctl'
*.core_dump_dest='/oracle/app/oracle/admin/drc/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='drc'
*.sga_target=1184M
*.sga_max_size=1184M
*.dispatchers='(PROTOCOL=TCP) (SERVICE=drcXDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=411041792
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/oracle/app/oracle/admin/drc/udump'
Already another rac database is running successfully on this machine through ASM. We are trying to use the same ASM instance for this single instance database. When I tried using dbca it was not reading the current ASM instance. Instead it was trying to create new instance. Thats y I was forced to create new DB manually.
Kindly help in resolving this issue.
Thanks
SHIYAS M965652 wrote:
Hi
I am trying to create a single instance 10g database in a rac machine (SOLARIS) I had setuped the pfile and create DB scripts too. When I try startup nomount with pfile its throwing below error.
$
$ sqlplus
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jan 7 21:45:19 2013
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Enter user-name: /as sysdba
Connected to an idle instance.
SQL> startup nomount pfile='/oracle/app/oracle/product/10.2.0/db/dbs/initdrc.ora';
ORA-00444: background process "LMD0" failed while starting
ORA-07446: sdnfy: bad value '' for parameter .
SQL>
07446, 00000, "sdnfy: bad value '%s' for parameter %s."
// *Cause: The directory specified as the value for the stated parameter could
// not be used.
// *Action: Make sure the directory you have specified is a valid
// directory/file specification.post results from OS command below
ls -l /oracle/app/oracle/product/10.2.0/db/dbs/initdrc.ora -
SQL> startup nomount pfile='/u01/app/oracle/product/10.1.0/db_3/dbs/initRXWRHS_1.ora';
ORA-27123: unable to attach to shared memory segment
Linux Error: 22: Invalid argument
Additional information: 1
Additional information: 1310723If you would have run
oerr ora 27123
You would have gotten this.
27123, 00000, "unable to attach to shared memory segment"
// *Cause: shmat() call failed
// *Action: check permissions on segment, contact Oracle support
Please read the post on Forums Etiquette before dumping your errors in this forum right away, without any analysis from your side.
Also always post a version and a platform.
Sybrand Bakker
Senior Oracle DBA -
Oracle initialization in progress due to logfile corruption - startup error
Hi All!
I m using Oracle Release 9.2.0.1.0. Due to power outage, it seems that one of its Redo files is corrupt and it is not getting started. My database is running in no archive mode and I donot have any backup for my data.
I have performed the following action but in vain. Please help me to get it started.
Thanks in advance.
Muhammad Bilal
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Jan 4 19:22:16 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> show user
USER is "SYS"
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-00368: checksum error in redo log block
ORA-00353: log corruption near block 88880 change 182882946 time 01/04/2010
08:33:19
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> select group#,sequence#,archived,status from v$log;
GROUP# SEQUENCE# ARC STATUS
1 911 NO CURRENT
2 909 NO INACTIVE
3 910 NO INACTIVE
SQL> alter database clear logfile group 1;
alter database clear logfile group 1
ERROR at line 1:
ORA-01624: log 1 needed for crash recovery of thread 1
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> alter database clear unarchived logfile group 1;
alter database clear unarchived logfile group 1
ERROR at line 1:
ORA-01624: log 1 needed for crash recovery of thread 1
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1;
ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1
ERROR at line 1:
ORA-01624: log 1 needed for crash recovery of thread 1
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE 'D:\ORACLE\ORADATA\DB\REDO01.LOG';
ALTER DATABASE CLEAR UNARCHIVED LOGFILE 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
ERROR at line 1:
ORA-01624: log 1 needed for crash recovery of thread 1
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> alter system switch logfile;
alter system switch logfile
ERROR at line 1:
ORA-01109: database not open
SQL> ALTER DATABASE OPEN RESETLOGS;
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01139: RESETLOGS option only valid after an incomplete database recovery
SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE 'D:\ORACLE\ORADATA\DB\REDO01.LOG';
ALTER DATABASE CLEAR UNARCHIVED LOGFILE 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
ERROR at line 1:
ORA-01624: log 1 needed for crash recovery of thread 1
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> alter database clear logfile 'D:\ORACLE\ORADATA\DB\REDO01.LOG';
alter database clear logfile 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
ERROR at line 1:
ORA-01624: log 1 needed for crash recovery of thread 1
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> select member,status from v$logfile;
MEMBER STATUS
D:\ORACLE\ORADATA\DB\REDO03.LOG STALE
D:\ORACLE\ORADATA\DB\REDO02.LOG
D:\ORACLE\ORADATA\DB\REDO01.LOG
SQL> alter database clear logfile 'D:\ORACLE\ORADATA\DB\REDO03.LOG';
Database altered.
SQL> alter database clear logfile 'D:\ORACLE\ORADATA\DB\REDO01.LOG';
alter database clear logfile 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
ERROR at line 1:
ORA-01624: log 1 needed for crash recovery of thread 1
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> alter database clear logfile 'D:\ORACLE\ORADATA\DB\REDO02.LOG';
Database altered.
SQL> recover database until cancel;
ORA-00279: change 182763162 generated at 01/03/2010 20:00:21 needed for thread 1
ORA-00289: suggestion : D:\ORACLE\ORA92\RDBMS\ARC00911.001
ORA-00280: change 182763162 for thread 1 is in sequence #911
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\DB\SYSTEM01.DBF'
ORA-01112: media recovery not started
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\DB\SYSTEM01.DBF'
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00368: checksum error in redo log block
ORA-00353: log corruption near block 88880 change 182882946 time 01/04/2010 08:33:19
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\DB\REDO01.LOG'
SQL> recover database until cancel;
ORA-00279: change 182882944 generated at 01/04/2010 08:33:10 needed for thread 1
ORA-00289: suggestion : D:\ORACLE\ORA92\RDBMS\ARC00911.001
ORA-00280: change 182882944 for thread 1 is in sequence #911
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00308: cannot open archived log 'D:\ORACLE\ORA92\RDBMS\ARC00911.001'
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-00308: cannot open archived log 'D:\ORACLE\ORA92\RDBMS\ARC00911.001'
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-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\DB\SYSTEM01.DBF'
SQL> select group#,sequence#,archived,status from v$log;
GROUP# SEQUENCE# ARC STATUS
1 911 NO CURRENT
2 0 NO UNUSED
3 0 NO UNUSED
SQL> alter system switch logfile;
alter system switch logfile
ERROR at line 1:
ORA-01109: database not open
SQL> ALTER SYSTEM CHECKPOINT GLOBAL;
ALTER SYSTEM CHECKPOINT GLOBAL
ERROR at line 1:
ORA-01109: database not open
SQL> RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
ORA-00279: change 182763162 generated at 01/03/2010 20:00:21 needed for thread 1
ORA-00289: suggestion : D:\ORACLE\ORA92\RDBMS\ARC00911.001
ORA-00280: change 182763162 for thread 1 is in sequence #911
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\DB\SYSTEM01.DBF'
ORA-01112: media recovery not started
SQL> ALTER DATABASE OPEN RESETLOGS;
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\DB\SYSTEM01.DBF'
---------------------------------------------------------------------------------------------------------------------------------Hi Bilal,
1)take a trace of controlfile..the file will be in udump destination
SQL>alter database backup controlfile to trace;
*2)take the whole database cold backup...IMMEDIATLY*
3) bring another pc install the same version oracle software on it
4)copy datafiles,parameterfile.listener.ora,tnsnames.ora from the backup
5)Edit the parameter file and do the necessary changes
-control files new location
-database new name
-backgrounddump destination new location
-userdump destination new location
-coredump destination new location
And save the parameterfile as init<SID>.ora and copy it to ORACLE_HOME\database directory.
5)edit the trace file u got in step one and remove everything above
STARTUP NOMOUNT
and below
CHARACTER SET XXXXXXX
Changes should be done to paths of the datafiles and logfiles(as per physical structure of new database) change reuse to set ,new database name and noresetlogs to resetlogs in that tracefile as we are not using the logs from the source database.
EG:CREATE CONTROLFILE SET DATABASE *"DG9A"* RESETLOGS
and save that file as create_ct.sql
5)Create a oracle service using ora dim utility from command prompt.
c:\ oradim -new -sid SIDNAME -intpwd fbifbi -startmode auto -pfile d:\oracle\ora81\database\initSID.ora--->what ever the name u gave in parameter file and according to your environmetn
6)do the changes in the listener.ora and tnsnames.ora as per the new machine
5)set oracle sid and log into sql
c:\set oracle_sid=sidname
c:\sqlplus “/as sysdba”
SQL>@create_ct.sql
then open database with
SQL>alter database open resetlogs;
check google if ur confused in creating control file and oracle service check for cold database cloning
Hope you will recover
Regards
Edited by: hungry_dba on Jan 5, 2010 9:34 AM -
Hi All,
Configuring a Data Guard in 11gR2 on RHEL 5.5. After modifying my standby pfile;
When I do a startup nomount, I get the below error;
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instanceStandby pfile;
switch.__db_cache_size=352321536
switch.__java_pool_size=16777216
switch.__large_pool_size=117440512
switch.__oracle_base='/orasys/app/oracle'#ORACLE_BASE set from environment
switch.__pga_aggregate_target=838860800
switch.__sga_target=738197504
switch.__shared_io_pool_size=0
switch.__shared_pool_size=218103808
switch.__streams_pool_size=16777216
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u02/control01.ctl','/u02/control/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_file_name_convert='/system/switch/system/','/u02/','/system/switch/sysaux/','/u02/','/undo/switch/undo/','/u02/','/data2/switch/data/','/u02/', '/temp/switch/temp/','/u02/'
*.db_name='switch'
*.db_unique_name='switchdr'
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=switchXDB)'
*.fal_client='SWITCHDR'
*.fal_server='SWITCH'
*.large_pool_size=104857600
*.log_archive_config='DG_CONFIG=(switch,switchdr)'
*.log_archive_dest_1='LOCATION=/arc/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=switchdr'
*.log_archive_dest_2='SERVICE=switch LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=switch'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_format='%t_%s_%r.arc'
*.log_file_name_convert='/redo2/switch/redo/','/u02/'
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
standby_archive_dest='/arc/'
standby_file_management=AUTO
*.memory_max_target=1572864000
*.memory_target=1572864000
*.nls_comp='BINARY'
*.nls_sort='BINARY_CI'
*.open_cursors=300
*.pga_aggregate_target=0
*.processes=50
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=60
*.sga_target=0
*.undo_tablespace='UNDOTBS1'Hello;
That would be STANDBY_ARCHIVE_DEST
SQL> SELECT name FROM v$parameter WHERE isdeprecated = ‘TRUE’;
http://docs.oracle.com/cd/E14072_01/server.112/e10820/initparams242.htm
I have a partial list of parameter that are out in Oracle 11
BACKGROUND_DUMP_DEST (replaced by DIAGNOSTIC_DEST)
OMMIT_WRITE
CORE_DUMP_DEST (replaced by DIAGNOSTIC_DEST)
INSTANCE_GROUPS
LOG_ARCHIVE_LOCAL_FIRST
PLSQL_DEBUG (replaced by PLSQL_OPTIMIZE_LEVEL)
PLSQL_V2_COMPATIBILITY
REMOTE_OS_AUTHENT
STANDBY_ARCHIVE_DEST
TRANSACTION_LAG (attribute of the CQ_NOTIFICATION$_REG_INFO object)
1USER_DUMP_DEST (replaced by DIAGNOSTIC_DEST)Best Regards
mseberg
Edited by: mseberg on Sep 13, 2012 1:15 PM -
Can't startup the database through "isqlplusdba"
I have connectd as sysdba to the oracle 9i database through iSQLPLUSDBA. My database was initially in started mode. Then I did a normal shutdown(successfully).
But When I try to startup it gives me following error.
LRM-00101: unknown parameter name 'db_cache_size' LRM-00101: unknown parameter name 'dispatchers' LRM-00101: unknown parameter name 'fast_start_mttr_target' LRM-00101: unknown parameter name 'pga_aggregate_target' LRM-00101: unknown parameter name 'undo_management' LRM-00101: unknown parameter name 'undo_retention' LRM-00101: unknown parameter name 'undo_tablespace' ORA-01078: failure in processing system parametersHi,
I am having exactly the same problem:
SQL> startup nomount pfile='D:\oracle\admin\MYDB\pfile\initmydb.ora'
LRM-00101: unknown parameter name 'db_cache_size'
LRM-00101: unknown parameter name 'dispatchers'
LRM-00101: unknown parameter name 'fast_start_mttr_target'
LRM-00101: unknown parameter name 'pga_aggregate_target'
LRM-00101: unknown parameter name 'undo_management'
LRM-00101: unknown parameter name 'undo_retention'
LRM-00101: unknown parameter name 'undo_tablespace'
ORA-01078: failure in processing system parameters
SQL>
This is my "ini" file:
*.aq_tm_processes=1
*.background_dump_dest='d:\oracle\admin\mydb\bdump'
*.compatible='9.2.0.0.0'
*.control_files='d:\oracle\oradata\mydb\control01.ctl','d:\oracle\oradata\mydb\control02.ctl','d:\oracle\oradata\mydb\control03.ctl'
*.core_dump_dest='d:\oracle\admin\mydb\cdump'
*.db_block_size=8192
*.db_cache_size=629145600
*.db_domain='skmconsulting.com'
*.db_file_multiblock_read_count=16
*.db_name='mydb'
*.dispatchers='(PROTOCOL=TCP)'
*.fast_start_mttr_target=300
*.hash_join_enabled=TRUE
*.instance_name='mydb'
*.java_pool_size=33554432
*.job_queue_processes=10
*.large_pool_size=8388608
*.log_archive_format='arch_mydb_%t_%s.arc'
*.log_archive_dest = D:\oracle\archive-logs\mydb
*.log_archive_start=TRUE
*.max_enabled_roles=148
*.open_cursors=500
*.optimizer_mode='rule'
*.pga_aggregate_target=25165824
*.processes=200
*.query_rewrite_enabled='FALSE'
*.remote_login_passwordfile='EXCLUSIVE'
*.shared_pool_size=83886080
*.sort_area_size=524288
*.star_transformation_enabled='FALSE'
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='d:\oracle\admin\mydb\udump'
Any ideas?
Thanks. -
Hi,
10.2.0.4 on AIX 6.1 64bits.
When startup (with pfile or startup without pfile) it fails asking startup with upgrade option and when start with upgrade , catupgrd.sql failes with ORA-20000: Upgrade not supported from version , which on Metalink it is said to go back to minimum version (10.2.0.1).
Any idea ? Thanks.
startup pfile=mypfile
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
Tue Dec 7 11:24:17 2010
SMON: enabling cache recovery
Tue Dec 7 11:24:17 2010
Errors in file /appli/oracle/product/10.2.0/admin/mydb/udump/mydb_ora_37879966.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Tue Dec 7 11:24:17 2010
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Instance terminated by USER, pid = 37879966
ORA-1092 signalled during: ALTER DATABASE OPEN...
SQL> STARTUP UPGRADE
SQL> @?/rdbms/admin/catupgrd.sql
ERROR at line 1:
ORA-20000: Upgrade not supported from version
ORA-06512: at "SYS.VERSION_SCRIPT", line 52
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionNicolas,
========================0_createdb10.sq=====================================
startup nomount pfile=/appli/oracle/product/10.2.0/admin/MYDB/pfile/initMYDB.ora
CREATE DATABASE MYDB
maxdatafiles 1021
maxinstances 1
maxlogfiles 8
maxlogmembers 4
CHARACTER SET WE8ISO8859P15
NATIONAL CHARACTER SET UTF8
DATAFILE '/data01/bases/MYDB/system01.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '/data01/bases/MYDB/sysaux01.dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/data01/bases/MYDB/temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
UNDO TABLESPACE "PSUNDOTS" DATAFILE '/data01/bases/MYDB/psundots01.dbf' SIZE 300M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
LOGFILE GROUP 1 ('/index01/bases/MYDB/redo01.log') SIZE 150M,
GROUP 2 ('/index01/bases/MYDB/redo02.log') SIZE 150M,
GROUP 3 ('/index01/bases/MYDB/redo03.log') SIZE 150M;
==============================init.ora===================================
MYDB.__java_pool_size=4194304
MYDB.__large_pool_size=4194304
MYDB.__shared_pool_size=192937984
MYDB.__streams_pool_size=0
*.audit_file_dest='/appli/oracle/product/10.2.0/admin/MYDB/adump'
*.background_dump_dest='/appli/oracle/product/10.2.0/admin/MYDB/bdump'
*.compatible='10.2.0.3.0'
*.control_files='/data01/bases/MYDB/ctl/CONTROL01.CTL','/data01/bases/MYDB/ctl/CONTROL02.CTL','/data01/bases/MYDB/ctl/CONTROL03
.CTL'
*.core_dump_dest='/appli/oracle/product/10.2.0/admin/MYDB/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_files=1021
*.db_flashback_retention_target=1440
*.db_name='MYDB'
#*.db_recovery_file_dest='='/appli/oracle/product/10.2.0/flash_recovery_area'
*.db_recovery_file_dest='/data01/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=MYDBXDB)'
*.job_queue_processes=10
*.log_archive_dest_1='LOCATION=/index01/bases/MYDB/arch'
*.log_archive_format='MYDB_ARC%S_%R.%T'
*.open_cursors=1200
*.pga_aggregate_target=396468992
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=893386752
*.undo_management='AUTO'
*.undo_tablespace='PSUNDOTS'
*.user_dump_dest='/appli/oracle/product/10.2.0/admin/MYDB/udump'Everything seemed to be good before import , but I don not remember have done stop/start before !!
I looked in alert log for Stop/start but did not find about shutdown/startup before import.
Any way , dump was from a 10.2.04 DB on an AIX 6.1 server. Imp commande :
imp system@mydb IGNORE=Y fromuser=origschema touser=sysadm file=/data01/somefile.exp Log=my_imp.logThank you. -
ORA-03113: end-of-file in startup
Hi,
on 11g R2 on Win 2008 I try to create a DB but I receive end of file error :
C:\Users\oracle>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Mar 2 10:07:45 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> @0_createdb10.sql
SQL> spool createdb.log
SQL>
SQL> startup nomount pfile=C:\app\oracle\product\11.2.0\dbhome_2\database\initTEST.ora
ORA-03113: end-of-file on communication channel Thank for any suggestion.First Set the ORACLE_SID
The SID can be set through the ORACLE_SID environment variable.
C:/../.../../>set ORACLE_SID=ORA10
Creating an Oracle Service
On Windows, each instance requires a Windows service. This service must first be created with oradim:
D:\oracle\product\11.1.0\Db_home>oradim -new -sid %ORACLE_SID% -intpwd MYSECRETPASSWORD -startmode M
Instance created.
It can be verified that a Windows service was created by typing services.msc into the console. A service named OracleServiceORA10 (ORA10 = %ORACLE_SID%) will be found. Also, the startup type is manual as was requested by -startmode M.
Creating the initialization parameter file
When an Oracle instance starts up, it requires either an initialization paramter file (init.ora) or an SPFILE.
SPFILES have binary content and must be created from init.ora files. Therefore, the init.ora file (which is an ordianary text file) is created first.
Here's a minimal init.ora (under $ORACLE_HOME/dbs if it is Unix, or %ORACLE_HOME%\database, if it is windows) just to demonstrate how the control files are found. Of course, you will add more init params into the init.ora file.
after creating an Oracle service and the init.ora file, start the instance:
connect to the instance
and
SQL> startup nomount
This created the SGA (System Global Area) and the background processes.
Creating the database
now you have to create the database:
SQL>run the Create database script....
If something goes wrong with the creation, Oracle will write an error into the alert.log. The alert log is normaly found in the directory that is specified with the background_dump_dest. If this parameter was not specified (as is the case in our minimal init.ora), the alert.log will be written into %ORACLE_HOME%/RDMBS/trace.
If an ORA-01031: insufficient privileges is returned, that means most likely, that the current user is not in the dba group (on unix), or the ORA_DBA (windows).
If the init.ora file is not at its default location or has not been found with the pfile attribute, an ORA-01078: failure in processing system parameters and an LRM-00109: could not open parameter file '/appl/oracle/product/../initadpdb.ora' error is issued.
The create database command also executes a file whose name is determined by the (hidden) init parameter initsql_file (which seems to default to sql.bsq)
After the creation of the database, it can be mounted and opened for use.
Completing the DB creation
In order to complete the db creation, the following scripts must be run as sys:
%ORACLE_HOME%/rdbms/admin/catalog.sql
%ORACLE_HOME%/rdbms/admin/catproc.sql and
SQL*Plus provides a shortcut to refer to the ORACLE_HOME directory: the question mark (?). Therefore, these scripts can be called like so:
Edited by: mBk77 on Mar 2, 2012 3:00 PM -
ORA-27102: out of memory startup pfile
Hi
When i startup database with the help of pfile I am getting this error
I already changed boot.ini also made the os virtual memory to 3GB
SQL> conn sys/sys as sysdba
Connected to an idle instance.
SQL> startup nomount pfile='D:\axapta\axpsby.ora';
ORA-27102: out of memory
OSD-00034: Message 34 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 8) Not enough storage is available to process this command.Please help me
Edited by: 857757 on Aug 26, 2011 7:28 AMHi;
What is db and OS version?
Please try first what our users mention, if its not help See:
ORA-32006: PARALLEL_AUTOMATIC_TUNING Initialization Parameter Has Been Deprecated [ID 305402.1]
Starting DMON Background Process Fails with ORA-32006 [ID 208768.1]
OERR: ORA-32006 %s initialization parameter has been deprecated [ID 173974.1]
Regard
Helios -
If I have created a database using dbca then the parameter file init<SID>.ora file is not created. It is only created the server parameter file spfile<SID>.ora.
Attempting to automate the startup with dbstart I got the error for "no parameter file found".
Looking at dbstart script I found out that the command issued here is "STARTUP PFILE..."
If I manually generated init<SID>.ora then obviously dbstart script runs correctly.
I need to edit a simple procedure for further installation. What's the work around? Is there another script that issues just "STARTUP" with no parameter? Or it is better to generate init<SID>.ora that just redirects to SPFILE - the method mentioned in Administration Guide? Or something else?If you're on Windoze, I'll trust you ran the ORADIM command or let the ODCA do it for you. to check, look at your Services panel and confirm it added a service named something like OracleServiceYOURSID. The ORADIIM also creates a bunch of required registry keys under hklm\software\oracle\homeN (where N is 0 for your first Oracle installation.)
To get Oracle running on Windoze, you first have to start the service. this may be configured to autostart your database, per the above referenced registry keys. If not, then go to the command prompt and "set oracle_sid=yoursid" (or if Solaris "setenv oracle_sid...") then launch SQL*Plus using "sqlplus /nolog". Once the SQL> prompt appears you issue command "connect sys as sysdba". Once connected, issue command "STARTUP". No parameters needed, unless you are creating a new database, in which case you would use "STARTUP NOMOUNT PFILE=xyz".
At this point, Oracle will use the oracle_sid parameter you set earlier to determine which registry keys to read. If it finds registry key ORA_yoursid_PFILE then Oracle uses the file specified by that parameter to start your instance, and (like a snowball effect) uses the control files specified in the pfile to mount your control files, and the control files provide a list of datafiles to be opened. This whole process usually takes 2 seconds, so be patient :).
If you don't have registry key ORA_yoursid_PFILE defined (or the equivelant unix env variable) then Oracle looks for the pfile in directory %ORACLE_HOME%\database (or $ORACLE_HOME\dbs on Sun Solaris.)
I know the ODCA caused you to use the SPFILE, but I do not recommend switching from PFILEs to SPFILEs until you've finished basic development of the database. It's much easier to work with the parameters in an ASCII text file than a binary file. At some point you'll decide you're 90% done playing with the parameters and convert to a SPFILE.
SPFILEs are great, but there's a time and place for everything. Day 1 is not it. I recommend that once you get the database up you create pfile from spfile, shutdown, delete the spfile, then startup using the pfile. At some point when your ready you can recreate the spfile from your pfile.
-Mark -
When creating new database, start nomount, got error to say: ORA-00371:
when i do
sql> startup nomount
ORA-00371: not enough shared pool memory, should be atleast 52132659 bytes
i am trying to create a second database on the backup server.you can follow my script, which is working well.
connect "SYS"/"&&sysPassword" as SYSDBA
set echo on
spool /u01/app/oracle/product/10.2.0/db_1/admin/db10g/scripts/CreateDB.log
startup nomount pfile="/u01/app/oracle/product/10.2.0/db_1/admin/db10g/scripts/init.ora";
CREATE DATABASE "db10g"
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
DATAFILE '/u02/oradata/db10g/system01.dbf' SIZE 300M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '/u02/oradata/db10g/sysaux01.dbf' SIZE 32M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE 200M
SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/u02/oradata/db10g/temp01.dbf' SIZE 10M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE 100M
SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE '/u02/oradata/db10g/undotbs01.dbf' SIZE 100M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
CHARACTER SET WE8ISO8859P1
NATIONAL CHARACTER SET AL16UTF16
LOGFILE GROUP 1 ('/u02/oradata/db10g/redo01.log') SIZE 16M,
GROUP 2 ('/u02/oradata/db10g/redo02.log') SIZE 16M,
GROUP 3 ('/u02/oradata/db10g/redo03.log') SIZE 16M
USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
spool off -
Startup nomont problem- ORA-07446: sdnfy: bad value '' for paramete
what i am doing wrong?
SQL> startup nomount pfile=/oracle/product/9.2.0.6/dbs/initncersp.ora;
ORA-00444: background process "PMON" failed while starting
ORA-07446: sdnfy: bad value '' for parameter .
-rw-r--r-- 1 oracle dba 466 Jan 21 11:11 initncersp.ora
oracle:tulppwradb02:ncersp>pwd
/oracle/product/9.2.0.6/dbs
oracle:tulppwradb02:ncersp>vi initncersp.ora
"initncersp.ora" 127 lines, 3788 characters
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Archive
log_archive_dest='/archive_nmarket/ncersp'
log_archive_format='arch.ncersp.%s_%t.log'
log_archive_start=true
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
db_files = 400
# Cursors and Library Cache
open_cursors=500
# Database Identification
db_domain=""
db_name=ncersp
# Global Naming -- enforce that a dblink has same name as the db it connects to
global_names = TRUE
# Diagnostics and Statistics
background_dump_dest=/oracle/admin/ncersp/bdump
core_dump_dest=/oracle/admin/ncersp/cdump
user_dump_dest=/oracle/admin/ncersp/udump
timed_statistics=TRUE
# File Configuration
control_files=("/db01/oradata/ncersp/ncerspcontrol01.ctl","/db01/oradata/ncersp/ncerspcontrol02.ctl","/db01/oradata/ncer
sp/ncerspcontrol03.ctl")
# Instance Identification
instance_name=ncersp
# Job Queues
job_queue_processes=0 #zero during maintenance
# Optimizer
hash_join_enabled=TRUE
#query_rewrite_enabled=TRUE
#query_rewrite_integrity='trusted'
#star_transformation_enabled=FALSE
# Pools
java_pool_size=51200
large_pool_size=8388608
shared_pool_size=55343360
# Processes and Sessions
processes=100
# Redo Log and Recovery
fast_start_mttr_target=300
# Security and Auditing
remote_login_passwordfile='EXCLUSIVE'
audit_trail=DB
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=1024000
# Need Varification for below paramaters by Primary DBA
# Miscellaneous
aq_tm_processes=1
compatible=9.2.0.0.0
log_buffer=32768
log_checkpoint_interval = 10000
log_checkpoints_to_alert=TRUE
max_dump_file_size='10240'
os_roles=FALSE
remote_os_roles=FALSE
os_authent_prefix=''
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_retention=10800
undo_tablespace=UNDOTBS1
#utl_file_dir='*'
# OLD DB PARAMETERS
#db_block_buffers=550
#resource_limit=true
#parallel_max_servers = 5 # SMALL
#global_names = TRUE
#job_queue_interval = 60Is this correct:
os_authent_prefix=''
I believe if you want to set this to null, you need to use double quotes, (as in os_authent_prefix="")
Ref: http://www.dba-oracle.com/security/local_os_authentication.htm
==============================================
To disable this feature, place the following lines in the initialization file, or change the lines to the following if they already exist and bounce the database.
os_authent_prefix = ""
remote_os_authent = FALSE -
I have something I've never seen before and Googling is failing me.
I have been working on a Windows server that is running a few Oracle instances. One of the many instances on the box always starts up with a nomount status and the listener shows it as BLOCKED; as expected. Logging in and starting the database up will resolve the BLOCKED status and allow connections.
My issue is that when the box is rebooted or the instances windows service itself is stopped and started, the database always starts up in NOMOUNT and is then listed as BLOCKED on the listener. All of the other instances go straight into a ready state.
Is there some kind of configuration that I can change to make this instance boot as the others do? I already tried recreating the windows services as a last ditch effort, but to no avail.andrew.martinez wrote:
The alert log is empty.Then I'd be finding out why that is. It is not possible for the instance to start, even in nomount, without writing something to the alert log:
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> !rm alert*.log
SQL> !ls alert*.log
ls: alert*.log: No such file or directory
SQL> startup nomount
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 1267068 bytes
Variable Size 104860292 bytes
Database Buffers 176160768 bytes
Redo Buffers 2924544 bytes
SQL> !ls alert*.log
alert_vlnxora1.log
SQL> !cat alert_vlnxora1.log
Sat Feb 13 10:53:00 2010
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 =18
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.4.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 96468992
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 285212672
control_files = /ora01/oradata/vlnxora1/control01.ctl, /ora02/oradata/vlnxora1/control02.ctl, /ora03/oradata/vlnxora1/control03.ctl
db_block_size = 8192
__db_cache_size = 176160768
compatible = 10.2.0.3.0
log_archive_format = %t_%s_%r.dbf
db_file_multiblock_read_count= 16
db_recovery_file_dest = /orafra
db_recovery_file_dest_size= 2147483648
fast_start_mttr_target = 60
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=vlnxora1XDB)
job_queue_processes = 10
background_dump_dest = /ora00/app/oracle/admin/vlnxora1/bdump
user_dump_dest = /ora00/app/oracle/admin/vlnxora1/udump
core_dump_dest = /ora00/app/oracle/admin/vlnxora1/cdump
audit_file_dest = /ora00/app/oracle/admin/vlnxora1/adump
db_name = vlnxora1
open_cursors = 300
pga_aggregate_target = 94371840
PMON started with pid=2, OS id=4974
PSP0 started with pid=3, OS id=4976
MMAN started with pid=4, OS id=4978
DBW0 started with pid=5, OS id=4980
LGWR started with pid=6, OS id=4982
CKPT started with pid=7, OS id=4984
SMON started with pid=8, OS id=4986
RECO started with pid=9, OS id=4988
CJQ0 started with pid=10, OS id=4990
MMON started with pid=11, OS id=4992
MMNL started with pid=12, OS id=4994
Sat Feb 13 10:53:01 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> -
[8.1.7] After STARTUP 'Database monted' and process hung
Hello!
I'm have Oracle 8.1.7 on RHEL. Server hungs after cooling system fails at night. Well in morning I've restarted server and try to start Oracle manually:
[oracle@xxxx]$ lsnrctl start
LSNRCTL for Linux: Version 8.1.7.0.0 - Production on 15-NOV-2013 06:59:51
(c) Copyright 1998 Oracle Corporation. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
[oracle@xxxx]$ sqlplus /nolog
SQL*Plus: Release 8.1.7.0.0 - Production on Fri Nov 15 07:00:07 2013
(c) Copyright 2000 Oracle Corporation. All rights reserved.
SQL> connect internal
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1123279008 bytes
Fixed Size 73888 bytes
Variable Size 280240128 bytes
Database Buffers 838860800 bytes
Redo Buffers 4104192 bytes
Database mounted.
But after 'Database monted' message 'Database opened' not appear.
Alert.log files contains:
http://i44.tinypic.com/ftlwl3.jpg
And before oracle stops:
http://i43.tinypic.com/jj9ypz.jpg
And after "Database mounted" this process is hang about 1,5 hours. I'm must wait of process ending or do something else?
Thank you!Try to do a clean shutdown of the database and restart
shutdown immediate;
startup nomount;
alter database mount;
alter database open;
If my above procedure does not work, then you might be hitting buffer cache corruption. In this, Database may fail to open if the change vector from the redo log causing the corruption is applied to a block due to a crash recovery. You might need to find some patch for this. -
Recover controlfile with database in NOMOUNT state
Hi,
I'm doing some tests, destroying my test envinroment. At this time i was trying to recover a "missing" controlfile both via RMAN and ALTER DATABASE command, but they all have failed because i cannot mount my database and as my researches show, i am only able to recover a controlfile if my instance is in MOUNT, but i cannot mount it because of the missing controlfile. I saw that via RMAN, i can recover the controlfile from a backup if i use static service registration. This is the only manner?
Thanks for your attention
Version: 10.2.0.4
OS: Win 2003Fabricio_Jorge wrote:
Hi,
I'm doing some tests, destroying my test envinroment. At this time i was trying to recover a "missing" controlfile both via RMAN and ALTER DATABASE command, but they all have failed because i cannot mount my database and as my researches show, i am only able to recover a controlfile if my instance is in MOUNT, but i cannot mount it because of the missing controlfile. I saw that via RMAN, i can recover the controlfile from a backup if i use static service registration. This is the only manner?
Thanks for your attention
Version: 10.2.0.4
OS: Win 2003I make new CONTROLFILE from SQL below
bcm@bcm-laptop:~$ cat restart.sql
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "V112" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 1168
LOGFILE
GROUP 1 '/u01/app/oracle/oradata/v112/redo01.log' SIZE 50M BLOCKSIZE 512,
GROUP 2 '/u01/app/oracle/oradata/v112/redo02.log' SIZE 50M BLOCKSIZE 512,
GROUP 3 '/u01/app/oracle/oradata/v112/redo03.log' SIZE 50M BLOCKSIZE 512
-- STANDBY LOGFILE
DATAFILE
'/u01/app/oracle/oradata/v112/system01.dbf',
'/u01/app/oracle/oradata/v112/sysaux01.dbf',
'/u01/app/oracle/oradata/v112/undotbs01.dbf',
'/u01/app/oracle/oradata/v112/users01.dbf',
'/u01/app/oracle/oradata/v112/example01.dbf'
CHARACTER SET AL32UTF8
-- Commands to re-create incarnation table
-- Below log names MUST be changed to existing filenames on
-- disk. Any one log file from each branch can be used to
-- re-create incarnation records.
-- ALTER DATABASE REGISTER LOGFILE '/u01/app/oracle/flash_recovery_area/V112/archivelog/2011_10_20/o1_mf_1_1_%u_.arc';
-- ALTER DATABASE REGISTER LOGFILE '/u01/app/oracle/flash_recovery_area/V112/archivelog/2011_10_20/o1_mf_1_1_%u_.arc';
-- Recovery is required if any of the datafiles are restored backups,
-- or if the last shutdown was not normal or immediate.
RECOVER DATABASE
-- Set Database Guard and/or Supplemental Logging
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
-- Database can now be opened normally.
ALTER DATABASE OPEN;
-- Commands to add tempfiles to temporary tablespaces.
-- Online tempfiles have complete space information.
-- Other tempfiles may require adjustment.
ALTER TABLESPACE TEMP ADD TEMPFILE '/u01/app/oracle/oradata/v112/temp01.dbf'
SIZE 39845888 REUSE AUTOEXTEND ON NEXT 655360 MAXSIZE 32767M;
-- End of tempfile additions.
bcm@bcm-laptop:~$
Maybe you are looking for
-
Report in 2000 prints on specific printer but report 6i cannot! any suggestions?
Hi, I have a computer connected to 2 parallel printers via a data switch for my POS system. I specified the correct printer in DESNAME system parameter in the 2 reports and it was working perfectly in developer 2000. Recently I swap to report builder
-
FB60 Including or excluding a characteristic in duplicate invoice check
When entering vendor invoice in FB60, system checks entry of company code, vendor, document date and reference number for duplicate invoice. If duplicate invoice is detected, message F5117 will be issued. We would like to change the duplicate invoice
-
Catolog conversion error converting a PSE3 to PSE10
I recently purchased PSE 10 and have tried to convert the catalog from my PSE 3 and receive the following error: Catalog conversion failed. Try repairing the catalog with the software that created it and retry conversion. Please refer to the help ar
-
I hope I describe this right - I have a document, and have a large list of swatches (some global colors, some patterns) I would like to know if I can save multiple variations for different color libraries, and somehow apply them when needed. I curre
-
msg-serv 6.3-4.01 (built Aug 3 2007; 32bit) I am attempting to request and install a new cert using msgcert on a 6.3 msg instance. I have used msgcert to generate self signed certs and understand the basics of how it works. I did not need to use msgc