Local_listener name is different from listener.ora
I'm on 11g R2 solaris10 platform.
lsnrctl status adv_sec_listener2 shows all the correct items I would expect including the Alias = adv_sec_listener2
but when I do lsnrctl status listener_farley it shows the same thing with Alias = adv_sec_listener2
My listener.ora file is set with adv_sec_listener2
In the spfile it has local_listener=listener_farley
I try to edit the parameter and set local_listener to adv_sec_listener2 but I get errors:
ORA-02097: parameter could not be modified
ORA-00119: invalid specification for LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'ADV_SEC_LISTENER2'
is your listener registered with all instances in the server? if so, its new from 10g that all instances will listen through one instance
try to see the ouput of
$ lsnrctl status <listener_name>
and check if all instances are shown
Similar Messages
-
Maybe it's because I've never looked before, but I have never before noticed a database which has been started with a pfile containing
"db_files = 80"
and yet displays
"MAXDATAFILES 30"
when I dump the control file to trace.
Views? and thanks up frontMaybe it's because I've never looked before, but I have never before noticed a database which has been started with a pfile containing
"db_files = 80"
and yet displays
"MAXDATAFILES 30"
when I dump the control file to trace.
Views? and thanks up front -
I loaded a folder into Bridge, of files which I intend to reduce to 800 px using one of my own custom actions.
Please note that I have done this successfully numerous times in the past.
I go to tools/PS/batch/set:margie's actions/action:reduce to 800
Source: Bridge
Destination:Folder
Choose/new folder/I name folder/create/choose
The folder name shows after users:users name:desktop
The problem is in File Naming. After I type in Document Name a name totally different from the folder name/OK,
the attached window appears.
I have to select document name in order to complete. So can't I give a name to the files? ThanksThe problem is in File Naming. After I type in Document Name a name totally different from the folder name/OK,
If you use an action for resizing based on existing filenames it is not needed to change the document name but just leave it as it is so the files will be save resized and in the folder you have chosen/created.
When you need to have an addition to the filenames just leave the first field with document name and change the second field (default: extension) to whatever you wish and as last field choose 'extension'.
e.g.
field 1: Document Name (If you leave this as it is it reflects the current filename)
field 2: document name (fill in an underscore "_")
field 3: 3 digit serial number (adds 001 and further after the underscore)
field 4: extension (either lowercase or uppercase depending on your needs,I prefer lowercase, but don't change the field name. This puts the existing file extension at the end)
The example field that is showing above the option fields is a bit distracting because it keeps showing 'MyFile' but that is your existing filename.
Personally I have a save as to destination in my actions recorded to dedicated folders with the resulted size and I simple run those actions without creating a folder in the batch window, just select the dedicated resizing action.
When done I move the result to a new folder using Finder, it is just another way of working but the above given example should also work for you. -
Listener listners to name different from instance_name
Is it possible to configure listener to lister to a name different from instance_name?
For example, if instance_name is INST1, I'd like to make listener be able to listen to name "INST" and know that this is for "INST1"
If possible, this is what TNSNAME at client is
INST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))
(CONNECT_DATA =
(SID = INST)
ThanksThanks for your reply. Actually my concern is much at client side not on database server side. Please let me expalin what I mean.
The back-end database is 2-node RAC - Two instances INST1 and INST2 on node1 and node2 respectively. Most of our clients will use TAF (Transparent Application Failover) config and use SERVICE_NAME=INST in TNSNAMES.ora. They have no issue connection to RAC database and take advantage of fail over and load baclancing capability.
However, one of clients is legacy app. :-( It does not use oracle client (so not using TNSNAME). It has its own db driver. The only option I allow to enter is hostname + SID. This would work fine with stand alone database (one host + one instance), or I can even connection to specific RAC node (like node 1 + SID=INST1).
But we'd like to take advantage of fail over of having two instances. We would like to connection to one instance and if in case node fails, it will go to other.
We can have a virtual hotname using 3rd party load balancer - it will go to the least load node with host name translation - user connects to virtual host > translate to node 1 or node 2 depending on load. . But since listener on node 1 is listenning to SID_NAME=INST1 and node 2 to INST2, using SID=INST at client in tnsname.ora would not work (get error "ORA-12505: TNS:listener does not currently know of SID", nor I could use SID=INST1 or SID=INST2 becuase it won't be transparent when failover. Ideally I want to use SID=INST in TNSNAMES.ora and, if possible, I'd like the listener on node 1 listens to INST1 as well as INST and node2 listners to INST2 as well as INST. This way client connection will be transparent. Sorry for long explanation. But hopefully I make my situation clearer. Thanks again in advance. -
Listener name in the listener.ora file is getting change from GPROD to %s_
Dear Experts,
Please note that after doing the R12.1 upgrade, When i bounce the database i have noted that my database listener name in the listener.ora file is getting change from GPROD to %s_db_listener%. Again every time after changeing the listener log file i am able to start the listener.
Please advise.
[oracle@upgrade 11.2.2]$ lsnrctl start GPROD
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 07-OCT-2011 10:07:33
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting /u04/d01/tech_st/11.2.2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.2.0 - Production
System parameter file is /u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener.ora
Log messages written to /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
TNS-01151: Missing listener name, GPROD, in LISTENER.ORA
Listener failed to start. See the error message(s) above...
[oracle@upgrade 11.2.2]$ vi /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
[oracle@upgrade 11.2.2]$ cd network/admin/GPROD_upgrade/
[oracle@upgrade GPROD_upgrade]$ ls
listener_ifile.ora listener.ora listener.ora_bkpaug2911 sqlnet_ifile.ora sqlnet.ora tnsnames.ora
[oracle@upgrade GPROD_upgrade]$ vi listener.ora
(SID_DESC =
(ORACLE_HOME= /u04/d01/tech_st/11.2.2)
(SID_NAME = GPROD)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u04/d01/tech_st/11.2.2)
(PROGRAM = extproc)
STARTUP_WAIT_TIME_%s_db_listener% = 0
CONNECT_TIMEOUT_%s_db_listener% = 10
TRACE_LEVEL_%s_db_listener% = OFF
LOG_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
LOG_FILE_%s_db_listener% = %s_db_listener%
TRACE_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
TRACE_FILE_%s_db_listener% = %s_db_listener%
ADMIN_RESTRICTIONS_%s_db_listener% = OFF
IFILE=/u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener_ifile.oraStep 1- Run the autoconfig on the db tier.
Step -2 Automatically it is changing the setting in the database listener log file and it is showing 4 database listeners are up .
[oracle@upgrade 11.2.2]$ ps -ef |grep inh
oracle 756 1 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 757 756 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 758 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 759 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
oracle 1721 31038 0 11:02 pts/2 00:00:00 grep inh
applmgr 31380 1 0 10:53 ? 00:00:00 /u04/d02/apps/tech_st/10.1.2/bin/tnslsnr APPS_GPROD -inherit
Step - 3
Again down the apps tier services.
Step -4
Reset the listener.ora file in the database tier
Please advise.
Regards
Mohammed. -
Unregister service name from listener
Hi,
I have a default listener (named LISTENER, port 1521) and a database with SID=ORCL. The database automatically registers with the listener, the output of "lsnrctl status" is:
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
And the value of the service_names parameter is:
SQL> show parameter service_names
NAME TYPE VALUE
service_names string orclNow I'd like to prevent clients to connect to the database using the service name 'ORCL', so I changed the service_names init parameter:
SQL> alter system set service_names=testdb;
System altered.
Then I restarted the listener. The "problem" is that the database registers with the listener also the 'ORCL' service name:
Service "TESTDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
Is it possible to somehow prevent the database from registering the service name ORCL with the listener?
If you're wondering why I'm asking that, it's because this database is a duplicated production database (on a different host), and I'd like to prevent the possibility of mistakenly connecting to the production DB. I'm aware it would be better if I change the database's SID altogether, but currently that's not possible.
Thank you in advance for any answer.
Regards,
JureHi coskan,
Thanks for the answer.
Jut a question at the beginning. Doesn't the SID_LIST_listener_name parameter define which databases the listener listens to (and not the single services the database offers)? As I understand, I can prevent automatic registration of a database into the listener, but not selectively allow only some services the database offers? Maybe I'm completely wrong, so please correct me if it's so :-)
As you suggetsed I tried the following:
listener.ora:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = ORCL)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_4)
tnsnames.ora:
LISTENER=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
SQL> show parameter local_listener
NAME TYPE VALUE
local_listener string LISTENERlsnrctl status:
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
Services Summary...
Service "ORCL" has 1 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
So, now only the service ORCL is registred, although the init parameter service_names=TESTDB. I can connect using ORCL as the service_name in the connection string, but not using TESTDB.
Regards,
Jure -
Listener.ora and Tnsnames.ora created in a different location
Hi All,
I have both the files i.e Listener.ora and Tnsnames.Ora in a location called D:\OraHome_1 and not in D:\OraHome_1\Network\Admin !! Also I do not have the sqlnet.ora file in either of these two locations.
Though conn sys/pswd@sid is working fine and DB is also up and running, "conn / as sysdba" is not working. I would like to restore these files in their actual location and make "conn / as sysdba also working".
Thanks in advance
-AditiIs perhaps TNS_ADMIN set to d:\orahome_1 ?where do i check this parameter ?
What does output of following tell youc:\> tnsping sid
C:\WINNT\system32>tnsping sid
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 05-JUL-2006 19:17:26
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 'complete host name')(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = SID)))
OK (30 msec)
***NOTE*** this leaves a blank space when it says 'Used parameter files:' Isn't this unusual ....!!
You may not need the listener.ora - it is kinda "optional". Not sqlnet.ora either. There are defaults to survive on.That's fine but I still would like to know why these files got created in a directory different from oraclehome\network\admin? -
Change the host name in Listener.ora to fixed IP address
in Listener.ora i want change host name to IP :
==== OLD ====
LISTENER =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL= TCP)(Host=Server)(Port= 1521))
(ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
=== WHAT I NEED ===
LISTENER =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL= TCP)(Host=100.100.110.1)(Port= 1521))
(ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
how can i do this .It is not recommended to change the name for an IP addressIt is not recommended by who? AFAIK there is no such sentence in documentation.
But there is other:
host Required. Specify the host name or IP address of the database server computer.
Instad of "It is not recommended..." better use "Consider this..."
, as if ever it changes in the future, you'll have to be back and change once again your ip.The same is truth when we are speaking about FQDN (fully qualified domain name).
How often your company changes the IP adresses on server platform?
My experience from past:
First case:
My company has rebranded and and domain name has been changed but IP has not. Unfortunatelly we were not using OID for resolving. If there were FQDN used then would have to make changes in many files. Fortunatelly we were using IP addresses.
Now we are using OID for resolving of tnsnames (as primary method).
What I want to say is both solutions (FQDN or IP) are fine. Each of them has some advantages and also disadvantages. -
i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully and in when i cross check with listener from tns it is showing the error
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
here is my listener file
lsn =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
#ADR_BASE_LISTENER = /u01/app/oracle
(SID_LIST_LISTENER=
(SERVICE_NAME=kull)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
tnsnames.ora
to_lsn=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = kull )
my database name is kull
please somebody helpBiswaranjan wrote:
i have two database one is kull and another is kk
i configured listener.ora in kull
and tnsnames.ora in kk
when i am running lsnrctl start listener in database kull
This makes no sense. You don't configure a listener nor a tnsnames.ora "in a database". I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database
read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
it is showing the message
Alias lsn
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JUL-2013 19:08:06
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
The listener supports no services
The command completed successfully
and in another database in kk when i am giving the command tnsping to_lsn
it is giving this message
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
OK (0 msec)
but when i am cross check sqlplus system/manager@ to_lsn
it is giving the following error
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor -
I have an iTunes account using a relative's credit card. As a result, my iTunes Account Name is changed to her Name in the Billing Information.
Can I change my iTunes Account name to something different from the Billing Information Name?iTunes Store Support
http://www.apple.com/emea/support/itunes/contact.html -
I can't get my movies and tv shows on iPad now that I have added iCloud. The problem is that my iTunes account has different name and password from my mobile me account. Can I change my iTunes account name and password so that they will transfer to my iPad with the mobile me / iCloud account? I need to figure out how to make the two accounts one or iCloud has to be able to accept my iTunes account with years of music and movies.
Hunter of Sock Monsters thanks...I did follow your advise. I went to the iforgot site and tried answering the secret questions twice. I got the "wrong answer", so the next time I asked for an email authentication. I am still waiting. I don't know what the usual time for waiting normally is. I am still waiting for an email reply from three days ago. I'm not going to hold my breath. My ipad is out of warranty but I may have to beg for help from support? I'll wait awhile longer. Maybe there is another thing someone could come up with. I appreciate your fast reply Hunter.
-
Somehow my MacBookPro iCloud account has a different name and password from my other devices. Even my date of birth is listed incorrectly. I have tried but can't seem to change this info to match up with my other devices. Can someone help?
Thanks
I have a PC (Windows 7)
Not sure when mobile me changed, but it was this weekend that my storage etc. lapsed (I have paid to keep storage with icloud). So i assume this has something to with it stopping. -
HA-VMM cannot be installed : HAVMM name in db is differs from the user specified HAVMM name
I have a two node HA VMM cluster. This is working correctly and has been for while. I am now attempting to add an additional node to the cluster.
I joined the node to the cluster and then start the VMM install and follow the wizard till it gets to the Database Configuration Page. When I Click Next here nothing happens.
If I check the C:\ProgramData\VMMLogs\SetupWizard.log file I see the following error as the last item.
HA-VMM cannot be installed : HAVMM name in db is differs from the user specified HAVMM name
If I check the S
CVMMCDB01 I find the HAVMMName property with a value of SCVMMC01.domainname This is the same value that is returned when using powershell with Get-SCVMMServer
When I check the cluster configuration it is the same story. I connect to the cluster name scvmmc01.
Even if I look at Cluster Manager I can see the name is tied correctly.
Any ideas would be great as I am effectively now stuck and cannot install another node.Greetings!
It happened because you renamed your VMM cluster after first node installation.
Juts update HAVMMName value in dbo.tbl_VMM_GlobalSetting. Start SQL Server Management Studio, connect to your VMM DB, and Edit table. -
Hi Apple Pals,
My friend got a present of Ipad 2 and tried to set it up.She made mistakes in spelling her name when registering.Her name is now different from name on her Credit card.It is possible to remove this and re-register again with ITunes etcera.
Thank s
JulieHello, Julie.
Thank you for the question. As the device is registered to the Apple ID, you would simply need to make sure the name is correct on https://appleid.apple.com/. If the name of the device itself is incorrect and you wish to change it, see the article below.
iTunes and iOS: Change the name of your iPhone, iPad, or iPod
http://support.apple.com/kb/ht3965
Cheers,
Jason H. -
Same email address, different 'from' name
Hi - I would like to be able to send an email from ios to a 3rd party and choose who the recipient sees that it comes from, but use the one email address. So 1 'name' is my personal name, 1 is my business name.
I host a domain and I have sent up 2 email accounts in ios with different usernames let's say [email protected] and [email protected] [email protected] is set to divert to [email protected] on a server level, so ALL emails sent to either x or y, go to x. So I have both set up on my Mac, y doesn't get email, so I don't get double ups - when I want to send from a different user name, I just send from the other account.
Now ios has the same ability in theory and when I set it up the same way, it all works BUT the recipient receives the email from my personal name, despite me sending it from my business name???
Anyone have a fix or answer??!!
TIA!!bbrundell wrote:
Hi there
I'm staying at a Novotel in Edinburgh. Their wireless shows up as "Orange France". The BT FON map shows it as a "single hotspot operated by a roaming partner".
While I can select "FON" from the list of providers for login, when I use my @btinternet email address as the login I am denied access.
Should I have a FON account name different from my btinternet email address. Is my FON password the same as my email password?
Thanks
Ben
Hi Ben. Welcome to the forums.
The BTFon access is via the primary email address and associated password.
Does the list of providers actually say BTFon or BTOpenzone ?
http://www.andyweb.co.uk/shortcuts
http://www.andyweb.co.uk/pictures
Maybe you are looking for
-
Why am I getting an error message when trying to open skype?
I've downloaded skype and have never been able to access it. I've followed all of skype's steps to correcting the problem and nothing. This is the message I keep getting: Process: Skype [1526] Path: /Applications/Skype.app/Conten
-
Creation of Purchase order without Quantity
Dear experts, Good Evening, My client requirement is to create a purchase order without any quantity but with price ,is it possible by any chance. Thanks Vijay rebala
-
Hi all i'm new to jsp technolohie and i'm writing a jsp that sends an email on red hat linux i keep having theses errors . ps the first jsp is fine but its in the second one i have problems org.apache.jasper.JasperException: Unable to compile class f
-
ITunes Producer ERROR-ITMS-6010
Trying to use iTunes Producer to upload a new album. I'm getting: ERROR-ITMS-6010 "Adding bonus material to this playlist is not allowed" at Album/Tracks/BonusMaterial... Does anybody know what to do? Thanks...
-
Hello, I'm an editor new to SG CS6 and am looking how to reveal the Color tab to expose the 2up/3up buttons. I saw a few tutorials regarding the color-matching workflow and went through seemingly everything to find these buttons to no avail. Thanks i