How can I config listener and tnsnames for 2 instances?
Now I can create 2 instances on single machine but I can't config listener and tnsnames for them.
Every time that I reconfig tnsnames, the newer is available but the old is unavailable. For example, there are instance A and instance B. When instace A can be connected instance B can't be connected. The error message is "ORACLE not available", although instance B is already started.
Insert into listener.ora
after the characteristics of
first database
(SID_DESC =
(GLOBAL_DBNAME = <global_dbname>)
(ORACLE_HOME = <oracle_home>)
(SID_NAME = <second_sid>)
Copy Paste the sid_desc of your first db
and insert it with the second sid
lsnrctl restart
and the outputs messages will show you
two instances and the extproc.
null
Similar Messages
-
How can i config WLS7 and iPlanet LDAP
How can i config WLS7 and iPlanet LDAP?
failed during initialization. Exception:java.lang.SecurityException: Authenticat
ion for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManager.doBootAuthorization(
SecurityServiceManager.java:978)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
erviceManager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
>Yos:
Series of steps to get WLS working with some external LDAP server follows:
I. create a new domain /mydomain
II. start server
III. open WebLogic console in a browser
IV. in left frame, go to
security->realms->myrealm->providers->AuthenticationProviders and click
V. in right frame, click on “Configure a new iPlanet Authenticator”
VI. In the new screen, under General, make sure the Control Flag is set to Required,
select a name for this authenticator, and click Create.
VII. Select iPlanet LDAP tab and fill in values for Host, Port, Principal where
these values reflect the settings for your LDAP server. (Note: the default
principal for an iPlanet LDAP server is uid=admin, ou=Administrators,
ou=TopologyManagement, o=NetscapeRoot). Click Apply.
VIII. Click on Credential: Change. At the new screen, enter the credential
associated with the Principal that you entered in step VII in both boxes. This will
be the password that is used to do a bind to your LDAP server with the principal.
Click Apply.
IX. Select Users tab and make sure these properties accurately reflect the structure
of your LDAP server. Most of the time the only property that needs to be changed is
the User Base DN property, from ou=people,o=example.com to
ou=people,o=myCompany.com. Click Apply.
X. Select Groups tab and make sure these properties accurately reflect the structure
of your LDAP server. Most of the time the only property that needs to be changed is
the Groups Base DN property, from ou=people,o=example.com to
ou=groups,o=myCompany.com. Click Apply.
XI. Now, the boot identity of your server absolutely must be a user that exists on
your LDAP server. You must also have an “Administrators” group on your LDAP server,
and the boot identity must be a user that exists in this “Administrators” group, or
the server will not start. So open your LDAP console (this will be a console that
is specific to the LDAP server you are using) and use the management tools to create
the “Administrators” group and a user that you place in the “Administrators” group
that is the boot identity that you use to start WebLogic.
XII. Make these changes and restart the server.
XIII. You can verify that the LDAP setup is correct by doing a thread dump. You
should see a thread like:
“LDAPConnThread localhost:389" daemon prio=5 tid=0x8d9b308 nid=0x8f8 runnable
[0x9e2f000..0x9e2fdbc]
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
- locked <3281d98> (a java.io.BufferedInputStream)
at netscape.ldap.ber.stream.BERElement.getElement(BERElement.java:101)
at netscape.ldap.LDAPConnThread.run(LDAPConnThread.java:420)
where “localhost:389” is the server name and port of your LDAP
server. This means that your Authenticator has been set up correctly.
XIV. Now you can delete your default authenticator. Open the WebLogic console and
go to security->realms->myrealm->providers->AuthenticationProviders in the left
frame, and click
XV. In the right frame, look for DefaultAuthenticator and click on the trash can to
the far right. Say “Yes” when it asks if you are sure, then click Continue.
XVI. Restart the WebLogic server. If the server boots correctly, you’re done.
Everything is working correctly.
Please note that the "default authenticator" refers to the embedded LDAP server that
ships with WebLogic.
Hope this helps.
Joe Jerry
Yos wrote:
How can i config WLS7 and iPlanet LDAP?
failed during initialization. Exception:java.lang.SecurityException: Authenticat
ion for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManager.doBootAuthorization(
SecurityServiceManager.java:978)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
erviceManager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
> -
HT1338 how can i find username and password for MobileMe ?
please let me know which username and password should use for Mobileme.
MobileMe is closed; if you had an account and did not migrate it to iCloud it's lost. If you migrated it to iCloud the login is your @me.com email address and the password is what you chose.
If you never had a MobileMe account (and paid for it prior to June last year) the situation does not arise - you may have come across some old documentation encouraging you to sign up, but this is no longer possible.
You can open an iCloud account for free, which will give you email and syncing facilities:
Get Started with iCloud -
How can I change userid and loginid for LDAP as userdatabase in SAP EP ?
Hi all.
I have this situation.
one Windows Active Directory server.
one SAP EP server.
I needs to configure SAP EP server userinfo database point to Windows AD server.
In my Windows Active Directory, user attribute includes windowsuserid, physicaldeliveryofficename and others.
I needs to configure physicaldeliveryofficename as userid in SAP EP, but I needs user use windowsuserid as loginid to login in EP ( not physicaldeliveryofficename ) .
Is it possible ?
Now I can configure officename as userid and loginid in SAP EP, by change attributeMapping
<attributeMapping>
<principals>
<principal type="account">
<nameSpaces>
<nameSpace name="com.sap.security.core.usermanagement">
<attributes>
<attribute name="j_user">
<physicalAttribute name="physicaldeliveryofficename"/>
</attribute>
<attribute name="logonalias">
<physicalAttribute name="samaccountname"/>
</attribute>
<attribute name="j_password">
<physicalAttribute name="unicodepwd"/>
</attribute>
<attribute name="userid">
<physicalAttribute name="null"/>
</attribute>
</attributes>
</nameSpace>
</nameSpaces>
But in this way, user must enter their physicaldeliveryofficename as loginid.
I needs user to input their windows AD loginuserid to login in EP, is it possible ?
Thanks a lotHi David.
We develop a LoginModule.
And when user is login in, the LoginModule will read username from input parameter then transfer it to userid as user input principal.
So in SAP EP, the user account id is mapped with Windows AD officename, but user can use their username to login -
How can I set PCTUSED and PCTFREE in Warehouse databases?
Hi,
There are many Schemas in our database and some are used for OLTP and some others are used for Warehouse. Also our tablespaces are Local Managed.
Could you help me please how can I set PCTUSED and PCTFREE for Warehouses and OLTP.
What are your suggestions? What should be optimum?
DB version is 9.2.0.8.
thanks & regardsIf you are using locally managed tablespaces with ASSM then the pctused parameter would no longer apply. In all cases dictionary vs locally managed with or without ASSM you should set pctfree based on how much of the data row column values are present at initial row insertion and how likely any column is upated to a larger size after initial row insertion.
In a warehouse I would expect most of the tables to have 100% of the row data present at initial insert and for the data to never be updated. For tables meeting this requirement a pctfree of 3 - 5% would likely be a good choice. I never like to use 0% since the day may come when you add another column to the table.
With OLTP tables the ideal pctfree value varies more from table to table. Most table so seem to work well enought with the default 10% but I have seen tables that need 50% pctfree to prevent row migration since only the key column values existed at initial insert and most all the other column data was added later.
Where ASSM is not in use I like to set pctused to 95 - pctfree. Over the last 15 years I am not sure I ever found a need to change the pctused from this once set. I have set a lot of tables up over the years from the old default of 40% to use 60% and 80% before resetting everything during a server platform migration as I mentioned above.
HTH -- Mark D Powell -- -
How can I use srvctl command line for change "Failover type" and "F method"
Hi all,
I am using Oracle One Node (11.2.0.3), and I have a service:
/u01/11.2.0/grid/bin/srvctl config service -d orcl
Service name: orcldb
Service is enabled
Server pool: orcl
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: orcl_1
Available instances:
I would like to change "Failover type" and "Failover method" to:
Failover type: SELECT
Failover method: BASIC
How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
Thanks in advance.
Leonardo.user10674190 wrote:
Hi all,
I am using Oracle One Node (11.2.0.3), and I have a service:
/u01/11.2.0/grid/bin/srvctl config service -d orcl
Service name: orcldb
Service is enabled
Server pool: orcl
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: orcl_1
Available instances:
I would like to change "Failover type" and "Failover method" to:
Failover type: SELECT
Failover method: BASIC
How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
Thanks in advance.
Leonardo.srvctl modify service -d database_name -s orcldb -q TRUE -m BASIC -P BASIC -e SELECT -z 180 -w 5 -j LONG
Also see
11gR2(11.2) RAC TAF Configuration for Admin and Policy Managed Databases [ID 1312749.1] -
How configure correctly Listener and TNSNAMES
Hi to All,
This is my scenario.
Actually I have 2 machine under Linux, the SERVER01 and SERVER02.
1) On both is installed Oracle DB Version 9.2.0.4.0
2) On SERVER01 is installed Apache and PHP
3) On SERVER01 run an application PHP that use a DB located on the same server.
This is the LISTENER:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = /home/oracle/OraHome1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = server01.lan)(PORT = 1521))
)and the TNSNAMES is
orcl =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = server01.lan)(PORT = 1521))
(CONNECT_DATA =
(SID = orcl)
)Now I need configure Listener and TNSNAMES in order to use with my Application on SERVER01 another DB (for example SID = MYDB2 and alias = MYDB2) located on SERVER02 (IP 192.168.99.98).
I have tried with this Listener and this TNSNAMES:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = /home/oracle/OraHome1)
(SID_DESC =
(SID_NAME = MYDB2)
(ORACLE_HOME = /home/oracle/OraHome1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = web.server01.lan)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.99.98)(PORT = 1521))
)But when I restart the listener this error is returned:
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Can someone help me to configure correctly the listener and resolve my problem ?
Thank You and best regards.
Gaetano(ADDRESS = (PROTOCOL = TCP)(HOST = server01.lan)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = server01.lan)(PORT = 1521))server01.lan doesn't look like a valid hostname to me. Were you able to ping to this hostname? -
How can i config Oracle Services for Microsoft Transaction Server in 9.2
how can i config Oracle Services for Microsoft Transaction Server in 9.2
There's nothing to configure on the client side. On the database side you just need to run a script once to setup an ORAMTS admin account and some other infrastructure.
-
How to configure listener and tnsnames.ora on 10g version
how to configure listener and tnsnames.ora on 10g version
If you are on linux platform, on command prompt execute netmgr and configure listener fromt there. Or go to $oracle_home/network/admin/listner.ora write the following
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
For tnsnames.ora write the following
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
) -
I used to use CS5 and I want to use the Acrobat version on my new iMac.
How can I find my serial number for Adobe Acrobat 11. I don't want to use the new version at £18.00 per month. I don't need it. Thank youHi Anthony Aduhene
Please refer : Find your serial number quickly -
I refuse to pay for a one year automatic subscription for Cosumer report that was charged to my account today without me noticing. How can I cancel that and get reimbursed now?
PatrickFirst turn off auto-renewing subscriptions:
iTunes Store: Purchasing and managing auto-renewing subscriptions
Getting a refund won't be as simple. For that you will have to contact iTunes Store Support. -
My ipod nano was synced by itunes and removed all of my music and game files, and replaced my music with my kids music that they have put into the current itunes library. My music is nowhere to be found on my computer, so now I am in the long, forever process of adding my music back one cd at a time, but there is no history of tetris that I paid for from the itunes store. How can I get this game back for my ipod?
Contact iTunes support and explain your situation to them. They may let you redownload it at no cost.
http://www.apple.com/support/itunes/contact.html
If they don't, I'm afraid you'll have to purchase it again. Sorry.
B-rock -
I would like to send pics from my windows computer to my iPhone using bluetooth. I had it paired but somehow it cannot the download the software and is asking me to usa a disk instead. Where or how can I download the software available for that, please reply... thaks. (",)
Bluetooth file transfer has never been supported with iOS devices.
-
i got the iphone 5, got some pics and msgs and contacts on it, and when i connected to my PC to restore my previous info from the old iphone, all the new stuff are gone, how can i get it back, thanks for help.
The voicemail system used for the iPhone is different from the voicemail system used on the rest of the Verizon Wireless network. When you activate the iPhone, you lose your saved voicemails from the other system. When you activate a non-iphone, you lose any saved voicemails from the iPhone voicemail system too.
-
Hi! How can I change the shipping address for the program of replacement of the 1 generation ipod nano? I've already received the empty box and now I should send back the old ipod but I'd like to receive the new one to another address. Thank you.
I would contact Apple directly and have them work with to get the iPod shipped to a new/different address.
http://www.apple.com/contact/
B-rock
Maybe you are looking for
-
White box in background on menu
I have a white box behind my photos in almost every theme. It wasn't there initially and now I can't get rid of it. You can't click on it and it's not in the drop zones. Any ideas? Thanks!
-
Error "Account not found" in Catalog
Hi All! I have a problem with the catalog of OBI EE. When connecting to multiple users showed the error "Account not found". I've located the "Catalog Manager" accounts whose permits were <delete Account>. I deleted those accounts and have been fully
-
Hi , I need to list the Service Orders based on Functional Location using a Standard ES . Can any one please give me the name of the ES . Thanks & Regards, Hamsa Shree
-
i have an ipod 2g and my lock button wasn't working so i took the ipod apart and changed the button. the top half works but the bottom doesn't so i cant unlock my ipod but i can still listen to music and such
-
I have been in Turkey.During a trip to the Apple Store in New York City , 23.04.2012 date of İphone 4S white 16 Gb (serial number DNQH918PDTD1). When I returned to my country on the İphone after activation, 26.04.2012, İphone's video camerais corrupt