User_exit - connect to database and ora -3114
Hello All,
I am trying to connect to oracle database using an user_exit and not the built in LOGON function .
the user_exit - can connect to the DB ( I see a connection in v$session) , but when the form tries to perform any other action (like simple select ) i get a ora-3114 - not connected to oracle .
how ever if on the logon trigger instead of using the user_exit i use the built in logon - all is working fine.
my conclusion is that the user_exit , although connects to the oracle DB somehow does not "populate" the connection to the forms
how come ?
why ?
any way to solve this issues ?
thanks
S.
p.s.
the reason i am trying to perform that is because the built in logon function, can not accept passwords which contains the @ sign .
USER_EXIT is used to call a function outside Forms. So, it creates a separate connection to the database. Your Forms session still has no connection.
I don't think there is any other way to connect Forms to the database than the LOGON built-in.
Similar Messages
-
OEM Grid "Failed to connect to database instance: ORA-03135
Hello all,
Did anyone know why we get the error in the OEM grid:
Failed to connect to database instance: ORA-03135: connection lost contact (DBD ERROR: OCISessionBegin).
We checked the listener and it is running fine. Can someone advice where to look? Thanks.Hello,
1. I tried to ping to the grid control server, and it was successful. However when reviewing the emagent.trc trace file, I noticed the following error:
SQL = "/* OracleOEM */ BEGIN :succ_sub := 0; dbms_aqadm.enabl"...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mddbbanner8-vip)(PORT=1521))(CONNECT_DATA=(SID=PROD4)))
2009-01-13 10:44:31 Thread-4113849248 ERROR recvlets.aq: Error enabling user dbsnmp for aq agent mddbbanner8_3872_PROD4 on PROD.loe.corp_PROD4: ORA-06550: line 1, column 65:
PLS-00201: identifier 'DBMS_AQADM' must be declared
ORA-06550: line 1, column 65:
PL/SQL: Statement ignored
2009-01-13 10:44:31 Thread-4113849248 ERROR recvlets.aq: unable to create subscription on oracle_database PROD.loe.corp_PROD4
2. In the emdctl.trc trace file, I see these errors:
2009-01-09 15:54:26 Thread-4136655072 WARN http: snmehl_connect: connect failed to (mddbbanner8:3872): Connection refused (error = 111)
2009-01-09 15:54:26 Thread-4136655072 ERROR main: nmectla_agentctl: Error connecting to https://mddbbanner8:3872/emd/main. Returning status code 1
3. Anyone experienced the same errors from 1 and 2 above? Any solution to this issue?
Thanks. -
Failed to connect to database instance: ORA-12541: TNS:no listener
Hello -
This is the error in grid alert:
Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
But the test of connection string in database configure screen is successful. tnsping works too.
Grid version: 11.2.0.1.0, no patches.
Target database version: 10.2.0.2
Connect string: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = s08) (PORT = 1528))) (CONNECT_DATA = (SID = S08) (GLOBAL_NAME = S08.WORLD)))
Any ideas?OK.. Are you testing the connectivity from "Preferred Credentials " setting page?
Try to configure target from
Targets-->databases--> then select your database and click on "configure" button.
Enter all the details and press "Test Connection" button once it shows that connection is successful go to next page and finally save the setting.
Let me know how it goes.... -
Listener suddenly looses connection to database reporting ORA-12518
Hi all,
This has been causing me endless problems for two days now and I desperately need to leave our database running before the weekend. I cloned our database and moved it to a new server following the instructions in this guide, after a quite a few attempts I finally managed to recreate the control files and startup the database but now it keeps crashing unexpectedly.
The database starts up fine and both the listener and our application are able to communicate with it but after 10-15 minutes, the listener will report ORA-12518 and the only errors I can find are in the clsc.log and css.log, these state;
2012-03-23 12:21:03.312: [ default][2004]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\olr cannot be opened. error 2
[CLSE][2004]clse_get_crs_home: Error retrieving OLR configuration [0] [Error opening olr registry key. The system cannot find the file specified.]
and
2012-03-23 14:36:37.523: [ GIPCNET][5384] gipcmodNetworkAsyncComplete: [network] error for endp 0C3BCA10, req 0C3BE270, type sgipcnreqtypeConnect (1), data 00000000, sret sgipcretConnectionRefused (28)
2012-03-23 14:36:37.523: [ GIPCNET][5384] gipcmodNetworkAsyncComplete: slos op : sgipcwWait
2012-03-23 14:36:37.523: [ GIPCNET][5384] gipcmodNetworkAsyncComplete: slos dep : The remote system refused the network connection. (1225)
2012-03-23 14:36:37.523: [ GIPCNET][5384] gipcmodNetworkAsyncComplete: slos loc : GetQueueComp
2012-03-23 14:36:37.523: [ GIPCNET][5384] gipcmodNetworkAsyncComplete: slos info: failed for over 0C3BDCC8
2012-03-23 14:36:37.523: [ CSSCLNT][5384]clssscConnect: gipc request to clsc://(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=61100)) failed with 29 (00000013)
2012-03-23 14:36:37.523: [ CSSCLNT][5384]clsssInitNative: connect to (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=61100)) failed, rc 29
The content of my listener.ora is
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS="EXTPROC_DLLS=ANY")
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS="EXTPROC_DLLS=ANY")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 158.41.215.112)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
DEFAULT_SERVICE_LISTENER = (PVSSRDB)
and my tnsnames.ora is
PVSSRDB =
(DESCRIPTION =
(ENABLE=BROKEN)
(ADDRESS = (PROTOCOL = TCP)(HOST = 158.41.215.112)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PVSSRDB)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
I would appreciate any advice you can offer on this issue...
Edited by: JonathanR on 23-Mar-2012 07:53ocr registry key SOFTWARE\Oracle\olr cannot be openedDoesn't appear to be an XE install, just judging from your OH path but perhaps we can help anyways. And looks like CRS, cluster services, I don't have much practice on using that feature.
Wondering about the localhost:port at 127.0.0.1:61100 entry in listener.log, if you have multiple NICs or multiple ethernet interfaces set up, it might be trying to talk on the wrong interface. Verify the IP address. Which OS? Win7? XP? Server 2008? 2008R2?
Please post your ifconfig output, maybe there's a VPN adapter or another interface getting in the way.
$ ipconfig /all
... Ethernet adapter Local Area Connection: ...
... IP Address ... : 158.41.215.112
$ hostname
... -> <hostname>
$ nslookup 158.41.215.112
... -> hostname[.domain?]
$ nslookup <hostname>
... ->158.41.215.112 (?)
$ nslookup <hostname>.<domainname>
... -> 158.41.215.112 (?) An ora-12518 usually indicates a resource problem- low memory, process unable to start, something along those lines. How large is your SGA+PGA, and how much physical memory, and pagefile size, on the host?
Edited by: clcarter on Mar 23, 2012 12:25 PM
add -12518 note -
http://www.oracle.com/technology/pub/articles/vohra-jdev-xmlpub.html
I used the above link to create XML's and from there a formatted report of data from the database. I accomplish this by connecting to the database inside the XMLPublisher.java file. I also have my query hard-coded inside the DataTemplate.xml to extract the info from the database. This limits my ability on what the user can accomplish with the system.
Is it possible to run my reports based on an iterator within Jdeveloper, as opposed to having to manually enter the query and connect to the database within the XMLPublisher.java file and the template.xml? ..Possibly connecting to the database and and writing queries in the *****impl.java?
Thanks.Rather than inventing your own demi-donkeyed solution I recommend you consider using Oracle's Fine-Grained Auditing which does precisely this.
Cheers, APC -
Connect Firebird Database and coding in Action Script
Hello Friends
I am new for Flex. I want to ask some questions. I hope i will get right answers as soon as possible.
Thanks to all in advance.
I have Firebird database. I want to create one desktop application and i want to store data in Firebird database but i don't know how to connect firebird database?
Also i don't want to use .net or php or any other language. Is it possible to connect firebird database using action script? can i do insert,update and delete functionality or firebird database using action script?
Plz reply me and if you have links or code then plz send me . If you want to send email me the send on [email protected]
Thanks & Regards
Manjurhusen Momin
Sr. Software Developer
Nichetech Solutions Pvt Ltd.Yes, atleast NOT with core ActionScript3.0.
If you are developing Flex Web Application then you must have to use PHP, .NET, JAVA
If it's an AIR app then some apecial packages are provided to communicate with database and that too with very limited scope. If you need more data intensive operation then again you have to use other language.
You can refer to
http://livedocs.adobe.com/flex/3/html/help.html?content=SQL_05.html
Abhinav -
Failed to connect to database instance: ORA-02002: error writing to audit_t
I have a 4 node cluster and getting this alert very ferquently...
checking audit_trail gives this error
SQL> select count(*) from dba_audit_trail
2 ;
select count(*) from dba_audit_trail
ERROR at line 1:
ORA-01115: IO error reading block from file 1 (block # 108673)
ORA-01110: data file 1: '+DG_PROD/ngprod/datafile/system.258.665846277'
ORA-15081: failed to submit an I/O operation to a disk
Documentation on error says.........
ORA-02002: error while writing to audit trail
Cause: The auditing facility is unable to write to the AUDIT_TRAIL table. If this error occurs, SQL statements that are currently being audited may also fail. This error will occur if the SYSTEM tablespace runs out of disk space.
Action: Add space to the SYSTEM tablespace or delete rows from the AUDIT_TRAIL table. If these operations fail or do not eliminate the problem, shut down and restart Oracle with auditing disabled. This is done by setting the initialization parameter AUDIT_TRAIL to FALSE.
How should I check the system tablespaces ...I'm getting the error....and moreover they are autoextendible....Any idea about the issueYou can check the space available in any tablespace with a query from dba_free_space;
Give serious consideration to moving AUD$ out of the system tablespace. Theoretically you can not do this prior to database 11.1.0.7 (where you can use the built-in package DBMS_AUDIT_MGMT.MOVE_DBAUDIT_TABLES). But if you open an SR at metalink they will instruct you to do it manually which keeps everything legal and supported.
http://www.morganslibrary.org/reference/dbms_audit_mgmt.html
Also look into using resumable transactions (DBMS_RESUMABLE) to keep these things from happening in the future.
http://www.morganslibrary.org/reference/dbms_resumable.html -
Dear, I want to build mobile application.
Actually, my application has 2 parts. one is webbased application.
Second part is mobile bases.
instructor will take interview of the students. he will enters marks by mobile and then by using BT, it will be sent to webbased part and saved in mysql database.Actually, the mobile part of your question is irrelevant to the central issue of building an application that will allow:
1. Collecting information from a student
2. Entering that information into a database
To do this, you would build a form page that allows you to input the desired information. When that form is submitted, validate the information and enter it into a database.
Once you have this working, format the form page so that it displays well on mobile devices.
To use this you would browse to the form page on your mobile device browser, input the information, and submit it.
Is that what you want? -
SQL Developer Blocked and is not allowed to connect to database ORA-200001
SQL Developer Blocked and is not allowed to connect to database gives ORA-200001.
i found on net that DBA can write triggers which can deny connection to database from certain appplication.
so i want a way to change application name so that when it connects to database
the V$SESSION will have different value (other than SQL Developer) in column PROGRAM and/or MODULE (which i think is used by dba to restrict the connection).
one more way is
i am using jdbc url to connect to database
in java we can change properties of connection to change the PROGRAM in V$SESSION.
but i am not java expert so dont know how and where to make the changes
either way my aim is to connect to database such that V$SESSION will have different value (other than "SQL Developer") in column PROGRAM and/or MODULEThis is not system configration or credential issue.
This is a check which is put DBA using logon trigger
to check certain user loging in using certain application.
only some users using particular username are getting this error when they try to logon using oracle sql developer
the same users when uses different username(some generic user names created to access database) to access the same database then they are able to login.
similarly if they login using SQL navigator they are able to login with both their own and the generic user name
more over of all the database instances this is only happening on some of the instances and all of them are development instances.
following will help you understand
USER | DBUSERNAME | DATABASE | APPLICATION | ACTION
X | X | DB1 | Oracle Sql Developer | Blocked
X | G(Genric) | DB1 | Oracle Sql Developer | Login Success
X | X | DB1 | Sql Navigator/SqlPLus | Login Success
X | G(Genric) | DB1 | Sql Navigator/SqlPLus | Login Success
X | X | DB2 | Oracle Sql Developer | Login Success
X | G(Genric) | DB2 | Oracle Sql Developer | Login Success
X | X | DB2 | Sql Navigator/SqlPLus | Login Success
X | G(Genric) | DB2 | Sql Navigator/SqlPLus | Login Success
I just want to bypass this check which i think uses V$SESSION and columns PROGRAM and/or MODULE to check the application used by particular user.
if i can override these values some where in oracle sql developer before loging in the DB then i can clearly pass this check and login to database.
Edited by: user13430736 on Jun 21, 2011 4:05 AM
Edited by: user13430736 on Jun 21, 2011 4:12 AM -
Ora-12154 when trying to connect to database from fortran application
I am trying to connect to database and run an simple select query to a table(without any where clause) using pro*fortran code.
the connect strng is like
exec sql connect :uidpwd
where uidpwd = username/password@SID
SID and tnsnames connect string are the same.
The fortran (profortran) code is placed in the database server and there are no errors when make is run.
Tnsping is working fine, also i am able to conect using sql*plus and run the same query.
Please help
Thanks and Regards
NitinHi Nitin
Thanks for the helpful! With your point I'm now Pro! Great thanks.
By the way have your seen that?
Files such as LISTENER.ORA, TNSNAMES.ORA, SQLNET.ORA, if configured manually, or copied and edited from earlier releases of Oracle Database may have record attributes that are incompatible with Oracle Database 10g release 2. The software cannot read such files. The required record format is stream_lf and the record attributes are carriage_control and carriage_return.
This may result in:
Inability to start the listener
Services not registered with the listener
Inability to connect to other databases
ORA-12154: TNS:could not resolve service name
Run the following command on each file affected:
$ DIR/FULL filename
An output similar to the following may be displayed:
Record format: Variable length, maximum 255 bytes
Record attributes: Carriage return carriage control
If the output includes the preceding entries, then run the following command:
$ CONVERT/FDL=SYS$INPUT filename filename
RECORD
CARRIAGE_CONTROL CARRIAGE_RETURN
FORMAT STREAM_LF
^Z
Otherwise herewith an interesting metalink note. Doc ID: Note:437597.1
Subject: Ora-12154 When Executing Pro*Fortran Code Compiled With Oracle 10g.
Hope this will also help you...
Cheers
Hubert -
Not able to connect to database: ORA-28001: the password has expired
I started getting the 'password has expired' error in my SOA server log today (six months after installing my SOA Suite 11.1.1.4 development environment). I found a tip in an old forum thread:
Failed to connect to database instance: ORA-28001: the password has expired
and changed the password expiration time as suggested, and bounced my SOA server hoping for the best. But I'm still getting the password has expired error. Is there a way to clear that out so that I don't have to go back and figure out which user(s) are being affected and what their passwords should be reset back to so that my SOA environment will work again? Thanks!Hi,
Better to check the password_life_time unlimited for all your schemas, suppose your prefix is DEV you may have:
DEV_MDS
DEV_ORABAM
DEV_ORASDPM
DEV_SOAINFRA
Cheers,
Vlad -
Connect Oracle Database with help of sql server storedprocedure
Hii,
Is there Any way to connect Oracle Database Using sql server storedprocedure.I want access oracle database and take some data and insert into my sql server database.so is there any way to connect in one
stored procedure to connect oracle database and take some data and insert in to my sql server database.
Nikunj NandaniyaHello,
I am getting below error when i kust Clic k on Test Connection in SSMS:
TITLE: Microsoft SQL Server Management Studio
The test connection to the linked server failed.
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
BUTTONS:
OK
Can you please guide is there any other setting i need to do after install Oracle Client ?
Best Regards,
Tushar Malvi -
HI Experts,
Today i got this alert from oem grid during RMAN bakcup of the PROD database.when i try to connect the database i am able to get into to the DB successfully with out any issues.
But i am not sure why this error has come and resone behind that.Please advise.
From: Oracle OEM [mailto:[email protected]]
Sent: Tuesday, February 22, 2011 11:21 PM
To: DBA_GROUP
Subject: EM Alert: Critical:PROD.test.edu.au - Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
Target Name=PROD.test.edu.au
Target type=Database Instance
Host=delhi.win.test.edu.au
Occurred At=Feb 22, 2011 11:20:33 PM EST
Message=Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
Severity=Critical
Acknowledged=No
Notification Rule Name=Database Availability and Critical States
Notification Rule Owner=SYSMAN
when i check the alertlog file i could see the following
Tue Feb 22 23:01:36 2011
Starting control autobackup
Control autobackup written to DISK device
handle '/oracledb/rman_backup/PROD/control_c-197342269-20110222-01'
Tue Feb 22 23:22:42 2011
Errors in file /oracle/admin/PROD/udump/hubprd_ora_27069.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-01438: value larger than specified precision allowed for this column
ORA-06512: at line 2
PLease let me know the cause of the issues and solution to overcome this issues.
Regards,
SalaiIt would appear that your archive location is full. If it is full, then try to get some more free space there by either deleting the old archives or specifying a different location.
I don't see any mention of a flash recovery area in the log message, but you may also want to confirm that you have reached your space allocated to the FRA. -
Error loggin into Database and while patching
Hii
Im getting error while trying to connect to Database and while patching.
My Database 11.1.0.7 and application im upgrading frm 11.5.10.2 to 12.1.1 on windows 32 server
Following is the error im getting from alertlog file
Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_ora_1404.trc (incident=4956):
*ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_4956\uat_ora_1404_i4956.trc
Mon Feb 27 18:10:30 2012
Starting background process SMCO
Mon Feb 27 18:10:30 2012
SMCO started with pid=19, OS id=2424
Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_ora_1404.trc:
*ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
Completed: ALTER DATABASE OPEN
Mon Feb 27 18:10:31 2012
*Trace dumping is performing id=[cdmp_20120227181031]*
Mon Feb 27 18:10:33 2012
Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_q002_1896.trc (incident=5020):
*ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_5020\uat_q002_1896_i5020.trc
Mon Feb 27 18:10:34 2012
Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_m002_3868.trc (incident=4996):
*ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_4996\uat_m002_3868_i4996.trc
*Trace dumping is performing id=[cdmp_20120227181034]*
Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_m002_3868.trc (incident=4997):
*ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_4997\uat_m002_3868_i4997.trc
*Trace dumping is performing id=[cdmp_20120227181035]*
Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_m002_3868.trc:
*ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
*Trace dumping is performing id=[cdmp_20120227181036]*
Mon Feb 27 18:11:00 2012
Mon Feb 27 18:11:00 2012
Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_ora_3760.trc (incident=4998):
*ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*
Incident details in: e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\incident\incdir_4998\uat_ora_3760_i4998.trc
Mon Feb 27 18:11:01 2012
*Trace dumping is performing id=[cdmp_20120227181101]*
Mon Feb 27 18:11:13 2012
Sweep Incident[5020]: completed
Sweep Incident[4998]: completed
Sweep Incident[4997]: completed
Sweep Incident[4996]: completed
Sweep Incident[4956]: completed
Mon Feb 27 18:30:19 2012
Incremental checkpoint up to RBA [0x1c64.1a77.0], current log tail at RBA [0x1c64.1d76.0]
Can anyone proivde me a solution for this ASAP, as im not able to apply the patch and not able to upgrade
Waiting for your replies soon
Thanks in advance.Errors in file e:\oracle\db\tech_st\11.1.0\admin\uat_af-upg-erp\diag\rdbms\uat\uat\trace\uat_ora_1404.trc (incident=4956):
*ORA-00600: internal error code, arguments: [qcisSetPlsqlCtx:tzi init], [], [], [], [], [], [], [], [], [], [], []*Please see (ORA-600 [qcisSetPlsqlCtx:tzi init] [ID 1267717.1]). If the doc does not help, please log a SR and upload all the log/trace files to Oracle Support.
Thanks,
Hussein -
Unable to connect to databases via SQLPlus or SQLDeveloper
Hi,
Current Setup: Linux Enterprise 5.8 64 bit/ Oracle 11g/ SQL Developer 3.1
I recently created a new Linux VM from scratch and installed Oracle 11g on it. Was able to successfully create databases via DBCA, how ever am not able to connect to these databases.
You'll find this very interesting. I recently discovered different scenarios, where it works and does not works.
Below scenarios are executed in sequence. After Scenario C, I can successfully create connections via SQLPlus and SQLDeveloper
Scenario A :
STEP 1) Start Linux Box
STEP 2) Try to extablish connection via SQLPlus and SQLDeveloper
SQLPlus Error: ERROR: ORA-12541: TNS:no listener
SQLDeveloper Error: Network Adaptor could not establish the resource
Scenario B :
STEP 1)Run: lsnrctl start
==========
OUTPUT START
==========
[admin@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 10-AUG-2012 23:53:53
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /home/admin/app/admin/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - ProductionSystem parameter file is /home/admin/app/admin/product/11.2.0/dbhome_1/network/admin/listener.oraLog messages written to /home/admin/app/admin/diag/tnslsnr/localhost/listener/alert/log.xmlListening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))Listening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))STATUS of the LISTENER------------------------
Alias LISTENERVersion TNSLSNR for Linux: Version 11.2.0.1.0 - ProductionStart Date 10-AUG-2012 23:53:56Uptime 0 days 0 hr. 0 min. 2 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFListener Parameter File /home/admin/app/admin/product/11.2.0/dbhome_1/network/admin/listener.oraListener
Log File /home/admin/app/admin/diag/tnslsnr/localhost/listener/alert/log.xmlListening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))The listener supports no servicesThe command completed successfully[admin@localhost ~]$
=========
OUTPUT END
=========
STEP 2) Try to extablish connection via SQLPlus and SQLDeveloper
SQLPlus Error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
SQLDeveloper Error: TNS: listner does not currently know of SID given in connect descriptor
Scenario C :
STEP 1) Open DBCA > Configure all database one by one database > Go to till STEP 3 of DBCA configuration wizard
STEP 2) Close DBCA
STEP 3)Run: lsnrctl status
==========
OUTPUT START
==========
[admin@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-AUG-2012 12:04:11
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 11-AUG-2012 11:48:51
Uptime 0 days 0 hr. 15 min. 19 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/admin/app/admin/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /home/admin/app/admin/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "agent" has 1 instance(s).
Instance "agent", status READY, has 1 handler(s) for this service...
Service "agentXDB" has 1 instance(s).
Instance "agent", status READY, has 1 handler(s) for this service...
Service "orcl.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.localdomain" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "productionXDB" has 1 instance(s).
Instance "production", status READY, has 1 handler(s) for this service...
Service "production_core" has 1 instance(s).
Instance "production", status READY, has 1 handler(s) for this service...
Service "publishing" has 1 instance(s).
Instance "publishing", status READY, has 1 handler(s) for this service...
Service "publishingXDB" has 1 instance(s).
Instance "publishing", status READY, has 1 handler(s) for this service...
Service "switchinga" has 1 instance(s).
Instance "switchinga", status READY, has 1 handler(s) for this service...
Service "switchingaXDB" has 1 instance(s).
Instance "switchinga", status READY, has 1 handler(s) for this service...
Service "switchingb" has 1 instance(s).
Instance "switchingb", status READY, has 1 handler(s) for this service...
Service "switchingbXDB" has 1 instance(s).
Instance "switchingb", status READY, has 1 handler(s) for this service...
The command completed successfully
[admin@localhost ~]$
==========
OUTPUT END
==========
What can I do to connect to databases and not start dbca and configure each database on system start?
Any help would be highly appreciated.
Cheers,
Sandeep
Edited by: Sandeep.R on Aug 11, 2012 12:06 PMYou need a service to auto start/stop instances. Pls See
Re: Oracle instance is going to idle when i restart/start the machineRgds,
Ahmer
Maybe you are looking for
-
Can someone help us get the COMMENTS ATTACHMENT TOOL to work as described in Acrobat Pro XI?
Our company is trying to switch from paper based reviews to the electronic shared reviews, and Adobe XI was selected. (Window 8, Acrobat XI) However, we are having a great deal of difficulty. Our problem is that we would like to be able to attach sm
-
Some of the messages aren't dequeued using JMS/AQ
Hi. I am having strange problems dequeuing messages from an Oracle9i Release 2 database. I have a trigger that sends a message everytime a table is updated. When I have SQL worksheet and update the table through a SQL statement then I only recieve ab
-
Error getting extraction in RSA3 0EMPLOYEE_ATTR Datasource
When I try to get an extraction in Transation RSA3 for the Datasource 0EMPLOYEE_ATTR I am getting this error message "Feature ANSAL has not been activated yet". Feature ANSAL has not been activated yet Message no. P0604 Diagnosis The feature must be
-
Best way to create a new property
Scenario: I have 4 applications and each of them need a Consolidatio property. A Consolidation property has been created in DRM with Add, Sub,Mult, Div etc. as list values. Now I want to create 4 new properties for Apps A, B, C and D. I want to creat
-
I want to block all traffic except those rules listed in /etc/hosts.allow. And I don't want nfs clients from anywhere to connect to my server. But for some reason both of my configuration files are totally ignored by arch: /etc/hosts.allow /etc/host