spoolight

seting 1
ORACLE_HOME=D:\oracle\product\11.2.0\client_1
set SQLPATH=D:\oracle\product\11.2.0\client_1
set LOCAL=D:\oracle\product\11.2.0\client_1
set LD_LIBRARY_PATH=D:\oracle\product\11.2.0\client_1

D:\oracle\product\11.2.0\client_1\bin;D:\oracle\product\11.2.0\client_1

D:\Quest Software

setting 2
cop could not be uninstall
datasourcesqlnet could not be uninstalleed
spotlightportals could not be uninstalleed
datasourceppcm could not be uninstall
datasourceRAC could not be uninstall
SOC
datasourcesqlnet
spotlighportals

setting 3

cd D:\支持\办公软件\oracle10201_client_win32\client

If you have 64-bit server and 32-bit client installed on the same computer it's possible that Spotlight looks for oci.dll at wrong Oracle Home.

Examine order of Oracle home directories from Universal Installer and place 32-bit home first:

Run Oracle Universal Installer
Click "Installed Products" button
Switch to "Environment" tab
Reorder Oracle Homes with arrows on right side and click "Apply"

setting 4:
C:\Program Files\Quest Software\Spotlight\Console\Spotlight.exe /developer:1

setting 5
C:\dbmonitor

D:\Quest Software

setting 6

C:\Users\penghuishun.CRBCOA\AppData\Local\VirtualStore\Program Files (x86)\Quest Software
C:\Users\penghuishun.CRBCOA\AppData\Roaming

setting 7
sqlplus hddtusr/hddtusr_0824@//192.168.27.145:15021/phddtuat

sqlplus systme/manager@//10.241.96.37:1556/vats

setting 8

regedit

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer

net use \\R304AH9E\c$

1. Restore the administrative share for C$. See Microsoft document http://support.microsoft.com/kb/314984

2. Check that it is ok:
- net use \\<hostname>\c$ should work
- the current user (i.e. user in administrator group) should have all privileges on the default share

3. retry the installation

5.ignore the error

6.log:
D:\oracle\product\11.2.0\client_1\cfgtoollogs\oui

ref
http://blog.csdn.net/msdnchina/article/details/43878995

##seting 7

C:\Program Files (x86)\Oracle\Inventory\logs

###########
Well, interesting. I figured out what was going wrong. From the Connection Manager, the Installed Clients | Connect Using was defaulting to the Oracle 6i Report/Forms home. Once I selected the 11g home, presto. Usually the products select by default the home which is first listed in the system PATH and uses connections from what is specified by the TNS_ADMIN system variable. Thanks Vincent for helping!

###seting 9

set TNS_ADMIN=D:\oracle\product\11.2.0\client_1\network\admin
set NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
set ocidll=D:\oracle\product\11.2.0\client_1\oci.dll

regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_OraClient11g_home1

######seting 10
D:\oracle\product\11.2.0\client_1>tnsping

TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-JAN-2
018 20:35:22

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

########setting 11

https://www.club-oracle.com/threads/cannot-load-oci-dll.3178/

Cannot load OCI DLL
Discussion in 'Other Development Tools' started by mdsmit, Oct 6, 2010.

mdsmit
mdsmit
Active Member
Messages:5
Likes Received:0
Trophy Points:55
I am setting up tools on a new Windows 7 PC that my company issued me and have everything working except TOAD.

I installed oracle 10.2.0.3 on my PC and setup my ORACLE_HOME and TNS_ADMIN environment variables. I also set up by TNS file and host file. Afterwards I installed TOAD 10.1.1.8 as well as SQL Developer.

I am able to connect to any database setup in my TNS file through SQL plus as well as through SQL Developer. But when I open TOAD, my oracle instalation is not appearing in the "Connect Using:" box when I try to make a connection. The only thing that appears there is an old installion of oracle 8 that was partially copied over when the tech staff copied files from my old PC to my new one. That installition is invalid and doesn't work.

I looked through the TOAD user guide, and it has the following information about how it finds clients:

