problem to connect to the database

Hello, I am using Windows xp and I accidentally deleted the listener, yet I failed to connect to the same database, I create a listener with the same name. Let's say I take off everything (no database and listener), so what are the steps to create back?

After that u recreated the listener... issue the current command

lsnrctl > reload

or lsnrctl > stop and lsnrctl > start

This should help u connect to the db

Published by: 870079 on July 6, 2011 03:57

Tags: Database

Similar Questions

  • problem to connect to the database in JDeveopper on windows xp

    When we test the connection to the dilog box 'create database connection' will be displayed follow-up messages

    "Test failed: ORA-00604: error occurred at recursive SQL level 1"
    "ORA-01882: time zone region not found."

    Here you have to look at the comments of john.
    Exception occurred during eunning my jspx page

    Hi problem in the whole of the sample of projects zone

  • VS 2010 problem with connect to the database.

    Hello


    I use the customer Oracle 11g and ODAC 11.2 Release 3, windows 7 and VS 2010. Durning a few days I can not connect to oracle because of error database: "OCIEnvCreate failed with return code-1, but the text of the error message was not available.
    I checked the case with privileges, and that's ok. In the end, I reinstalled VS and oracle client, but it did not help.
    I have no idea what is wrong: () thanks for any advice.

    Kind regards
    Kris

    858115 wrote:
    Hello

    And if I find 'oci.dll' in a location different than oracle home, I should remove it? I found one in c:\windows\system32

    Kind regards
    Kris

    For now, go ahead and rename it. Since SYSTEM32 is on the path, the dll may be getting picked up rather than the version 11.2.

  • slow down the connection to the database (Oracle enterprise 11g ed on RHEL 4)

    Hello
    I am facing problem when connecting to the database connection using sqlplus to my database the time consuming and it increases as the number of users connect to it increases. (although with a user of sqlplus scott/tiger@db takes 15 seconds and when simultaneously if multiple users try to connect then time required in connection is alsomost = number of user * 15 seconds.)

    same tnsping takes huge when 4-5 user tries to connect to the database.
    What should I do for debugging?

    Hello

    Try this:
    -Remove any nameserver entry in /etc/resolv.conf on server
    -Add name to the/etc/hosts machine like that
    127.0.0.1 localhost.localdomain localhost
    10.10.20.134 piorovm.localdomain piorovm

    Kind regards
    Marcin Przepiorowski
    http://oracleprof.blogspot.com/

  • Having problems with SQL Developer connection to the database on a LINUX machine

    Having problems with SQL Developer connection to the database on a LINUX machine
    Hello
    I am trying to connect my machine to windows 7 Home premium to an oracle database 11 g on RedHat 5 machine using SQL Developer. I got this error on SQL Developer
    Status: Failed - Test has failed: the network adapter could not establish the connection


    on Linux
    LSNRCTL> status
    Connecting 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                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    and TNSPING
    tnsping 172.x.x.x
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$
    Tnsnames.ora on Linux,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )
    )
    Listner on Linux,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    )
    )
    
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )
    )
    hosts/ect/Linux,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBilling
    and there is no problem to ping linux from windows

    Published by: user11309581 on April 11, 2013 15:16

    user11309581 wrote:
    as I have already desciped earlier, I can't connect to the server throw Linux my Windows SQL Server, with error message below.
    tatus: failed - Test has failed: the network adapter could not establish the connection

    It's too generic to mean anything. The application is hidden the real error message. You got when you did the tnsping and obtained "TNS-12535: TNS:operation has expired. Now THAT's an error.

    This indicates a problem firewall and routing. You said earlier you could ping the server, but now we see tnsping fails. Two different protocols of usage, so that both the successful ping turns out a valid physical path, it guarantees not that all traffic will pass. What happens with

    c:\ telnet 172.x.x.x 1521
    
  • Problem connecting to the database

    I installed 10.2 of the database under vista.

    I can connect to the database using the DBconsole.

    I can connect when I say, sqlplus "virtue sysdba".

    But I have the problem when I say, sqlplus sys@ecentric as sysdba
    He lifts the ORA-12514 error message: TNS:listener is not currently of service requested in connect
    descriptor of

    Kindly tell me where I'm wrong.

    Listener:

    ECENTRIC =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.x.xxx) (PORT = 1521))
    )
    )

    SID_LIST_ECENTRIC =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    )

    TNSnames.ora

    ECENTRIC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.x.xxx) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = ecentric)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    SQLNET.ora

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    LSNRCTL > status
    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
    STATUS of the LISTENER
    ------------------------
    Alias ECENTRIC
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.3.0 - Production
    Start date 26 - AUG - 2008 12:12:20
    Uptime 0 days 1 hour 0 minutes 56 seconds
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener log file C:\oracle\product\10.2.0\db_1\network\log\ecentric.log
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=xxx.xxx.x.xxx) (PORT = 1521)))
    Summary of services...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'ecentric.rnhub.com' has 1 instance (s).
    Instance "ecentric" READY State, has 1 operation for this service...
    Service 'ecentricXDB.rnhub.com' has 1 instance (s).
    Instance "ecentric" READY State, has 1 operation for this service...
    Service 'ecentric_XPT.rnhub.com' has 1 instance (s).
    Instance "ecentric" READY State, has 1 operation for this service...
    The command completed successfully

    TNSnames.ora
    (SERVICE_NAME = ecentric)

    Use the fully qualified name

    ecentric.rnhub.com

  • problem connecting to the database using dbclient

    Can someone help to solve the following question

    The following error occurred when connecting to the database when connecting dbclient to the database on linux from windows
    . TNS dbclient names has been configured with the SID and IP address of the machine from database

    ERROR:
    ORA-12560: TNS:protocol adapter error

    Could you share your tnsnames.ora file

    And refer to this topic

    http://forums.Oracle.com/forums/thread.jspa?MessageID=9142058�

  • VAIO Messenger-unable to connect to the database

    I had this problem for months. When I connect to the internet... about 10-15 minutes later... a box opens "Vaio Messenger unable to connect to the database." I'd like to just turn off Vaio Messenger. I looked up how to disable Messenger but he always States go to the settings dialog box. For the life of me I can't find a dialog box. How can I disable Messenger? How do I repair Messenger so it CAN connect to the database? Help!

    I had this problem for months. I can't change the dialog box. I can't uninstall vaio Messenger. I have so much pain to find this site, if you have a cure please write me [email protected]

  • Test the connection to the database failed: connection to the server could not

    I have one of my servers HPOV NNMi 9.23 restarted this morning and NNMi is loading is no longer.  I see the following errors in the newspapers said:

    /var/opt/OV/log/NNM/public/nmsdbmgr.log

    06/04/2015-09:28:05 connection to the database test failed: connection to the server could not: connection refused
    The server running on host "127.0.0.1" and accept
    TCP/IP connections on port 5432?

    /var/opt/OV/log/NNM/public/postgres.log

    2015-04-06 09:25:55.312 EDT: 8580:0LOG: could not translate the hostname "localhost", "5432" service at the address: name or service not known not

    2015-04-06 09:25:55.312 EDT: 8580:0WARNING: could not create listen to "localhost".

    2015-04-06 09:25:55.312 EDT: 8580:0FATAL: could not create TCP/IP sockets

    I have checked/etc/hosts and found the following entry:

    #; Local
    #;
    127.0.0.1 localhost

    The command line, I can ping localhost without problem.  Not sure why NNMi begins not at this point.

    Turns out be the permissions on the file/etc/hosts.

  • How to connect to the database

    Hi all

    I use labsql (and quite new to him m) and the server Mysql 5.1.I wanted to know how to connect to the database without changing the name of the dsn from the tools administrative/ODBC 5.1 driver manually. I want to install exe in several PC and it would be a great help if I could make the connection directly but my Vi.

    I went through several forums and came to know that 'Provider = ProviderName; Data Source = DatabaseSource; Initial Catalog = DatabaseName; User = username ID; Password = password', should solve the problem. But where in my case I m still confused. The connection string above does not sit well with me.

    Can someone help me please.

    Have a look here, where I have such a picture to show how to form a string constant to connect to the database. Some subsequent posts in this thread should also be useful.

    Good luck!

    Ian

  • RCU error: unable to connect to the database using the contact information provided

    Hello

    I am not able to connect to the database using the remote control 11.1.1.10.1 to create patterns. I ran the UCR even a week ago and I managed to connect. My database and listener are up and running and the host and the credentials are correct. I don't know where is the problem. Any help will be appreciated. Attaching the screenshot for reference.

    rcu.PNG

    Concerning

    Oumaima

    Hi Handal

    Thanks for the reply. Looks like someone had blocked the firewall settings, so I was unable to connect to the database using the port.

    Thank you

    Oumaima

  • How to connect to the database without sqlclient soa

    Hi all

    I have a very simple question.

    I need to write a shell script to get some stats for bpel instances of database as part of the daily health check.

    The problem is in our area of unix server, any customer database is not installed.

    Sql client is present as part of the installation of SOA that we can use to create the connection to the database? or by any mode of access to the shell database.

    Thanks in advance,

    Bob

    Hi Bob, there.

    most of the components in the FMW stack including SOA infrastructure rely on pure JDBC to talk to RDBMS and as I know there is no client Oracle installed in slot the FMW home (after installing SOA Suite).

    One possibility would be to use the Oracle Instant Client and use its tools from your shell scripts. It's a bit unzip and run Setup.

    HTH,

    A.

  • Impdp not connect to the database without error returns

    Kind regards.

    Please ask your usual support, motivated, that I am facing a strange problem.

    I recently did an expdp of different actions, the database on which the export is carried out version 10.2.0.4 Now, I'm doing impdp on a database whose version is 10.2.0.5.

    The Datapump not return any errors, does not seem to connect to the database, the impdp log shows:

    ;;;

    Import: Version 10.2.0.5.0 - 64 bit Production on Friday, August 7, 2015 11:13:43

    Copyright (c) 2003, 2007, Oracle.  All rights reserved.

    ;;;

    Connected to: Oracle Database 10 g Enterprise Edition Release 10.2.0.5.0 - 64 bit Production

    With the partitioning, Data Mining and Real Application Testing options

    I wonder if this is a bug or compatibility of version of the problem.

    Thanks in advance.

    Best regards.

    The first thing I see is that you specify on the impdp command expdp.par.  This can work, but don't forget, there are expdp parameters that do not work in impdp. This should give an error, but not knowing what is in the file, it is difficult to see what might happen.

    You can add trace = ff0b00 and then watch to see is it y * dw*.trc files were created.  If not, then it is failing in the treatment of your settings and you want to in the last * dm*.trc file can help out you.

    Dean

  • Unable to connect to the database GGSCI

    Hi experts,

    Currently, I am trying to configure an installation of goldengate and have a problem with the connection to the database through GGSCI.

    In SQLPLUS and sql developer, I can connect to the database, but thanks to GGSCI is impossible to connect to the database.

    I am trying to connect this name ggate@service, I get an error ORA-12504. I am unable to connect using this method.

    ggate@ggsrc password username dblogin *.
    ERROR: Could not connect to the database using the user ggate@ggsrc. Please check privileges.
    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA.

    granted DBA privilege user GGATE but still cannot connect to the database, can any one help on this subject, it is very useful.

    Thanks in advance.

    AT

    Hi thanks,

    After the set up TNS_ADMIN environment its works very well

    Thank you

  • Inability to connect to the database

    OS: 8.1 Pro 32-bit Windows

    Java: 7u45 (build 1.7.0_45 - b18)


    Install Oracle 11g.

    When you open localhost:1158 / em - the message:

    "The database is down. Please specify the credentials of the host to access the restart and database diagnostic tools. »

    After entering the command:

    emctl status dbconsole

    It is reported that Oracle Enterprise Manager 11 g is running.

    When you type:

    emctl status agent

    indicates that the agent works.



    All Oracle, except OracleJobScheduler, running services.


    SYSMAN, DBSNMP, SYSTEM and SYS are not blocked


    File Emoms.trc when connecting to the database:

    http://rghost.NET/50166676


    Folder with alter.log:

    http://rghost.net/50165784



    In listener.ora replaced


    SID_LIST_LISTENER =

    () = SID_LIST

    () SID_DESC =

    () SID_NAME = CLRExtProc( )

    () ORACLE_HOME = C:\app\TorchTT\product\11 2. . 0\dbhome_1( )

    () PROGRAM = extproc( )

    () ENVS = "EXTPROC_DLLS =ONLY:. C:\app\TorchTT\product\11. ("2. 0\dbhome_1\bin\oraclr11. dll" ()

    )

    )


    on

    SID_LIST_LISTENER =

    () = SID_LIST

    () SID_DESC =

    () SID_NAME = TorchTTDB( )

    () GLOBAL_DBNAME = TorchTTDB( )

    () ORACLE_HOME = C:\app\TorchTT\product\11 2. . 0\dbhome_1( )

    () PROGRAM = extproc( )

    () ENVS = "EXTPROC_DLLS =ONLY:. C:\app\TorchTT\product\11. ("2. 0\dbhome_1\bin\oraclr11. dll" ()

    )

    )


    did not help.



    Subsequently decided to not wait and reset the database.


    Immediately after the reinstallation of page https://localhost:1158 / em / successfully opened.


    Only when the request to add a table to the executed successfully, but Developer SQL database query in the list of tables is not displayed, update the list and restart the program did not help. However, when re - create the table with the same name appears on the error you have already created a table with a given name.


    After restarting the computer database is available again.

    Can you please how to fix?


    Translated by Google Translate.

    If I'm right, the problem is resolved.

    Each of the reinstall previous, of the database at the beginning of the message appeared on the system configuration is not in line with the minimum requirements. Earlier the same error is indicated as a result of the use of new versions of Java, as Oracle 11 g support officially more young and therefore do not attach importance to this post.

    In the end, I decided once more to reinstall the basis data, but in compatibility mode for Windows 7. So - when you run the error to install an incorrect configuration does not appear. And after that the installation of the base is available, restart the machine - the base is again available.

Maybe you are looking for

  • How can I multiply two matrices together in number?

    How can I multiply two matrices together in number?

  • Error 403 for a specific Web site.

    Recently, I have been unable to access the Web site unlimited translation Works (utw.me) and do not know if this shows up on other sites.When I get the link, what greets me, it is the following: ForbiddenYou don't have permission to access / on this

  • Cannot install driver WLAN on Satellite A30

    Hello I have an A30 laptop, I installed Windows XP SP2.I can't install the wireless LAN driverWhen I install a message appears "failed installation! So, what can I do now, I want the wireless work!I downloaded another driver from the site web of Tosh

  • Loading printer driver problems

    I'm trying to get my scanner on my new Epson printer to work.  I'm getting the communication error.  Working with Epson they said that the problem was when I transferred files from my old XP computer to my new with Vista that transferred the old file

  • A small padlock appears on an element in folders in Windows Explorer

    I've known several occurrences of a small padlock appears in the lower left corner of the items in a folder, while working within WINDOWS EXPLORER, which makes this indicate and how to remove them or turn them off?