Creating 11g Database
When i am creating 11g database ..i got the below errors ..I think i given deprecated parameters ..
SQL> STARTUP NOMOUNT pfile=/u101/app/oracle/product/11.1.0/dbs/initdevgrl.ora
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
could some one say what parameters i have to give for this in oracle 11.1.0
I can see you are on a unix like OS, but you didn't specify your OS platform. This error seems to be an excessively big value at some instance memory parameter or a not properly configured kernel parameter. I suggest you to take a look at the instance alert.log file and if required the trace file generated at the startup attempt.
~ Madrid
http://hrivera99.blogspot.com/
Similar Messages
-
Hi all,
How to create 11g Database in UTF8 Character set For Chinese and English Support.
In DBCA
Database Character set AL32UTF8, And National Character Set UTF8 is available. How to choose character set which should support from Forms 6i.
Thanks
AbkForms6i uses Oracle 8.0.6 client libraries. MetaLink Note 207303.1 lists supported client/server configurations, and the last database version supported with those libraries is Oracle 9.2. The only exception is made for e-Business Suite (Oracle Applications). Therefore, you configuration is not supported.
Anyway, Oracle 8.0.6 does not support AL32UTF8 well. You should select UTF8 as the database character set (not national character set!). You need to select a check box on DBCA interface (possibly unavailable in fast/default installation path) which allows you to see non-recommended character sets.
-- Sergiusz -
Not able to create a database link using the database gateway of oracle 11g
HI,
While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
Error starting at line 1 in command:
select * from test1@dblink
Error at Command Line:1 Column:20
Error report:
SQL Error: ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from DBLINK
These are the steps i have followed for setting up:
1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
LISTENER_SQL_FCD =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
SID_LIST_LISTENER_SQL_FCD =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
(PROGRAM=dg4msql)
3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
dg4msql=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
5. Created the database link :
create database link dblink
connect to "sa" identified by "<pswd>"
using 'dg4msql'
On running :select * from test1@dblink i get the following error:
Error starting at line 1 in command:
select * from test1@dblink
Error at Command Line:1 Column:20
Error report:
SQL Error: ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from DBLINK
Is there any issue with the set or definition that I get the above error?What is the version of the Oracle database in which you have specified/and use the database link?
If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
Regards,
Ed -
Gating error while creating standby database in oracle 11g
Dear Gurus
I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 10-MAY-12
using channel ORA_AUX_DISK_1
contents of Memory Script:
backup as copy reuse
targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
'/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
executing Memory Script
Starting backup at 10-MAY-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
ORA-17629: Cannot connect to the remote database server
RMAN>
Regards
RabiHello;
Generally for the connection to work you need to add something like this to the listener.ora file :
(SID_DESC =
(global_dbname = STANDBY.hostname)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(sid_name = STANDBY)
)You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
Also you need an INIT for the Standby side :
STANDBY.__db_cache_size=343932928
STANDBY.__java_pool_size=4194304
STANDBY.__large_pool_size=4194304
STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
STANDBY.__pga_aggregate_target=281018368
STANDBY.__sga_target=834666496
STANDBY.__shared_io_pool_size=0
STANDBY.__shared_pool_size=469762048
STANDBY.__streams_pool_size=0
audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
audit_trail='db'
compatible='11.2.0.0.0'
control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
db_block_size=8192
db_domain='SOME.DOMAIN.COM'
db_flashback_retention_target=2880
db_name='PRIMARY'
db_recovery_file_dest_size=2147483648
db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
diagnostic_dest='/u01/app/oracle'
dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
open_cursors=300
pga_aggregate_target=277872640
processes=150
remote_login_passwordfile='EXCLUSIVE'
sga_target=833617920
undo_tablespace='UNDOTBS1'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=DEFER
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=STANDBY
STANDBY_FILE_MANAGEMENT=AUTO
DB_UNIQUE_NAME=STANDBYFinally
startup nomount
Start RMAN and issue duplicate command
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
Keys to success
1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
2. Hard coded listener on new Standby server.
3. Correct tnsnames.ora files.
4. Correct duplicate command.
Please consider closing some of you old answered questions
Best Regards
mseberg
Edited by: mseberg on May 10, 2012 7:06 AM -
How to create a database in 11g via a bat file
Hi
I have had a look around the internet, but I am unable to locate a good example of how to create a database/instance in 11g via a bat file. Can anyone advise me how to do this and what other things do I need to make it work via a bat file?
Thanksuser633278 wrote:
Let me say this - I have taken over from someone who has left a development database which developers want to use asap in a poor state and no documentation. It is only when I started looking at the database that I discovered these problems. At the same time a developer wants a script which they he run to drop and recreate a database - it only needs to be minimal - small database, a few tables and stored procedures.OUI uses RMAN restore to produce starter DB & does not CREATE DATABASE from scratch.
It takes hours to run CATPROC & such after 100% totally empty results from CREATE DATABASE command -
How to create a database in 11g from an archive taken from 10g
Hi
I appreciate that some of you may find this a silly question, but it is a situation that has been given to me.
The situation in detail is that I am working on project where a part of a company has been sold off to someone else and I am working on part of the separation of IT Systems. The old company has supplied archive (ARC) files containing data that relates to the company which is being sold off. There are files such TSN, listener, and control files. The source data originated from an Oracle 10g database, but it is not possible to download a copy of 10g anymore, and so I have downloaded the earliest version of 11g. I have installed 11g without creating a new database, and my questions are as follows:
1) Is it possible to re-create the database on the supplied data from the archive logs
2) If possible, how do you so it - step by step (I am not a DBA but a Microsoft .Net Developer.
Thanks
Andyuser633278 wrote:
Yes, the DBA has supplied a backup of the database. All I am looking to do is to create from this backup. Is there a simple GUI that can do this for me with minimal touch? As I said I just need step-by-step instructions that can guide me through this so I don't muck it up!
As with many things Oracle the answer is: it depends.
There are too many potential differences between the (unknown) features your 10g database used and the feature set of 11g.
This doc link will give you a sense of how just 'unstraight forward' it can be.
http://docs.oracle.com/cd/E11882_01/server.112/e17222/upgrade.htm
In particular see this section:
Using the Pre-Upgrade Information Tool
After you have installed the software for Oracle Database 11g Release 2 (11.2) and any required patches, Oracle recommends that you analyze your database before upgrading it to the new release. This is done by running the Pre-Upgrade Information Tool from the environment of the database you are to upgrade. The Pre-Upgrade Information Tool is a SQL script included with Oracle Database 11g Release 2 (11.2) software. This is a required step if you are upgrading manually; otherwise, the catupgrd.sql script terminates with errors. Running the Pre-Upgrade Information Tool is also recommended if you are upgrading with DBUA, so that you can preview the items that DBUA checks.
In other words, the normal upgrade path involves performing checks against the CURRENT 10g database to identify any real or potential problems.
Those checks are done BEFORE you take the 10g backup.
You should also search the net for 'oracle 11g restore 10g backup' and read some of the many threads that have been posted with your same question. They will give you a sense that the process can be problematic and dependent on the type of backup (cold, hot) and how it was taken (manually or RMAN).
Your best chances for success are to do things the 'normal' way. That means contacting Oracle support to get the discs/download for 10g and then installing 10g and recovering the 10g database from the current 10g backup. The closer you can make the recovery environment and instance configuration the same as the original the fewer problems you are likely to have.
Or have the old company provide either the original 10g discs or at least provide the installation, control file and configuration information so you can recover the 10g database correctly.
As already suggested you should first make sure you have a reliable COPY of those backup files and you should use that copy for all of your testing of recovery settings.
Please tell us if you think you will be able to obtain the 10g software for reinstallation or not. -
Oracle 11g Install hangs when "creating clon database"
hi, i'm new with all this stuff, i'm trying to install oracle 11g on a windows 2003 standard edition and the installation hangs in this point:
http://img233.imageshack.us/img233/1458/installni7.jpg
it's almost an hour and it's stuck in 45% when trying to create clon database in "Creating and starting oracle instance".
I checked the log file but it says nothing weird, just that everything went well and a "restore" was made.
what can i do?
thanks!!!If someone still needs an answer to this:
I had a similar problem with 10g. If you use certain special characters in the password for the database during its creation, some script will hang forever at 45% of the database creation. Just use a plain password without special characters. At the end of the database creation you can change all passwords. At that stage you can use special characters without any problem.
I don't know if this is the same in 11g, but it sounds very similar.
JD -
Creating Oracle 11g Database Manually on ASM on 11g R2 Grid
Hi:
Earlier added this issue alongwith Grid installation. Only Jorg replied to me but could not find a complete solution. So thought of starting a new thread.
Wanted to know if any one of you have successfully created Oracle Database Manually on ASM on Oracle 11g R2 Grid.
I have installed Oracle 11g R2 grid (grid user) and Oracle 11g R2 DB software succesfully (oracle user).
Now trying to create a database manually on ASM as Oracle user.
First I create an pfile in $ORACLE_HOME/dbs
then I started by db on nomount stage. when I create a spfile on to my ASM diskgroup I get
I have created 2 diskgroups '+DGASMSPFILE' (ASM Spfile) and '+DGDBDATA' (for database)
Grid is up and running.
From Oracle user:
Have created a sample initDBRAC.ora
Now I want to create Oracle Database Global Spfile into '+DGASMSPFILE'
export ORACLE_SID=DBRAC
$ sqlplus / as sysdba
SQL> create spfile='+DGASMSPFILE/spfileDBRAC.ora' from pfile;
ORA-17502:ksfdcre:4 failed to create file +DGASMSPFILE/spfileDBRAC.ora
ORA-12547: TNS lost contact
"Oracle user" should have privileges to access ASM diskgroup right? What is the permission set for /dev/sdc* (earlier it was root:oinstall I changed it to grid:oinstall even then no difference.
Trace output:
ASM_DISKSTRING= /dev/sdc*
***********************************************************************1st trace file
Fatal NI connect error 12547, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser)(CONNECT_DATA=(CID=(PROGRAM=oracle@skyit6)(HOST=skyit6)(USER=oracle))))
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
Time: 01-JUN-2011 01:27:07
Tracing not turned on.
Tns error struct:
ns main err code: 12547
TNS for Linux: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
Time: 01-JUN-2011 01:27:07
Tracing not turned on.
Tns error struct:
ns main err code: 12547
TNS-12547: TNS:lost contact
ns secondary err code: 12560
nt main err code: 517
TNS-00517: Lost contact
nt secondary err code: 32
nt OS err code: 0
ERROR: Failed to connect with connect string: (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser))
Wed Jun 01 01:27:07 2011
ERROR: slave communication error with ASM; terminating process 16772
Errors in file /oraeng/app/oracle/product/diag/rdbms/dbrac/DBRAC/trace/DBRAC_ora_16772.trc:
Regards
DineshHi Sebastian:
When I installed grid software, oracle db software and created oracle db manually things worked fine.
When I restart the RAC environment I found the following issues:
1) all the resources does not come up automatically, once i issue crs_start -all all the services comes up. (most of the resources related to node1 comes up but cluster resources related to node2 does not come up) crsctl check crs shows that things are online.
2) wanted to recreate a database manually after restarting the RAC enviroment. To start of as usual tried to create a spfile in ASM disk "Create spfile='+DGDBSPFILE' from pfile'
I get ORA-17502:ksfdcre:4 failed to create file +DGDBSPFILE'
12547: TNS: lost contact
looks like permission problem.
The same command worked before restarting the RAC environment. Pls let me know if I am missing out anything.
Is it because i am unable to access ASM instance.
3) As you had mentioned tried to set the sbit by executing the following statement:
$ /opt/grid/bin/setasmgidwrap o=/opt/oracle/product/11.2.0/db/bin/oracle
should this be put into "rc" folder in linux so that it gets set everytime linux starts up. because once i restart the permission get changed.
I should execute it from grid user to change the permission of 'oracle' binary in 'oracle user' right?
Can you explain me why is this required (sbit).
Thanks.
Regards
Dinesh -
Create procedure statement Hangs in 11g database, doesn't hang in 10.2
I have installed 11g on a windows workstation and created a new database. I then attempted to import a schema from a tried and tested 10.2 database, this hung.
I pinpointed the cause of the hang to a create procedure sstatement within the import file.
I removed the procedure from the 10.2 database, re-exported and imported sucessfully in to the 11g database minus the rogue prrocedure.
I now have a create statement for the procedure thats causing the hangs, and this hangs when I try and run it - it runs fine against my 10.2 database?
I can comment large chunks of the create procedure statment out so I get an anonymous block that runs, and pinpoint the hang down to the inclusion of the the line marked below
(starting FOR UPDATE OF...........).
I cant work out whats going on, I'm no programmer by the way!
Any pointers would be greatly appreciated.
Nick
declare
job_rec job_table%ROWTYPE;
err_msg varchar2(2000);
abort_msg varchar2(2000);
l_ok boolean := TRUE;
l_bat_job varchar2(14) := 's2_novate_RIC';
LINES DELETED FOR PURPOSE OF POSTING CURSOR c_sah IS
SELECT
sah_next,
sah_table_key,
sah_old_status,
sah_new_status,
sah_processed_ind,
sah_processed_date,
sah_processed_time
FROM senatordba.sah_status_audit_history
JOIN (SELECT distinct to_char(spd_next) spd_next
FROM senatordba.spd_std_risk_dets
JOIN senatordba.rso_risk_system_options
ON rso_spd_next = spd_next
AND spd_ric_code = l_ric_code
AND coalesce(l_uw_year, spd_yr) = spd_yr
AND coalesce(l_risk_ref, spd_ref) = spd_ref
ON spd_next = sah_table_key
AND sah_table_code = 'SPD'
AND sah_status_table_code = 'NOV'
AND sah_processed_ind = 'N';
FOR UPDATE OF sah_processed_ind, sah_processed_date, sah_processed_time; <---------if this line is commented out runs OK, if left in, it hangs??
r_sah c_sah%ROWTYPE;
begin
open c_sah;
close c_sah;
end;Hi Nick, no one else has answered so I thought I'd answer my own question, it appears that I was hitting Oracle bug 9294110. had to uninstall 11.2 and install 11.0.7 instead. very annoyed that I wasted ages diagnosing this known problem. The following test should replicate the hang
connect / as sysdba
create user test identified by test default tablespace users temporary tablespace temp;
grant connect, resource to test;
connect test/test
create table a_tab
( col001 number, col002 number, col003 number, col004 number);
create table b_tab( col001 number);
-- the next statement hangs forever
select
a.col002,
a.col003,
a.col004
from
a_tab a
left outer join b_tab
on a.col001 = b_tab.col001
for update of a.col002,
a.col003,
a.col004; -
Create a databse link to oracle 11g database
Hi All,
I have installed oracle 10g express edition n Apex 4.0.2 verion.
Now i want to connect 11g database to Apex. When i try to connect,
it prompts me an error saying;
Error Testing Database Link.
ORA-01017: invalid username/password; logon denied ORA-02063: preceding line from PRODSTDBY
And at the same time i can connect a 10g database successfully.. is this because of oracle db versioning issue ???
if yes, how can i able to overcome from this issue...????
please somebody help me to solve this......
Thanks in Advance,
MaxTelnet is not running on the server, I tried starting it, but it failed. When trying to connecting from my local machine through telnet, it is giving the following error:*Could not open connection to the host, on port 23: Connect failed*.
I am able to connect to the machine through SSH(putty).
Is there any other way to test if port 1521 is accepting connections?
Thanks,
Rajesh. -
I have created TM lock in oracle 9i and 11g databases. by using same query
here is the query uesd for finding a lock in database.
select /*+ RULE */ 'DATAPOINT # ' bpb,
l.sid, ' # ',
s.username, ' # ',
s.sql_address, ' # ',
x.sid, ' # ',
y.username, ' # ',
l.type, ' # ',
l.id1, ' # ',
l.id2, ' # ',
decode(X.LMODE,
0, 'None',
1, 'Null',
2, 'Row Share',
3, 'Row Excl',
4, 'Share',
5, 'Shr Row Excl',
6, 'Exclusive',
decode(L.REQUEST,
0, 'None',
1, 'Null',
2, 'Row Share',
3, 'Row Excl',
4, 'Share',
5, 'Shr Row Excl',
6, 'Exclusive',
from v$session s, v$lock l, v$lock x, v$session y
where l.ctime > 120
and s.lockwait = l.kaddr
and l.type in ('TM', 'TX', 'UL')
and l.id1 = x.id1
and l.id2 = x.id2
and x.sid != l.sid
and x.sid = y.sid
and x.lmode >0;
after doing further investigation i found that for 11g condition s.lockwait = l.kaddr not satisfied where as for 9i it's gives correct results
here are the lockwait and kaddr values for 9i and 11g databases.
for oracle 9i
SQL> select lockwait from v$session where sid in (10,12);
LOCKWAIT
67B4E10C
SQL> select kaddr from v$lock where sid in (10,12);
KADDR
67B4E088
67B4E10C
for oracle 11g
SQL> select lockwait from v$session where sid in (70,134);
LOCKWAIT
070000002FA080D8
SQL> select kaddr from v$lock where sid in (70,134);
KADDR
0700000030C595C0
0700000030C59830
00000001108E3E58
00000001108E3E58
070000002FA6CB30
SQL>
please advise if there is any change for calculations for lockwait,kaddr for 11g.can you post your query with explain plan for both 9i version and 10g version.
Thanks,
karthick. -
ORA-600 [17069] error while running catrelod.sql to downgrade 11g database
Hi,
We are downgrading our 11.2.0.2 database to 10.2.0.4. We have successfullly run catdwgrd.sql without any errors in 11g env. While running catrelod.sql in 10g env we are facing the following error:
SQL> @?/rdbms/admin/catrelod.sql
TIMESTAMP
COMP_TIMESTAMP RELOD__BGN 2013-04-24 20:15:39 2456407 72939
DOC>#######################################################################
DOC>#######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the database server version is not 10.0.0.
DOC> Shutdown ABORT and use a different script or a different server.
DOC>#######################################################################
DOC>#######################################################################
DOC>#
no rows selected
DOC>#######################################################################
DOC>#######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the database has not been opened for MIGRATE.
DOC>
DOC> Perform a "SHUTDOWN ABORT" and
DOC> restart using MIGRATE.
DOC>#######################################################################
DOC>#######################################################################
DOC>#
no rows selected
Session altered.
Session altered.
no rows selected
DECLARE
ERROR at line 1:
ORA-00600: internal error code, arguments: [17069], [0x170FB8CA8], [], [], [],
[], [], []I have checked the trace file in udump but it dint give any readable information.
Please find below environment details.
OS : RHEL 5 64 bit
11g Database : 11.2.0.2
10g Database : 10.2.0.4
Kindly assist.KR10822864 wrote:
Whenever an ORA-600 error is raised a trace file is generated and an entry written to the alert.log with details of the trace file location. Starting with Oracle Database 11g Release 1, the diagnosability infrastructure was introduced which places the trace and core files into a location controlled by the DIAGNOSTIC_DEST initialization parameter when an incident, such as an ORA-600 is created. For earlier versions, the trace file will be written to either USER_DUMP_DEST (if the error was caught in a user process) or BACKGROUND_DUMP_DEST (if the error was caught in a background process like PMON or SMON). The trace file contains vital information about what led to the error condition
please post 40 lines of alert log info .
MOS Note:ORA-600 [17069] "Failed to pin a library cache object after 50 attempts" [ID 39616.1]
"Look in the trace file for the text 'LIBRARY OBJECT HANDLE: handle=170fb8ca8'"
if not found any massages like above please raise [email protected].
Hi KR,
Thanks for your help. As suggested I have checked the trace file to search and found the below info. I suppose it is some kind of lock but not sure about it. Please let me know if the following makes sense:
SO: 0x21158a6e0, type: 3, owner: 0x211006f28, flag: INIT/-/-/0x00
(call) sess: cur 211572570, rec 211572570, usr 211572570; depth: 0
SO: 0x21158a9b8, type: 3, owner: 0x21158a6e0, flag: INIT/-/-/0x00
(call) sess: cur 211572570, rec 0, usr 211572570; depth: 1
SO: 0x1727a2618, type: 54, owner: 0x21158a9b8, flag: INIT/-/-/0x00
LIBRARY OBJECT PIN: pin=1727a2618 handle=170fb8ca8 mode=S lock=171243e98
user=211572570 session=211572570 count=1 mask=001d savepoint=0x43 flags=[00]
SO: 0x171243e98, type: 53, owner: 0x21158a9b8, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=171243e98 handle=170fb8ca8 mode=S
call pin=0x1727a2618 session pin=(nil) hpc=0000 hlc=0000
htl=0x171243f18[0x17278a310,0x17278a310] htb=0x17278a310 ssga=0x172789928
user=211572570 session=211572570 count=1 flags=PNC/[0400] savepoint=0x43
LIBRARY OBJECT HANDLE: handle=170fb8ca8 mtx=0x170fb8dd8(0) cdp=0
name=SYS.STANDARD
hash=51570e225ed8a9a803b7318f191e0a8d timestamp=04-18-2006 00:00:00
namespace=TABL flags=KGHP/TIM/SML/[02000000]
kkkk-dddd-llll=0000-001d-001d lock=S pin=S latch#=3 hpc=0004 hlc=0004
lwt=0x170fb8d50[0x170fb8d50,0x170fb8d50] ltm=0x170fb8d60[0x170fb8d60,0x170fb8d60]
pwt=0x170fb8d18[0x170fb8d18,0x170fb8d18] ptm=0x170fb8d28[0x170fb8d28,0x170fb8d28]
ref=0x170fb8d80[0x170fb8d80,0x170fb8d80] lnd=0x170fb8d98[0x170f05b50,0x170fa6858]
LIBRARY OBJECT: object=170e82de8
type=PCKG flags=EXS/LOC[0005] pflags=NST/IVR[0201] status=VALD load=0
DATA BLOCKS:
data# heap pointer status pins change whr
0 170e831f8 170e82fc0 I/P/A/-/- 0 NONE 00
SO: 0x21158e470, type: 5, owner: 0x21158a6e0, flag: INIT/-/-/0x00
(enqueue) CU-70E88BC0-00000001 DID: 0001-001F-00000004
lv: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 res_flag: 0x2
res: 0x17677adc8, mode: X, lock_flag: 0x0
own: 0x211572570, sess: 0x211572570, proc: 0x211006f28, prv: 0x17677add8
SO: 0x177f82c28, type: 59, owner: 0x21158a6e0, flag: INIT/-/-/0x00
cursor enqueue
child: 170e89348, flag: 53, number: 0
parent: 170e89738 -
Hi Oracle Experts,
I am trying to setup a new GRID Standalone Infrastructure on a previously installed Oracle 11g database.
It runs all fine but when prompts to run the root.sh script it does not allow to proceed as it prompts to overwrite the existing path for /usr/bin/local
well, I google'd and tried with overwrite : Y . It prompted to run the script but it failed ...
Could you please help me on this ..
[root@asm ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl
[root@asm ~]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/ crs/install/roothas.pl
2015-03-18 01:42:25: Checking for super user privileges
2015-03-18 01:42:25: User has super user privileges
2015-03-18 01:42:25: Parsing the host name
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node asm successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
acfsroot: ACFS-9320: Missing advmutil.
acfsroot: ACFS-9320: Missing advmutil.bin.
acfsroot: ACFS-9320: Missing fsck.acfs.
acfsroot: ACFS-9320: Missing fsck.acfs.bin.
acfsroot: ACFS-9320: Missing mkfs.acfs.
acfsroot: ACFS-9320: Missing mkfs.acfs.bin.
acfsroot: ACFS-9320: Missing mount.acfs.
acfsroot: ACFS-9320: Missing mount.acfs.bin.
acfsroot: ACFS-9320: Missing acfsdbg.
acfsroot: ACFS-9320: Missing acfsdbg.bin.
acfsroot: ACFS-9320: Missing acfsutil.
acfsroot: ACFS-9320: Missing acfsutil.bin.
acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:
acfsroot: ACFS-9302: No installation files found at /u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5xen-x86_64/bin.
asm 2015/03/18 01:43:06 /u01/app/11.2.0/grid/cdata/asm/backup_20150318_014306.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
when I checked for ASM instance its not running ... but just ohasd service and nothing else ..
[root@asm grid]# ps -ef | grep pmon
oracle 5831 1 0 01:15 ? 00:00:01 ora_pmon_db11g1
root 12625 8794 0 02:30 pts/2 00:00:00 grep pmon
[root@asm grid]#
[root@asm grid]#
[root@asm grid]# ps -ef | grep d.bin
oracle 12643 1 5 02:30 ? 00:00:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot
root 12715 8794 0 02:30 pts/2 00:00:00 grep d.bin
[root@asm grid]#
Could you please help .hi,
The issue not with /usr/bin/local. When you excute root.sh, it will try configure the ASM with New GRID HOME. Issue started, whent tried to start
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting <<=================================================================
acfsroot: ACFS-9320: Missing advmutil.
Please let us know the below details
==> Acfs is configured the servers??
==>acfsutil registry
acfsutil info fs output.
==> With out ASM instance , How the database, CRS STarted ???
==> Please try stop and start the crs.
==> crsctl query crs activeversion output
Regards
Krishnan -
What should i do with an Oracle 11g Database, MySQL database and a dump file.
I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
I have another Sever test that already set up MySQL database, and a dump file from the system.
So I want to ask these 2 questions :
1. How to create an new Oracle Database from that dump file ?
2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
Thanks alot.I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision -
Paraller Query Server Error while creating the database using DBCA on UNIX
Hi All,
I am try to create the database on UNIX PLATFORM database 11g R1.
At the end of database creation using DBCA i got the errors:
ORA-12801:error signaled in parallel query server P077
ORA-00018: maximun number of sessions exceeded
ORA-06512:at"SYS.UTL_RECOMP",line 760
ORA-06512:at"SYS.UTL_RECOMP",line 773
ORA-06512:at line 1
Please suggest what can i do to remove this issue.
Regards
Girish Sharmauser12104101 wrote:
Hi All,
I am try to create the database on UNIX PLATFORM database 11g R1.
At the end of database creation using DBCA i got the errors:
ORA-12801:error signaled in parallel query server P077
ORA-00018: maximun number of sessions exceeded
ORA-06512:at"SYS.UTL_RECOMP",line 760
ORA-06512:at"SYS.UTL_RECOMP",line 773
ORA-06512:at line 1
Please suggest what can i do to remove this issue.
Regards
Girish SharmaIncrease value of SESSIONS(also processes) parameter as
sqlplus "/as sysdba"
show parameter sessions
alter system set sessions =<new big value> scope=spfile;
shutdown immediate;
startup;
Maybe you are looking for
-
Iris Pro 5200 or similar in 13'' rMBPs
Hi, To my understanding the very reason why Apple opted to employ Iris 5100 instead of Iris Pro 5200 in its late 2013 and mid 2014 13'' models is because of the energy (28 vs 47 watt TDP) they drain. In other words, if Apple had employed Iris Pro 520
-
I have iTunes running normally and great on my Imac, all playlists work and various ipods synching properly. I am planning to copy my entire Itunes folder to an external drive so I can recreate my itunes on another computer (I have done this before)
-
Software Update crashes? What to do?
I am currently running OS X 10.6.7 on my 2.16GHz Intel Core 2 Duo iMac. After my Hard Drive failed recently , I had a new 1TB Samsung HD installed. I initialised the new drive and backed up via Time Machine. In general all now seems to be okay. (Alth
-
I am changing the ItemCode pricing, where an ItemCode can have different pricing based on width and length. For example, ItemCode ABCD W:32 L:32 is $100.00 and this same ItemCode W:48 L:48 is $120.00. The Items are then manufactured at our plant. Whe
-
JNDI, EARs and managed servers
I have an EAR file containing a WAR and two EJB JAR files. When I deploy this EAR onto a server (admin server), assign a target to the 3 modules and run, evertying is fine. I now have a scenario where I have added a managed server (so there are two t