How Toad Finds the Oracle Client DLL
1. Toad first looks in the Toad command line for OCIDLL.
2. If this is not found, Toad looks for the path for the Oracle home as follows:
3. If the command line argument "ORACLEHOME" was passed in, then Toad will use
that home.
4. If there is no Toad home defined then Toad will display the home that is set as the
default home using Oracle’s Home Selector application as the default in the dropdown.
Toad will use the home that is active in the dropdown.
5. To populate the dropdown, Toad searches the registry as follows:
First, Toad reads the list of Oracle home names from the keys under HKEY_
LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES
If no Oracle homes are found there, then the Oracle home is set to HKEY_
LOCAL_MACHINE\SOFTWARE\ORACLE
Otherwise, Toad finds the ORACLE_HOME value for each Oracle home, if it
exists. Then Toad checks the system environment variable called PATH to see
whether it contains the "bin" folder under ORACLE_HOME. Toad selects the
Oracle home whose path appears first in PATH.
If Toad still hasn't found an Oracle home, it uses HKEY_LOCAL_
MACHINE\SOFTWARE\ORACLE.
6. Toad looks for the client DLL in the "Bin" folder under the path found for the
Oracle home
If that fails, Toad looks for the ORACLE_HOME key under HKEY_LOCAL_
MACHINE\ORACLE\SOFTWARE, and look for the client dll in the "Bin" folder
under that.
If that also fails, Toad looks for the client dll in every \bin directory in PATH.

I checked my registry, and my oracle installion does appear in a 10g folder within HKEY_
LOCAL_MACHINE\SOFTWARE\ORACLE.

What else can I do to try and get TOAD to find my 10g oracle installion?

Thanks for any help you can give.
mdsmit, Oct 6, 2010 #1
mdsmit
mdsmit
Active Member
Messages:5
Likes Received:0
Trophy Points:55
Re: Oracle Instalation Not Appearing in Connect Using Dropdown in TOAD

I was able to partially solve the problem by finding where TOAD was getting that path. I set the correct path, but now it gives the error:

"Cannot load OCI DLL: C:\oracle\product\10.2.0\client_2\BIN\oci.dll"

Even though oci.dll is in that directory. Any ideas as to why it can't load it?
mdsmit, Oct 6, 2010 #2
Sadik
Sadik
Community Moderator Forum Guru
Messages:1,989
Likes Received:252
Trophy Points:1,455
Re: Oracle Instalation Not Appearing in Connect Using Dropdown in TOAD

Ok, which version of Toad are you using?
Sadik, Oct 7, 2010 #3
Sadik
Sadik
Community Moderator Forum Guru
Messages:1,989
Likes Received:252
Trophy Points:1,455
Re: Oracle Instalation Not Appearing in Connect Using Dropdown in TOAD

Oh ok it's 10+. What are the currently values "paths" of the PATH environment variable ?
Sadik, Oct 7, 2010 #4
mdsmit
mdsmit
Active Member
Messages:5
Likes Received:0
Trophy Points:55
I was able to find out the reason why it couldn't load the OCI DLL. Apparently no matter what version of TOAD you have, it is incompatible with 64 bit installations of oracle.

TOAD looks for oracle installations under HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432NODE/ORACLE which is where because that is where 32 bit installations are registered. I had put the path of my 64 bit oracle installation there, but it still doesn't work because TOAD requires a 32 bit installation.

So, I installed a 32 bit version of Oracle, which TOAD was able to find, only to receive a similar error:

"Can't initialize OCI. Error -1"

I was instructed by my tech team at my project to add the following line to my sqlnet.ora file to solve that error, but it didn't:

NAMES.DIRECTORY_PATH= (TNSNAMES)

What DID, get rid of that error was when I ran TOAD as administrator on my PC. But now it gives a TNS error for any DB i try to connect to:

"ORA-12154: TNS:could not resolve the connect identifier specified" and then the DB i was using

However, I am able to connect to these databases with sql plus and sql developer without any issue. And yes, i have my TNS file in my network/admin directory for my new 32 bit installation as well as my 64 bit installation. And when I look at the TNSNames Editor in TOAD it has loaded everything from my TNS file.

