Could not able to connect to Oracle
HelloI use as Oracle 9i database.
I am not able to connect to the database please help.
When I tried with system and administrator he displayed: name of user and password invalid. connection refused
When I tried with scott/tiger: It displays account is locked.
Please help how I can fix.
Open a command window
CUT the lines below
set
sqlplus
/ as sysdba
Select * from version $ v
Commands to PASTE it into the command window
CUT orders & results & PASTE it here
Tags: Database
Similar Questions
-
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
-
Not able to connect to oracle after installation
Hi all
I made an installation of oracle-xe - 11.2.0 - 1.0.x86_64 and after installation, I added the paths listed below.
Now when I try to log into oracle it gives me the error below.
Paths wrong or there is something else I need to do?
[root@beta beta] # export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe/
[root@beta beta] # export PATH=/u01/app/oracle/product/11.2.0/xe/bin:$PATH
[root@beta beta] # export ORACLE_SID = orcl
[root@beta beta] # sqlplus
SQL * more: Production of the version 11.2.0.2.0 Thu Jan 24 14:20:32 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter the user name: System
Enter the password:
+ ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 error: 2: no such file or directory
Process ID: 0
Session IDs: serial number 0: 0 +.
=========================================
Always gives error so try to connect in this way:
[root@beta beta] # sqlplus / as sysdba
SQL * more: Production of the version 11.2.0.2.0 Thu Jan 24 14:23 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter the user name:
Thanks for the help in advance.[root@beta beta] # sqlplus / as sysdba
You are running Oracle stuff as root: not to do it, use the oracle user instead, for example:
# su - oracle $ source /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh $ sqlplus / as sysdba
-
Not able to connect to oracle 9.2 to the sys user assistance
Hi all
I use oracle 9.2 on RHEL4. DB is in open mode when I try ot through the sys user connection, is asked to start the instance. But it is already in the opening mode...
Alert log file...-bash-3.00$ sqlplus /nolog SQL*Plus: Release 9.2.0.4.0 - Production on Mon Jul 27 10:16:43 2009 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> conn sys/password as sysdba Connected to an idle instance. SQL>
Processes that are already runningSuccessfully onlined Undo Tablespace 1. Sat Jul 25 16:30:44 2009 SMON: enabling tx recovery Sat Jul 25 16:30:44 2009 Database Characterset is WE8ISO8859P1 replication_dependency_tracking turned off (no async multimaster replication fou nd) Completed: ALTER DATABASE OPEN Sun Jul 26 20:49:46 2009 Thread 1 advanced to log sequence 11 Current log# 2 seq# 11 mem# 0: /u01/app/oracle/oradata/ic/redo02.log "alert_ic.log" 305L, 12951C 305,3 Bot
Please suggest me how to overcome this problem...-bash-3.00$ ps -ef|grep ora oracle 5939 1 0 Jul24 ? 00:00:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session oracle 6120 1 0 Jul24 ? 00:00:00 /u01/app/oracle/product/9.2.0/bi n/tnslsnr LISTENER -inherit oracle 7188 1 0 Jul24 ? 00:00:00 /usr/libexec/gconfd-2 32 oracle 8134 1 0 Jul25 ? 00:00:00 /usr/bin/gnome-keyring-daemon oracle 26315 1 0 Jul25 ? 00:00:00 ora_pmon_ic oracle 26317 1 0 Jul25 ? 00:00:00 ora_dbw0_ic oracle 26319 1 0 Jul25 ? 00:00:00 ora_lgwr_ic oracle 26321 1 0 Jul25 ? 00:00:04 ora_ckpt_ic oracle 26323 1 0 Jul25 ? 00:00:01 ora_smon_ic oracle 26325 1 0 Jul25 ? 00:00:00 ora_reco_ic oracle 26327 1 0 Jul25 ? 00:00:00 ora_cjq0_ic oracle 26329 1 0 Jul25 ? 00:00:24 ora_qmn0_ic oracle 26331 1 0 Jul25 ? 00:00:00 ora_s000_ic oracle 26333 1 0 Jul25 ? 00:00:00 ora_d000_ic root 27663 27662 0 10:01 ? 00:00:00 login -- oracle oracle 27664 27663 0 10:01 pts/1 00:00:00 -bash oracle 27710 27664 0 10:19 pts/1 00:00:00 ps -ef oracle 27711 27664 0 10:19 pts/1 00:00:00 grep ora -bash-3.00$
You might enter into a different SID.
Please
export ORACLE_SID =
Then try to connect
-
Hello
I am not able to connect to the Oracle SQL developer database. I said / 0 error: the network adapter could not establish the connection.
I started the listener, but what I see is, it points to a different IP address instead of the IP address of the host. How to change the name of host or IP address.
I see that it points to the host name in listener.ora.
Attached the screenshot
Can someone help me solve this problem?
Thanks in advance
What he says is the listener.ora file is not necessary to start the listener. If you rename, then start the receiver, then start the db, after a minute or two, the db should automatically register with the listener and then you can make a tnsping or otherwise connect to the database through the listener.
I'm not entirely sure what's going on with your image, but I can't help but wonder if somehow something is not what you expect with the investigation period, whenever it starts.
So use lsnrctl status lsnrctl services to see what the listener is the situation and tnsping and ping from the client to see what he thinks.
-
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 -
Original title: PROBLEM WITH WINDOWS STORE
Hi, I'm a first year student at IIT MADRAS. I just got a new laptop (W8, 4 GB RAM, 320 to drive HARD, I3). I had problems to open the store. He said: "we were not able to connect to the store.this could not have come because of problem with the server or the network connection timed out." My connection to the local network requires the proxy settings. PLEASE HELP ME.
Hello
Yes, the speed and connectivity of the internet must be consistent for the applications to work properly.
I suggest you create a new user account and checkif the problem persists.
Create a new user account.
Setting up a new user account is a very easy process in Windows 8. There are two types of user accounts, a Microsoft user account and a Local user account. See this link for more information on the two types of user accounts and how to create them.
http://Windows.Microsoft.com/en-us/Windows-8/create-user-account
Try to connect with the user account that is having right of the administrator and check if the problem persists.
I hope this helps. If you have any other questions, please get back to us and we would be happy to help you.
-
Application is not able to connect using the Oracle SCAN chain
Dear Oracle gurus
We have 11g r2 11.2.0.3.0 2 cluster nodes
We have configured the scanning using scan-vip single using/etc/hosts file resolution
Our app to work correctly using the string of double local Vip (10g method)
Scan works very well in the database server when we check using sqlplus
Works very well in the database server Oracle SCAN
Sqlplus DB - 1 test bench / testbed@my-db-scan:1521 / orcl
When we use it below URL JDBC in Tomcat Version-6 then "doesn't allow not to connect even if there will connect a while but connectivity isn't stable when we reboot the tomcat"
Hibernate.Connection.URL=jdbc:Oracle:Thin:@My-DB-Scan:1521/ORCL
Application is not able to connect using the Oracle SCAN chain
[May 13, 2013 12:48:24] [INFO] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: init() Called.
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: adding the data manager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 1: com.cmp.mysm.hibernate.core.system.staff.HStaffDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 2: com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 3: com.cmp.mysm.hibernate.core.system.profilemanagement.HProfileDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 4: com.cmp.mysm.hibernate.core.system.accessgroup.HAccessGroupDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 5: com.cmp.mysm.hibernate.systemaudit.HSystemAuditDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 6: com.cmp.mysm.hibernate.datasource.database.HDatabaseDSDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 7: com.cmp.mysm.hibernate.datasource.ldap.HLDAPDatasourceDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 8: com.cmp.mysm.hibernate.sessionmanager.HSessionManagerDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 9: com.cmp.mysm.hibernate.sessionmanager.HASMDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 10: com.cmp.mysm.hibernate.digestconf.HDigestConfDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 11: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 12: com.cmp.mysm.hibernate.externalsystem.HExternalSystemInterfaceDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 13: com.cmp.mysm.hibernate.servermgr.drivers.HDriverDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 14: com.cmp.mysm.hibernate.servermgr.drivers.subscriberprofile.database.HDatabaseSubscriberProfileDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 15: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 16: com.cmp.mysm.hibernate.servicepolicy.auth.HAuthServicePoilcyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 17: com.cmp.mysm.hibernate.servicepolicy.acct.HAcctServicePoilcyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 18: com.cmp.mysm.hibernate.servicepolicy.dynauth.HDynAuthServicePoilcyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 19: com.cmp.mysm.hibernate.servermgr.server.HServerDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 20: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 21: com.cmp.mysm.hibernate.servermgr.plugin.HPluginDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 22: com.cmp.mysm.hibernate.rm.ippool.HIPPoolDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 23: com.cmp.mysm.hibernate.servermgr.eap.HEAPConfigDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 24: com.cmp.mysm.hibernate.servermgr.alert.HAlertListenerDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 25: com.cmp.mysm.hibernate.servermgr.gracepolicy.HGracePolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 26: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 27: com.cmp.mysm.hibernate.radius.dictionary.HDictionaryDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 28: com.cmp.mysm.hibernate.radius.policies.accesspolicy.HAccessPolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 29: com.cmp.mysm.hibernate.radius.policies.radiuspolicy.HRadiusPolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 30: com.cmp.mysm.hibernate.radius.radtest.HRadiusTestDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 31: com.cmp.mysm.hibernate.radius.bwlist.HBWListBLManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 32: com.cmp.mysm.hibernate.rm.concurrentloginpolicy.HConcurrentLoginPolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 33: com.cmp.mysm.hibernate.wsconfig.HWebServiceConfigDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 34: com.cmp.mysm.hibernate.diameter.dictionary.HDictionaryDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 35: com.cmp.mysm.hibernate.servicepolicy.diameter.naspolicy.HDiameterNASPolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 36: com.cmp.mysm.hibernate.servicepolicy.diameter.creditcontrolpolicy.HCreditControlPolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 37: com.cmp.mysm.hibernate.servicepolicy.diameter.eappolicy.HEAPPolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 38: com.cmp.mysm.hibernate.servermgr.drivers.HDiameterDriverDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 39: com.cmp.mysm.hibernate.servermgr.transmapconf.HTranslationMappingConfDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 40: com.cmp.mysm.hibernate.diameter.diameterpolicy.HDiameterPolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 41: com.cmp.mysm.hibernate.servicepolicy.rm.cgpolicy.HCGPolicyDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 42: com.cmp.mysm.hibernate.reports.userstat.HUserStatisticsDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 43: com.cmp.mysm.hibernate.diameter.routingconf.HDiameterRoutingConfDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 44: com.cmp.mysm.hibernate.diameter.diameterpeerprofile.HDiameterPeerProfileDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 45: com.cmp.mysm.hibernate.diameter.diameterpeer.HDiameterPeerDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 46: com.cmp.mysm.hibernate.core.base.HGenericDataManager
[May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
[May 13, 2013 12:48:24] [INFO] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: Data Manager was initialized successfully.
[May 13, 2013 12:48:29] [ERROR] [0.0.0.0] - unknown [CONFIG MANAGER]: error during the Configuration Manager operation, reason: failed to open the connection
[May 13, 2013 12:48:29] [TRACE] [0.0.0.0] - unknown [CONFIG MANAGER] com.cmp.mysm.datamanager.DataManagerException: failed to open the connection
at com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager.getList (HSystemParameterDataManager.java:45)
at com.cmp.mysm.blmanager.core.system.systemparameter.SystemParameterBLManager.getList (SystemParameterBLManager.java:71)
at com.cmp.mysm.web.core.system.cache.ConfigManager.init (ConfigManager.java:47)
at com.cmp.mysm.web.core.system.servlet.myServlet.init (myServlet.java:27)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:414)
Caused by: org.hibernate.exception.GenericJDBCException: failed to open the connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1596)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
at org.hibernate.loader.Loader.doList(Loader.java:2294)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)
at org.hibernate.loader.Loader.list(Loader.java:2167)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1706)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
at com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager.getList (HSystemParameterDataManager.java:43)
... 21 more
Caused by: java.sql.SQLException: an attempt by a client to fund a connection has expired.
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:527)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
... more than 33
Caused by: com.mchange.v2.resourcepool.TimeoutException: a client has expired while waiting to acquire a resource of com.mchange.v2.resourcepool.BasicResourcePool@47503458--timeout to awaitAvailable()
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1317)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
... 36 more
May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDescriptor
NEWS: Deployment descriptor configuration host - manager .xml
May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDescriptor
NEWS: Deployment configuration descriptor manager.xml
May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
NEWS: Deployment of the directory docs web application
May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Examples of Directory deployment web application
May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploy the web application ROOT directory
May 13, 2013 org.apache.coyote.http11.Http11Protocol start 12:48:29 AM
INFO: From Coyote HTTP/1.1 on http-8080
May 13, 2013 12:48:30 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 13, 2013 12:48:30 hours departure from org.apache.jk.server.JkMain
INFO: Jk running ID = time 0 = 0/15 config = null
May 13, 2013 12:48:30 hours departure from org.apache.catalina.startup.Catalina
INFO: Starting the server in 16222 ms
Some time Tomcat to connect to the database*.
[May 13, 2013 10:02:29] [INFO] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: init() Called.
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: adding the data manager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 1: com.cmp.mysm.hibernate.core.system.staff.HStaffDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 2: com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 3: com.cmp.mysm.hibernate.core.system.profilemanagement.HProfileDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 4: com.cmp.mysm.hibernate.core.system.accessgroup.HAccessGroupDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 5: com.cmp.mysm.hibernate.systemaudit.HSystemAuditDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 6: com.cmp.mysm.hibernate.datasource.database.HDatabaseDSDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 7: com.cmp.mysm.hibernate.datasource.ldap.HLDAPDatasourceDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 8: com.cmp.mysm.hibernate.sessionmanager.HSessionManagerDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 9: com.cmp.mysm.hibernate.sessionmanager.HASMDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 10: com.cmp.mysm.hibernate.digestconf.HDigestConfDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 11: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 12: com.cmp.mysm.hibernate.externalsystem.HExternalSystemInterfaceDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 13: com.cmp.mysm.hibernate.servermgr.drivers.HDriverDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 14: com.cmp.mysm.hibernate.servermgr.drivers.subscriberprofile.database.HDatabaseSubscriberProfileDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 15: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 16: com.cmp.mysm.hibernate.servicepolicy.auth.HAuthServicePoilcyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 17: com.cmp.mysm.hibernate.servicepolicy.acct.HAcctServicePoilcyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 18: com.cmp.mysm.hibernate.servicepolicy.dynauth.HDynAuthServicePoilcyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 19: com.cmp.mysm.hibernate.servermgr.server.HServerDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 20: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 21: com.cmp.mysm.hibernate.servermgr.plugin.HPluginDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 22: com.cmp.mysm.hibernate.rm.ippool.HIPPoolDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 23: com.cmp.mysm.hibernate.servermgr.eap.HEAPConfigDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 24: com.cmp.mysm.hibernate.servermgr.alert.HAlertListenerDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 25: com.cmp.mysm.hibernate.servermgr.gracepolicy.HGracePolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 26: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 27: com.cmp.mysm.hibernate.radius.dictionary.HDictionaryDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 28: com.cmp.mysm.hibernate.radius.policies.accesspolicy.HAccessPolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 29: com.cmp.mysm.hibernate.radius.policies.radiuspolicy.HRadiusPolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 30: com.cmp.mysm.hibernate.radius.radtest.HRadiusTestDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 31: com.cmp.mysm.hibernate.radius.bwlist.HBWListBLManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 32: com.cmp.mysm.hibernate.rm.concurrentloginpolicy.HConcurrentLoginPolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 33: com.cmp.mysm.hibernate.wsconfig.HWebServiceConfigDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 34: com.cmp.mysm.hibernate.diameter.dictionary.HDictionaryDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 35: com.cmp.mysm.hibernate.servicepolicy.diameter.naspolicy.HDiameterNASPolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 36: com.cmp.mysm.hibernate.servicepolicy.diameter.creditcontrolpolicy.HCreditControlPolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 37: com.cmp.mysm.hibernate.servicepolicy.diameter.eappolicy.HEAPPolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 38: com.cmp.mysm.hibernate.servermgr.drivers.HDiameterDriverDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 39: com.cmp.mysm.hibernate.servermgr.transmapconf.HTranslationMappingConfDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 40: com.cmp.mysm.hibernate.diameter.diameterpolicy.HDiameterPolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 41: com.cmp.mysm.hibernate.servicepolicy.rm.cgpolicy.HCGPolicyDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 42: com.cmp.mysm.hibernate.reports.userstat.HUserStatisticsDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 43: com.cmp.mysm.hibernate.diameter.routingconf.HDiameterRoutingConfDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 44: com.cmp.mysm.hibernate.diameter.diameterpeerprofile.HDiameterPeerProfileDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 45: com.cmp.mysm.hibernate.diameter.diameterpeer.HDiameterPeerDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 46: com.cmp.mysm.hibernate.core.base.HGenericDataManager
[May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
[May 13, 2013 10:02:29] [INFO] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: Data Manager was initialized successfully.
In data manager: 1
In data manager: 2
In data manager: 19
In data manager: 20
In data manager: 21
In data manager: 22
In data manager: 23
In data manager: 24
In data manager: 3
In data manager: 4
May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDescriptor
NEWS: Deployment configuration descriptor manager.xml
May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDescriptor
NEWS: Deployment descriptor configuration host - manager .xml
May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
NEWS: Deployment of the directory docs web application
May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploy the web application ROOT directory
May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Examples of Directory deployment web application
10:02:30 org.apache.coyote.http11.Http11Protocol start may 13, 2013
INFO: From Coyote HTTP/1.1 on http-8080
May 13, 2013 10:02:30 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Org.apache.jk.server.JkMain 10:02:30 starting May 13, 2013
INFO: Jk running ID = time 0 = 0/14 config = null
Org.apache.catalina.startup.Catalina 10:02:30 starting May 13, 2013
INFO: 6176 SP server startup
But even once, when we try to stop and start then same problem occurred that we are not able to connect to the database
Thanks in advanaceWe had solved the problem of our self
to disable the setting of listener_networkWe also increase the connection timeout on the demand side
-
sqlplus ORA-12154: TNS: could not resolve the connect identifier specified
Hello
I am not able to connect to the database using sqlplus, using following command:
sqlplus activites@OCA010
I get the error message "ORA-12154: TNS: could not resolve the connect identifier specified.
I tried to connect by providing the full as connection string: "" sqlplus activities / [email protected]:1521 / compix "and he succeeded."
I also tried to connect using sql developer by providing network TNS alias 'OCA010' it is also successful.
Someone could please help out here and let me know how can I connect using sqlplus using aliases TNS network.
content of the tnsnames.ora file is as follows
tnsnames.ora # Network Configuration file: D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
COMPIX =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = compix)
)
)
BC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BC)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
OCA01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OCA01)
)
)
OCA010 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.10.3)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = compix)
)
)
Thanks in advance.
2931143 wrote:
Hi EdStevens,
I used option TNS with Alias network as 'OCA010' in Sql Developer.
I checked in tnsping and tnsnames.ora directory is correct.
Please find below the exit of tnsping:
C:\Users\LUCKY>tnsping OCA010
AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on October 29, 2015 21:07:38
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
D:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
AMT-03505: failed to resolve the name
Have you worked from the link I provided? (I don't think you have time to do).
It is possible that your tnsnames.ora is corrupted by some weird characters printable somewhere. In some versions of the oracle, he might be sensitive to spaces vs. tabs. If in doubt, netca to add entries, rather than doing it by hand.
-
Question HFR - not able to connect in Studio of HFR
Hello
I am not able to connect in version Studio HFR 11.1.2.3. Please find the below error message.
Loggging EN Client. log file says:
[2015 08-21 T 03: 57:10.222 - 04:00] [EPMFR] [ERROR] [] [oracle. EPMFR.core] [tid: main] [ecid: 0] [SRC_CLASS: com.hyperion.reporting.registry.FRSystem] [SRC_METHOD: getObjectFromURL] []
java.net.ConnectException: connection refused: connect[2015 08-21 T 03: 57:10.253 - 04:00] [EPMFR] [ERROR] [] [oracle. EPMFR.core] [tid: main] [ecid: 0] [SRC_CLASS: com.hyperion.reporting.registry.FRSystem] [SRC_METHOD: lookupHsServer]
[[
com.hyperion.reporting.util.HyperionReportException: could not connect to the server.Make sure that the server runs as specified in the logon dialog box (including the port number if it is default).
[2015 08-21 T 03: 57:10.269 - 04:00] [EPMFR] [ERROR] [] [oracle. EPMFR.core] [tid: main] [ecid: 0] [SRC_CLASS: com.hyperion.reporting.javacom.HsServer] [SRC_METHOD: getServer][[
java.lang.NullPointerException
at com.hyperion.reporting.javacom.HsServer.getServer(HsServer.java:65)
at com.hyperion.reporting.javacom.HsHelper.getServer(HsHelper.java:73)]]
When I checked the services, I found that "'Hyperion Reporting and analysis framework Agent" has declined and tried to start. " But this service does not start.
---------------------------
Services
---------------------------
Windows could not start the service Oracle Hyperion declaration and framework on the Local computer.Error 1067: The process ended unexpectedly.
-----------------------------
Please could you help me solve this problem.
Thank you
Michel K
Hi Christophe
I recently met this error GSM. You re - set or an old schema allows to configure the statement and analytical framework?
I've reconfigured RAF to solve this problem.
Thank you
AA
-
The network adapter could not establish the connection using the external ip address
Hi team,
Please look in the attached files.
I installed db 11g on my desktop machine (Windows 7, with a local network) and then I created a data source connection in tomcat which was also in the same system and then I deployed my sample web application, everything works fine, I am able to access web applications.
But once that I kept my system with external IP address (excluding local network of my company), oracle gives these following errors when tomcat start
Here is the following URL will display the error during the startup of tomcat.
The network adapter could not establish the connection,
In these two files, listener and tnsnames ora ora, need to change the configurations if I change the Ip address of the system?
even I tried my address keeping external Ip instead if host in these two configuration files, yet this does not work.
any help would be greatly appreciated!
Thank you.
Because as I explained - your listener is listening on localhost only. localhost is never accessible to another machine.
Stop your listener, change the listener.ora to listen to on the real machine name and start the receiver.
In addition, your tnsnames.ora points to localhost...
Stop using localhost, unless you only want things to work on the same machine.
-
Not able to connect from SQLPLUS
Hi all
I am able to connect to sqlplus.exe is db_home server but when try to connect since sqlplus.exe located in client_home, get the following error
ORA-12560: TNS:protocol adapter error
I tried 'C:\app\client_home\sqlplus.exe system/system@orcl' get following error
ORA-12154: TNS: could not resolve the connect identifier specified.
tnsping results:
------------------------
AMT Ping Utility for 64-bit Windows: Version 12.1.0.1.0 - Production on April 21, 2015 19:32:01
Copyright (c) 1997, 2013, Oracle. All rights reserved.
Use settings files:
C:\app\Administrator\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl140848)))
OK (10 ms).
Can anyone help on this.
Kind regards
Amar.
I tried 'C:\app\client_home\sqlplus.exe system/system@orcl' get following error
ORA-12154: TNS: could not resolve the connect identifier specified.
Use settings files:
C:\app\Administrator\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
You use SQL * more a directory ORACLE_HOME (C:\app\client_home) and tnsping off another house (C:\app\Administrator\product\12.1.0\dbhome_1). The SQL * Plus home isn't the file tnsnames.ora with the alias "orcl" but made the other House. Copy the file tnsnames.ora to another entry.
HTH,
Brian -
IO error: the network adapter could not establish the connection
I'm configuration 11.1.2.3 on Windows 2008 using the Oracle database and when I try to configure connection services database and shared registry associated with the House I get the error "IO error +: the network adapter could not establish the connection +" all by filling in the details of the database. Windows Firewall is disabled, database is able to connect through SQL Plus am running, listening for the database service is running and the name of SID and the server have been provided properly. I even used localhost, apart from the name of the server providing the servename and ORCL is the SID. Any suggestions please?Usually, if I install on a Virtuelle/portable Windows machine that does not have a fixed IP or a dns entry I install a card closure before installing Oracle and have never had problems, it is established in http://docs.oracle.com/cd/E11882_01/install.112/e24186/reqs.htm#BABFHCJG
See you soon
John
http://John-Goodwin.blogspot.com/ -
Not able to connect to 11 g db installed in Windows 7 PC frm another PC in LAN
Hi guys,.
I installed db 11g on Windows 7 pc (say pc1) and tries to access another pc (windows XP Professional, suppose p2).
When I tried to access using sql developer and give details below I get error "registered: failed - Test has failed: the network adapter could not establish the connection.
When I tried to use
Telnet < ip of pc1 > 1521
Looks like the port is not open. Then I followed below. Telnet statement shows
"Connecting To < pc1 ip >...". Could not open connection to the host, port 1521:
Connection failed ".
http://mjawaid.WordPress.com/2012/03/01/allowing-Oracle-ports-in-Windows-Firewall/
Any suggestion would be appreciated.
Thank you
Mahi.965342 wrote:
Are you able to connect locally, so you totally exclude the firewallC:\>telnet localhost 1521
Also, make sure that your headset is in place
Listener has nothing to do with the reported error. The telnet test shows a basic network problem. The same application never go to the computer that is running the listener, audit to that effect the listener is a waste of time and adds the "signal / noise ' thread.
status of c:\>lsnrctl
Make sure it is up and listening on 1521
-
not able to connect database to another user of the operating system using the remote?
Hello
I want to connect database to another user of the operating system. I am able to connect Oracle database to the outside. but not able to connect different OS user.
As an ORACLE user:
[oracle@test1 admin] $ sqlplus /.
SQL * more: Production of the 11.2.0.2.0 version on Mon Jan 16 19:41:57 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL >
User not ORACLE:
[sample@test1 ~] $ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/
[sample@test1 ~] $ export ORACLE_SID = rman
[sample@test1 ~] $ export PATH = $ORACLE_HOME/bin: $PATH
[sample@test1 ~] $ sqlplus /.
SQL * more: Production of the 11.2.0.2.0 version on Mon Jan 16 19:37:42 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux error: 2: no such file or directory
Process ID: 0
Session IDs: serial number 0: 0
Enter the user name:
Thank youMake sure ORACLE_HOME is exactly the same between 2 environments: note that an end "/" is not necessary and that ending ' / ' could trigger ORA-01034.
Maybe you are looking for
-
Since apple stopped supporting the iPod classic is there 3rd program/app used with inexpensive mp player who would recommend? I'm afraid to invest in the music from iTunes more because of the difficulty of using freely once it was purchased.
-
I think this may have infected my browser when I was looking for a substitute for a PDF program offered by Adobe. I got a free program called PDF Creator. This I think is the culprit, but I don't know about you. Please, I don't know that he is respon
-
my macbook pro 2015 lacks an ethernet port. How can I connect using ehternet?
My macbook pro doesn't have an ethernet port. How can I connect my wifi is spotty, but the wire is good? Thank you!
-
Detonators, encoding, Hebrew, etc.
Hello. my version: v01.01.15h I downloaded the Hebrew support and it works, but not perfectly, which is songs appear, while the others a little 'lost' their information ['unknown' > 'unknown'.] I guessed that this is a problem of encoding, so I read
-
High CPU in Windows 7 between 80 to 100% usage
* Original title: help! High utilization of the processor and corrupted files I have a Windows 7 computer. I had a very high cpu usage these days. When I run nothing it is between 80 and 100%. I tried to run spybot and malware bytes on normal and cle