Unable to insert Korean Language in Oracle 10g
Hi All,
Below are the current setup.
OS : Windows
Oracle Version : 10G
Database Character Set : AL32UTF8
NLS_LANG = KOREAN_KOREA.KO16MSWIN949
I can able to see Korean characters in MS Word & MS Excel. I copied some of the korean characters
and pasted in notepad and saved the file in UTF format. I tried to insert that data using sql loader.
After inserting the data, I could find only unknown characters with lots of ??? symbol. I have also
changed the data fonts to korean language in TOAD. But I can find only non-korean characters in
the table.
Please advise me, whether any other settings to be changed or provide step-by-step procedure to store
the korean data in database.
Regards,
Ramesh
Hi All,
Below are the current setup.
OS : Windows
Oracle Version : 10G
Database Character Set : AL32UTF8
NLS_LANG = KOREAN_KOREA.KO16MSWIN949
I can able to see Korean characters in MS Word & MS Excel. I copied some of the korean characters
and pasted in notepad and saved the file in UTF format. I tried to insert that data using sql loader.
After inserting the data, I could find only unknown characters with lots of ??? symbol. I have also
changed the data fonts to korean language in TOAD. But I can find only non-korean characters in
the table.
Please advise me, whether any other settings to be changed or provide step-by-step procedure to store
the korean data in database.
Regards,
Ramesh
Edited by: user591159 on Sep 21, 2008 2:36 AM
Similar Messages
-
Problem in storing korean Characters in Oracle 10g
Hi All,
Below are the current setup.
OS : Windows
Oracle Version : 10G
Database Character Set : AL32UTF8
NLS_LANG = KOREAN_KOREA.KO16MSWIN949 (in windows)
I can able to see Korean characters in MS Word & MS Excel. I copied some of the korean characters
and pasted in notepad and saved the file in UTF format. I tried to insert that data using sql loader.
After inserting the data, I could find only unknown characters with lots of ??? symbol. I have also
changed the data fonts to korean language in TOAD. But I can find only non-korean characters in
the table.
Please advise me, whether any other settings to be changed or provide step-by-step procedure to store
the korean data in database.
Regards,
RameshUnable to insert Korean Language in Oracle 10g
-
Unable to install apex listener in oracle 10g xe
Hi,
i have oracle 10g xe in my window xp pro and upgraded it to application express 4 i.e apex...after that i downloaded apex lisntener1.10. and read the documentations and confused about installing and configuring it. Because i think it require jdk6 ...please help me..show me the step by step process do it...thanksIt requires a separate application server that uses jdk16. Free servers/containers would include Tomcat 6 and Glassfish 3.
You can continue to use the included EPG that runs your Apex currently also, without an additional server setup.
-Richard -
Problems inserting date values in Oracle 10g
Hi All,
I'm having SERIOUS problems trying to insert a simple date value in my oracle.
I did this one million times before in xMII 11.5, but now it appears that doesn't work anymore!
Here are some info:
Data Server Config:
Date Prefix: TO_DATE('
Date_Sufix: ', 'MM/DD/YYYY HH24:MI:SS')
Internal Date Format: yyyy-MM-dd HH:mm:ss
In my Query Template:
Date and Time Format: MM/dd/yyyy HH:mm:ss
In my Transaction
Parameter: datefromxmlformat(datenow, "MM/dd/yyyy HH:mm:ss")
I also tried change the parameter to datenow, no success.
I tried to change the Query Template format, no success.
Finally, I tried to change my Date prefix & sufix, no success too.
I really don't know what else I can do. I would appreciate some help.
PS: I'm using xMII 12.0.1 with ojdbc14.jar
Thanks in advance.
Pedro SenaPedro,
The Data Server config for InternalDateFormat should be: MM/dd/yyyy HH:mm:ss
This is because it is used in conjunction with the DatePrefix and DateSuffix whenever you use the DateColumn or the [SD] and [ED] tokens in a query template.
If you are inserting a date field with an arbitrary parameter (not a date token like above) then you need to use the TO_DATE wrapper pieces around your date field string.
The DateFormat in the query template controls the format of the StartDate and EndDate buttons in the applet toolbar if using an iChart/iSPCChart/iGrid and a time sensitive query, but when you build the string for an insert parameter you must manage the whole format yourself.
If you really just want datenow and the xMII server time is sufficient for your insert query then you can leverage the Data Server config settings like: INSERT INTO TABLE VALUES([ED)
This way the default query template time settings will use 'now' for the end date of the query and when the string is sent to Oracle it will actually look like:
INSERT INTO TABLE VALUES(TO_DATE('10/19/2007 08:41:00', 'MM/DD/YYYY HH24:MI:SS'))
Regards,
Jeremy -
Test Database Connection "Unable to connect to DB" using Oracle 10g Express
DB is up and running fine pls help
Connection test failed.
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:745)
com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
...After installing the JDBC driver and selecting the test configuration i am getting the below erro:
Connection test failed.
Message icon - Error Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:745)
com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
The Steps i followed to install the JDBC Driver are mentioned below:
1. JDBC Data Source Properties:
Name: testSample
JNDI Name: abc.xyz.testSample
Database Type: Oracle
Database Driver: Oracle’s (Thin XA) for Instance
connections; Versions: ... 11
Database Name: orcl
Host Name: wls-sysadm
Port: 1521
Database User Name: weblogic
Password and Confirm Password: Welcome1
Before that i started the database from start menu
and both the services
ORACLE service XE
and ORACLELISTNERSERVICE is up and running fine.
C:\Users\satish>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-JUN-2013 10:18
:51
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 04-JUN-2013 09:35:25
Uptime 0 days 0 hr. 43 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SATISH-PC)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Can anyone pls help...urgent -
Error accessing table on Oracle 10g Express Edition
I am unable to access tables uploaded after Oracle 10G express edition installation.
The error message is ""ORA-00942: table or view does not exist"
Meanwhile, the table is in existence when viewed via object browser.
Pls can anybody help out.Hi;
Which user you try to query? Table under which schema?
You can query as follows:
SELECT
TABLE_NAME
FROM
ALL_TABLES
WHERE
TABLE_NAME LIKE '%xxx%'
ORDER
BY TABLE_NAME;
Regard
Helios -
Oracle 10g unable to insert yet prompt no error
Hi all,
I bumped into this strange case. I have my web app connect to oracle 10g. I got all driver and JDBC setup and coded correctly. Somehow, it won't insert into table when i execute insert statement. No exceptions thrown and yet no error. I'm still finding a way to overcome this strange problem. In the mean time, appreciate if anyone out there able to help me to figure out.
I suspect the driver class is causing problem. But to me, it's just a standard bunch of code:
Connection con = null;
try {
// Load the JDBC driver
String driverName = "oracle.jdbc.driver.OracleDriver";
Class.forName(driverName);
// Create a connection to the database
String serverName = "127.0.0.1";
String portNumber = "1521";
String sid = "orcl";
String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
String username = "ivan";
String password = "admin123";
con = DriverManager.getConnection(url, username, password);
} catch (ClassNotFoundException e) {
// Could not find the database driver
} catch (SQLException e) {
// Could not connect to the database
return con;
Thanks!
Ivan Brogalis1 - The code posted, creates an SQL connection and returns it. There is no insert query ! Plz post the whole code.
2 - Append this the catch block :
catch (Exception e){
e.printStackTrace();////////////////// USE THIS FOR THE OTHER CATCH BLOCKS TO HELPS U IDENTIFY THE PROBLEM
}3 - Check whether the connection created is good : make s simple select like the following : String select = "Select sysdate from dual";4 - Check whether the user(name=ivan, password=admin123) has the SELECT/UPDATE rights. -
Help Oracle 10g+PHP and Bengali language support !!!!
Hi All:
i have a emp having a column names namewhich is of nvarchar2 datatype. What I want is to insert a value from a html from which will insert Bengali language as my input to the name filed in my database and show me the same on the browser when required.
Here am attaching a sample code which am using to connect/insert and show my table. This is working perfectly fine.
Please help me as am unable to insert data in local language. Please guide me the steps how to configure the NLS_LANG and how to do it.
ht.html
=====
<form action="insert.php" method="post">
<p> Your ID : <input type="number" name="id" /></p>
<p> Your NAME: <input type="text" name="name" /></p>
<p><input type="submit" /></p>
insert.php
=======
<?php
# if ($REQUEST_METHOD=="POST")
// Before running, create the table:
// CREATE TABLE MYTABLE (mid NUMBER, myd VARCHAR2(20));
$dbuser = "bob";
$dbpass = "bob";
#$dbtsn = "orcl"
$dbconn = oci_connect($dbuser, $dbpass);
echo "The Oracle Database established";
$query = "INSERT INTO demo
(id,name)
VALUES('".$_POST['id']."','".$_POST['name']."')";
$resultSet = oci_parse($dbconn,$query);
if (oci_execute($resultSet))
echo ("<BR> Record inserted");
else
echo ("<BR> error!!!!!!");
?>
showv.php
========
<?php
$conn = oci_connect('bob', 'bob', 'orcl');
if (!$conn) {
$e = oci_error();
print htmlentities($e['message']);
exit;
$query = 'SELECT * FROM demo';
$stid = oci_parse($conn, $query);
if (!$stid) {
$e = oci_error($conn);
print htmlentities($e['message']);
exit;
$r = oci_execute($stid, OCI_DEFAULT);
if (!$r) {
$e = oci_error($stid);
echo htmlentities($e['message']);
exit;
print '<table border="2">';
while ($row = oci_fetch_array($stid, OCI_RETURN_NULLS)) {
print '<tr>';
foreach ($row as $item) {
print '<td>'.($item?htmlentities($item):' ').'</td>';
print '</tr>';
print '</table>';
oci_close($conn);
?>
I am using RedHat Enterprise linux 4 update 1 and Oracle 10g.
Regards,
PradyumnaRight... I found out how you can solve this, well not through the web interface... but oh well it is possible though...
the error I was getting was: ORA-01704: string literal too long.
the keyword/phrase is "bind variables"... Did a little more searching and found this site:
http://www.akadia.com/services/ora_bind_variables.html
So basically you use bind variables to insert data which fills more than 4000 bytes...
Since the data I will be inserting will be inserted via Java/.NET application I found the section called "Bind Variables in VB, Java and other applications" the most interesting... During my testing and I had neglected to use PreparedStatements in Java, and according to the site, using PreparedStatement provided an easier solution as the API does most of the work for you. My solution was to create a small program which read the large amounts of data from a file then feed this to a PreparedStatement, setObject or setASCIIStream/setCharacterStream, then execute it.
Well I hope this helps other people who get the same error code. -
[SOLVED] FRM-40508:ORACLE error: unable to INSERT record
Hi all,
I have migrated this form from 4.5 to 10g (Version 10.1.2.0.2 ). This form inserts a record into the database table when all the fields in the form are filled and a button Save is presed.
At the time when I press the Save button, I get this error. FRM-40508:ORACLE error: unable to INSERT record
So I went on to see the "Display Error" from help and found to be the database error, inserting into a table.
The error message is ORA-00932: inconsistent datatypes: expected DATE got NUMBER
The form where I press Save button has 3 date fields and I checked the properties of them and they are Date only.
I also generated to object list report and tried to find some answer, but no use.
Please help me in debugging this form.
Edited by: Charan on Aug 18, 2011 4:05 PMI think you need to get a description of the table and compare all the "database" columns in the form with the ones in the database table to see that the types match. Somewhere there's a mismatch. Also check the block(s) "query data source columns" and see if there's any
columns in there that the type does not match the table. (check the sizes of things too while you're at it.) -
Oracle forms error frm-40508: unable to insert record
Hi Everyone,
I have been having this problem for 2 weeks and I realize that I spent alot of time I couldn't get to fix the problem so I need your help.
Here is my situation. First, I installed Oracle 10g in my laptop with Oracle forms10g and Oracle forms904i. I had oracle_home folder as the top level structure then I have inside oracle folder, Oracle10g in it own folder, Oracle9i release2 in it own folder. then I created the user account "student" using the system/manager account finally I granted privilleges as follow:
GRANT ALL PRIVILLEGES
TO student
WITH ADMIN OPTION;
this was working perfecty I didn't need to grant objects privilleges such as
GRANT INSERT, UPDATE, DELETE
ON customers
TO student;
Then I created a form Application prototype and it works well I could Insert, Update and Delete but now I am creating an e-commerce application prototype I created an new account using a system/manager account as I did previously and grant all privilleges. When I try to grant object privileges the message that I receive says ORA-01919 : role 'INSERT' doesn't exist
When I run the application I am unable to insert the record through forms I get message frm-40508 Orcle error: unable to insert record.
I deinstall the Oracle and clean my laptop and did a clean installation using only Oracle Server10g and Oracle Developer10g I am getting the same message frm-40508.
Can someone please help me on this. the insert command that I am running is a simple one such as
INSERT INTO customers
VALUES( block_name.field_name, ....);
COMMIT;frm 40735:When button pressed trigger raised unhanded exceptionplease help me to solve this>
The FRM-40735 is a generic Unhandled Exception. Please post the full error message so we can better help you.
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Language Handling in Oracle 10g Database
I want to know that how language works in oracle 10g database at micro level.Actually what happen when we insert any record into database and how database handle it.
from insertion to storage and displaying any stored record...what exaclty happens?
how oracle 10g handle it?That would be big long session.
You can start from following link,
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm -
Client unable to connect to Oracle 10g on linux
I have installed Oracle 10g on an Intel box running RedHat AS 3.0. The database installation was succesful but I am unable to connect to it from the client on my laptop running Oracle 10g client and Winfdows XP Pro. The server ip is 192.168.1.10 and I can ping it from the client:
C:\>ping attila.n3kje.net
Pinging attila.n3kje.net [192.168.1.10] with 32 bytes of data:
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Here is some info about the 2 environments:
[oracle@attila bin]$ uname -a
Linux attila.n3kje.net 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686 i386 GNU/Linux
Server hosts file
======================================================
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 attila.n3kje.net attila localhost.localdomain localhost
hostname output
======================================================
[root@attila root]# hostname
attila.n3kje.net
ifconfig output
=======================================================
[root@attila root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:9F:1D:0C:C8
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13772171 errors:0 dropped:0 overruns:0 frame:0
TX packets:13748842 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1269613311 (1210.7 Mb) TX bytes:4065314800 (3876.9 Mb)
Interrupt:16 Base address:0xecc0 Memory:fe100000-fe120000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5513840 errors:0 dropped:0 overruns:0 frame:0
TX packets:5513840 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:865454291 (825.3 Mb) TX bytes:865454291 (825.3 Mb)
Client TNSNAMES.ORA
======================================================
# tnsnames.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLE10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV10G)
PRDSRR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dev10g)
Client SQLNET.ORA
======================================================
# sqlnet.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
Server TNSNAMES.ORA
======================================================
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEV10G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV10G)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Server LISTENER.ORA
======================================================
# listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
Results from the TNSPING command issued at the client
=================================================================
C:\>tnsping prdsrr
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
004 09:26:11
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dev10g)))
TNS-12541: TNS:no listener
C:\>tnsping oracle10g
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
004 09:26:38
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVI
CE_NAME = DEV10G)))
TNS-12541: TNS:no listener
C:\>
Trying to connect to the database from the server
==================================================
[oracle@attila bin]$ echo $ORACLE_SID
DEV10G
[oracle@attila bin]$ ./sqlplus system
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:22:29 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
[oracle@attila bin]$ ./sqlplus system@dev10g
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:23:09 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
tnsping issued at the server
======================================================
[oracle@attila bin]$ tnsping dev10g
TNS Ping Utility for Linux: Version 10.1.0.2.0 - Production on 02-APR-2004 12:3
:44
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/10.1.0/db_1/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
What am I doing wrong?
Thanks
RenatoOk, I was able to succesfully connect to the database from the client. I made the following changes to the sqlnet.ora, tnsnames and listener. Here are the changes I made:
sqlnet.ora
==============================
# SQLNET.ORA Network Configuration File: /u01/app/oracle/product/9.2.0.1.0/netwo
rk/admin/sqlnet.ora
# Generated by Oracle configuration tools.
# NAMES.DIRECTORY_PATH= (EZCONNECT)
NAMES.DIRECTORY_PATH= (EXCONNECT, TNSNAMES, ONAMES, HOSTNAME)
listener.ora
==============================
# listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = DEV10G)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(SID_NAME = DEV10G)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
tnsnames.ora
===========================================
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEV10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DEV10G)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Here is the new problem!
I start the dbconsole using the folowing command:
[oracle@attila bin]$ ./emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
http://attila.n3kje.net:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ........................
... started.
Logs are generated in directory /u01/app/oracle/product/10.1.0/db_1/attila.n3kje
.net_DEV10G/sysman/log
When I try and access it from the client I get the following error message:
"The database status is currently unavailable. It is possible that the database is in mount or nomount state. Click 'Startup' to obtain the current status and open the database. If the database cannot be opened, click 'Perform Recovery' to perform an appropriate recovery operation."
What am I doing wrong this time?
Your help would be greatly appreciated
Thanks
Renato -
Unable to find Oracle 10g 32 bit software
Hi All,
I am planning to download Oracle 10g 32 bit version, but i couldn't find any where in 10g 32 bit version.
can anyone please help me to get 10g 32 bit version please.
Thanks
LavPosting duplicates is considered as abuse of the forums - Unable to find Oracle 10g 32 bit
-
Unable to install oracle 10g XE in windows 7
previously i had installed oracle 10g.but it stopped working.
so I tried to resolv it by uninstalling it.
I uninstalled it from control panel.
but now i am unable to install it again
it showing an error-
The install cannot proceed as service OracleServiceXE is present on the system.
Remove the sevice,reboot the system and retry the installation.
I have tried reboot the system so many times after uninstall also.
please give me a solution for this.938561 wrote:
previously i had installed oracle 10g.but it stopped working.
so I tried to resolv it by uninstalling it.
I uninstalled it from control panel.
but now i am unable to install it again
it showing an error-
The install cannot proceed as service OracleServiceXE is present on the system.
Remove the sevice,reboot the system and retry the installation.
I have tried reboot the system so many times after uninstall also.
please give me a solution for this.FORMAT C:\ -
Unable to access Oracle Enterprise Manager in Oracle 10g AS Machine
Hi All,
We are working on oracle forms 10g in 3 tier architecture. I have installed oracle 10g Infrastructure (OraHome_1) followed by oracle 10g Application server (middle-tier,OraHome_2). I have copied all the forms to OraHome_2\forms folder and compiled them successfully.
When i tried to access enterprise manager (Infrastructure)thru http://myappserver:18100, i was unable to do so. It displayed "page cannot be displayed".
Also
When i tried to access enterprise manager (middle-tier)thru http://172.16.1.1:18101, i was unable to do so. It displayed "page cannot be displayed".
I checked for port status, thru “netstat –na” command, It was displaying
172.16.1.1 18100 TIME_WAIT
172.16.1.1 18101 TIME_WAIT
172.16.1.1 7777 TIME_WAIT
Why is that i am unable to access the Enterprise Manager?Hi All,
I was able to resolve the issue. Thr was a proxy server enabled in the IE in AS machine. Once i checked the option for bypassing it and turned off the windows firewall(OS was win 2003 server). I was able to view the home page at http://myappserver, then was able to access EM also.
Maybe you are looking for
-
How to open all bookmarks in a folder
Hello, I've had a longstanding question regarding the behavior of bookmark folders and the Command/Ctrl"shortcut" that acts as if selecting Open All in Tabs. Why does the menu open when I Command click on a bookmark folder from the bookmarks toolbar?
-
How do you execute macros in excel using forms--urgent
i want to execute a macro which is in excel from forms. i am using the dde built in. how ever when given the command dde.execute ( conv_id,'[module1.macro1()]', 1000 ); i get an oracle error. and the macro does not get executed. how ever when the sam
-
An error occured while communicating with the web server
hi Experts Im having a problem with bpc when i try to send data in an input schedule message error prompt "an error occured while communicating with the webserver" Any body encounters this? Thanks
-
IS the issue with FaceTime going to be fixed soon?
Facetime has not worked for me since i updated my software. I have tried every troubleshooting tip i have seen. Nothing seems to be workinng. can anyone tell me what is going on and when it will be fixed.
-
No amount authorization for customers/vendors in company code 123..
hi.. frnds.. While doing MIRO, am getting this error: No amount authorization for customers/vendors in company code 123.. can any one resolve this... thanks in advance... Regards. Raghav.KH