Unix trace
Hi Guru's.
I have some background unix program's which i run manually from the unix or schedule them in cron, i need to know is there a way to create a unix system trace as like we create performance TKPROF trace.
Regards,
MB
As I mentioned you can enable trace in your code as well using following
ALTER SESSION SET EVENTS '10053 TRACE NAME CONTEXT FOREVER, LEVEL 12';
ALTER SESSION SET EVENTS '10046 TRACE NAME CONTEXT FOREVER, LEVEL 12';
You can use some work-around, like use one parameter in procedure or shell script that will tell code to enable trace or not i.e. if trace need to enable run above command otherwise skip above command. OR you can write shell/perl script wrapper.
OR you can set trace manually(or in login trigger) as well using following
For trace on
exec dbms_system.SET_EV(SID,SERIAL#,10046,12,'');
For trace off
exec dbms_system.SET_EV(SID,SERIAL#,10046,0,'');
Virag
Message was edited by:
virag_sh
Similar Messages
-
F60WEBMX PROCESSES 의 UNIX CALL STACK 생성방법
제품: AOL
작성날짜 : 2006-05-30
F60WEBMX PROCESSES 의 UNIX CALL STACK 생성방법
==========================================
PURPOSE
F60webmx process 가 CPU을 많이 차지하는 경우가 간혹 있으며
SQL trace외에 UNIX call stack으로 위 Process가 현재 Active 상태인지
혹은 Dump 등을 분석시 UNIX trace를 생성하는 방법니다.
Explanation
먼저 아래 명령어와 같이 Trace 를 실행합니다.
Log on as root.
# trace -a -L 4000000 -T 2000000 o ./trace.out;
# owsctl start admin
# trcstop
# trcrpt -O exec=on,pid=on trace.out > trcrpt.1
그다음 아래단계처럼 해당 Process를 찾습니다.
1) PS 명령어로 Process를 찾습니다.
- ps -ef | grep -i f60webmx | grep webfile
This will return an output like this:
applmgr 6324 1052 0 14:34:56 ? 0:01 f60webmx webfile=5,1,gjimenez-sun _14007_PROD
2) TUSC 를 실행합니다.
Execute your TUSC command for your process id identified on the previous step. In the above example, the PID is 6324.
3) 문제를 Reproduce하면서 Webfile 1번과 2번을 유의하여 Monitoring 합니다.
Ask any of your users in the location where you are having problems to log in to the application (Forms). Then,
make sure that a new process has been spawn (in the above example, a new f60webmx process should be spawn with a the parameter
webfile increased by 1: f60webmx webfile=5,2). This will tell us that the process #1 has been taken by the user we expect.
4) 문제가 재현될때까지 기다립니다.
Wait until the error reproduces for this user. Once the error surfaces, the TUSC process will die all by itself. Make sure you
upload the output file through Metalink for further examination.
Reference Documents
Note 244072.1Always paste only the ERROR lines, not the full content.
Suggestions: Upgrade your Database for 9i to 10g (9i is out of support)
Size your hardware and application based on your system load etc
Solution for above issue: Try to kill some of the work processes from OS level (Application restart is better than this)
Regards,
Nick Loy -
Hi,
I am trying to log in, with the user name and password... I am not able to log in to server...
Main issue is the database is not created as per standard path... I want to find the trace files in unix... How it is possible..
Thanks and Regards..If you are able to login to database then check what is the value for these parameters where the trace file is created (user_dump_dest, background_dump_dest, db_recovery_file_dest)
Also use the unix 'find' command to search for the alert log file and .trc files.
http://content.hccfl.edu/pollock/unix/findcmd.htm
http://javarevisited.blogspot.com/2011/03/10-find-command-in-unix-examples-basic.html -
How to trace which user shutdown oracle database in unix OS?
our organization is having 10 DBA with sysdba priviladge. We are using UNIX operating system. At morning say for example if some one (SYSDBA user) shutdown the oracle database how other sysdba user trace the user who shutdown the database? the information i need is terminal from where oracle got shutdown and the username? Please help...
Hello,
You are right Sybrand, SYSDBA connections are always audited.
My answer was about enabling auditing to any connections, which may give informations about who access to the Database in general. And, this is true, it was not the scope of the OP question.
However, so as to enlarge audit of SYS/SYSDBA/SYSOPER operations, setting the parameter audit_sys_operations=TRUE may be interesting:
http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG0611
To the OP:
Where the audit tracefile get genareted for sys user?You may execute this:
show parameter audit_file_destThank again Sybrand for correcting me.
Best regards,
Jean-Valentin -
I want to debug Pro C programs in UNIX plattform. Now i am tracing the program by inserting several printfs in program. its difficult.Please let me know any easier method exists..
Thanks
RinsonIs it possible To Debug (trace) a Pro C program..in UNIX plattform..? raised question is not related to this forum.
-
Icm trace level if smicm and SAP MMC are not available ( CE system on Unix)
Hi Experts,
Could you please let me know how will I increase the icm trace level if SMICM transaction code and SAP MMC are not available.
I have an CE 7.2 system running on HP UNIX.
Thanks and Regards
Syamhttp://help.sap.com/saphelp_nw70/helpdata/en/0b/6aedff404d6b4a8cac8f1359e1b47c/frameset.htm
kill -USR2 <pid>
Markus -
Hi
How to delete trace files on Hp ux for the past 3 days .
Thank You963554 wrote:
Hi
How to delete trace files on Hp ux for the past 3 days .
Thank YouThis question is more from Unix rather than Oracle.
If you are using 11g, then why cant you go for using ADRCI utility, it can manage and trim the trace files
http://gavinsoorma.com/2010/09/purging-trace-and-dump-files-with-11g-adrci/
From unix, check links from google, sample is below.
http://stackoverflow.com/questions/6995807/file-delete-older-than-1-day-question-on-hp-ux -
Trace oracle table column in unix
Hi,
Please provide suggestions to trace oracle table column in unix.
Regards,
Neeraja.Hi;
Please give more details like what is your purpose, what is db version etc..
Please also see below links:
http://docs.oracle.com/cd/B10500_01/server.920/a96533/sqltrace.htm
http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php
Regard
Helios -
Trace files in user_dump_location (dumping memory in unix)
Hi
i am getting this tracefiles from user_dump_locations
i am using oracle 7.3 on aix 4.2(old system) for some forms and reports application.When the users accesing the application or doing some jobs i am getting these messages in trace files how can i fix this or how can i find how its comming.At what level trace i have to enable to find the casue of this error.I am not getting any error in alertlog files
i am giving some portion of the trace files.Why its dumping memory
with regards
ramya
Repeat 7 times
Argument/Register addr=2ff222c0. Dump of memory from 2FF22280 to 2FF223C0
451BE0A0 451BE0A0 451BE0A8 451BE0A8 460C0BBC 00000000 460C0BBC 01000000451BE0C0 00000000 00000000 000000CD 00000000 00000000 00000000 00000000 00000000
451BE0E0 00000000 02010000 4607B314 4607B324 460B71DC 451BE0F4 451BE0F4 00000000 451BE100 00000000 00000000 00000000 0201A8D2 006004FC 00008840 00000000 00000000
451BE120 00000000 00000000 00000000 2010D278 02020000 00000000 451BE138 451BE138451BE140 451BE140 451BE140
451BE1E0 000000
Argument/Register addr=4607b314. Dump of memory from 4607B2D4 to 4607B414hi
when i checked the parameter shadow_core_dump=full and
cursor_space_for_time=false.If i set this parameter cursor_space_for_time =true and shadow_Core_dump=partial
is there any change in perfomance and especailly what basis we will set this cursor_space_for_time parameter
with regards
ramya -
Issue with Essbase - SQL Interface in UNIX box
Hi All,
One of our customer is facing an issue while trying to connect to the Oracle datasource from Essbase version 9.0.1.0.00 in a 64 bit UNIX box. He is using Oracle wired protocol for SQL interface.
Customer has tried the below and getting the below error:
1) Ran the nst-sql.sh file.
2) Edited the odbc.ini file and the .profile file with the required dsn information.
3) From the console selected the open SQL option and received the following error " There are no datasources defined. Please create one to continue"
I have attached the odbc.ini file and the .profile file for your reference.
Any help appreciated.
Thanks,
Bharathi Raja
ODBC.ini file
ARBORPATH=/hyper/arbor/Hyperion/AnalyticServices
HYPERION_HOME=/hyper/arbor/Hyperion
ESSLANG=English_UnitedStates.Latin1@Binary
SHLIB_PATH=.:/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib:/hyper/arbor/Hyperion/AnalyticServices/bin:$SHLIB_PATH
PATH=$PATH:$ARBORPATH/bin:/usr/lib:$ARBORPATH:$HYPERION_HOME/common/ODBC/Merant/5.0/lib
LD_LIBRARY_PATH=$HYPERION_HOME/common/ODBC/Merant/5.0/lib
ulimit -c unlimited
ulimit -n 1024
LIBPATH=/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib
LANG=en_US
ODBCINI=/hyper/arbor/Hyperion/Essbase/bin/.odbc.ini
[ODBC Data Sources]
DB2 Wire Protocol=DataDirect 5.0 DB2 Wire Protocol Driver
dBase=DataDirect 5.0 dBaseFile(*.dbf)
FoxPro3=DataDirect 5.0 dBaseFile(*.dbf)
Informix=DataDirect 5.0 Informix
Informix Wire Protocol=DataDirect 5.0 Informix Wire Protocol
Oracle=DataDirect 5.0 Oracle
Oracle Wire Protocol=DataDirect 5.0 Oracle Wire Protocol
Progress9=DataDirect 5.0 Progress SQL92
Progress10=DataDirect 5.0 Progress OpenEdge
SQLServer Wire Protocol=DataDirect 5.0 SQL Server Wire Protocol
Sybase Wire Protocol=DataDirect 5.0 Sybase Wire Protocol
Text=DataDirect 5.0 TextFile(*.*)
[DB2 Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdb220.sl
Description=DataDirect 5.0 DB2 Wire Protocol Driver
AddStringToCreateTable=
AlternateID=
Collection=OS/390 and AS/400 (leave blank for DB2 UDB)
Database=DB2 UDB (leave blank for OS/390 and AS/400)
DynamicSections=100
GrantAuthid=PUBLIC
GrantExecute=1
IpAddress=DB2 server host
IsolationLevel=CURSOR_STABILITY
Location=OS/390 and AS/400 (leave blank for DB2 UDB)
LogonID=UID
Password=PWD
Package=DB2 package name
PackageOwner=
TcpPort=DB2 server port
WithHold=1
[dBase]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdbf20.sl
Description=DataDirect 5.0 dBaseFile(*.dbf)
ApplicationUsingThreads=1
CacheSize=4
CreateType=dBASE5
Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
DataFileExtension=DBF
ExtensionCase=UPPER
FileOpenCache=0
IntlSort=0
LockCompatibility=dBASE
Locking=RECORD
UseLongNames=0
UseLongQualifiers=0
[FoxPro3]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdbf20.sl
Description=DataDirect 5.0 dBaseFile(*.dbf)
ApplicationUsingThreads=1
CacheSize=4
CreateType=FoxPro30
Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
DataFileExtension=DBF
ExtensionCase=UPPER
FileOpenCache=0
IntlSort=0
LockCompatibility=Fox
Locking=RECORD
UseLongNames=0
UseLongQualifiers=0
[Informix]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARinf20.sl
Description=DataDirect 5.0 Informix
ApplicationUsingThreads=1
CancelDetectInterval=0
CursorBehavior=0
Database=db
EnableInsertCursors=0
GetDBListFromInformix=1
HostName=Informix host
LogonID=UID
Password=PWD
Protocol=onsoctcp
ServerName=Informix server
Service=Informix service name
TrimBlankFromIndexName=1
[Informix Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARifcl20.sl
Description=DataDirect 5.0 Informix Wire Protocol
ApplicationUsingThreads=1
CancelDetectInterval=0
Database=db
HostName=Informix host
LogonID=UIDUID
Password=PWDPWD
PortNumber=Informix server port
ServerName=Informix server
TrimBlankFromIndexName=1
[Oracle]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARor820.sl
Description=DataDirect 5.0 Oracle
ApplicationUsingThreads=1
ArraySize=60000
CatalogIncludesSynonyms=1
CatalogOptions=0
DefaultLongDataBuffLen=1024
DescribeAtPrepare=0
EnableDescribeParam=0
EnableNcharSupport=0
EnableScrollableCursors=1
EnableStaticCursorsForLongData=0
EnableTimestampWithTimeZone=0
LocalTimeZoneOffset=
LockTimeOut=-1
LogonID=UID
OptimizeLongPerformance=0
Password=PWD
ProcedureRetResults=0
ServerName=Oracle host
UseCurrentSchema=1
[Oracle Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARora20.sl
Description=DataDirect 5.0 Oracle Wire Protocol
ApplicationUsingThreads=1
ArraySize=60000
CachedCursorLimit=32
CachedDescLimit=0
CatalogIncludesSynonyms=1
CatalogOptions=0
DefaultLongDataBuffLen=1024
DescribeAtPrepare=0
EnableDescribeParam=0
EnableNcharSupport=0
EnableScrollableCursors=1
EnableStaticCursorsForLongData=0
EnableTimestampWithTimeZone=0
HostName=Oracle server
LocalTimeZoneOffset=
LockTimeOut=-1
LogonID=UID
Password=PWD
PortNumber=1521
ProcedureRetResults=0
SID=Oracle SID
UseCurrentSchema=1
[Progress9]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARpro920.sl
Description=DataDirect 5.0 Progress SQL92
DatabaseName=db
HostName=Progress9 host
LogonID=UID
Password=PWD
PortNumber=Progress9 server port
[Progress10]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARpro1920.sl
Description=DataDirect 5.0 Progress OpenEdge
DatabaseName=db
HostName=Progress10 host
LogonID=UID
Password=PWD
PortNumber=Progress10 server port
[SQLServer Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARmsss20.sl
Description=DataDirect 5.0 SQL Server Wire Protocol
Address=SQLServer host,SQLServer server port
AnsiNPW=Yes
Database=db
LogonID=UID
Password=PWD
QuotedId=No
[Sybase Wire Protocol]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARase20.sl
Description=DataDirect 5.0 Sybase Wire Protocol
ApplicationName=
ApplicationUsingThreads=1
ArraySize=50
Charset=
CursorCacheSize=1
Database=db
DefaultLongDataBuffLen=1024
EnableDescribeParam=0
EnableQuotedIdentifiers=0
InitializationString=
Language=
LogonID=UID
NetworkAddress=Sybase host,Sybase server port
OptimizePrepare=1
PacketSize=0
Password=PWD
RaiseErrorPositionBehavior=0
SelectMethod=0
WorkStationID=
[Text]
Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARtxt20.sl
Description=DataDirect 5.0 TextFile(*.*)
AllowUpdateAndDelete=0
ApplicationUsingThreads=1
CacheSize=4
CenturyBoundary=20
Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
DataFileExtension=TXT
DecimalSymbol=.
Delimiter=
FileOpenCache=0
FirstLineNames=0
IntlSort=0
ScanRows=25
TableType=Comma
UndefinedTable=GUESS
[ODBC]
IANAAppCodePage=4
InstallDir=$HYPERION_HOME/common/ODBC/Merant/5.0
Trace=0
TraceDll=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/odbctrac.sl
TraceFile=odbctrace.out
UseCursorLib=0
*.Profile file*
HYPERION_HOME=/hyper/arbor/Hyperion
ESSLANG=English_UnitedStates.Latin1@Binary
SHLIB_PATH=.:/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib:/hyper/arbor/Hyperion/AnalyticServices/bin:$SHLIB_PATH
PATH=$PATH:$ARBORPATH/bin:/usr/lib:$ARBORPATH:$HYPERION_HOME/common/ODBC/Merant/5.0/lib
LD_LIBRARY_PATH=$HYPERION_HOME/common/ODBC/Merant/5.0/lib
ulimit -c unlimited
ulimit -n 1024
LIBPATH=/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib
LANG=en_US
ODBCINI=/hyper/arbor/Hyperion/Essbase/bin/.odbc.iniThe essbase user needs to be restarted to be able to see the new odbc.ini entries.
After editing the files you mentioned, did you restart the essbase services?
At the very least, did you exit EAS, then restart EAS? (I don't remember which one of these will do it.) If your entries are correct, then one of these should get the essbase user to 'see' the odbc connection.
Also, it might help to remove extraneous entries in the .odbc.ini file, kind of difficult to read thru all of that.
Robert
Edited by: RobertR3 on Mar 17, 2009 10:19 AM -
Unix/Linux Process Monitoring
When I attempt to run the add monitoring wizard in Operations Manager 2012 R2 against the unix/linux process monitor I receive the following error :-
Date: 12/02/2015 11:55:23
Application: Operations Manager
Application Version: 7.1.10226.0
Severity: Error
Message:
Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UISDKException: The page [Microsoft.SystemCenter.CrossPlatform.UI.OM.Integration.Authoring.ProcessTemplate.ProcessDetailsPage] in the assembly [Microsoft.SystemCenter.CrossPlatform.UI.OM.Integration.Authoring.ProcessTemplate,
Version=7.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] could not be loaded. Please make sure that the account you are running under has sufficient privileges to load the given assembly, or the Management Pack that defines this page is installed
or the assembly containing the page is in the path of the executable or that the page derives from known Operations Manager page type. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions
property for more information.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
--- End of inner exception stack trace ---
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.GetPages()
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomTemplatePagesManager.GetPages()
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.PageManagerBase.AttachToFramework(IPageFramework pageFramework, Boolean readOnly)
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Pages.TemplateListPage.AddPagesForSelectedItem()
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
I receive this in my test lab and in a live environment. Both environments are running Operations Manager 2012 R2 and I have imported the latest management packs which are 7.5.1042.0.
I am full administrator at the server and operations manager level. So what is it I am missing?
Thanks.Agree with Steve, Upgrade to last UR, This issue is related to Management Pack so that Check correct version of Management Pack which is compatible with SCOM 2012R2
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
Technical | Twitter:
Mai Ali -
Database startup showing ORA-00942: table or view does not exist in trace
Hi Friends,
SunOS 5.10 Generic_137112-06 i86pc i386 i86pc , 64 Bit
Oracle 10.2.0.1.0
While I am doing a startup, getting following error.
SQL> startup;
ORACLE instance started.
Total System Global Area 3221225472 bytes
Fixed Size 2122544 bytes
Variable Size 410819792 bytes
Database Buffers 2801795072 bytes
Redo Buffers 6488064 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forcedThe alert log shows the following
Errors in file /applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc:
ORA-00942: table or view does not exist
Error 942 happened during db open, shutting down database
USER: terminating instance due to error 942
Instance terminated by USER, pid = 11486
ORA-1092 signalled during: ALTER DATABASE OPEN...A look at the trace file shows this
/applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /applns/oracle
System name: SunOS
Node name: N890
Release: 5.10
Version: Generic_137112-06
Machine: i86pc
Instance name: CTSD1
Redo thread mounted by this instance: 1
Oracle process number: 23
Unix process pid: 11486, image: oracle@N890 (TNS V1-V3)
*** SERVICE NAME:() 2011-02-16 19:24:50.188
*** SESSION ID:(325.3) 2011-02-16 19:24:50.188
Successfully allocated 3 recovery slaves
Using 367 overflow buffers per recovery slave
Thread 1 checkpoint: logseq 45929, block 2, scn 310788795>cache-low rba: logseq 45929, block 3
>on-disk rba: logseq 45929, block 52, scn 310788832
>start recovery at logseq 45929, block 3, scn 0
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 24Kb in 0.31s => 0.08 Mb/sec
Total physical reads: 4096Kb
Longest record: 0Kb, moves: 0/61 (0%)
Longest LWN: 16Kb, moves: 0/3 (0%), moved: 0Mb
Last redo scn: 0x0000.128642df (310788831)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 4/4 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 117/121 = 1.0
*** 2011-02-16 19:24:50.515
KCRA: start recovery claims for 4 data blocks
*** 2011-02-16 19:24:50.515
KCRA: blocks processed = 4/4, claimed = 4, eliminated = 0
*** 2011-02-16 19:24:50.516
Recovery of Online Redo Log: Thread 1 Group 1 Seq 45929 Reading mem 0
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 4/4 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 121/121 = 1.0
ORA-00942: table or view does not existI have searched MOS and Google, but didn;'t get any relevant results.
Also flushed my shared_pool as mentioned in (http://www.tanelpoder.com/files/oracle_rowcache.pdf) after mount and started , still no luck
Any help is appreciated
Thanks
SSNHi,
Thanks.
Tried log mining, but still couldn't find the culprit. I think now, I have to drop and create this db.Still wondering what might have happened.
select group#,status from v$log;
GROUP# STATUS
1 INACTIVE
3 INACTIVE
2 CURRENT
SQL> select group#,MEMBER from v$logfile where group#=2;
GROUP#
MEMBER
2
/applns/oracle/oradata/CTSD1/redo02.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo02.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> select group#,MEMBER from v$logfile where group#=1;
GROUP#
MEMBER
1
/applns/oracle/oradata/CTSD1/redo01.log
1
/applns/oracle/oradata/CTSD1/redolog001.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo01.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redolog001.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> select group#,MEMBER from v$logfile where group#=3
GROUP#
MEMBER
3
/applns/oracle/oradata/CTSD1/redo03.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo03.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.SSN -
Not able to start Coherence Server on Unix environment
Hi,
I am trying to configure Coherence-Web on Weblogic server on Unix. But when i try to start the server getting the below error.
I am tried with Coherence 3.7.1 but say Bad class version so then tried with Coherence 3.6.1
And i used the below commond to run the server.
java -Xms128m -Xmx128m -Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true -cp "$COHERENCE_HOME/lib/coherence.jar:$COHERENCE_HOME/lib/coherence-web-spi.war" -Dtangosol.coherence.cacheconfig=session-cache-config.xml com.tangosol.net.DefaultCacheServer
2013-03-22 13:08:23.245/4.372 Oracle Coherence GE 3.6.1.0 <Info> (thread=main, member=n/a): Loaded Reporter configuration from "jar:file:$COHERENCE_HOME/lib/coherence.jar!/reports/report-group.xml"
Exception in thread "main" (Wrapped: Failed to load the factory) java.lang.reflect.InvocationTargetException
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.tangosol.net.DefaultCacheFactoryBuilder.getDefaultFactory(DefaultCacheFactoryBuilder.java:419)
at com.tangosol.net.DefaultCacheFactoryBuilder.getSingletonFactory(DefaultCacheFactoryBuilder.java:113)
at com.tangosol.net.DefaultCacheFactoryBuilder.getFactory(DefaultCacheFactoryBuilder.java:173)
at com.tangosol.net.DefaultCacheFactoryBuilder.getConfigurableCacheFactory(DefaultCacheFactoryBuilder.java:149)
at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactory.java:657)
at com.tangosol.net.DefaultCacheServer.getDefaultConfigurableCacheFactory(DefaultCacheServer.java:364)
at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at com.tangosol.util.ClassHelper.newInstance(ClassHelper.java:662)
at com.tangosol.net.DefaultCacheFactoryBuilder.getDefaultFactory(DefaultCacheFactoryBuilder.java:381)
... 6 more
Caused by: (Wrapped: Failed to load cache configuration: session-cache-config.xml) java.io.IOException: The cache configuration is missing: "session-cache-config.xml", loader=null
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:330)
at com.tangosol.run.xml.XmlHelper.loadFileOrResource(XmlHelper.java:281)
at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:396)
at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:382)
at com.tangosol.net.DefaultConfigurableCacheFactory.<init>(DefaultConfigurableCacheFactory.java:148)
... 12 more
Caused by: java.io.IOException: The cache configuration is missing: "session-cache-config.xml", loader=null
at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:316)
... 16 more
I really appreciated the support.Hi
This part of the stack trace...
Caused by: (Wrapped: Failed to load cache configuration: session-cache-config.xml) java.io.IOException: The cache configuration is missing: "session-cache-config.xml"...would suggest that the file session-cache-config.xml is not on the classpath of your application.
JK -
Calling a report from unix shell script
Hi,
I had to call a report from unix shell script.
May i know the procedure to accomplish this
Thanks in Advance
A.GopalFirst you should not include the whole path to your report in the call ...
Use like this:
/ora/u01/oracle/v101/as2/bin/rwrun.sh report=an_stati destype=file desname=/ora/u01/oracle/v101/as2/test.pdf desformat=pdf
In $ORACLE_HOME/bin/reports.sh:
1) Verify that you have updated the REPORTS_PATH variable to include your folder where you have the report in question
REPORTS_PATH=/ora/u20/app/qits/env1/run:$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo: ....
2) Verify that the REPORTS_TMP variable is pointing to a valid location and that the oracle user has access to write on it.
After that, post the content of the tracefile located at $ORACLE_HOME/reports/logs/{in-process report server name folder}/rwserver.trc
If no file is present then it means that you need to enable trace in your reports's conf file.... go to the $ORACLE_HOME/reports/conf folder and and locate the .conf file that correspond to your in-process reports server name (as specified in the rwservelet.properties file)... open/edit the file to enable trace logs ..
i.e.
Change the following line:
<!--trace traceOpts="trace_all"/-->
to <trace traceOpts="trace_all"/>
Bounce the reports server and try to run the report again, this time the .trc file should be generated, post the content so that we can take a look. -
How can i create a new instance on unix
Hi,
How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.udayjampani wrote:
Hi,
How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.1) Define Instance in your way!!?
If you simply create a pfile and startup nomount with it, then -in theory- you have an instance running ( this method is used e.g. for restoring a rman backup )
2) You can't. Database files are bound to a certain instance. What you can do is recreate an instance with e.g. a different name, using the scripts generated by a 'alter database backup controlfile to trace;' command
Cheers
FJFranken
Maybe you are looking for
-
Hp Color Laser Jet 5550dn Print Quality Issues
Good Afternoon, I have a Hp Color Laser Jet 5550dn that has some print quality issue. I've attached a black and white scan, but the color is a light blue to blue that form the blotches. On the back of the page there are blue and pink streaks. I c
-
How do you get money refunded for scam apps?
-
Iphone 5 stopped working after updated to IOS 7.1
I have just updated my iphone 5 to IOS 7.1 and unfortunately it stopped working. I can not turn it on. Anyone got the same problem? My phone is already out of warranty so I have no idea how much it would cost to fix my died phone
-
JDBC-RFC no errors at XI BOX still records were not update at Target system
hi am doing jdbc to rfc scenario tested rfc at target R/3 and its working fine,but records were not being updated in jdbc-rfc scenario. i can see the audit log as success but no record is inserted at the target system think problem is at FM. please
-
Wrong number of unread email count on the dock mail icon
Hi, I recently got an upgrade to 10.8.4. Since then. my mail icon in the dashboard doubles the number of emails by 2. If there are 3 emails, the number reads 6. Any suggestions for an annoyance, not a serious problem I assume. Thanks