Workaround: Oracle Networking - LDAP export to TNSNAMES
Just posting a workaround to another silly problem:
With Oracle10g, ONames is no longer supported. A reasonable alternative is to LDAP using OiD.
In the docco, Oracle describes a method to export and import between OID and TNSNAMES.ORA. Specifically at Exporting Directory Naming Entries to a tnsnames.ora File Oracle shows how to do this using Enterprise Manager console.
However, as noted in Metalink Note 363283.1 "What Is The Search Order For The LDAP.ORA File ?", the LDAP.ORA file has been bouncing between ORACLE_HOME/network/admin and ORACLE_HOME/ldap/admin
When attempting the steps in the referenced document, you might find that trying to access the Directory Administration fails (absolutely refuses to proceed) - because the installation puts the LDAP.ORA in one directory, and the Enterprise Manager expects it on the other.
The Enterprise Manager expects the file in ORACLE_HOME/network/admin - even if that location breaks other operations.
Workaround ... copy the LDAP.ORA to both locations and keep them in sync manually.
<heavy sigh/>
Assuming *nix, I have not problem with this.
I'm not quite comfortable with Windows shortcuts as a 100% replacement to links.
Similar Messages
-
Script request for exporting, importing, inserting entry to Oracle 9i LDAP
Do anyone has the scripts for exporting, importing, inserting entry to Oracle 9i LDAP server? Thanks for help.
you can use ldapsearch utility to generate ldif files. Perform a search on the node you want to export and specify the output to be in LDIF format ( -L - this is a ldapsearch option). Once you have the ldif file, you can import it to any LDAPv3 complaint server such as OID. for OID, use ldapadd/ldapmodify utility to import the data.
These utilities are present under IAS_HOME/bin or ORACLE_HOME/bin. -
Hi all,
I am trying to install Oracle Application Server (Export) Version 4.0.7.0.0 for Windows NT on Windows NT 4.0 SP1.At the time of installation every thing goes smooth but when i try to connect to the specified database which is in the same network(LAN) of the machine it says tns could not resolve the service name and after that i did the tns entry in the tnsnames .ora file but it is givin the same issue i then tried to ping the server its giving reply i even see the installed poduct it is showing that net8.0 is installed what would be the problem i am not able to identify .
Following is the commach which i am firing to test the connection
1) start > run >cmd
2) command prompt opens then in that i type the command
exp80 scott@testit asks for passowrd i enter the password
then after some time the tns error comes
The home for this d:\orant1
Now after that i installed oracle 8i client release 8.1.5 on the same machine to check weather this problem is machine dependent,after the full installation and doing the tns entry i tryiid to connect thruoug sql plus (which got istalled which this installer) its working fine.
The home for this d:\orant
My main aim is to user the Expot Utility to take the export test database objects.
Thnks in AdvanceHi,
you have a database version 10.2.0.1.0, but SOA needs 10.2.0.2 or higher. Update your database using the latest patchset.
Regards,
Tomas -
ORACLE NETWORK MANAGER 기본적인 사용방법
제품 : SQL*NET
작성날짜 : 2002-04-12
ORACLE NETWORK MANAGER 기본적인 사용방법
========================================
I. TERMINOLOGY TO KNOW BEFORE USING THIS GUIDE
A. community - a set of nodes that use the same network protocol.
B. listener - a service that waits for incoming requests from client
and server nodes.
C. system identifier - (SID) name of the Oracle database instance,
which is usually the same as the database name
II. NETWORK CONFIGURATION STEPS
A. Develop a pictorial representation of the network.
B. Provide configuration data to Network Manager.
C. Save the network configuration data and generate the configuration files.
Step A. Develop a pictorial representation of the network.
The sample network is a single protocol TCP/IP network with two
databases. Each node has one listener.
Step B. Provide configuration data to Network Manager.
Network Manager requires information about the objects in the
network before it creates the configuration files. There is an
on-line walk-through which leads you through the creation of a
network definition from the beginning (specification of definitions)
to the end (generation of the configuration files). The walk-through
provides information in pop-up boxes before each step. During the
walk through, a series of object property sheets, which gather the
data about network objects, appear with values which you may need
to alter.
** Tasks **
1. Launch Network Manager and click OK to store the network definition
in a file. In the Open window click Cancel.
2. Choose New from the File pull-down menu to start a new network
definition. Use the on-line walk through and click OK in the Network
Description dialog box.
3. In the Community property sheet, enter TCP as the name of the
community and choose TCP/IP from the protocol list box. Close the
community property sheet by clicking OK.
4. a. To define a node, enter the node name, TCP_node1, in the Node
property sheet.
b. Specify UNIX as the type of operating system in the drop-down
list.
c. Click on the community folder tab. Add TCP.WORLD to the node
community list (Note:WORLD is a default suffix) and close the
node property sheet by clicking OK.
5. Click OK to close the Node property sheet. To create the node,
TCP_node2, repeat step 4 and specify the type to be OS/2.
6. Create a listener in the Listener property sheet, by entering
TCP_listener1 as the name and choosing TCP_node1 in the node
pull-down menu to indicate what node TCP_listener1 will listen to.
Select the addresses folder tab and click Create. This defines the
address of the listener. A service address property sheet appears
with the address information as default values. Click OK.
7. Click the database folder tab to define a database for the listener.
In the Database property sheet, click Create to specify information
about the Oracle database that will be included in the network.
Enter TCP_DB1 as the name of the database. Click TCP_node1 as the
node. Enter the SID: db1. In the Operating System Specific Details
field, enter the directory path of the Oracle executables, i.e.
/usr/oracle for Unix or c:\oraos2\ for OS/2. Click OK to close the
Database property sheet.
8. Click OK to close the listener property sheet. To create
TCP_listener2, repeat steps 6-7 and substitute TCP_node2, TCP_DB2,
and db2 for the node, database, and SID, respectively.
Note: The on-line walk-through automatically validates the network configuration.
Step C. Save the network configuration data and generate configuration files.
1. Save the network definition.
2. Click File System in the Export Network Definition dialog box and
click OK. Choose the directory and click OK. The network definition
is now complete and the configuration files are generated.
III. OTHER INFORMATION
A. About the configuration files
If the network definition is saved to the file system,
Network Manager creates two types of subdirectories within the
directory chosen to store the network definition.
These are: a node specific directory, which has the same name as the
node and contact configuration files for the service the node provides,
and a client profile directory, which has the same name as the client
community and contains configuration files for each client.
B. Hardware and Software Requirements
PC with 6Mb disk, IBM or 100% compatible with an 80386 processor
or higher one CD-ROM drive
MS-DOS Version 5.0 or later and Windows 3.1Hi Steve,
1) PL/SQL API for Network Analysis is coming in Oracle 10g Release 2.
2) In Oracle 10g Release 1 it is a requirement to load the entire network. Loading the entire street network of new york city on my 1 Ghz laptop requires about 1 minute. In Oracle 10g Release 2 you can specify a predicate on the load network so you do not have to load the entire network.
3) Source code for elocation will be available as an Oracle 10g Release 2 feature (I'm not sure what the "name" of the feature is, but it is a bundling of geocoding and routing, and when combined with MapViewer is a complete "elocation in a box" type of feature.
Hope this helps. -
Log File in oracle network log directory,
Hello,
in the oracle\network\log directory there we can find the file [SIDNAME].log.
I think only in case for network troubles, oracle will log some informations in this log file.
For what is this file needed and can I delete this file?
Thanks for your help.thanks for feedback...
the input of the file is like the following:
11-JUN-2010 10:23:51 * service_register * WMS * 0
11-JUN-2010 10:24:03 * service_update * WMS * 0
11-JUN-2010 10:24:25 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=WMS)(SERVER=dedicated)(CID=(PROGRAM=C:\Programme\Oracle\DB10g\bin\sqlplus.exe)(HOST=PCWI)(USER=Admin))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=2530)) * establish * WMS * 0
11-JUN-2010 10:24:27 * service_update * WMS * 0
11-JUN-2010 10:24:30 * service_update * WMS * 0
11-JUN-2010 10:25:05 * ping * 0
11-JUN-2010 10:25:05 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=PCWI)(PORT=1521)))(VERSION=169869568)) * status * 0
11-JUN-2010 10:25:16 * (CONNECT_DATA=(SID=WMS)(CID=(PROGRAM=C:\Programme\Oracle\DB10g\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe)(HOST=PCWI)(USER=SYSTEM))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.14.194)(PORT=2538)) * establish * WMS * 0
11-JUN-2010 10:25:51 * (CONNECT_DATA=(SID=WMS)(CID=(PROGRAM=C:\Programme\Oracle\DB10g\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe)(HOST=PCWI)(USER=SYSTEM))(SERVER=dedicated)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.14.194)(PORT=2542)) * establish * WMS * 0
11-JUN-2010 10:26:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=WMS)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.14.194)
can I deactivate this traces?
thanks for feedback -
Oracle.ifs.admin.export.ExportUsers NOT working in SILENT mode
I'm trying to export my CMSDK users via the commandline script (since the GUI tool MAKES YOU SELECT EACH USER ONE AT A TIME!!!) but it is not working. The CMSDK doc incorrectly tells you to run oracle.ifs.admin.export but I've found that you have to run ...ExportUsers. However my def file has the runsilent attr set but the GUI app still pops up???? Below is my script
#!/bin/sh
IFS_ROOT_HOME=$ORACLE_HOME/ifs
export IFS_ROOT_HOME
. $ORACLE_HOME/ifs/common/bin/ifsunixcmds
. $ORACLE_HOME/ifs/cmsdk/bin/system/ifssetenv
CLASSPATH=${IFS_CLASSPATH}
export CLASSPATH
java -Xmx64M oracle.ifs.admin.export.ExportUsers /d01/app/oracle/product/oas904mid/ifs/cmsdk/export/export-users.def
And here is my def file...
IFS.EXPORT.RunSilent=true
IFS.EXPORT.Username=system
IFS.EXPORT.Password=manager9ifs
IFS.EXPORT.Service=IfsDefault
IFS.EXPORT.SchemaPassword=gapp1969
IFS.EXPORT.LogFile=export-users.log
IFS.EXPORT.USER.ExportedUsers=bdillon
IFS.EXPORT.ExportSetName=dev-users
IFS.EXPORT.ExportToPath=/d01/app/oracle/product/oas904mid/ifs/cmsdk/export/
IFS.EXPORT.ExportTreeSize=50
IFS.EXPORT.USER.GetAllAncestors=true
IFS.EXPORT.USER.GetDirectAncestors=falsePl see your other thread here - libxp.so.6
You cannot terminate an install before successful completion and expect things to work flawlessly ;-)
Srini -
Error during Oracle Installation in Step Oracle Network Configuration
Hi All,
We are installing SAP 4.7 * 200 on window 2003 and Oracle (9.2.0.5).
Installation of Central Instance and oracle software was successful. But when we are installing database instance it is giving error in phase Prepare Oracle Network Configuration. Installer is not able to run lsnrctl utility. When we tried to run lsnrctl manually then it is giving below error:
The Procedure entry point kodsetlobcb could not be located in the dynamic link library orageneric9.dll.
Please suggest.
Thanks
SunnyError resolved as some files were missing in bin folder.
Thanks
Sunny -
Network settings export - is it compatible across all osx versions ?
Hi.
I have created a network preferences export file to configure vpn settings on other osx macs here at work (using 10.6.8). Can anyone tell me if this file is compatible with all osx os versions, or do I need to generate osx major version specific export files ?
Thanks, milleuardoNelmedia wrote:
Thx for the quick reply Nerowolfe...
I did do as you said and a few other ways also in trying to troubleshoot this, but it still doesn't save the settings. Setting the lock on does no good since the settings disappear after the "Apply" button is pressed. You have to "Apply" before you lock.
Very confusing....
I'm an old *nix guy, so I thought I'll just shell in and change the files manually. Did that, but if I opened Network Prefernces again and changed anything, it reverted the files back.
Very, very confusing....
I have only one setting - in DNS - but it stays there. I never used WINS.
You might see if you can do it with another user with admin privs as a test.
Also if you haven't, run DU and check the HD and repair permissions.
Barring that, you may have a corrupted .plist that needs trashing. Sometimes the preference file for a group of settings gets corrupted and by dragging it to the desktop the system creates a new one. This could work, but there are not guarantees.
The .plist files are in User->Library->Preferences. I don't know of a good list of which plist goes with which preferences other than that the names are sometimes (but not always) helpful
You might also consider reposing this question in this networking forum:
http://discussions.apple.com/forum.jspa?forumID=733
<Edited by Moderator> -
Oracle Import and Export Utility
Hello All,
Could someone please explain me Oracle Import and Export Utility. I've gone through the below link and it has been mentioned to use keyword 'exp' but I'm not getting any idea where to use it. So kindly explain how the util works.Hello;
Export creates a logical backup its great for move tables, schemas etc.
Import bring that data back in.
You can use a parm file with either.
Import example :
imp parfile=in.parm
in.parm ( contains )
userid=system/<password>
fromuser=scott
touser=scott
file=in.dmp
log=in.logemp parfile=out.parm
out.parm ( contains )
userid=system/<password>
owner=scott
file=out.dmp
log=out.dmp
statistics=noneYou can use these commands at the OS level to get quick help.
imp help=y
enp help=yYou can export a subset of a table :
exp scott/t<password> tables=emp query="where deptno=20"You can use options like :
full=y
BUFFER=2000000
GRANTS=y
COMPRESS=yThis utility is being replaced by data pump.
Best Regards
mseberg
There's a short import and export examples here :
http://www.oracle-dba-online.com/export_and_import.htm
Edited by: mseberg on Sep 17, 2011 6:46 PM -
Why Oracle changes the export path
Hi,
I am doning an export with direct=y. But during the export I have got the message as: EXP-00067: Table xxxx will be exported in conventional path.
Why Oracle changes the export path into conventional?It can be extremely annoying - our supplier added
some clobs to some of our bigger tables, nothing in
them at all, but it has massively increased our
export times.How often is this a problem and why? In most places import/export would be a pretty rare scenario - upgrades and migrations would seem the most likely usage scenario.
Niall Litchfield
http://www.orawin.info/ -
Oracle network data modele on mapviewer
bonjour , goodmorning
English:
I have an application of oracle network data modele witch contains node , link , plink and path tables. and i like to view this whith mapviewer application on web page, i was setup mapviewer 10.1 with OC4J and i saw the mvdemo without errors ... please get me the steps to do for visualizing my network.
Français:
j'ai mon propre réseau oracle network data modele et je voudrais le visualiser avec mapviewer sur une page web. le réseau contient les quatres tables necéssaire et pas de probleme dans ce coté. j'ai bien installer mapviewer avec le serveur OC4j et j'ai visualiser l'exemple mvdemo sans aucun probleme... SVP indiquez moi les etapes a suivre afin de visualiser mon reseau.First may I recommend that you use the latest MapViewer quick start kit, which is 11g R1.
On your mapviewer web site, if you click the "Demos" tab, there is a link to a simple Network demo page. Have you tried using that? You should populate it with your own network data (network name et al). Let us know if you need more information on how to make this demo work with your data.
thanks
LJ -
Refere some books on Oracle Networking
hi friends
I have an exam schedul for OCP this month.
my fir paper is 1Z0-032. Though i cleared with all topics in 032.
i need some help on "Oracle Networking" and some dumps related to this topic
so plzzz. refere me some books.Have taken a look at the Oracle9i Net Services Administrator's Guide?
http://download-east.oracle.com/docs/cd/B10501_01/network.920/a96580/toc.htm -
Xmlns. path Power in Oracle Network possible or not?
xmlns.[dot].net using path in oracle network !!!
xmlns.glassfish.oracle.com for exempleHey Mate
TC 1 is your main time capsule and is connected to your modem via a CAT5 cable. It is set to "Create a wireless network" as it should be already.
TC 2 (your new TC or AE) is then set to "Extend a wireless network" it then connects to TC 1 over the wireless and:
(A) extends your existing wireless network on G and N if you get a dual band one.
(B) gives you a couple of extra usable ethernet ports.
The only problem I've noticed is when playing games either physically wired to TC2 or wirelessly connected to TC2 is an increased ping/latency.
However I highly recommend the setup and it works wonders for extending range, or setting up a remote LAN which you wish to have wired computers (connected over ethernet for fast transfer speeds) but also have to have access to the internet.
Hope this helps mate any more questions let me know.
Cheers -
Hi,i would like to know the fellow competitors for Oracle network intelligence and network integrity tool. I would like to have a comparative view of them.
Thank you.Hi,i would like to know the fellow competitors for Oracle network intelligence and network integrity tool. I would like to have a comparative view of them.
Thank you. -
Add entry to ldap and not tnsnames
Hi all.
Oracle DB:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Oracle Reports Server:
OAS 10g (9.0.4) Reports
May seem elementary but having dificulty finding out where to add an entry for a new db so I can acces it from our report server.
I didn't set up the Oracle Reports Server and am wondering how I can add an entry to ldap so I can access database running on seperate server.
I can tnsping other dbs on same machine from report server: (unawlo1 and wlocdbt1 are running on same server and both exist in tnsnames.ora file on that server)
[oracle@rcwlo-oas admin]$ tnsping unawlo1
TNS Ping Utility for Linux: Version 9.0.1.4.0 - Production on 27-JAN-2010 11:30:25
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/u01/app/oracle/product/904oas/infra/network/admin/sqlnet.ora
Used LDAP adapter to resolve the alias
Attempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=rcwlo-ods10g.cdn.ray.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=unawlo1)))
OK (0 msec)
[oracle@rcwlo-oas admin]$ tnsping wlocdbt1
TNS Ping Utility for Linux: Version 9.0.1.4.0 - Production on 27-JAN-2010 11:30:32
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/u01/app/oracle/product/904oas/infra/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
Using LDAP adapter but not sure where I can add info for wlocdbt1 on the report server.
Any help is appreciated.
ThanksAdded to tnsnames.ora and still can't tnsping..
WLOCDBT1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = RCWLO-ODS10g.cdn.ray.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = wlocdbt1)
[oracle@rcwlo-oas admin]$ tnsping wlocdbt1
TNS Ping Utility for Linux: Version 9.0.1.4.0 - Production on 27-JAN-2010 12:13:23
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/u01/app/oracle/product/904oas/infra/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
The rest are added and used by ldap so I would like to keep it consistent... Not sure how to add it...
Edited by: Jamie CC on Jan 27, 2010 9:13 AM
Maybe you are looking for
-
SSH on Outside interface on ASA 5510
Hi All, I need the ssh access on my ASA outside interface and have added ssh ipremoved 255.255.255.255 outside access-list acl_outside extended permit tcp host ipremoved any eq 22 but this is the log i get from ASA Oct 06 2012 16:10:04: %ASA-3-710003
-
Error -1426 : Solid Apple logo on Iphone after update
Here's a new one. I went through and downloaded the 2.0 update about an hour ago. The update backed up the Iphone, then restored/updated it to 2.0. So far, so good! Then it got to the part where it looked like it was going to put back my own settings
-
Javascript causes Firefox to not respond for a few minutes.
I have a website form with a large amount of dynamically generated javascript that uses jQuery to handle events. When clicking on radio buttons in the form Firefox 26 will get part way through then stop responding for around two minutes while showing
-
Where is the burn cd icon at in the new version of itunes?
This weekend, I was trying to burn a pearl jam show for a friend at work. I know the show has about 45 tracks; so it needs to be an MP3 cd. I believe I have to make a new playlist, and then drag and drop the files into mp3 format. But my question is
-
Car Demo on MyFaces implementation doesn't run !
I'm trying to use the myfaces 0.9.1 implementation for the cardemo sample from the JSF 1.0 FCS. The error I'm getting is - java.lang.NullPointerException: Could not find factory configuration in faces-factoryConfig at net.sourceforge.myfaces.config.c