Why can it not resolve the database when it has properly loaded it and I can connect with every other tool?
mdsmit, Oct 7, 2010 #5
Sadik
Sadik
Community Moderator Forum Guru
Messages:1,989
Likes Received:252
Trophy Points:1,455
Well it simply means that Toad is unable to find the correct Oracle home through the path variable. That is why i asked you to check the values of PATH environment variables in the first place.
Sadik, Oct 7, 2010 #6
mdsmit
mdsmit
Active Member
Messages:5
Likes Received:0
Trophy Points:55
Path is set to:

"C:\oracle\product\10.2.0\client_3\bin;C:\oracle\product\10.2.0\client_2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin"

The string "C:\oracle\product\10.2.0\client_3\bin" is the bin directory for my 32 bit installation.

The string "C:\oracle\product\10.2.0\client_2\bin" is the bin directory for my 64 bit installation.
mdsmit, Oct 7, 2010 #7
mdsmit
mdsmit
Active Member
Messages:5
Likes Received:0
Trophy Points:55
I found the issue for why I was getting the TNS error:

ORA-12154: TNS:could not resolve the connect identifier specified

Apparently TOAD can't parse program locations that have parenthesis:

http://www.synergys.ca/index.php?option=com_lyftenbloggie&category=installation&Itemid=68&lang=en

Uninstalling TOAD from my "Program Files (x86)" directory and installing it directly in my C: directory solved the issue.

##########follow:

setting 11

checking help/about spotlight/View release notes

it feedback :
Missing "ociw32.dll" file: If Spotlight on Oracle cannot locate the file ociw32.dll, please check that your PATH statement includes a path to the <Oracle>/bin directory.

cp D:\oracle\product\11.2.0\client_1\ociw32.dll to D:\oracle\product\11.2.0\client_1\bin

cp D:\oracle\product\11.2.0\client_1\oci.dll to D:\oracle\product\11.2.0\client_1\bin

setting 12
lost orannzsbb11.dll

cp D:\oracle\product\11.2.0\client_1\orannzsbb11.dllto D:\oracle\product\11.2.0\client_1\bin

setting 13

spotlight on oracle ORA-01017

.安装完Spotlight,进入

-file

-oracle user wizard

(next 后有个下来列表就是刚配置的那些服务列表进行选择,然后用户名与密码,

之后需要SYS用户的用户名与密码)

Spotlight/Spotlight

and use the new user spotlight to monitor

ref

https://www.cnblogs.com/TestWorld/p/5300843.html

http://blog.csdn.net/defonds/article/details/52936664

spoolight on oracle 配置的更多相关文章

  1. Tools下的mdscongiguer 文件中 43行 oracle 配置 发现需要连接库 -lclntsh libclntsh.so 库是个什么东西呢?

    Tools下的mdscongiguer     文件中 43行  oracle 配置      发现需要连接库 -lclntsh      libclntsh.so 库是个什么东西呢? 分想一个知乎网 ...

  2. ORACLE配置tnsnames.ora文件实例

    ORACLE配置tnsnames.ora文件实例客户机为了和服务器连接,必须先和服务器上的监听进程联络.ORACLE通过tnsnames.ora文件中的连接描述符来说明连接信息.一般tnsnames. ...

  3. oracle 配置服务端

    oracle 配置服务端,类似我们配置java环境一样 防止乱码的配置: 变量名:NLS_LANG 变量值:SIMPLIFIED CHINESE_CHINA.ZHS16GBK 选择数据库的配置(重要) ...

  4. oracle 配置 自启动 和 关闭

    今天在看oracle自启动脚本,突然有点时间,总结一下!!! 第一次写博客,大家随便看看就好,有错误麻烦提醒下,不喜欢别喷,主要是锻炼自己,形成写博客的好习惯. 刚毕业,现在还没转正,在干运维和自学d ...

  5. ORACLE 配置连接远程数据库

    ORACLE配置tnsnames.ora文件实例 客户机为了和服务器连接,必须先和服务器上的监听进程联络.ORACLE通过tnsnames.ora文件中的连接描述符来说明连接信息.一般tnsnames ...

  6. 在oracle配置mysql数据库的dblink

    本文介绍如何在oracle配置mysql数据库的dblink:虽然dblink使用很占资源:俗称“性能杀手”.但有些场景不得不使用它.例如公司使用数据库是oracle:可能其他部门或者CP合作公司使用 ...

  7. PLSQL连接ORACLE配置字符串简介 oracle网络配置 三个配置文件 listener.ora、sqlnet.ora、tnsnames.ora原理解释

    PLSQL连接ORACLE配置字符串简介 oracle网络配置 三个配置文件 listener.ora.sqlnet.ora.tnsnames.ora原理解释 oracle网络配置三个配置文件 lis ...

  8. Oracle 配置文件目录

    Oracle 配置文件目录 ① 在oracle安装目录下,找D:\oracle\product\10.2.0\client_1\NETWORK\ADMIN中的tnsnames.ora文件,找到之后,配 ...

  9. linux下部署Mono oracle配置,oracle客户端安装

    一.Mono,apache安装,配置网站(以 centos 7 +apache 2为例): 安装教程以官网的教程为追,百度来的多少有版本问题. mono官网连接: 1. Mono的安装:https:/ ...

