I could not find a NETWORK\ADMIN folder in ORACLE installtion path - oracle

I have installed oracle 11g 64 bit version followed by 32 bit version.
I have heard that the TNS files will be in the folder structure - ...NETWORK\ADMIN folder in ORACLE installation path.
But there is no such folder created after oracle installation/

Following #NidhinSPradeep suggestion I've reinstalled 12.2 client using Runtime option and it resolved the issue.
My machine had 12.1 32-bit Oracle client installed first at C:\app\client\administrator\product\12.1.0\client_1
and 12.2 64-bit installed second at C:\app\client\%UserName%\product\12.2.0\client_1
12.2 was installed as InstantClient type and NETWORK\ADMIN folder was missing for this installation.
This generated following error while using OraClient12Home1(64bit) in Toad Data Point:
[Oracle Database Error] Server did not respond within the specified timeout interval
I've reinstalled 12.2 client using Runtime option. NETWORK\ADMIN folder appeared and Toad Data Point error got resolved. If you reinstalling same version, change location from suggested (client_2) to whatever your existing location. Generally it is client_1.

Check your ORACLE_HOME if correctly points to the given directory in the system variables. It may be sometimes Oracle would not be able to find the mentioned ORACLE_HOME directory.
Other probable reason would be the directory permissions. Make sure that all directories and subdirectories have proper permissions for the user from which Oracle is being installed.
Hope that helps :)

Related

ins-32025 oracle 11g error for windows

I am trying to install Oracle onto my VM for the first (1st) time, however, when I get to the setting install directories, I keep getting the following error:
INS-32025 Oracle 11g Error
I have tried changing the install from C: to D: but I keep getting the same error.
Google isn't of any help in this situation. The best I can find is to clear previous Oracle install data, but as I've said, this is the first time oracle is being installed onto my VM.
The VM is windows 7 32bit and I am using the 32bit installer for oracle, just for clarity sake.
Any help would be greatly appreciated.
I received the same error and it got resolved when i removed the line that contain new oracle home in inventory.xml file.
For windows, you can get the file at C:\Program Files\Oracle\Inventory\ContentsXML. Under this folder you should see the file inventory.xml. Just open this file and remove the line which contains the new oracle home path. For more information, that variable you can find after HOME_LIST. Just remove the complete line.

Oracle Designer wants the OCI.dll

I have a problem with the Oracle Designer 10g which I have downloaded recently. The problem is that the program is missing the OCI.dll file. Due to this file I can't open it the program.
How to solve the problem?
Here is a link to an oracle client that will install an OCI.dll on your windows system.
The other thing to check before you do this is to ensure that the Windows environment variable include a path to the oracle bin folder
Running echo $PATH from the command line will show all the existing variables. If you do not see a path to an Oracle Bin folder then you need to add the path if it exists or install the client

PHP 5.3.1 not loading php_oci8.dll on Windows

I'm trying to load the oracle extension on php but im having the error:
Warning: PHP Startup: Unable to load dynamic library 'D:\Program Files\xampp\php\ext\php_oci8.dll' - The specified procedure could not be found.
in Unknown on line 0
I have done so far:
Included on windows path the the fullpath of oracle instant client
on php.ini, the extension_dir is pointing to the right place
on php.ini extension=php_oci8.dll is ok
restarted the apache, and nothing works.
Problem solved by copying the files orannzsbb11.dll , oci.dll and oraociei11.dll to c:\windows\system32
I solved this problem by adding "C:\Program Files (x86)\PHP\v5.3\ext" to my Windows PATH environment variable. You'll just have to remember to change the path if you upgrade PHP. I think this is better than copying dlls which could lead to issues down the road if you end up with multiple dlls with different versions on the same machine.
You will need to download Oracle Instant client from this hyperlink http://www.oracle.com/technetwork/topics/winsoft-085727.html .
Add the path to the instant client on the user environment vriables and the system variables.
For me, this was caused by not having the Visual C++ Redistributable for Visual Studio 2008 SP1 (for VC9) installed. I had to get the x64 package as I'm running Windows 7 64bit. Hopefully this helps someone with the same problem. After installing it, PHP no longer reported those errors.
Possibly quite obvious to some, but wasn't initially for me: if you're still seeing this The specified procedure could not be found. in Unknown on line 0 error, even after installing the instant client, SDK, and so on - make sure you put the Oracle instant client path in your system "PATH" variable, not the user variable, as user obviously doesn't get used when Apache runs. You can verify that the instant client path is set properly by reviewing the PATH value shown in your phpinfo() output.
I found the main cause behind this issue is the oci8 driver version of oracle. Finally i was able to connect to oracle and the steps i described here at http://angularcode.com/connecting-php-to-oracle-database-10g/

