ORA-12542: Famous Error
Hi,
I'm using Oracle 10.1.0.1 with ODP.Net
there's a c# web service that calls the database functions.
for the fist few connections , its working fine, then it suddenly gives the error -
ORA-12542: TNS:address already in use
i tried with restarting the service and also restarting the server. but no use
even when we check connection using the net manager it works for the first few times and then the same error comes. please help me identify and fix the error.
its very urgent
thanks
shruti
Cause
Problem is caused due to the fact that the free ports in the windows client has been exhausted and it is trying to make use of a port which is in TIME_WAIT state which gives the error TNS-12542: Address already in use.
There are 2 solutions available:
+1.) Increase the free port range:+
+======================+
Start Registry Editor (Regedt32.exe).
Locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
On the Edit menu, click Add Value, and then add the following registry value:
Value Name: MaxUserPort Data Type: REG_DWORD Value: 65534
Valid Range: 5000-65534 (decimal) Default: 0x1388 (5000 decimal)
Description: This parameter controls the maximum port number used when an application requests any
available user port from the system. Normally, ephemeral (that is, short-lived) ports are allocated between the values of 1024 and 5000 inclusive.
+2.) Decrease the value for TIME_WAIT state:+
+================================+
TcpTimedWaitDelay (new in Windows NT versions 3.51 SP5 and later)
Key: Tcpip\Parameters
Value Type: REG_DWORD - Time in seconds
Valid Range: 30-300 (decimal)
Default: 0xF0 (240 decimal)
Re: How serious is ORA-12542
And also check this metalink doc id for the same.
Note:252614.1
HTH
Aman....
Similar Messages
-
Need help on ORA-12542: TNS:address already in use
Hi Toady morning , i faced this error. my database and listener is already up and running but application user posted this error to me. i do not see any error logs in oracle. could anybody pls help me as soon as possible. for workaround i have restarted the database. As it is in production needed urgent help. Below is the error;
Thu Aug 30 08:37:47 2012 733000 [DM_SESSION_E_CANT_MAKE_TEMP_CONNECTION]error: "Could not establish an internal, temporary database connection (database_name = , docbase_owner = I102, connection_string = ECM53); database system error was: ORA-12542: TNS:address already in use
Current Session ID: 0100213a8155ce3e
Last SQL statement executed by DB was:
No Session Record.TID(10176) failure during processing of request: NewSessionByAddr_string.
Thanks in advance890482 wrote:
Hi Toady morning , i faced this error. my database and listener is already up and running but application user posted this error to me. i do not see any error logs in oracle. could anybody pls help me as soon as possible. for workaround i have restarted the database. As it is in production needed urgent help. Below is the error;
Thu Aug 30 08:37:47 2012 733000 [DM_SESSION_E_CANT_MAKE_TEMP_CONNECTION]error: "Could not establish an internal, temporary database connection (database_name = , docbase_owner = I102, connection_string = ECM53); database system error was: ORA-12542: TNS:address already in use
Current Session ID: 0100213a8155ce3e
Last SQL statement executed by DB was:
No Session Record.TID(10176) failure during processing of request: NewSessionByAddr_string.
Thanks in advancebcm@bcm-laptop:~$ oerr ora 12542
12542, 00000, "TNS:address already in use"
// *Cause: Specified listener address is already being used.
// *Action: Start your listener with a unique address.
How do I ask a question on the forums?
SQL and PL/SQL FAQ -
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 -
ORA-00600: internal error code, arguments: [ktsircinfo_num1]
While taking export of a table received EXP error and while dropping/selecting the same gor ora-600 errors.
. . exporting table TEST4
EXP-00003: no storage definition found for segment(29, 371385)
SQL >Drop table test4 cascade;
ORA-00600: internal error code, arguments: [ktsircinfo_num1], [29], [29], [371385], [], [], [], []
sql> Desc test4;
ORA-00600: internal error code, arguments: [ktsircinfo_num1], [29], [29], [371385], [], [], [], []
I dont want to log TAR with oracle right now... I tried dropping and recreating Undo tablespace but still did not help much . Database version is 9204hi
read metalink ID - 153788.1
CHeers -
ORA-00600: internal error when delete master rows in a materialized view
I have a materialized view in 11g2 on Redhat 5, defined asCREATE MATERIALIZED VIEW mv_idty
PARALLEL BUILD IMMEDIATE REFRESH FAST ON COMMIT ENABLE QUERY REWRITE AS
select IDTY_NAME_FIRST,IDTY_NAME_MIDDLE,IDTY_NAME_LAST,IDTY_NAME_SUFFIX,IDTY_SSN,
IDTY_DR_LIC_NUM,IDTY_DR_LIC_STA,x.person_id,i.rowid i_rowid,x.rowid x_rowid
from idty i,person_x_idty x where x.idty_id=i.idty_id; I deleted a few rows from the master tables and get error13:58:48 SQL> delete idty where idty_id like 'test_row%' ;
7 rows deleted.
13:58:52 SQL> commit;
commit
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-00600: internal error code, arguments: [kkzfrfajv_markdml-1], [], [], [], [], [], [], [], [], [], [], [] I have other materialized views and they all delete master OK. This is the simplest one but causes problem. HELP!
Edited by: user13148231 on Aug 11, 2010 5:45 PMChecked note 743766.1. It is not 100% relevant as it is about import, but the query is usefulselect sowner, vname, mowner, master from sys.snap_reftime$It reveals the materialized view some how based on other schema.
Recreate the materialized view. problem solved. -
Hi All,
I had created a IR report based on a table and it was working with no issues. But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search. But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
What might have caused this issue?
Is there a way to intercept the search query from IR report?
Apex version - 4.2.3.00.08.
Any help on this appreciated.
Thanks,
JaganHi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
Can you please guide me how to check the query logs on search?
Thanks,
Jagan -
hi everybody ;
i have 9.2.0.7 db runs on SLES9 on host A. and i take full rman database backup to make a new database on different host ( host B ) with different file structure. ( sid is the same ) i had already 1 database on host B. after this duplicate now there are 2 database on host B.
i take daily full database rman backup on the new host for my new database and there is no problem. when i try to take extra full export backup i get an error ;
Dynamic link error: libxdb.so: cannot open shared object file: No such file or directory
*** 2010-08-05 09:46:12.868
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [unable to load XDB library], [], [], [], [], [], [], []
as i search ; i have to stop the database and listener and set the LD_LIBRARY_PATH variable. how can i make this without make any mistake for the first database runs on Host B.
because 2 database must be up and running on host B. can you explaın these operation step by step ?
thank you ....craft wrote:
any idea ?
>any idea ?
your database is out off support you should consider to upgrade. ORA-00600 indicate for bug -
ASM instance crash due to error ORA-27506: IPC error connecting to a port
Hi All,
Today the ASM instance goes down.
When i checked the alert log I found the below error.
ORA-27506: IPC error connecting to a port
ORA-27300: OS system dependent operation:sendmsg failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgxpsnd1
Please find the environment details.
OS : RHEL-5
DB: 11.1.0.7 2-node RAC
I want to know the root cause of this issue.
Please suggest.
Thanks and Regards,Hi,
Could you please upload cluster alert log and cssd.log?
regards,
Kishore -
ORA 600 [kkqvmRmViewFromLst1] error
Hi,
I am using Binary XML DB .
Here is the DB banner info.
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production"
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
I am getting ORA 600 [kkqvmRmViewFromLst1] error while executing a query
SELECT AGTAB1.AGREEMENT_ID AS agreement_ID
FROM TNMAB_AGREEMENT_XML A ,
XMLTable('/Agreement'
PASSING A.AGREEMENT_XML COLUMNS AGREEMENT_ID VARCHAR2(20) path 'Identifier' ,
SHP_PTY_CUST_HOLDER XMLType PATH 'ShippingPartyGroups/ShippingParties/CustomerHolder' ,
NAMED_CUSTOMER_GROUPS XMLType PATH 'NamedCustomerGroups/NamedCustomer/SAP_IDs/StringWrappers' ) AGTAB1 ,
XMLTable('/Agreement'
PASSING A.AGREEMENT_XML COLUMNS NAMED_CUSTOMER_GROUPS XMLType PATH 'NamedCustomerGroups/NamedCustomer/SAP_IDs/StringWrappers' ) AGTAB2 ,
XMLTable('/CustomerHolder' PASSING AGTAB1.SHP_PTY_CUST_HOLDER
COLUMNS SAP_ID VARCHAR2(10) PATH 'SAP_ID') x2,
XMLTable('/StringWrappers'
PASSING AGTAB2.NAMED_CUSTOMER_GROUPS COLUMNS SAP_ID VARCHAR2(10) PATH 'SAP_ID') x3
WHERE (X2.SAP_ID IN ('3163494000') OR
X3.SAP_ID IN ('3163494000')) group by AGTAB1.AGREEMENT_ID
Please advise
ThanksI am getting ORA 600 [kkqvmRmViewFromLst1] error while executing a queryAn ORA 600 error is a untrapped oracle software error an should be dealt with by creating an SR (service request) via support.oracle.com
-
ORA-00600: internal error while running procedure in oracle 7.3.4
I am using Oracle 7.3.4 running on HP-Unix. While running a procedure, I am getting the following error.
ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [], [], [], [], []
ORA-06544: PL/SQL: internal error, arguments: [77102], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [77102]
Please suggest what could be the problem. Incidentally, the same procedure is running on another installation of Oracle 7.3.4. I am unable to find out what could be the difference between the 2 Oracle instances that is causing this problem.
Please help.
Thanks in advance.Are there any trace files created on the server?
Did you see if they have any more information?
Generally, these types of errors suggest contacting Oracle support to resolve the issue, but with the Oracle version you are using being already desupported, it would be an issue.
Alternatively, you could search metalink to see if there is any support note on this type of error. -
ORA-00607: Internal error occurred while making a change to a data block
hi
i hv use testing purpose oracle 10 Xe in unix
but when today i hv connect database following error occured
SQL> startup
ORACLE instance started.
Total System Global Area 83886080 bytes
Fixed Size 1257284 bytes
Variable Size 75497660 bytes
Database Buffers 4194304 bytes
Redo Buffers 2936832 bytes
Database mounted.
ORA-00607: Internal error occurred while making a change to a data block
ORA-00600: internal error code, arguments: [4193], [625], [640], [], [], [],
I hv check alert log , but no proper solution is given , how can start databaseDuh, and of course I missed the significance of
oracle 10 Xe in unix
XE is only supported for Linux - according to the downloads page that means "Debian, Mandriva, Novell, Red Hat and Ubuntu".
Oracle have not publically stated the reasons why XE is only available on Linux and Windows, but my guess is that it is something to do the Intel chip architecture. If this is so it would be possible for Oracle to port XE to run on Solaris for x86. But they have not done so yet.
Which means, alas, that you are unlikely to get any help for this one, because XE is not supported on any unix platform.
Good luck, APC -
Error while impdp: ORA-02374: conversion error loading table
Hi,
I am trying to convert the character set from WE8ISO8859P1 to AL32UTF8 using expdp/impdp. for this I first convert WE8ISO8859P1 to WE8MSWIN1252 in source DB to get rid of “lossy” data. I created new database(target) with character set AL32UTF8 and nls_length_semantics = ’CHAR’ and created all the tablespaces as in source DB with auoexend on. I took full export (expdp) of source DB excluding TABLESPACE,STATISTICS,INDEX,CONSTRAINT,REF_CONSTRAINT and imported using impdp to target DB. I found below error in the import log file:
ORA-02374: conversion error loading table "SCTCVT"."SPRADDR_CVT"
ORA-26093: input data column size (44) exceeds the maximum input size (40)
ORA-02372: data for row: CONVERT_STREET_LINE1 : 0X'20202020202020202020202020202020202020202020202020'
I checked with select query on both DBs with below results.
source DB:
04:58:42 SQL> select count(*) from "SCTCVT"."SPRADDR_CVT";
COUNT(*)
74553
target DB:
04:59:24 SQL> select count(*) from "SCTCVT"."SPRADDR_CVT";
COUNT(*)
74552
please suggest me a solution to this.
Thanks and Regards.
Edited by: user12045167 on May 9, 2011 10:39 PMThanks for your update maher.
09:15:53 SQL> desc "SCTCVT"."SPRADDR_CVT"
Name Null? Type
SPRADDR_PIDM NUMBER(8)
CONVERT_PIDM VARCHAR2(9 CHAR)
SPRADDR_ATYP_CODE VARCHAR2(2 CHAR)
CONVERT_ATYP_CODE VARCHAR2(2 CHAR)
SPRADDR_SEQNO NUMBER(2)
CONVERT_SEQNO VARCHAR2(2 CHAR)
SPRADDR_FROM_DATE DATE
CONVERT_FROM_DATE VARCHAR2(8 CHAR)
SPRADDR_TO_DATE DATE
CONVERT_TO_DATE VARCHAR2(8 CHAR)
SPRADDR_STREET_LINE1 VARCHAR2(30 CHAR)
CONVERT_STREET_LINE1 VARCHAR2(40 CHAR)
SPRADDR_STREET_LINE2 VARCHAR2(30 CHAR)
CONVERT_STREET_LINE2 VARCHAR2(40 CHAR)
SPRADDR_STREET_LINE3 VARCHAR2(30 CHAR)
CONVERT_STREET_LINE3 VARCHAR2(40 CHAR)
SPRADDR_CITY VARCHAR2(20 CHAR)
CONVERT_CITY VARCHAR2(25 CHAR)
SPRADDR_STAT_CODE VARCHAR2(3 CHAR)
CONVERT_STAT_CODE VARCHAR2(25 CHAR)
SPRADDR_ZIP VARCHAR2(10 CHAR)
CONVERT_ZIP VARCHAR2(15 CHAR)
SPRADDR_CNTY_CODE VARCHAR2(5 CHAR)
CONVERT_CNTY_CODE VARCHAR2(5 CHAR)
SPRADDR_NATN_CODE VARCHAR2(5 CHAR)
CONVERT_NATN_CODE VARCHAR2(5 CHAR)
SPRADDR_PHONE_AREA VARCHAR2(3 CHAR)
CONVERT_PHONE_AREA VARCHAR2(3 CHAR)
SPRADDR_PHONE_NUMBER VARCHAR2(7 CHAR)
CONVERT_PHONE_NUMBER VARCHAR2(7 CHAR)
SPRADDR_PHONE_EXT VARCHAR2(4 CHAR)
CONVERT_PHONE_EXT VARCHAR2(4 CHAR)
SPRADDR_STATUS_IND VARCHAR2(1 CHAR)
CONVERT_STATUS_IND VARCHAR2(1 CHAR)
SPRADDR_ACTIVITY_DATE DATE
CONVERT_ACTIVITY_DATE VARCHAR2(8 CHAR)
SPRADDR_USER VARCHAR2(30 CHAR)
CONVERT_USER VARCHAR2(30 CHAR)
SPRADDR_ASRC_CODE VARCHAR2(4 CHAR)
CONVERT_ASRC_CODE VARCHAR2(4 CHAR)
SPRADDR_DELIVERY_POINT NUMBER(2)
CONVERT_DELIVERY_POINT VARCHAR2(2 CHAR)
SPRADDR_CORRECTION_DIGIT NUMBER(1)
CONVERT_CORRECTION_DIGIT VARCHAR2(1 CHAR)
SPRADDR_CARRIER_ROUTE VARCHAR2(4 CHAR)
CONVERT_CARRIER_ROUTE VARCHAR2(4 CHAR)
SPRADDR_GST_TAX_ID VARCHAR2(15 CHAR)
CONVERT_GST_TAX_ID VARCHAR2(15 CHAR)
SPRADDR_REVIEWED_IND VARCHAR2(1 CHAR)
CONVERT_REVIEWED_IND VARCHAR2(1 CHAR)
SPRADDR_REVIEWED_USER VARCHAR2(30 CHAR)
CONVERT_REVIEWED_USER VARCHAR2(30 CHAR)
SPRADDR_DATA_ORIGIN VARCHAR2(30 CHAR)
CONVERT_DATA_ORIGIN VARCHAR2(30 CHAR)
SPRADDR_CVT_RECORD_ID NUMBER(8)
SPRADDR_CVT_STATUS VARCHAR2(1 CHAR)
SPRADDR_CVT_JOB_ID NUMBER(8)
so here we can see its value is 40 (CONVERT_STREET_LINE1 VARCHAR2(40 CHAR)).
shall i go ahead altering the column? -
Ora-00600: internal error on 11g database in windows 2007 environment
Hello , i have these problems please help me to solve it.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>emctl status dbconsole
Environment variable ORACLE_SID not defined. Please define it.
C:\Windows\system32>set ORACLE_SID=testsid
C:\Windows\system32>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://local:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is not running.
Logs are generated in directory C:\app\23333941\product\11.1.0\db_3/local_testsid/sysman/log
C:\Windows\system32>sqlplus sys/@**** as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:27:37 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL*Plus: Release 11.1.0.6.0 - Production
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the
usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-F Enables the failover mode for a RAC environment.
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML markup of output. The options
have the form:
HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
[ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.
<logon> is: (<username>[/<password>][@<connect_identifier>] | /)
[AS SYSDBA | AS SYSOPER | AS SYSASM] | /NOLOG | [EDITION=value]
Specifies the database account username, password and connect
identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.
The AS SYSDBA, AS SYSOPER and AS SYSASM options are database
administration privileges.
<connect_identifier> can be in the form of Net Service Name
or Easy Connect.
@[<net_service_name> | [//]Host[:Port]/<service_name>]
<net_service_name> is a simple name for a service that resolves
to a connect descriptor.
Example: Connect to database using Net Service Name and the
database net service name is ORCL.
sqlplus myusername/mypassword@ORCL
Host specifies the host name or IP address of the database
server computer.
Port specifies the listening port on the database server.
<service_name> specifies the service name of the database you
want to access.
Example: Connect to database using Easy Connect and the
Service name is ORCL.
sqlplus myusername/mypassword@Host/ORCL
The /NOLOG option starts SQL*Plus without connecting to a
database.
The EDITION specifies the value for Application
Edition
<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
C:\Windows\system32>sqlplus sys/1118@testsid as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:29:03 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name: sysdba
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name: sys
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:32:59 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect/as sysdba
Connected.
SQL> create table test(id number, id1 number);
create table test(id number, id1 number)
ERROR at line 1:
ORA-01109: database not open
SQL> select status from v$instance;
STATUS
MOUNTED
SQL> alter database open;
ERROR at line 1:
ORA-00600: internal error code, arguments: [kcrfr_update_nab_2], [0x51434A54],
[2], [], [], [], [], []
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Windows\system32>startup mount
'startup' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:05:42 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect/as sysdba
Connected.
SQL> startup mount;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> recover database;
Media recovery complete.
SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
GROUP# SEQUENCE# ARC STATUS
2 539 NO INACTIVE
3 540 NO ACTIVE
1 541 NO CURRENT
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00264: no recovery required
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:17:10 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected.
SQL> startup mount
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 313860096 bytes
Fixed Size 1332892 bytes
Variable Size 276826468 bytes
Database Buffers 29360128 bytes
Redo Buffers 6340608 bytes
Database mounted.
Database opened.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1:
'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
GROUP# SEQUENCE# ARC STATUS
3 540 NO INACTIVE
1 541 NO INACTIVE
2 542 NO CURRENT
SQL> restore database;
SP2-0734: unknown command beginning "restore da..." - rest of line ignored.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1:
'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
SQL>
Thanks with regards Ganaa;What happened prior that resulted in the disaster scenario that you posted/
When was the last time the DB opened with out error?
What changed since then? -
Need Help in expdp for resolving ORA-39127: unexpected error from call
Hi All,
My Environment is -------> Oracle 11g Database Release 1 On Windows 2003 Server SP2
Requirement is ------------> Data Pump Jobs to be completed without any error message.
I am tryring to take export data pump of a schema
Command Used --> expdp schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
Export Log Show this details its completed with 2 error messages
Export: Release 11.1.0.6.0 - Production on Saturday, 23 April, 2011 13:31:10
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the OLAP option
FLASHBACK automatically enabled to preserve database integrity.
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 192 KB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',0,1,'11.01.00.06.00',newblock)
ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5980Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',1,1,'11.01.00.06.00',newblock)
ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5980
. . exported "SCOTT"."DEPT" 5.945 KB 4 rows
. . exported "SCOTT"."EMP" 8.585 KB 14 rows
. . exported "SCOTT"."SALGRADE" 5.875 KB 5 rows
. . exported "SCOTT"."ACCTYPE_GL_MAS" 0 KB 0 rows
. . exported "SCOTT"."BONUS" 0 KB 0 rows
Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
D:\APP\ADMINISTRATOR\ADMIN\SIPDB\DPDUMP\SCORR.DMP
Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" completed with 2 error(s) at 13:40:08
Please help me to resolve this issue.
Thank you,
ShanHi Shan,
I am getting very similar to yours
"ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found."
error message while creating OLAP Analytic Workspace with AWM.
I am creating workspace for the first time, actually following some tutorial to get some knowledge about OLAP)
I see you managed to solve you problem.
I wonder how I can get this MOS DOC 852794.1 - is it possible to get it without going to Metalink?
Thanks in advance for any help.
Regards,
SC -
Hi All,
I am getting the error "Err#-600 msg ORA-00600: internal error code, arguments: [4000], [7089]" while running a package. Could not able to get detailed info on this. Please someone help in resolving the above error.
Thanks,
Karthihttp://orafaq.com/wiki/ORA-00600
You can follow Nikolay's advice or try to find a workaround yourself by rewriting your query using a somehow different approach
Regards
Etbin
Maybe you are looking for
-
HT202157 how can i reset my apple tv
i tried to update my apple tv after the update, its telling me to conect it with a cable to the itunes store i already tried it, but it doesnt work how can i reset it?
-
Expanding/contracting timeline shortcuts. "-" and "+" do not work.
I have purchased Adobe Premiere Elements 13. One thing I need to do a lot during my project is expand/contract the timeline in Expert view. Everywhere I look online I am directed to using "+" or "-" to do this. However, these buttons do not appear to
-
Oracle Version 9.2.0.7.0 Sorry to ask what is probably a stupid question that only serves to highlight how useless my SQL is! I have this SQL which counts total requisition lines, and then counts how many of those lines have converted to Sales Orders
-
New features provided by SAP Web AS 7.00 and 7.10
Hello! I am interested, which features are provided starting with Sap Web AS 7.00 and 7.10, generally as well as special for both runtimes in <b>ABAP</b>-area (e.g. VM in ABAP, Code-completion) in <b>Java</b>-area (e.g. J2EE 1.4/1.5, Portlets, Comuni
-
I turned off iMessage on my iPhone - my iPad is currently off. If someone texted me to my number where iMessages were appearing on both my iPhone and iPad will they still appear on my iPad when I turn it on?