Access to the second instance of the database on the same host (ORA-12514) problem
Hello
I had a database of what ICMDB installed on my machine. After that, I created a second instance of database (Service name: BI_APPS) using DBCA on the same machine. With the help of NETCA I also created a new OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER listener on port 1522 on my machine. Then I configured this listener to listen to the connections to the service BI_APPS by adding the following to my tnsnames.ora:
BI_APPS_LISTENER =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
Then I changed the port in my driveway tns to BI_APPS at 1522 as follows:
BI_APPS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BI_APPS)
)
)
I then restarted the following services:
OracleOraDb11g_home1TNSListener
OracleServiceBIAPPS
OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER
After that, when I try to access my first ICMDB DB through Toad, the connection is successful. However, when I try to access the service BI_APPS I get the following error:
ORA-12514: TNS:listener is not currently of service requested in connect descriptor.
What I am doing wrong? Here are the contents of my files:
----------------------------------------------
TNSNAMES. ORA
tnsnames.ora # Network Configuration file: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
BI_APPS_LISTENER =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
BI_APPS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = BI_APPS)
)
)
LISTENER_ICMDB =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ICMDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = icmdb)
)
)
-----------------------------------------------------------------------
SQLNET. ORA
sqlnet.ora # Network Configuration file: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NTS)
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
------------------------------------------------------------------------------------
LISTENING PORT. ORA
listener.ora # Network Configuration file: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
BI_APPS_LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.109)(PORT = 1522))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1522))
)
)
ADR_BASE_BI_APPS_LISTENER = D:\app\Oracle
SID_LIST_BI_APPS_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\Oracle\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
---------------------------------------------------------------------------------------------------
Here's the lsnrctl status output
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12 December 2013 16:17:01
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Production
Start date December 12, 2013 10:34:35
Uptime 0 days 5 h 42 min 26 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
D:\app\oracle\diag\tnslsnr\ICMDEVDB\listener\alert\log.XML log listener
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ICMDEVDB) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.2.109) (PORT = 1521)))
Summary of services...
Service 'BIAPPSXDB' has 1 instance (s).
'Biapps' instance, State LOAN, has 1 operation for this service...
Service 'BI_APPS' has 1 instance (s).
'Biapps' instance, State LOAN, has 1 operation for this service...
Service 'icmdb' has 1 instance (s).
'Icmdb' instance, State LOAN, has 1 operation for this service...
Service 'icmdbXDB' has 1 instance (s).
'Icmdb' instance, State LOAN, has 1 operation for this service...
The command completed successfully
OK I solved this.
Apparently, the machine restart is necessary after the creation of the new instance. I have created a new instance, restarted Windows and Bingo!
Tags: Database
Similar Questions
-
Sqlnet.ora instance configuration when instances share the same host
Hello
According have modernized some of our databases to 11.2 which was on different machines on the same host again we realized that one of them had node valid control setting with the list of nodes invited in sqlnet.ora.
Is it possible that we keep this configuration for the instance and keep others outside this configuration?
Kind regards
Altanak1980 wrote:
HelloAccording have modernized some of our databases to 11.2 which was on different machines on the same host again we realized that one of them had node valid control setting with the list of nodes invited in sqlnet.ora.
Is it possible that we keep this configuration for the instance and keep others outside this configuration?
Kind regards
AltanLaughing out loud
And the use of valid_node and invited_node is fairly lame to start. I always wondered why implemented oracle implementation in their layer of sqlnet at all, being the right place to do the filtering on the router ip.
So now you must be wondering why a single instance - and no others - used it in the first place. The solution to your dilemma will depend on the answer to this question. It could be that for a particular instance of filtering IP was valid. However, the decision to do so at the level of the layer of tns was wrong, and then pass that instance to a host with other bodies which have different requirements only aggravated the original error.
-
How can I upgrade my Photoshop CS5 to my new computer laptop of my older imac. I want to have access to the same tools, preferences, brushes, etc. on both computers
Hello
You can install Photoshop CS5 on your new machine from this link: Download Adobe Creative Suite 5 products
See this article for the location of the predefined settings that you can transfer manually on the new machine: functions of file Photoshop CS6 preferences, names and places
In addition, you can check this link: Migrate presets in Photoshop CC
Kind regards
Claes
-
CAR-to-car cloning of EBS on the same host
I'm running a car-to-car cloning of EBS on the same host... trying to run the below command, I get the errors below
Perl adclone.pl component java=/db/app/oracle/product/11.2.0/db_2/jdk/jre = dbTier mode = stage=/db/app/oracle/product/11.2.0/db_2/appsutil/clone/ = dbctxtg=/db/app/oracle/product/11.2.0/db_2/appsutil/dev21_ifmisdbdev01.xml rmanstage = CUSTOM method / fra/STAGE/data/internship/rmantgtloc = + srcdbname FRA = dev2 pwd = apps showProgressode
Logfile located at /db/app/oracle/product/11.2.0/db_2/appsutil/log/dev21_ifmisdbdev01/ApplyDBTier_09121455.log
/ 50% complete type system database Source key ("single" or "car").
The system is identified as active CARS!
Restoring the head node of RAC database on the new system via RMAN target...
THIS PROCESS TAKES A LONG TIME TO COMPLETE AND DEPENDS ON THE SIZE OF THE SOURCE SYSTEM DB
Enter the first phase to RMAN restore
-50% finished
Not able to run the first phase to RMAN restore!
ERROR when executing apply...
-bash-4: $1 tail-f /db/app/oracle/product/11.2.0/db_2/appsutil/out/dev21_ifmisdbdev01/restore-rac1.log
ORA-19504: could not create the file "+ FRA/dev2/controlfile_dev2.ctl".
ORA-17502: ksfdcre:3 cannot create the +FRA/dev2/controlfile_dev2.ctl file
ORA-15001: diskgroup "FRA" does not exist or is not mounted
ORA-15055: unable to connect to the ASM instance
ORA-15055: unable to connect to the ASM instance
ORA-27300: OS dependent operating system: open failed with status: 13
ORA-27301: OS Error Message: permission denied
ORA-27302: an error occurred at: sskgmsmr_7
Complete recovery manager.
operating system permissions
-
Internal network for clients on the same host?
Is it possible to set up an internal network so that if the VMS and B are on the same host and tried to access B (or vice versa), all network traffic will be handled internally by ESXi without the need to go upstream?
Hello
This is the behavior by default when two virtual machines are on the same portgroup and in the same VLAN.
Traffic will not leave the vSwitch in this case.
If you want the virtual machines only isolate the virtual machines from the outside network, you can create a new portgroup for them and do not add physical network cards to the portgroup.
This way, the virtual machines can communicate with each other.
Tim
-
Newspapers are not applied in the first physical availability of time on the same host
Hello
I have met many threads associated with this topic, but could not help meet me at good question, raising a fee.
I'm setting up physical DB ensures for the first time. It is in the same host. Although I worked a little on the day before but did not get a chance to create new. I used the cold backup RMAN to restore the backup of the primary database. The version of DB is 11.2.0.3(32bit) and I create on Windows 7. The problem is that newspapers are not applied side sleep although I can find no error in the alerts log. Previously file associated password error was coming, but I solved that one.
In the standby alert settings are similar to:
process = 150
memory_target = 500 M
memory_max_target = 700 M
control_files = 'D:\EDRIVE\STANDBY\STANDBY\CONTROL01. CTL.
control_files = 'D:\EDRIVE\STANDBY\STANDBY\CONTROL02. CTL.
db_file_name_convert = "D:\EDrive\PRIMARY\primary."
db_file_name_convert = "D:\EDrive\STANDBY\standby."
log_file_name_convert = "D:\EDrive\PRIMARY\primary."
log_file_name_convert = "D:\EDrive\STANDBY\standby."
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
Log_archive_dest_1 = 'LOCATION is D:\EDrive\STANDBY\Arc ".
LOG_ARCHIVE_DEST_2 = "SERVICE = VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = PRIMARY PRIMARY."
log_archive_dest_state_1 = 'ENABLE '.
LOG_ARCHIVE_DEST_STATE_2 = "DEFER".
fal_client = "STANDBY".
fal_server = "PRIMARY".
log_archive_config = "DG_CONFIG = (PRIMARY, standby)"
log_archive_format = '% t_%s_%r.arc '.
log_archive_max_processes = 30
db_recovery_file_dest_size = 4152M
standby_file_management = 'AUTO '.
undo_tablespace = 'UNDOTBS1.
SEC_CASE_SENSITIVE_LOGON = FALSE
Remote_login_passwordfile = "EXCLUSIVE."
AUDIT_TRAIL = 'DB '.
db_name = "primary".
db_unique_name = "STANDBY".
open_cursors = 300
-----
Side in primary school settings looks like when you start:
process = 150
memory_target = 712 M
control_files = 'D:\EDRIVE\PRIMARY\PRIMARY\CONTROL01. CTL.
control_files = 'D:\EDRIVE\PRIMARY\PRIMARY\CONTROL02. CTL.
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
Log_archive_dest_1 = 'LOCATION is D:\EDrive\PRIMARY\Arc ".
LOG_ARCHIVE_DEST_2 = "SERVICE = PRIMARY NOAFFIRM ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = STANDBY"
log_archive_dest_state_1 = 'ENABLE '.
LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
fal_client = "PRIMARY".
fal_server = "STANDBY".
log_archive_config = "DG_CONFIG = (PRIMARY, standby)"
log_archive_format = '% t_%s_%r.arc '.
log_archive_max_processes = 30
db_recovery_file_dest = 'D:\app\fast_recovery_area. '
db_recovery_file_dest_size = 4152M
standby_file_management = 'AUTO '.
undo_tablespace = 'UNDOTBS1.
SEC_CASE_SENSITIVE_LOGON = FALSE
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = «»
dispatchers = "(PROTOCOL=TCP) (SERVICE = primaryXDB)" "
audit_file_dest = "D:\APP\ADMIN\PRIMARY\ADUMP".
AUDIT_TRAIL = 'DB '.
db_name = "primary".
open_cursors = 300
diagnostic_dest = "D:\APP".
For backup RMAN and duplicate below are the commands that I used.
While backup in montage mode
RMAN target = /.
run
{
allocate channel c1 type disk;
allocate channel c2 type disk;
backup of database format "D:\EDrive\RMANBACKUP\primary\%U".
ARCHIVELOG backup all the format "D:\EDrive\RMANBACKUP\primary\%U".
backup current controlfile to watch format "D:\EDrive\RMANBACKUP\primary\standby.ctl".
}
Then the restoration
RMAN target sys/sys@PRIMARY auxiliary.
Duplicate the database target for Eve dorecover;
Also I added ensures Redolog 1 additional side sleep later because he did not show everything after mark select * from v$ standby_log;.
Now, it's showing a.
On the side of the day before, I heard THAT RMAN creates it.
Please see below:
Side eve
--------
SQL > alter database add standby logfile group 1 'D:\EDrive\STANDBY\standby\stb_redo01.log' size 100M;
alter database add standby logfile group 1 'D:\EDrive\STANDBY\standby\stb_redo01.log' size 100 M
*
ERROR on line 1:
ORA-01184: logfile group 1 already exists
SQL > alter database add standby logfile Group 2 'D:\EDrive\STANDBY\standby\stb_redo02.log' size 100M;
alter database add standby logfile size of 'D:\EDrive\STANDBY\standby\stb_redo02.log' of the 2,100 M group
*
ERROR on line 1:
ORA-01184: logfile group 2 already exists
SQL >
SQL >
SQL > alter database add standby logfile group 3 'D:\EDrive\STANDBY\standby\stb_redo03.log' size 100M;
Database altered.
Please guide me to understand the problem that's why set are not applied?
Thanks a ton for your help beforehand.
-Best regards,.
SahaTransport is not executed on primary, because you log_archive dest parameter is not correct.
Your problem here:log_archive_dest_2 string SERVICE=PRIMARY NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY
You must change it to:
alter system set log_archive_dest_2 ='SERVICE=STANDBY NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY'; alter system set log_archive_dest_state_2=ENABLE; alter system switch logfile;
Change the setting and paste here the results, please.
select process from v$managed_standby where process like 'LNS%'; -- on primary select max(Sequence#) from v$archived_log; -- on both side
Concerning
Mahir -
Can migrate a virtual computer to another virtual hosted by the same host computer?
Deal all,
I have two questions and I need your help.
(1) I wonder if a virtual machine can be migrated to another virtual machine that are hosted by the same host ESXi 5.0? (The host has a local hard drive). If possible, how?
(2) if I have two stand-alone ESXi hosts (host A and B), each host has DAS (local storage) respectively. If the VLC Player is running on a virtual hosted by host A computer and playing a video stream from the Internet, (it is not at all access local storage). This virtual machine can be migrated to host B? (Suppose vCenter is installed)
Any response will be appreciated.
Cheng
You can clone this VM VM A i.e (require vCenter or vmkfstools allows you to clone the drive ONLY) and name VM B. do you want on original VM. Something happened to A VM, VM B you Savior.
vStorage the device (here). It will use your local or DAS.
-
How to set up primary Oracle &; Eve on the same host on windows 2003
Hello
Please could someone give the steps to configure oracle 10g primary and standby database on the same host with windows server 2003.
Thanks in advance...
See you soon.
Anilother general procedures LOCK_NAME_SPACE will be necessary.
[http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams096.htm#REFRN10083] -
in iBooks author, how can I change the book ID? I update often books and hand but ID remains the same, so it caused problems when others discover. I wish it were as if it were a new book with a new code.
From the link 'related items' below, see:
-
MSSQL server VM cluster should be in the same host or different hosts with RDM
Could someone me on how to place the code SQL cluster s VM with RDMs in ESXi hosts for advice.
What is the best practice to place the SQL VM s in ESXi hosts.
Affinity or an anti-affinite...?
Appreciated your valuable answers.
Depends entirely on the use case.
- 2 MS SQL nodes on the same host to see the availability of the software
- 2 nodes on different hosts to see the availability of the equipment
I'd say MS Clusters on the same host (at the time of HA and vSMP FT) are redundant VMware features and represent an increase in management fees. The MS cluster on hosts provide something in addition to what VMware vSphere alone can provide!
-
PowerCLi script to check if 2 virtual machines are on the same host
Hello
I'm nubby on PowerCLI and I would like to help in the construction of a script.
The script should check if two virtual machines (named test1 and test2) are running on the same host in a vCenter and send a notification (email), if they do.
Something similar with affinity / anti-affinite DRS rules (but not through the DRS enabled on vCenter). My focus is on the affinity. In case this happens, I need vMotion one of them on an another ESXi host(manually or automated).
What I have done until now is the following:
Get - VM | Select Name, @{N = 'Cluster'; {E = {Get-Cluster - VM $_}}, '
@{N = "ESX host"; {E = {Get-VMHost - VM $_}}, '
@{N = 'vCenter'; E={$_. "(ExtensionData.CLient.ServiceUrl.Split('/') [2]}}, '"
@{N = "Datastore"; {E = {Get-Datastore - VM $_}} | `
Export-Csv - NoTypeInformation C:\Scripts\file.csv
That becomes all the VMS and export a CSV file information:
Name Cluster ESX host vCenter Data store test2 cluster_test ESXi_test1 vCenter_test1:443 datastore1 Test1 cluster_test ESXi_test1 vCenter_test1:443 datastore1 For1.local cluster_test ESXi_test1 vCenter_test1:443 datastore1 VM1.local cluster_test2 ESXi_test2 vCenter_test1:443 datastore1 VM2.local cluster_test3 ESXi_test3 vCenter_test1:443 datastore1 VM31.local cluster_test3 ESXi_test3 vCenter_test1:443 datastore1 Thank you.
Try like this.
$tgtVM = "test1", "test2".
Get-VM-name $tgtVM | Group-object - property VMHost | %{
if($_.) County - gt 1) {}
$vm = $_. Group | Get-Random
$esx = $vm. VMHost
$tgtEsx = get-Cluster - $vm VM | Get-VMHost | where {$_.} Name - not $esx. Name} | Get-Random
Move-VM - $vm - Destination $tgtEsx VM - confirm: $false
}
}
-
vsga and vdga on the same host
Hello
Is it possible to have different pool created on the same host and have some VM (pools) that use VSGA and other virtual machines (pool) that are using VDGA on the same host?
Yes it works very well! (Assuming you have at least 2 GPU:s or Board with more then a GPU as a K1 or K2)
Linjo
-
VShield service Manager installation and vShield app to the same host ESXi
Hello, I'm planning on vCloud Director assessment in a laboratory with only a single ESXi host. When I try to install the app vShield service I get the following warning: do not install on a host or a cluster where the VC or the vShield Manager resides. This can cause network problems. The following IP address must be a unique IP address assigned to this unit of App vShield. Please do not use an IP address that is assigned to another machine, including the VC, vShield Manager or any ESX host. Using an incorrect IP address you will need to uninstall and reinstall App vShield on this host. My question is: is it is absolutely impossible to install vShield manager on the same host ESXi as the vShield Manager resides? Or is it just a bad practice? What are the ramifications of installing?
It is a general practice to separate management and resources. What you see is just a warning. When there are very fewer resources available you can do. Make sure that you exclude from the required VM by referring to this post
http://www.yellow-bricks.com/2012/03/17/excluding-your-vCenter-server-from-VShield-app-protection/
-
Pairing of two VMS (always on the same host)
I was wondering if you can marry two virtual machines together so that in the event of a host failure, they will stay together on the same host.You can create a rule to DRS for this (keep the virtual machines together). HA and DRS can complement eachother and in the event of a host failure, DRS will stay two VM together. For this purpose on the modification of your cluster settings part. See a screenshot here:
-
Made for CS6 and creative cloud installed in the same machine cause registry problems.
Made for CS6 and creative cloud installed in the same machine cause registry problems.
Have installed both on a system must not cause registry issues. There may be problems where CC resumes a CS6 facility as part of a subscription right.
How we stop to resume my perpetual license CS6 creative cloud?
Maybe you are looking for
-
I forgot my restriction password, let it please help me solve my problem
I forgot my restriction password, let it please help me solve my problem
-
photosmart HP 5520 and 6520 there removable heads
as the topic-
-
Windows XP cannot find NTLDR on PC Windows XP-Win7 dual-boot
I have a PC that has been working fine until yesterday. I booted into Win7... and he locked himself more tight as a drum... has not identified ctrl-alt-del, esc or a right click on the start bar. The only option was to make a difficult stop holding
-
WRT54G - Internet connectivity failure - everything seems to work, but not online
I have a WRT54G V8 router, who is 18 months old. Its used by 3 laptops to connect to the Internet (Wi - Fi all). All 3 laptops unable to connect all of a sudden. Steps are taken to solve the problems, still no luck. Please suggest if something else c
-
When I plug my Treo 800w in the home charger, the led lights green and the lighting bolt shown on the screen, but after a leaving fresh all day the batt indicator is still white, the I also have to take out the battery to turn the phone on. I used th