How to change settings for SQL Developer to correctly recognize current version of SDK

I've installed Oracle 11g r2 to my machine and when I opened Oracle SQL Developer it says: java 1.6.0_02 is not supported and telling me to install new java version.
Then I've installed JDK 1.6.0_27 and set the path in environment variables and run Oracle SQL Developer again, but the same error occurred.
How can I change the settings for Oracle SQL Developer to recognize 1.6.0_27 as my SDK?
In windows 10, I needed to go to following folder and change following product.conf file and set SetJavaHome directive.
%APPDATA%\sqldeveloper\<product-version>\product.conf
in my machine:
C:\Users\ati_o\AppData\Roaming\sqldeveloper\17.4.0\product.conf
with following line.
SetJavaHome C:\Tools\oraclejdk8
Thanks to comment from #thatjeffsmith, in MacOS or Linux/Unix, go to:
$HOME/.sqldeveloper/<product-version>/product.conf
to set same SetJavaHome directive.
sqldeveloper.conf under sqldeveloper/bin in the SQLDeveloper base directory has an entry for the java home being used.
(So, on Windows, if you have unzipped SQLDeveloper to C:\sqldev then sqldeveloper.conf is under C:\sqldev\sqldeveloper\bin)
Something like:
SetJavaHome C:\Program Files\Java\jdk1.6.0_20
Quit SQLDeveloper, remove this entry and relaunch SQLDeveloper. You should be prompted for the location of Java.
Go to sqldeveloper\sqldeveloper\bin and edit sqldeveloper.conf file.
There you'll see
SetJavaHome C:\Program Files\Java\jdk1.6.0_21
Change it to correct jdk path
With SQL Developer 19.1 (2018) I tried to install it with Java 11 but it failed, so for luck I still have an old java 8 version jdk8u202-b08.
If that happens you need to remove this folder
C:\Users\<username>\AppData\Roaming\sqldeveloper
And then run the exe again
C:\..\sqldeveloper-19.1\sqldeveloper.exe
Yes, Oracle just made a dumb installation package to makes us waste our time...good job guys!!!
The thing is, there should be a wizard/installer to configure the java path, this is because the jdk that comes pre-configured just doesn't work. Personally, I had to edit to the sqldeveloper.conf
under sqldeveloper\bin just has Nivas said and change the pre-configured path "SetJavaHome ../../jdk" to "SetJavaHome C:\Program Files\Java\jdk1.8.0_73" - for earlier versions of sqldeveloper it's a requirement to have Java8 and be sure that if you install SQLDeveloper x64 version that the java version that you set in your path is also x64.
If you have MacOS:
->SQLDeveloper didn't worked on 15.0.1.(Oracle has mentioned that Developer supports either Oracle JDK 8 or 11.)
->Install JDK8 https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html (macOSx64)
->Go to cd /Users/amritshukla/.sqldeveloper/20.4.1
->Edit product.conf to add this line: SetJavaHome /Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home
->Launch SQLDeveloper
This workaround helped many people (including me) during the last 12 months, so you must try it if you still have the problem:
Go to sqldeveloper\jdk\jre\bin folder and locate "msvcr100.dll"
Copy this dll to C:\Windows\System32 folder
Obs: you will need to provide administrator authorization to finish the file copy, so you must be logged on as a true windows administrator.
After copying the file, just try to start the sqldeveloper again. No reboot needed.
Hope this helps you too!
If you have MacOS :
Get the JDK home path
eg: /Library/Java/JavaVirtualMachines/jdk-11.0.4.jdk/Contents/Home
Go to
eg : cd /Users/sarath_sukumaran/.sqldeveloper/19.2.1
Edit product.conf to set SetJavaHome
eg : SetJavaHome /Library/Java/JavaVirtualMachines/jdk-11.0.4.jdk/Contents/Home
Re-open the SQL Developer and check the Java version from 'About Oracle SQL Developer' > Version
Adding a solution for Mac.
Edit this file: /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/jdk.conf
Uncomment the below line for SetJavaHome and give it the full path to JDK1.8. As of today, it does not work with JDK 11.
# By default, the product launcher will search for a JDK to use. If you wish
# to specify a JDK to use for all users of this install, uncomment the line
# below and set the path the the preferred JDK
#
# SetJavaHome /path/jdk
If you are using SQL developer > 4.x you can find this setting at this location on windows:
<USER HOME PATH>\AppData\Roaming\sqldeveloper\<VERSION>\product.conf
and change SetJavaHome to your JDK path. You can get the user home path on the command prompt using %homepath%.
Building on top of other answers:
For macOS 12.3.1 (M1 processor), SQL Developer 21.4.3, using sdkman to install Zulu 11.
mkdir -p ~/.sqldeveloper/21.4.3 (this directory didn't exist so I had to create it)
echo 'SetJavaHome $HOME/.sdkman/candidates/java/11.0.15-zulu/zulu-11.jdk/Contents/Home' >> ~/.sqldeveloper/21.4.3/product.conf
One solution is to install the latest Oracle SQL Developer. Link # SQL Developer Downloads . This installation will install and use the latest Java version 1.8.x.
The sqldeveloper.conf file resides at a newer location at ...\sqldeveloper\sqldeveloper\bin .
In order to change the version of SDK linked to your SQL developer, uninstall the other versions of SDK and install the required version. Once you install the required version, try running SQL developer it will automatically prompt you to attach the path. ANd you can provide the new path.
None of the sqldeveloper.conf had an entry in my case, and i downloaded another zip installation, which gave me same error for same JDK versoin, without me configuring anything, S
COMPANY=Oracle
PRODUCT=SQL Developer
VERSION=19.01000942042f
VER=19.1.0
VER_FULL=19.1.0.094.2042
BUILD_LABEL=094.2042
BUILD_NUM=094.2042
EDITION=
Issue: I was getting following error when try to open oracle sql developer
---------------------------
Oracle SQL Developer
---------------------------
Unable to launch the Java Virtual Machine
Located at path:
C:\Program Files\Eclipse Adoptium\jdk-8.0.322.6-hotspot\jre\bin\msvcr100.dll
---------------------------
OK
---------------------------
Resolution:
File msvcr100.dll was missing in the location *C:\Program
Files\Eclipse Adoptium\jdk-8.0.322.6-hotspot\jre\bin*.
Hence
copied that file from C:\Windows\System32\msvcr100.dll TO
C:\Program Files\Eclipse Adoptium\jdk-8.0.322.6-hotspot\jre\bin*
This helped me to lauch the oracle SQL developer.

Unable to install Oracle 11g in Windows 7

I am trying to install Oracle version win32_11gR1_database_111070, I am getting an error as Operating system does not supported at the time of environment checkup. Is there any way to install it?
Here's a blog posting explaining with pictures how to do it: http://blog.mclaughlinsoftware.com/2009/11/27/oracle-11g-on-windows-7/
To summarize it, you check the "operating system requirements" checkbox yourself, and it will display as "User Verified", after which you can keep going.
This is specially for the window7 users who are stuggling in installing 11g release oracle
Most of the people finding hard to install and will be getting common error like "/WFMLRSVCA.App.ear "file not found is because the copied file from file win64_11gR2_database_2of2" is not copied in the proper file
The below steps is require to install your 11g database
copy first 4 files from win64_11gR2_database_2of2"
Open "Win64_11gR2_database_2of2
Then open the following folders database/stage/components
so on copy the copied files from 11R2 to the above mentioned folders
and it works alas i would be able to install the 11gR2 ...

Resources