Connect to oracle db using nodejs as sysdba
I'm working on nodejs oracledb. I don't want to connect to oracle db client oracledb nodejs asSYSDBA. Please suggest
Here is the excerpt that is trying
oracleSYS3.getConnection({ user :"sys", password :"*******", connectString :"connectionString"},function(){})
But I get an error:
ORA-28009: connection as SYS must be SYSDBA or SYSOPER
Privileged connections are not yet supported.
To help us plan, what type of operation you are trying to do and why you?
Tags: Database
Similar Questions
-
Hello
It would be helpful to me if someone can give me instructions on setting the version of driver or oracle client required to connect to the the Oracle DB using excel VBA
My config: -.
Windows - 8-64 bit
Excel 2013-32 bit
The components of the client / I should install, and how to solve the question below...
I tried the VBA code... but you are prompted with the error message above
Void Oracle()
Con Dim As ADODB. Connection
Dim rs As ADODB. Recordset
Dim query As String
The con value = New ADODB. Connection
Set rs = New ADODB. Recordset
strCon = "Driver = {Microsoft ODBC for Oracle}"; "." & _
"CONNECTSTRING = (DESCRIPTION ="& _.
"(ADDRESS =(PROTOCOL=TCP)"& _
"(HOST = HostNumber)(PORT=PortNumber))" & _
"(CONNECT_DATA = (SID = SIDNumber))); UID = username; pwd = password; »
con. Open (strcon)
If err. <>Number 0 then
MsgBox ("Oracle error:" & vbCrLf & err.) Description)
On the other
MsgBox ("Oracle DB Connection successful.")
End If
End Sub
I'll replace it with the values of host origin...
Thanks for the suggestion you till u gave...
complete solution is in the link below...
https://itkbs.WordPress.com/2014/07/28/how-to-install-ODBC-driver-for-Oracle-in-Windows-7/
-
Unable to connect to Oracle with sqlplus /nolog as sysdba
Oracle has turned on the box [Red Hat Enterprise Linux ES release 4 (Nahant Update 6)] taking up all the CPU.
When I try and connect with sqlplus /nolog as sysdba nothing happens, no output.
All ideas, apart reboot the box please?
We tried to kill all Oracle processes too & restart the listener, but what gives the same...
Log the following...
version 10.2.0.1.0 =
Oh, its happened before, the last time, we couldn't get by is rebooted then the box - it was fine then.
$. oraenv
ORACLE_SID = [oralt]?
dbhome
ORACLE_HOME = /u01/oracle/oracle/product/10.2.0/db_1
ORACLE_SID = oralt
RH4 - ora - t3:oracle:oralt/opt/oracle$ sqlplus/nolog
(Nothing)
VI /u01/oracle/oracle/product/10.2.0/db_1/admin/oralt/bdump/alert_oralt.log
Mon. Nov 22 02:01:57 2010
Notification of memory: Cache object library loaded in SGA
5118K heap size exceed the threshold of notification (2048K)
Details in the path of the /u01/oracle/oracle/product/10.2.0/db_1/admin/oralt/udump/oralt_ora_12801.trc file
Name of the KGL object: SELECT / * + rule * / SYS_XMLGEN (VALUE(KU$), XMLFORMAT.createFormat2 ('TABLE_T', ' 7')), KU$. SYS OBJ_NUM. KU KU _FHTABLE_VIEW $ WHERE NOT (BITAND (KU$.)) (PROPERTY, 8192) = 8192) AND NOT BITAND (KU$.) SCHEMA_OBJ. FLAGS, 128)! = 0 AND KU$. $ SCHEMA_OBJ.NAME =: NAME1 AND KU. SCHEMA_OBJ. OWNER_NAME =: SCHEMA2
Mon Nov 22 11:13:21 2010
Thread 1 Advanced for you connect to sequence 3280
Currently Journal # 3 seq # 3280 mem # 0: /u02/oradata/oralt/redo03_1.rdo
Currently Journal # 3 seq # 3280 mem # 1: /u03/oradata/oralt/redo03_2.log
(end)
RH4 - ora - t3:oracle:oralt/opt/oracle$ top
Top - 10:27:16 up to 199 days, 19:32, 2 users, load average: 24.82, 24.67, 24,19
Activities: 146 total, 30 running, 116 sleeping, 0 stopped, 0 zombie
CPU: 38.0% us, sy 62.0% 0.0% ni, id 0.0% 0.0% wa, 0.0% Hi, 0.0% if
MEM: 3115248 k total, 2736140 k used, 379108 k free, k buffers 247956
Swap: 6289436 k total, 80168 k used, 6209268 k free, 2229880 k cached
THE NEST PR NOR % CPU TIME + % MEM VIRT RES SHR S COMMAND USE
2173 25 0 17 263:51.52 2.5 oracle 607 m 74 m 70 m R oracle
2211 25 0 17 260:43.53 620 oracle 0.7 m 21 m 10 m R oracle
2154 25 0 17 262:21.71 605 oracle 0.5 m 14 m 13 m R oracle
2159 25 0 17 262:38.20 604 oracle 0.8 m 24 m 23 m R oracle
2161 25 0 17 263:05.82 3.1 oracle 607 m 93 m 90 m R oracle
2163 25 0 17 261:55.21 620 oracle 0.7 m 19 m 18 m R oracle
2165 25 0 17 261:13.85 606 oracle 0.8 m 24 m 22 m R oracle
2169 25 0 17 261:47.42 605 oracle 0.8 m 22 m 21 m R oracle
2171 25 0 17 263:20.01 1.8 oracle 606 m 55 m 52 m R oracle
2175 25 0 17 263:03.81 604 oracle 0.7 m 22 m 21 m R oracle
2177 25 0 17 262:15.91 605 oracle 0.4 m 10 m 9500 R oracle
2209 25 0 17 261:55.91 620 oracle 0.7 m 22 m 10 m R oracle
2745 25 0 17 257:08.69 604 oracle 0.5 m 15 m 14 m R oracle
6885 25 0 17 89:05.80 0.1 19652 4564 3228 R exp oracle
10344 25 0 17 1:26.30 0.2 91856 6584 5720 R oracle oracle
17568 25 0 17 263:29.11 605 oracle 0.7 m 21 m 19 m R oracle
22383 25 0 17 0.1 19576 4600 3280 R sqlplus oracle 111:38.92
22:56.01 27963 25 0 17 0.2 91856 6584 5720 R oracle oracle
8185 25 0 16 169:09.85 0.2 29816 6004 3300 R rman oracle
13633 25 0 16 261:50.72 605 oracle 0.5 m 14 m 13 m R oracle
12518 25 0 16 260:35.53 605 oracle 0.5 m 14 m 13 m R oracle
2156 oracle 15 0 25 262:28.54 604 0.4 m 11 m 9.9 m R oracle
2167 oracle 15 0 25 261:06.86 3.2 606 m 98 m 95 m R oracle
2669 oracle 15 0 25 261:46.97 604 0.6 m 18 m 16 m R oracle
0:00.09 root 15816 17 0 1 0.0 5680 1332 1052 R hpetfe
0:00.12 root 15663 16 0 1 0.1 7968 2348 1852 R sshd
0:00.19 root 15767 16 0 1 0.0 2156 1056 780 high R
0:00.15 high 15768 16 0 1 0.0 1948 1048 784 R oracle
1 root 16 0 0:58.86 0 0.0 2468 548 468 init S
2 root RT 0 0 3:44.17 0 0.0 0 0 S migration/0
3 34 19 0:12.75 root 0 0.0 0 0 S 0 ksoftirqd/0
4 root RT 0 0 4:24.86 0 0.0 0 0 S migration/1
5 34 19 0:11.23 roots 0 0.0 0 0 0 S ksoftirqd/1
6 root RT 0 0 4:28.40 0 0.0 0 0 S migration/2
7 34 19 0:12.55 roots 0 0.0 0 0 0 S ksoftirqd/2
8 root RT 0 0 3:59.44 0 0.0 0 0 S migration/3
9 root of 34 19 0:13.29 0 0.0 0 0 0 S ksoftirqd/3
10 root-5 10 0 0:00.84 0 0.0 0 0 events/0 S
11 root-5 10 0 0:00.43 0 0.0 0 0 events/1 S
12 root-5 10 0 0:01.82 0 0.0 0 0 events/2 S
13 root-5 10 0 0:00.80 0 0.0 0 0 events/3 S
14 root 6-10 3:08.62 0 0.0 0 0 0 S khelper
15 root-5 10 0 0:00.00 0 0.0 0 S 0 kblockd/0
backkup #killed jobs...
RH4 - ora - t3:oracle:oralt/opt/oracle$ kill 6885
RH4 - ora - t3:oracle:oralt/opt/oracle$ kill 8185
RH4 - ora - t3:oracle:oralt/opt/oracle$ kill 22383
RH4 - ora - t3:oracle:oralt/opt/oracle$ lsnrctl
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on November 23, 2010 10:37:39
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, enter 'help' for more information.
LSNRCTL > status
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start date August 6, 2010 14:57:55
Uptime 108 days 20 h 39 min 46 s
Draw level off
Security ON: OS Local Authentication
SNMP ON
Parameter Listener of the /u01/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora file
The listener log file /U01/Oracle/Oracle/product/10.2.0/Db_1/network/log/listener.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.1.209.208) (PORT = 1521)))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Service 'oralt' has 1 instance (s).
'Oralt' instance, State LOAN, has 1 operation for this service...
Service 'oraltXDB' has 1 instance (s).
'Oralt' instance, State LOAN, has 1 operation for this service...
Service 'oralt_XPT' has 1 instance (s).
'Oralt' instance, State LOAN, has 1 operation for this service...
The command completed successfully
LSNRCTL > stop
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
beginning
(Nothing)
RH4 - ora - t3:oracle:oralt/opt/oracle$ running time
10:38:35 up to 199 days, 19:43, 2 users, load average: 23.13, 23.30, 23.62
(a lot of play with earphone - but it does not start and it won't let me connect to sqlplus /nolog)
Killed all the processors of Oracle, still unable to connect to sqlplus
Tasks: running, 97 98 1 total sleeping, 0 stopped, 0 zombie
CPU: 0.7% us, sy 0.2% 0.0% or 99.1% id, 0.0% wa, 0.0% Hi, 0.0% if
MEM: 3115248 k total, 2679604 k used, 435644 k free, 248572 k buffers
Swap: 6289436 k total, 80168 k used, 6209268 k free, 2271904 k cached
THE NEST PR NOR % CPU TIME + % MEM VIRT RES SHR S COMMAND USE
1 root 16 0 0:58.87 0 0.0 2468 548 468 init S
2 root RT 0 0 3:44.19 0 0.0 0 0 S migration/0
3 34 19 0:12.75 root 0 0.0 0 0 S 0 ksoftirqd/0
4 root RT 0 0 4:24.88 0 0.0 0 0 S migration/1
5 34 19 0:11.23 roots 0 0.0 0 0 0 S ksoftirqd/1
6 root RT 0 0 4:28.42 0 0.0 0 0 S migration/2
7 34 19 0:12.55 roots 0 0.0 0 0 0 S ksoftirqd/2
8 root RT 0 0 3:59.45 0 0.0 0 0 S migration/3
9 root of 34 19 0:13.29 0 0.0 0 0 0 S ksoftirqd/3
10 root-5 10 0 0:00.84 0 0.0 0 0 events/0 S
11 root-5 10 0 0:00.43 0 0.0 0 0 events/1 S
12 root-5 10 0 0:01.82 0 0.0 0 0 events/2 S
13 root-5 10 0 0:00.80 0 0.0 0 0 events/3 S
14 root 6-10 3:08.63 0 0.0 0 0 0 S khelper
15 root-5 10 0 0:00.00 0 0.0 0 S 0 kblockd/0
root-5 16 10 0 0:00.00 0 0.0 0 0 S kblockd/1
17 root-5 10 0 0:00.01 0 0.0 0 0 S kblockd/2
18 root-5 10 0 0:00.00 0 0.0 0 0 S kblockd/3
19 root 15 0 0 0:00.00 0 0.0 0 0 S khubd
the square root of 69 15 0 0 3:20.26 0 0.0 0 0 S pdflush
root 70 16 0 0 2:25.34 0 0.0 0 0 S pdflush
root of 71 16 0 0 53:43.69 0 0.0 0 0 S kswapd0
root of 72-6 10 0 0:00.00 0 0.0 0 0 aio/0 S
root 73 6 - 10 0:00.00 0 0.0 0 0 0 S aio/1
root 74 6 - 10 0:00.00 0 0.0 0 0 0 aio/2 S
75 root 6-10 0:00.00 0 0.0 0 0 0 aio/3 S
219 root 25 0 0 0:00.00 0 0.0 0 0 S kseriod
462 root 25 0 0 0:00.00 0 0.0 0 0 S scsi_eh_0
463 root 15 0 0 0:00.00 0 0.0 0 0 S ahc_dv_0
465 root 19 0 0 0:00.00 0 0.0 0 0 S scsi_eh_1
466 root 15 0 0 0:00.00 0 0.0 0 0 S ahc_dv_1
502 root 15 0 0 5:02.83 0 0.0 0 0 S kjournald
1064 root 6-10 0:00.00 0 0.0 0 0 0 S kauditd
1683 root 6-10 0:00.05 0 0,0 3336 448 368 S udevd
1795 root 25 0 0 0:00.00 0 0.0 0 0 S phpd_event
root of 1957 15 0 0 0:00.01 0 0.0 0 0 S kjournald
root of 1958 15 0 0 0:00.01 0 0.0 0 0 S kjournald
root of 1959 15 0 0 0:01.44 0 0.0 0 0 S kjournald
1960 root 15 0 0 0:12.13 0 0.0 0 0 S kjournald
1961 root 15 0 0 0:04.08 0 0.0 0 0 S kjournald
1962 root 15 0 0 0:03.89 0 0.0 0 0 S kjournald
the square root of 15 1963 0 0 0:04.93 0 0.0 0 0 S kjournald
root 1964 15 0 0 39:23.43 0 0.0 0 0 S kjournald
Edited by: sunpat November 23, 2010 11:52http://www.lmgtfy.com/?q=Oracle+Linux+uptime+bug
-
How to connect to Oracle XE have SysDBA using VS 2008?
Hello, I tried to connect to Oracle XE using VS 2008 by using the version of two drivers:
(1) version (installed with Oracle XE) 10.2.0.100
(2) version 2.5.7 (installed with odp.net [http://www.oracle.com/technology/tech/windows/odpnet/index.html])
using both, I have the same exception...
Oracle.DataAccess.Client.OracleException provider is not compatible with the version of the Oracle client
What's wrong???
TKS for your help.
Praxedes of Dante
E-mail: [[email protected]]
Published by: dantePrax on 06/29/2009 11:25If you are using VS 2008, I advise to use the last available ODP.NET, 11.1.0.6.20. There was a difficulty added to the 10.2.0.4 release and above that best ensures you won't see the error "provider is not compatible with the version of the Oracle Client." Using one of these newer versions will probably solve this specific problem.
I don't know what version 2.5.7 designates.
-
Format of the connection string to connect to Oracle DB via LDAP
Hello
I have an Oracle database and its details are configured in LDAP. I have the c# code that I want to connect to Oracle DB using LDAP details. So I wrote the code to connect to the Oracle DB, but not able to connect. Implementation error at the con. Open() statement: "ORA-12154: TNS: could not resolve the connect identifier specified.
Code:
--------
String s = "Data Source = @ldap://abc.pq.xyz.com: 11389/myldap, cn = OracleContext, dc = pq, dc = xyz, dc = com; User Id = MyDB; Password = MyPass";
Con OracleConnection = new OracleConnection (constr.);
con. Open();
I need help in the formation of the connection string.user8786648 wrote:
HelloI have an Oracle database and its details are configured in LDAP. I have the c# code that I want to connect to Oracle DB using LDAP details. So I wrote the code to connect to the Oracle DB, but not able to connect. Implementation error at the con. Open() statement: "ORA-12154: TNS: could not resolve the connect identifier specified.
Code:
--------
String s = "Data Source = @ldap://xyz.us.oracle.com: 11389/xyz_ldap, cn = OracleContext, dc =, dc = oracle, dc = com; User Id = xyz; Password = xyz";Con OracleConnection = new OracleConnection (constr.);
con. Open();I need help in the formation of the connection string.
This isn't how you use LDAP for Oracle name resolution.
You must configure the LDAP protocol. ORA and SQLNET. ORA files properly.
For example, you can review the LDAP protocol. Documentation of ORA here:
http://docs.Oracle.com/CD/E11882_01/network.112/e10835/LDAP.htm#i500397
And the SQLNET. Documentation of ORA here:
http://docs.Oracle.com/CD/E11882_01/network.112/e10835/SQLNET.htm#i500318
A quick search on the terms "example of oracle ldap.ora", shot to the top of several examples.
Also, if these are real values that you posted in your example of a connection string, you can change.
-
Connect to oracle 10g db using shell linux files
Hello
I need to connect to oracle 10g db using shell linux files. Already I have username, password, hoststring and details is SCOTT/TIGER@TESTDB.
I need to pass the values of this 3 (SCOTT/TIGER@TESTDB) at runtime only (i.e.) as PARAMETERS. Suppose that I'll give the wrong password or username, I need to capture this error in 1file and send the error details to our dba teams mail identification. Identification of email as [email protected] if its success, I have need to write the 'success' message in 1 file and no need to send a mail to the group.
Can U please help to solve this problem.
Thanks and greetings
Sivaraman.double post: Re: connect oracle using shell with the error log
Please do not cross post.
-
not able to connect to the database using the oracle instant client
Hello
I am not able to connect to the database using the instant oracle from my local PC client. They use to connect to the database files and sqlnet.ora files LDAP.ora. If I want to test the connection, I found this executable tns wasn't there, so not able to tnsping. So I'm not able to solve this problem.
Please let me know if a solution for everything
Client Oracle: oracle 10.2bFAT client 32-bit
Platform: windows 7 64-bit
Thank you
VeeraThere is little that tnsping can do sqlplus can't.
Instead of
tnsping mydb.myorg.com
Try
sqlplus-s-L /@mydb.myorg.com
or
sqlplus-s-L user/[email protected]If you get
ORA-12154: TNS: could not resolve the connect identifier specified
you know that the customer could not resolve 'mydb.myorg.com '.If you get
ORA-12541: TNS:no listener
then "mydb.myorg.com" could be resolved, but there is no listener it running.If you get
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
then "mydb.myorg.com" could be solved, the listener is in place, and the database is out of service.If you get
ORA-01017: name of user and password invalid. connection refused
you know that 'mydb.myorg.com' has been successfully resolved, and the database is running.If you want more details, such as how and what "mydb.myorg.com" is resolved, turn the tracking by adding the following to "sqlnet.ora:
TRACE_LEVEL_CLIENT = ADMIN
TRACE_DIRECTORY_CLIENT = C:\TEMP (a writable directory)Then you will find lines like this in the trace file:
-THE INFORMATION SOURCE PARAMETER FOLLOWS-
Attempt to load system pfile source C:\oracle\network\admin\sqlnet.ora
Source of the setting successfully loadedAttempt to load the local pfile source C:\Dokumente und Einstellungen\lanadvall\sqlnet.ora
The parameter source has not been loaded.This shows you which configuration files are read, followed by the settings real read.
nnfgrne: will read if path adapters
nnfgrne: switching adapter LDAPHe's now looking for LDAP name resolution.
nnfloidinfocache: Info: insert the value DIRECTORY_SERVSSL = oid.host.myorg.com:389 at index 0 in NLPA_CACHE
These are LDAP servers, he is trying.
nnflilc: conn sync opening of oid.host.myorg.com:389
nnflfdn: turning simplified mydb.myorg.com name to a unique name.
nnflfdn: using the administrative context: dc = prod
nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = comnnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)nnfgrne: query fails, the leap to the next map
Did not work. Try the other adapters:
nnfgrne: switching adapter EZCONNECT
snlinGetAddrInfo: name resolution failed for test64.test
No luck.
If the resolution is approved, it will look like this:
nnfloidinfocache: Info: insert the value DIRECTORY_SERVERS = oid.host.myorg.com:389 at index 0 in NLPA_CACHE
nnflilc: conn sync opening of oid.host.myorg.com:389
nnflfdn: turning simplified mydb.myorg.com name to a unique name.
nnflfdn: using the administrative context: dc = prod
nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = comnnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)niotns: the call to address: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserver.host.myorg.com) (PORT = 1521)) (CONNECT_DATA = (SID = DBNAME) (CID = (PROGRAM = C:\Oracle\ora1020\bin\sqlplus.exe)(HOST=pc247596)(USER=lanadvall)))
Yours,
Laurenz Albe -
How to connect to Oracle Enterprise Manager 10 g Database Control have SYSDBA?
Hello
I installed Oracle 10.2.0 (Enterprise Edition) on my laptop at home. And with SQL * Plus, I login as sys and created a user Charles (with the password pwd), and I granted the DBA role to this user. SQL * more messages saying that the user has been created and the role (the DBA role has been granted). When I log on to Oracle Enterprise Manager 10g Database Control as a user Charles (with the password pwd that I gave to the creation of the user) as usual (in the 'Connect as' drop-down), I check that the Charles user has DBA profile. My problem is that when I try to connect to Oracle Enterprise Manager 10g Database Control as a user Charles (with the pwd password that I gave to the creation of the user) and as SYSBA+, one error message is displayed: your user name and/or password is not valid.
Please, how do I connect to to Oracle Enterprise Manager 10 g Database Control as a user Charles (with the password pwd that I gave to the creation of the user), but as SYSDBA?
Thanks in advance for your answers.user639304 wrote:
HelloI installed Oracle 10.2.0 (Enterprise Edition) on my laptop at home. And with SQL * Plus, I login as sys and created a user Charles (with the password pwd), and I granted the DBA role to this user. SQL * more messages saying that the user has been created and the role (the DBA role has been granted). When I log on to Oracle Enterprise Manager 10g Database Control as a user Charles (with the password pwd that I gave to the creation of the user) as usual (in the 'Connect as' drop-down), I check that the Charles user has DBA profile. My problem is that when I try to connect to Oracle Enterprise Manager 10g Database Control as a user Charles (with the pwd password that I gave to the creation of the user) and as SYSBA+, one error message is displayed: your user name and/or password is not valid.
Please, how do I connect to to Oracle Enterprise Manager 10 g Database Control as a user Charles (with the password pwd that I gave to the creation of the user), but as SYSDBA?Thanks in advance for your answers.
CHARLES GRANT SYSDBA;
-
User who do I use to connect to Oracle Portal?
Hi all.
I'm new in the portal and like to connect to Oracle Portal. Is my Application Server 10 g (10.1.2).
I am trying to connect using my address http://caribe:7778 / pls/Portal/Portal. On this page, I'm supposed to connect to the database. User who should I use?
I see there are several pre created accounts linked to the Portal:
USERNAME ACCOUNT_STATUS
------------------------------ ------------------------------
GATE OPEN
OPEN PORTAL_DEMO
OPEN PORTAL_PUBLIC
OPEN PORTAL_APP
DCM OPEN
Which user do I use? I have lessons available portals to the obe.
Thanks in advance...!In Oracle Portal, users are not users of the database. They are called light users and are defined in the server of unique access code.
You can use the Portal accounts or sleep to connect. Note that this portal is not the same as the portal user database. The password for the portal and sleep is the same as your ias_admin password.
You can create new accounts in the application oiddas: http://
: /oiddas. Replace and with the name of the server and port of your infrastructure. -
Oracle connection to MPE/IX using MINISOFT
Hi all
Hope someone can help with this hereditary problem.
Old system: 32-bit Windows server 2003.
Old DB: 10.2.0.2
Current system: Windows Server 2008 R2 64-bit.
EDIT: current DB: 10.2.0.5
Needed to connect to Oracle 11 g / Windows Server 2008 R2 64-bit download HP3000 MPE/IX before data from the old system is stopped for good. Server Admin claimed it has installed MINISOFT 32-bit drivers and have created the system DSN.
I believe that the old system connects via ODBC heterogeneous, because I found http://www.easysoft.com/applications/oracle/hsodbc.html and one of the steps shown the configuration in iniths*.ora. The old system has not been configured.
Anyone who is familiar with these connections? I tried to follow http://www.easysoft.com/applications/oracle/hsodbc.html but fall into problems of connections.
(1) more, I do not understand how it relates to MINISOFT - there is a whole folder of connections and schema files, specifying the table structures in XML file extensions. I can't find anything to www.minisoft.com
(2) I get errors ORA-28545: error diagnosed by Net8 when connecting to an agent cannot retrieve the text of the NETWORK/NCR 65535 ORA-02063: preceding 2 lines of on the connection of database in EM test.
Published by: apex_disco on October 31, 2011 07:03Hello
Yes, the ODBC driver must also be 64-bit to work with the 64-bit DG4ODBC.Kind regards
Mike -
not able to connect to oracle directly
operating system: AIX ch5dlfp089 1 6 000B4A22D900
Oracle: 11.2.0.1.0
Question: created db oracle using dbca (gui). DB created successfully
When I checked recently using putty to check the health of the db. I am able to see smon and orcl works well using
PS - eaf | grep orcl.
How ever when I try to connect to the db using sqlplus invites. It's showing an idle instance.
$ sqlplus "/ as sysdba".
SQL * more: Production version 11.2.0.1.0 on Mon Oct 18 00:52:08 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connect to an instance is idle.
SQL > exit
oratab input shows ok
ORCL:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1:
CHECK THE BASE APPROX. values of variables
$ echo $ORACLE_SID
ORCL
$ echo $ORACLE_HOME
/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/
Profile shows as follows
$ cat .profile
PATH = / usr/bin: / etc: / usr/sbin: / usr/ucb: $HOME/bin: / usr/bin / X 11: / sbin:
export PATH
So [s "$MAIL"] # this is at the start of the shell. Under normal conditions
then echo operation # of '$MAILMSG', the Shell controls
fi # periodically.
ORACLE_SID = orcl
export ORACLE_SID
ORACLE_HOME=/home/Oracle/app/Oracle/product/11.2.0/dbhome_1/
Export ORACLE_HOME
LIBPATH = $ORACLE_HOME/lib: $LIBPATH
Export LIBPATH
PATH = $ORACLE_HOME/bin: $PATH
export PATH
However, I am able to connect to the db using tns
$ sqlplus 'sys/Oracle123@orcl as sysdba'
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > EXIT
Question: what could be the reason why I'm not able to connect db directly? without tns?
Any error that could have happened, or a any restriction could be fixed for this access?Hello
In your profile changes
ORACLE_HOME=/home/Oracle/app/Oracle/product/11.2.0/dbhome_1
remove the / end and try to
Anand
-
Cannot connect to Oracle Enterprise Manager Express
I downloaded image database Oracle Developer days 12 c virtualbox. I can start and access the desktop. When I try to log in to Enterprise Manager (EM) Express by using the URL http://127.0.0.1:8888 / em , ask me to install Adobe Flash. I set up and access the login screen.
I checked that I can connect with the SYSTEM and the SYS user in SQLPLUS.
When I try to log on as user SYS in EM Express I get a strange error: security token does not match. You have to login again...
The same happends if I login as user SYSTEM.
To me, it looks like for SYS credentials are OK, but there is something wrong with the user in the database. Is that correct and if so, how can I solve this? Or EM Express is simply no installation on the image?
Not able to connect to the database using Oracle EM Express database using firefox. "The security token does not match. You need to sign in again. "(Doc ID 1968763.1)
-
Java class to connect to Oracle Database Express Edition11g and URL
Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?
I'm just starting to learn Java and with it, learn how to use the Oracle Database Express Edition11g and with it the Oracle SQL Developer...
At this point, I have the Express Edition is installed and the SQL Developer installed and were able to establish a connection and to run a query and get a result.
I use Eclipse for JAVA. I have a work of class that performs a query on a database/table in MySQL.
So now I'm eager to make the same use as the database Oracle Database Express Edition11g engine.
And this means that two different versions of JAVA that I need to get the right to be able to do.
The first is the value of the url variable.
I now like
String url = "jdbc:oracle:thin:@localhost";
then
Class.forName ("oracle.jdbc.OracleDriver");
and then
Connection connection = DriverManager.getConnection (url);
The thing I'm puzzled on is in the URL where I 'localhost' was supposed to be the term generic and not so much as the text, you should use.
I see in Web sites like 3 connection to Oracle Database XE
and decrease example 3-2 by specifying the URL of database using the XE Client Setup
There I see
JDBC:driver_type: [username/password] @[//]host_name[: port] [XE]]
And just what is and what is not is explained here. So what I ended up with was
String url = "jdbc:oracle:thin:@localhost";
So if it was just a text to rest for a name I wonder just such a value or name might really where.
I noticed that view that an app called "Oracle JDeveloper" has been used to create the values. I don't have such a thing, or at least I don't think I do.
Do I need?
I have Oracle SQL DEVELOPER, where I used the following to connect to the database of the XE.
My choice for Oracle's SQL Developer Help
Name of connection: Connection1
User name: Rod
Password: myOracle11
Host name: localhost
Port: 1521, which is the default value
SID: xe
Above so I have to host name set to localhost
Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?
1. I do nothing
2. While wouldn't you say it
3. no results from the earlier assignment.
I asked "'can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?" "
I showed the choice that I used in SQL Developer to connect to the schema. And I was wondering, now that I had done this case those are the values that I could use in the Java class that I wrote. The web site in the first post of this thread showed connection but he was using JDeveloper and SQL Developer.
So I was wondering if the connection that I made using SQL Developer would do the same trick, and if I could use the values I did there.
I'm happy to announce that YES, The values used to connect using SQL Developer work exactly like JDeveloper.
So, given that in SQL Developer for Hostname I chose the value "localhost" "Rod" Username and password "myOracle11".
I did the following JAVA CLASS that worked:
package VC_2_9;
Java for COBOL - copyright 1999 Doke & Hardgrave programmer
import java.sql. *;
public class DataBaseDemoOracle
{
Public Shared Sub main (string args [])
{
String CUST_LAST_NAME;
/ * String url = "jdbc:mysql://localhost/visualcafe"; */
String url = "JDBC: thin: @localhost';"
/ * String sqlQuery = "SELECT Name, SSNo, address, telephone OF THE customer; */
String sqlQuery = "SELECT CUST_LAST_NAME FROM DEMO_CUSTOMERS";
// |||||||||||||||
Try
{
Class.forName ("oracle.jdbc.OracleDriver");
Connection connection = DriverManager.getConnection (url, "Rod","myOracle11" ");
Statement statement = aConnection.createStatement ();
ResultSet rs = aStatement.executeQuery (sqlQuery);
Boolean more = rs.next ();
(more)
{
CUST_LAST_NAME = rs.getString (1);
/* */
System.out.println ("name:" + CUST_LAST_NAME);
more = rs.next ();
}
RS. Close();
aStatement.close ();
aConnection.close ();
}
catch (ClassNotFoundException e)
{System.out.println ("Exception caught" + e) ;}}
catch (SQLException e)
{If (e! = null)}
{System.out.println ("SQLException taking" + e);}
e = e.getNextException ();
} / / end of while loop
} / / end of capture
} / / main end
} / / end DataBaseDemoOracle.java
-
I was wondering how you do it using the wizard/interface to specify the configurations for a NEW connection.
It comes as I get b/c I don't know where or how put '\as sysdba' in the NEW connection, that I am creating with success. I can do very well with just to connect to the user: System, but not sysdba \as!
Login name: system_connection_as_sysdba
Username: System
Password: [password here]
Host name: Localhost
Port: 1521
SID: orcl
Developer SQL has a drop down separate called 'Role', where you can select SYSDBA instead of default.
-
DRM - external connection to Oracle DB
Hi all
Can someone please provide a sample of the connection string to an Oracle DB used in external connections?
Thank you!
Data source = DB Server Name: PORT / ServiceName
Ex: Data Source = NYCG036:1590 / NYUS
Maybe you are looking for
-
CAMILEO P30 - how to use it as a webcam?
I'm able to turn on the webcam in function, although it is announcedHow use/configure? Rgds
-
Laserjetcolor mfp177: printer Hp LaserJet color mfp177 not booting not
Color of HP LaserJet mfp177 not booting not not after power on, makes noise, then shows HP on the screen.not a new machine, it worked.
-
NAC not checking the patch window policy even if the patch is installed
I need a little help in the deployment of the NAC. I use the NAC in OOB virtual gateway mode. I am facing a problem that I wrote a check that check whether or not KB910437 is available on the machine. If it's not going to the microsoft site and down
-
Hello We currently have a VPN site-to site mode tunnel linking our business network and our site of DR to provide replication secure on our site of Dr. I have doing some changes to firewall this weekend that will set a FW IOS Zone-Based between the 2
-
How to create the constructor function for a pl/sql table?
I created a PL/SQL type as table below:create or replace type typ_tbl_des_text is table of the typ_tof_des_textOK so far, but I would like to have a constructor function which would be subject to validations and raise_application_error when a validat