随机推荐

  1. uC/OS-II源码分析(三)

    首先来了解下实时系统的基本概念: 1) 临界区,共享资源,任务(类似于进程),任务切换,任务调度,可剥夺型内核,可重入函数,动态优先级调度, 2) 如何处理优先级反转问题.这个问题描述如下:有三个任务 ...

  2. bzoj 2067 [Poi2004]SZN——二分+贪心

    题目:https://www.lydsy.com/JudgeOnline/problem.php?id=2067 最少的线段可以贪心地想出来.(结果还是写错了)就是偶数孩子可以自己配对,奇数孩子要带一 ...

  3. hadoop编码问题,mapreduce中Tex与string的转化 乱码问题

    引用:http://blog.csdn.net/zklth/article/details/11829563 Hadoop处理GBK文本时,发现输出出现了乱码,原来HADOOP在涉及编码时都是写死的U ...

  4. windows文件同步工具

    windows 文件同步工具: realTimesync freefilesync second copy   second copy注册码: Name:爱学府软件园 注册码:15BF-E46C-67 ...

  5. [hdu6201]transaction transaction transaction(树形dp)

    题意:某人在一棵树中在某处买物品,价格为i,在某处卖物品,价格为j,每单位距离花费价格1,求最大赚钱数. 解题关键:两次树形dp,分别求出每个点作为被减和被加情况下的最大值,最后取一下max即可. 该 ...

  6. iView之清空选择框

    Form表单布局的vue组件,已经增加了校验选择框,判断为空的情况下不调用接口. 后来发现,选择了选择框后,清空,再点查询,还是会调接口,看日志发现传了原来清空的值过来,实际上没有清空. 这里增加on ...

  7. Elasticsearch5.X Mapping详解

    0.引言 在关系型数据库如Mysql中,设计库表需要注意的是: 1)需要几个表: 2)每个表有哪些字段: 3)表的主键及外键的设定——便于有效关联. 表的设计遵守范式约束,考虑表的可扩展性,避免开发后 ...

  8. HTML页面弹出窗口调整代码总结

    弹出跟你当前的窗口有没有菜单工具栏没有关系,你只要在页面中写一个脚本它就弹出了.比如<a href=# onclick="window.open('xxx.aspx','窗口名称',' ...

  9. android fragment ontouch 事件

    由于fragment是存在于activity之中的,所以触摸事件会被activity首先得到. 为了在fragment中执行ontouch方法,需要做如下处理: mFragment = new Tab ...

  10. freemaker宏的用法

    freemaker宏 定义:定义一个标签,标签体中可以包含参数,开始标签和结束标签可以包含内容,内容中可以通过${}方式引用标签体中定义的参数 用法:页面引入标签,通过标签可以直接输出标签的内容 He ...