Unable to connect after Oracle server is restarted

Source: Internet
Author: User

After the Oracle server is restarted, the following error is encountered when using the Toad client to connect to Oracle:

Oracle Ora-12514:tns:no Listener

Tns:listener does not currently know of SID give in Connect descriptor

Step one: Start TNS monitoring

[[email protected] ~]$ lsnrctl start

Lsnrctl for linux:version 11.2.0.1.0-production on 06-aug-2014 20:07:41

Copyright (c) 1991, Oracle. All rights reserved.

Starting/opt/oracle/11g/bin/tnslsnr:please wait ...

Tnslsnr for Linux:version 11.2.0.1.0-production
System parameter File Is/opt/oracle/11g/network/admin/listener.ora
Log messages Written To/opt/oracle/diag/tnslsnr/oracle/listener/alert/log.xml
Listening on: (Description= (Address= (PROTOCOL=IPC) (key=extproc1521)))
Listening on: (Description= (Address= (protocol=tcp) (host=127.0.0.1) (port=1521)))

Connecting to (Description= (address= (PROTOCOL=IPC) (key=extproc1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version Tnslsnr for Linux:version 11.2.0.1.0-production
Start Date 06-aug-201420:07:43
Uptime 0 days 0 hr. 0min. 0 sec
Trace level off
Security on:local osauthentication
SNMP OFF
Listener Parameter File/opt/oracle/11g/network/admin/listener.ora
Listener Log File/opt/oracle/diag/tnslsnr/oracle/listener/alert/log.xml
Listening Endpoints Summary ...
(Description= (address= (PROTOCOL=IPC) (key=extproc1521)))
(Description= (address= (protocol=tcp) (host=127.0.0.1) (port=1521)))
The listener supports no services
The command completed successfully

Step two: Start the database

[[Email protected] ~]$ startup (normal startup database)

Or

[[Email protected] ~]$ startup (Force shutdown database + Normal startup database)

Unable to connect after Oracle server is restarted

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.