Not able to connect remotely by using the oracle db client.

Hello

I am trying to connect to the database remotely. I installed the Oracle client on my local machine (Windows 7) and try to connect to db.

I am able to do tnsping.  Here is the log.

But when I try to connect I get ORA-12504: TNS:listener was not the SERVICE_NAME mistakenly CONNECT_DATA.

Here is the full changelog.

C:\Windows\System32 > tnsping DEVDB

AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 20-AUG-2

013 14:18:42

Copyright (c) 1997, 2010, Oracle.  All rights reserved.

Use settings files:

D:\app\swanand_kulkarni\product\11.2.0\client_1\network\admin\sqlnet.ora

EZCONNECT adapter used to resolve the alias

Try to contact (DESCRIPTION = (CONNECT_DATA = (SERVICE_NAME =)) (ADDRESS = (PROTO

(COL = TCP)(HOST=10.111.0.121) (PORT = 1521)))

OK (560 msec)


C:\Windows\System32 > sqlplus test1/***@devdb

SQL * more: Production release 11.2.0.1.0 on Tue Aug 20 14:18:47 2013

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

ERROR:

ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

Try this EZconnect channel,

sqlplus test1/***@Oracle1:1521/devdb

--

John Watson

Oracle DBA master HOMOLOGUEES

http://skillbuilders.com

Tags: Database

Similar Questions

  • Tried everything: 1 address, but not able to connect via HTTPS to the server:

    Hello

    I am trying to connect to the third of the OSB business service web service.

    objective WS is protected with SHA1 base 64 encoded password.

    I am able to connect to the service target of SOAP UI. I am also able to Telnet to my server for dev to the URL of the WS.

    But when connecting from OSB BS I'm tried them all: 1 address, but not able to connect via HTTPS to the server: error.

    Can you please help me solve the problem.

    I tried different policies, but still does not work.

    Kind regards.

    Problem solved. We need to use the proxy server.

  • 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
    Veera

    There 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 loaded

    Attempt 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 LDAP

    He'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 = com

    nnflrne1: 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 = com

    nnflrne1: 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

  • Not able to connect to Windows 7-"the remote procedure call failed."

    Hello

    Windows never lets an opportunity to prevent the user. I have problems on my lappy staff & problem appeared all of a sudden.

    When I got the system starts, it of not connection & throws the error message "the remote procedure call failed." What ever I do it is not the same error.

    I tried logging in safe mode but is not connect in SafeMode survey the same error.

    Tried to restore to the last successful boot. Same mistake.

    Really frustrating.

    Looks like only option I have is to format the lappy however I have a lot of data in C:\ which are not saved.

    Any help will be much appreciated.

    Kind regards

    Vigni

    I have a lot of data in C:\ which are not saved.

    Unfortunately, it seems that you belong to the large class of PC users who choose not to back up important data, until disaster strikes. Your data is not lost, but the recovery is much more painful than to use an external backup drive. Here are a few options:

    • If it is a desktop PC: connect the hard drive to some other desktop PC, then recover your data.
    • If it is a laptop: remove the hard drive, then put it in a box for disk 2.5 "USB. You can now connect this case for some other PC and recover your data.
    • Start the computer with a bootable Ubuntu CD and its graphic interface allows you to save your files on an external storage device.

    When you are finished, you get a HDD 2.5 "USB and use it for your regular backups (e.g. weekly). You can also store an image of your new installation, you save the trouble of the reconstruction of Windows where you have another accident.

  • Not able to connect to Internet using Pocket wifi band has.

    Original title: why windows 8 recognize im usually online using a wifi Pocket 2 connected by usb

    Why used windows 8 recognize im connected to the net using a Pocket wifi 2. plugged into usb

    Hey Damo,

    Please report the problem to Microsoft Community.

    According to the description, it looks like that you can not access Internet in Windows 8.

    However, we need some more information on this topic.

    Please help me to answer these questions.

    1. what happens when you try to access the Internet?

    2. What is the brand and model of Pocket wifi 2?

    I have this link which should guide you in the right direction.

    Visit the link and try the steps mentioned in it and check.

    Why can't I connect to the Internet?

    http://Windows.Microsoft.com/en-us/Windows-8/cant-connect-to-Internet

    Keep us updated on the status of the issue. For any help about Windows, you can still post on the Microsoft Community.

  • not able to connect to vCenter using powercli

    Connect-VIServer: Connect-VIServer demand f 07/06/2012-13:22:15
    hurt stateful HTTP 503: Service unavailable.
    On line: 1 char: 17
    + connect-viserver < < < < 29.64.5.34
    + CategoryInfo: ObjectNotFound: (:)) [connect-VIServer], ViServer)
    ConnectionException
    + FullyQualifiedErrorId: Client20_ConnectivityServiceImpl_Reconnect_Servi
    ceUnavailable, VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVIServer

    =====================

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > Get-Powe
    rCLIVersion

    PowerCLI Version
    ----------------
    VMware vSphere PowerCLI 5.0 build 435427
    ---------------
    Versions of the snap
    ---------------
    VMWare AutoDeploy PowerCLI 5.0 build 575
    VMWare ImageBuilder PowerCLI 5.0 build 575
    License of VMware PowerCLI 5.0 build 395016
    VMWare vSphere PowerCLI 5.0 build 435427

    Curious to see how a Ko on storage see tab in vCenter Server does not display anything solved your problem.

  • I am not able to connect Stor-E for the other computers on my home network

    I just bought a Stor-E but I can't connect to other computers on my home network which I think is a Netgear router which is connected to my BT home hub.

    I can access the stor-e of my laptop and pc, but cannot access the Stor-E when I go to the working groups then on my PC it calls for a Net User ID and password have tried my user id and password for my pc but this doesn t seem to work.

    Someone has an idea what I am doing wrong?

    But in general your Stor-E works correctly when you connect it directly on different computers, right?

  • Unable to connect using the Cisco VPN client

    Hi all. I recently configured a 5510 ASA to allow remote access using the Cisco VPN client. The problem is that everything works fine when I connect using a modem classic or on a computer with a public address that I use for testing purposes, but whenever I try to connect with on an ADSL line, I can't access to the resources. I have connection and after that nothing, I can not achieve anything.

    I enclose the relevant configuration information in the attachment. Any help is welcome.

    Depending on the version, add...

    ISAKMP nat-traversal

    or

    ISAKMP nat-traversal crypto

    Should be all you need.

  • Renamed user AD not able to connect

    Hi guys

    I have a problem with a user with access to vFoglight through LDAP authentication. The user was renamed to AD. (name changed)

    After the name change, the user is not able to connect.

    In the audit trail, the user is first OK authenticated, and then in the same second there is a connection FAILURE.

    I tried to remove the user from the vFoglight, wait for a while and then try to connect again.

    I checked on the AD domain controller, and the user is authenticated OK

    What is a SQL question?

    Any ideas?

    Hi, Lars

    I hope you get a solution to your problem, but someone else might have the same problem,.

    I will be the top my solution to the problem that just had.

    We are in a process to rename all connections of users I have AD...

    And once a connection of users has been renamed to AD, the user could not log on.

    With no errors in the journal errror FMS or on our advertising servers.

    New users was created in correct Foglight, but when the user tried to log on, but still had a connection error.

    I found a solution that works for us.

    I found that when I turned on debugging on FMS, I got this error message in the error log:

    Cannot insert duplicate in the "dbo.sec_user_alias" object key The duplicate key value is (Michael dry).

    We run the Foglight database on a Microsoft SQL Server, so I looked in the sec_user_alias of the table,

    and even that I had deleted the former user in Foglight, the login name and the username was still in this table:

    userAlias username isdeleted

    str_xxx Michael dry F

    So I just update the table of user with this name:

    UPDATE sec_user_alias

    SET username = 'Michael dry - old'

    WHERE useralias = "str_xxx."

    and then I could connect with the new login user name,

    but all the settings for this user and config disappeared...

    And as I have not talked with Quest/Dell about this, I don't know if this is allowed to do.

    and I don't take any responsibility that it will work in your configuration.

    Best regards.

    Michael

    Update: I found this: Knowledge Article 85132 - 'LDAP user cannot connect after LDAP name changed"- https://support.quest.com/SolutionDetail.aspx?id=SOL85132

    Post edited by: Michael dry

  • Not able to connect to P6 administrator


    Hi all

    When I try to log in to administrator P6, I get error invalid user name and password.

    I tried with all users as admuser, pubuser, privuser system.

    but I get the same error for all attempts.

    I don't know my user name and password are correct. I am able to connect to sqlplus using the same username and password.

    Even I tried to change the password.

    Help, please.

    Hello

    Connect to the P6 application with the admin user.

    Administer-> user access->

    Check the privileges of the user as the super Admin user.

    Concerning

    Kumar

  • 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 you

    Make sure ORACLE_HOME is exactly the same between 2 environments: note that an end "/" is not necessary and that ending ' / ' could trigger ORA-01034.

  • Not able to connect the AIR-tour 1041N-A-K9 using windows 8

    Hello

    I use AIR-TOUR 1041N-A-K9 wireless Accesspoint it was controlled using the command Air-CT2504-k9 wireless.

    When I tried to connect to the access point using the Windows 8 machine was not able to connect,

    Is there someone who faced the same problem.

    Hello

    There is a known bug with Windows 8 connectivitiy problems with Cisco UWN.

    https://supportforums.Cisco.com/docs/doc-27213

    Can you please try the solution proposed in the document and see if it works?

    HTH,

    Patrick

  • 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 advanace

    We had solved the problem of our self
    to disable the setting of listener_network

    We also increase the connection timeout on the demand side

  • Not able to connect after changing the password using the VALUES ALTER clause

    Hello

    John explained earlier the clause VALUES below thread.

    Status expired

    I created a new account named SURI, and tried to use the password of the user account from the HR by using the VALUES clause. I was able to change the password but not able to connect SURI with HR password.

    Please see below for details. And the SQL statements that I have tried.
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 13 18:44:50 2012
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Enter user-name: sys as sysdba
    Enter password:
    
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    
    SQL> SELECT password
      2  FROM dba_users
      3  WHERE username = 'HR';
    
    PASSWORD
    ------------------------------
    4C6D73C3E8B0F0DA
    
    SQL> ALTER USER SURI IDENTIFIED BY VALUES '4C6D73C3E8B0F0DA';
    
    User altered.
    
    SQL> SELECT password
      2  FROM dba_users
      3  WHERE username='SURI';
    
    PASSWORD
    ------------------------------
    4C6D73C3E8B0F0DA
    
    SQL> conn suri/hr     -- HR account's password is hr only
    ERROR:
    ORA-01017: invalid username/password; logon denied
    
    
    Warning: You are no longer connected to ORACLE.
    
    SQL>
    Thank you
    Suri

    Its because you have used a different username.
    Oracle produces a hash based on the user name and the password, not only the password.

    Therefore, you can not use the hashed password of a user to log on to the account of another user.

    You need to get the password hashed Suri and then connect you to suri by using the password hashed Suri (using the identified by the syntax of values)

  • Not able to connect to the database using OS othenticated user.

    Hi team,

    We use HP UX servers, recently we pass the passive node to active (cluster OS) after that we are not able to connect to the database using OS authenticated the user, but I am able to conenct by user oracle sunig... !

    Please suggest me.

    Thank you
    Maurel.

    Please copy - paste the screen indicating the connection attempt with the authentication of the BONE and the error message.

Maybe you are looking for