Oracle installation of 32-bit clients causes a failure to start properly

Source: Internet
Author: User

On the win platform, you need to use Plsql developer access to the same host Oracle,plsql is not supported 64-bit, you need to set the Oracle_home and OCI address, while configuring Tns_admin to Oracle 32-bit clients,

However, this can cause Oracle itself to be affected when the database service starts, and should be the cause of listen.

There are two ways to resolve this:

1, change the 32-bit tnsnames.ora, add:

Listener_tdata =
(ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521))

But this method does not feel reasonable, and the name can not be changed is also more depressed,

2, the analysis should be Oracle can not find Listener_tdata this name, with the ultimate method:

sql> create pfile= ' C:\mypfile.ora ' from SPFile;
File created.

Open Mypfile.ora, modify the following line:

*.local_listener= ' Listener_tdata '

Switch

*.local_listener= ' (address_list= (address= (protocol=tcp) (host=127.0.0.1))) '

Sql> create SPFile from pfile= ' C:\mypfile.ora ';

Generate a new SPFile file with Pfile.

Restart Oracle to resolve.

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.