Listener cannot solve service name
Our server has 2 databases (8i) on AIX 4.3.3.
I created a new one (newdb) for trainning. I modified listener.ora at /etc and $ORACLE_HOME/network/admin folders. Also modified tnsnames.ora on server side. On my workstation, there are 2 Oracle home. One is orawin95 (Oracle 8 client) and the other one is ora8i.
The problem is I can connect to newdb using sql*plus and DBA studio under ora8i. But I cannot connect to newdb using sql*plus under orawin95. I modified tnsnames.ora under both folders.
Is there anythong need to be modified on the server?
Please help.
Thanks in advance.
Hello Wang, I am in the same boat. I have installed Oracle 8i Personal Edition (C:\Oracle\Ora81) on my computer running Win 98. I have installed the Developer 2000 (C:\Orawin95) from CD tools Pack V6.
When I invoke SQL*Plus from Database installation it works but when I invoke SQL*Plus from Tools installation it says that the TNS cannot resolve the service name. etc.
If anyone had this problem and fixed it please respond. Thanks
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Gu Wang ([email protected]):
Our server has 2 databases (8i) on AIX 4.3.3.
I created a new one (newdb) for trainning. I modified listener.ora at /etc and $ORACLE_HOME/network/admin folders. Also modified tnsnames.ora on server side. On my workstation, there are 2 Oracle home. One is orawin95 (Oracle 8 client) and the other one is ora8i.
The problem is I can connect to newdb using sql*plus and DBA studio under ora8i. But I cannot connect to newdb using sql*plus under orawin95. I modified tnsnames.ora under both folders.
Is there anythong need to be modified on the server?
Please help.
Thanks in advance.<HR></BLOCKQUOTE>
null
Similar Messages
-
Deploy cannot resolve service name
Hi
I have a very simple warehouse project in OWB 9.2. I have defined an ODBC source on SQL Server and wish to deploy to a target table defined in an Oracle target module. A mapping, locations, connectors, database links etc are defined and valid.
Up to the "Pre deployment generation results" view, all operations are shown as success. However, on selecting "Deploy" from this window, the deploy status is "Failed" with error "ORA-12514: TNS:could not resolve service name".
I have checked the TNSNAMES.ORA file and all service names used are defined. Using "tnsping", I can connect to the oracle database, however the connection to the SQL Server database using "myhsodbc" fails. I can successfully connect to the SQL Server database using the database link defined when creating the source module or from SQL*Plus.
Any suggestions as to which service name is unresolved?
Thanks
BobHi Mark
I have added tnsnames file to server and client, oracle_home and owb_home with no change in result. The following info is little lengthy, but I hope it may give a clue to resolve my situation.
The deployment manager identifies 3 objects for deployment - a mapping (SAP_CI_HIERARCHY), a table (SAP_CI_HIERARCHY) and a connector (ORAONSQL_SQLONPCRH).
The generated connector script follows:
CREATE DATABASE LINK "{{SQLONPCRH.Service}}"@ORAONSQL_SQLONPCRH
CONNECT TO "{{SQLONPCRH.ConnectAs}}"
IDENTIFIED BY "{{SQLONPCRH.Password}}"
USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST={{SQLONPCRH.Host}})(PORT={{SQLONPCRH.Port}})))
(CONNECT_DATA=(SERVICE_NAME={{SQLONPCRH.Service}}))
(HS=OK)
The mapping script contains the following connection string in a select statement:
FROM "dbo"."SAP_CI_HIERARCHY"@"MYHSODBC.FIRM.UNI.EDU"@"ORAONSQL_SQLONPCRH" "SAP_CI_HIERARCHY_ORA10323"
The SQL Server source is defined by the following connection information:
Database Link: PCRH_LINK.FIRM.UNI.EDU
Connect String: myhsodbc.firm.uni.edu
Gateway Type: Oracle Generic Connectivity - HSODBC
Schema: dbo
Location: SQLONPCRH
The Oracle target is defined as follows:
Database Link: ORAONSQL_LINK.FIRM.UNI.EDU
Connect String: oraonsql.firm.uni.edu
Schema: firmolap
Location: ORAONSQL
TNSNAMES.ORA file contains entry for oraonsql & myhsodbc:
ORAONSQL.FIRM.UNI.EDU =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sqlserver)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oraonsql.firm.uni.edu)
MYHSODBC.FIRM.UNI.EDU =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sqlserver)(PORT = 1521))
(CONNECT_DATA =
(SID = myhsodbc)
(HS = OK)
From SQL*PLUS,
SELECT *
FROM "dbo"."SAP_CI_HIERARCHY"@"PCRH_LINK.FIRM.UNI.EDU"; returns data, whereas the SELECT statement from the generated script returns ERROR "ORA-02019: connection description for remote database not found".
All database links are PUBLIC.
Location registration:
ORAONSQL
Service name: ORAONSQL.FIRM.UNI.EDU
Net service name: ORAONSQL
SQLONPCRH
Service name: myhsodbc.firm.uni.edu
Net service name: myhsodbc
Is there something in this that points to the problem either in connecting from Deployment Manager (or from SQL*PLUS)?
Thanks again for any help you can offer.
Bob -
Listener Show database Service Name In Wrong LSITENER Service
dear Gurus,
I need your help to understand this Listener stuff.
Resume :
Server : Linux RH5
Oracle : 10G2
In this server I've 2 database Instances lets say DMWEB adn CFMP
Because several times we need to restart the Listener for CFMP i've choose to have separate Listener for each Database.
So, i've created 2 Listener :
LISTENER_CFMP =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13)(PORT = 1522)
(SEND_BUF_SIZE=4194304)
(RECV_BUF_SIZE=4194304)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13 )(PORT = 1521)
(SEND_BUF_SIZE=4194304)
(RECV_BUF_SIZE=4194304)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER_CFMP =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/10.2)
(SID_NAME = CFMP)
LISTENER_DMWEB =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13)(PORT = 1523)
(SEND_BUF_SIZE=4194304)
(RECV_BUF_SIZE=4194304)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
SID_LIST_LISTENER_DMWEB =
(SID_LIST =
(SID_DESC =
(SDU = 32767)
(ORACLE_HOME = /u01/app/oracle/product/10.2)
(SID_NAME = DMWEB)
When I get the Status for each listener I get :
LSNRCTL> set current_listener LISTENER_CFMP
Current Listener is LISTENER_CFMP
LSNRCTL>
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=srvldbp13)(PORT=1522)(SEND_BUF_SIZE=4194304)(RECV_BUF_SIZE=4194304)))
STATUS of the LISTENER
Alias LISTENER_CFMP
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 18-DEC-2009 10:54:44
Uptime 19 days 23 hr. 9 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File /u01/app/oracle/product/10.2/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2/network/log/listener_cfmp.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srvldbp13 )(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srvldbp13 )(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "CFMP.world" has 1 instance(s).
Instance "CFMP", status READY, has 1 handler(s) for this service...
Service "CFMP_SITE2.world" has 1 instance(s).
Instance "CFMP", status READY, has 1 handler(s) for this service...
Service "CFMP_SITE2_DGB.world" has 1 instance(s).
Instance "CFMP", status READY, has 1 handler(s) for this service...
Service "CFMP_SITE2_DGMGRL.world" has 1 instance(s).
Instance "CFMP", status UNKNOWN, has 1 handler(s) for this service...
Service "CFMP_SITE2_XPT.world" has 1 instance(s).
Instance "CFMP", status READY, has 1 handler(s) for this service...
Service "DMWEB_SITE2" has 1 instance(s).
Instance "DMWEB", status READY, has 1 handler(s) for this service...
Service "DMWEB_SITE2_DGB" has 1 instance(s).
Instance "DMWEB", status READY, has 1 handler(s) for this service...
Service "DMWEB_SITE2_XPT" has 1 instance(s).
Instance "DMWEB", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>
LSNRCTL> set current_listener LISTENER_DMWEB
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=srvldbp13)(PORT=1523)(SEND_BUF_SIZE=4194304)(RECV_BUF_SIZE=4194304)))
STATUS of the LISTENER
Alias LISTENER_DMWEB
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 18-DEC-2009 11:17:33
Uptime 19 days 22 hr. 45 min. 50 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File /u01/app/oracle/product/10.2/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2/network/log/listener_dmweb.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srvldbp13)(PORT=1523)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Services Summary...
Service "DMWEB" has 1 instance(s).
Instance "DMWEB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>
LSNRCTL>
My Question
Why the Services belonging to DMWEB database are registred on Listener CFMP????
This Services are in LISTENER_CFMP when they should be in LISTENER_DMWEB right?
Service "DMWEB_SITE2" has 1 instance(s).
Instance "DMWEB", status READY, has 1 handler(s) for this service...
Service "DMWEB_SITE2_DGB" has 1 instance(s).
Instance "DMWEB", status READY, has 1 handler(s) for this service...
Service "DMWEB_SITE2_XPT" has 1 instance(s).
Instance "DMWEB", status READY, has 1 handler(s) for this service...
What have I done wrong in listener configuration ???
Thxs if you can help
Rgds
CarlosWhy the Services belonging to DMWEB database are registred on Listener CFMP????Because Oracle is listening by default on port 1521 (and it is your CFMP listener) and the LOCAL_LISTENER parameter of the database DMWEB has been left empty ?
That said, I'm not sure to understand why you need a listener for each db.
Nicolas. -
TNS : Cannot resolve service name
hi i am able to connect to the database (server 10g and client also 10g)
i mailed the tns entry and gave it to another guy who has oracle 9i (client) installed
he added the entry to his tns file but unable to connect to the db
plz helpsomething like this...login to cmd promt and then tnsping database_name
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
H:\>tnsping orcl
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 08-APR-2009 13:
12:26
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = msn048034c)(POR
T = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
OK (60 msec)
H:\> -
ORA-12154 TNS Could not resolve the service name
I am working on Oracle 9i(Release 2) windows version. I want to change the value of
shared pool size, buffer size and others database parameter through "Enterprise Manager Console" but
when i connect to sysdba mode message comes "ORA-12154 TNS Could not resolve the service name".
How can I solve this problem?these problem are you getting from OEM?
post
lsnrctl status
lsnrctl services
make sure database is running.. all the services running in services.msc
check error code and start..
ORA-12514:
TNS:listener does not currently know of service requested in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:
- Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
- Check for an event in the listener.log file. -
EM doesn't allow creation of tnsnames.ora entry with service name orcl11gr2
Dear all,
I'm trying to create a net service name with EM Database Control, via Net Services Administration link. On the service name field, under the 'Edit Net Service Name' screen, I key in orcl11gr2, and it throws the the following error:
Validation Error
Examine and correct the following errors, then retry the operation:
Service Name - Specify a valid service name.
I wonder what is the extra validation that EM is checking. I assume it's checking the number of characters to be 8 characters or less.
Also, because of this extra validation that is in EM, all tnsnames.ora entry that have service name = orcl11gr2, I will not be able to use EM to modify them, as I will get the same above error.
But why does Oracle implements this extra validation, when the same validation is not implemented on other Oracle tools? For instance:
1. dbca allows me to create a database with instance_name greater than 8 characters, and the outcome of initialization parameters will be as follow:
db_name=orcl11gr -- truncated to 8 characters
instance_name=orcl11gr2
db_unique_name=orcl11gr2
service_names=orcl11gr2
2. Oracle Net Manager supports service name of orcl11gr2. The created Net Service Name, I have no problem connecting to the database.
3. Listener support orcl11gr2 service name
I'm using Oracle 11g R2 (11.2.0.1.0) for Microsoft Windows (x64), running on Windows 7.For your reference, here is the bug numbner: 10278345.
-Mughees -
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 -
Cannot find service {0}. Parameter name: SQLWriter SQL Express 2008 R2 SP2
Hi, installing SQL Express 2008 R2 SP2 onto Windows Server 2012 R2. I had previously removed SQL Express 2012 due to failed install due to incompatibility with our SAN. (I had uninstalled it via Programs & Features,
and also by following Shanky's tips. http://social.technet.microsoft.com/wiki/contents/articles/24364.sql-server-troubleshooting-could-not-find-database-engine-startup-handle-error-during-installation.aspx).
This is what's in Detail log:
014-10-07 13:12:00 Slp: Parameter 5 : SqlEngineConfigAction_install_confignonrc
2014-10-07 13:12:00 Slp: Parameter 6 : 0x50806C41
014-10-07 13:12:01 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141007_122920\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
2014-10-07 13:12:01 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141007_122920\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2014-10-07 13:12:01 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141007_122920\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
2014-10-07 13:12:01 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141007_122920\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL
Server.reg_
2014-10-07 13:12:01 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141007_122920\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2014-10-07 13:12:01 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141007_122920\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
2014-10-07 13:12:02 Slp: Cannot find service {0}.
The SqlEngineConfigAction_install_confignonrc part is what is in the background before the
Cannot find service {0}. Parameter name: SQLWriter pops up.
And in Event Viewer:
Log Name: Application
Source: Microsoft-Windows-RestartManager
Date: 10/7/2014 1:11:48 PM
Event ID: 10010
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer:
Description:
Application 'C:\31f53f2e988a36f2c31e\x64\setup100.exe' (pid 688) cannot be restarted - Application SID does not match Conductor SID..
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-RestartManager" Guid="{0888E5EF-9B98-4695-979D-E92CE4247224}" />
<EventID>10010</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2014-10-07T20:11:48.532980400Z" />
<EventRecordID>4538</EventRecordID>
<Correlation />
<Execution ProcessID="732" ThreadID="2548" />
<Channel>Application</Channel>
<Computer></Computer>
<Security UserID="S-1-5-18" />
</System>
<UserData>
<RmUnsupportedRestartEvent xmlns="http://www.microsoft.com/2005/08/Windows/Reliability/RestartManager/">
<RmSessionId>0</RmSessionId>
<Pid>688</Pid>
<FullPath>C:\31f53f2e988a36f2c31e\x64\setup100.exe</FullPath>
<DisplayName>Managed SQL Server Installer</DisplayName>
<AppVersion>0</AppVersion>
<AppType>5</AppType>
<TSSessionId>2</TSSessionId>
<Status>67108865</Status>
<Reason>1</Reason>
</RmUnsupportedRestartEvent>
</UserData>
</Event>
Found one article saying you can get this if previous version not fully removed, and to do a repair of the previous version, but as I said I uninstalled it and followed all steps for cleanup, so nothing to repair.Here is the ERRORLOG file from C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log. At the bottom I am seeing the error you said before was a SAN issue. I had hoped that issue was only with
SQL 2012, but it appears it is even with 2008?
If that is still the issue, I'm trying to understand if by the articles, if the SAN conflict is an OS issue or an SQL issue? In other words, is it because the OS is Server 2012? Or would this still occur if I install SQL
2008 on Server 2008 R2? I don't know that they will be willing to upgrade the SAN, and I don't really want to fool with a .VHD (virtual disk) as a workaround speaks of.
If you're asking if I did this from your article: select startup account for Database Engine services as NT Authority\SYSTEM
, I don't recall what I did this last time. I was doing that the last few days, but I think I didn't switch it to that once, just to see if I would have success. I don't know if that was this last time or not when I switched it.
Is there anywhere I can check that after the fact?
014-10-08 12:53:09.84 Server Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)
Jun 28 2012 08:36:30
Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )
2014-10-08 12:53:09.84 Server (c) Microsoft Corporation.
2014-10-08 12:53:09.84 Server All rights reserved.
2014-10-08 12:53:09.84 Server Server process ID is 2640.
2014-10-08 12:53:09.84 Server System Manufacturer: 'IBM', System Model: 'IBM System x -[7870AC1]-'.
2014-10-08 12:53:09.84 Server Authentication mode is WINDOWS-ONLY.
2014-10-08 12:53:09.84 Server Logging SQL Server messages in file 'c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
2014-10-08 12:53:09.84 Server This instance of SQL Server last reported using a process ID of 2848 at 10/8/2014 10:56:44 AM (local) 10/8/2014 5:56:44 PM (UTC). This is an informational message only; no user action is required.
2014-10-08 12:53:09.84 Server Registry startup parameters:
-d c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\master.mdf
-e c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG
-l c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
2014-10-08 12:53:09.84 Server Command Line Startup Parameters:
-m SqlSetup
-f
-Q
-q SQL_Latin1_General_CP1_CI_AS
-T 4022
-T 4010
-T 3659
-T 3610
-T 902
-d c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Template Data\master.mdf
-l c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Template Data\mastlog.ldf
2014-10-08 12:53:09.86 Server Warning: The server instance was started using minimal configuration startup option (-f). Starting an instance of SQL Server with minimal configuration places the server in single-user mode automatically.
After the server has been started with minimal configuration, you should change the appropriate server option value or values, stop, and then restart the server.
2014-10-08 12:53:09.86 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2014-10-08 12:53:09.86 Server Detected 16 CPUs. This is an informational message; no user action is required.
2014-10-08 12:53:10.00 Server Perfmon counters for resource governor pools and groups failed to initialize and are disabled.
2014-10-08 12:53:10.01 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2014-10-08 12:53:10.01 Server Lock partitioning is enabled. This is an informational message only. No user action is required.
2014-10-08 12:53:10.03 Server Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational
message only. No user action is required.
2014-10-08 12:53:10.05 Server Support for distributed transactions was not enabled for this instance of the Database Engine because it was started using the minimal configuration option. This is an informational message only. No
user action is required.
2014-10-08 12:53:10.06 spid7s Warning ******************
2014-10-08 12:53:10.06 spid7s SQL Server started in single-user mode. This an informational message only. No user action is required.
2014-10-08 12:53:10.06 spid7s Starting up database 'master'.
2014-10-08 12:53:10.08 spid7s Error: 5178, Severity: 16, State: 1.
2014-10-08 12:53:10.08 spid7s Cannot use file 'c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Template Data\master.mdf' because it was originally formatted with sector size 4096 and is now on a volume with sector
size 2097152. Move the file to a volume with a sector size that is the same as or smaller than the original sector size.
2014-10-08 12:53:10.09 spid7s Error: 5178, Severity: 16, State: 1.
2014-10-08 12:53:10.09 spid7s Cannot use file 'c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Template Data\master.mdf' because it was originally formatted with sector size 4096 and is now on a volume with sector
size 2097152. Move the file to a volume with a sector size that is the same as or smaller than the original sector size.
2014-10-08 12:53:10.09 spid7s Error: 5178, Severity: 16, State: 1.
2014-10-08 12:53:10.09 spid7s Cannot use file 'c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Template Data\mastlog.ldf' because it was originally formatted with sector size 4096 and is now on a volume with
sector size 2097152. Move the file to a volume with a sector size that is the same as or smaller than the original sector size.
2014-10-08 12:53:10.09 spid7s Error: 5178, Severity: 16, State: 1.
2014-10-08 12:53:10.09 spid7s Cannot use file 'c:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Template Data\mastlog.ldf' because it was originally formatted with sector size 4096 and is now on a volume with
sector size 2097152. Move the file to a volume with a sector size that is the same as or smaller than the original sector size. -
How to get service name and listening host to connect to oracle DB server?
I have successfully installed oracle db client 10g release 2 on my winXP. But when I tried to use Net Congiguration Assistance to connect to oracle db server. I do not know what is the "service name" and listening "host" I supporse to enter. Where can I get the names?
PLEASE HELP! THANKS!machine name or IP = machine name or IP address of the database server
To know the service name do the following on the server :
$ lsnrctl services
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 30-DEC-2005 00:24:28
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "test10" has 1 instance(s).
Instance "test10", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
$The service name is test10 in my case. Of course you have to use yours. -
[SOLVED] Cannot resolve role-Name UserRole
hello community,
while trying to deploy a j2ee-application to weblogic 10 i got following error message:
weblogic.management.DeploymentException: Cannot resolve role-Name UserRole
i guess that this deals with the ejb-jar.xml wherein is these beneath another role defined.
this is the content of the ejb-jar.xml:
<ejb-jar>
<assembly-descriptor>
<security-role>
<role-name>AdminRole</role-name>
</security-role>
<security-role>
<role-name>UserRole</role-name>
</security-role>
<method-permission>
<role-name>AdminRole</role-name>
<method>
<ejb-name>EJBClientInterfaceEJB</ejb-name>
<method-name>*</method-name>
</method>
<method>
</method>
</method-permission>
<method-permission>
<role-name>UserRole</role-name>
<method>
<ejb-name>EJBClientInterfaceEJB</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
</assembly-descriptor>
<enterprise-beans>
</enterprise-beans>
</ejb-jar>is there anything to insert in the weblogic-ejb-jar.xml?
thanks in advance,
maik
#edit 1:
FYI it uses ejb version 2.0
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
Edited by sqlworktask at 10/25/2007 6:38 AMhello monduke,
yes, these lines of code are the same as in the weblogic-ejb-jar.xml
but the error remains...
a brief look in the log-file and the following was detected:
Caused by: weblogic.management.DeploymentException: Cannot resolve role-Name UserRole
at weblogic.servlet.security.internal.WebAppSecurity.getRunAsPrincipalName(WebAppSecurity.java:413)
at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1403)
i do not know what to do next...
#edit 1:
the security-section of the weblogic-ejb-jar.xml:
<security-role-assignment>
<role-name>AdminRole</role-name>
<principal-name>Admins</principal-name>
</security-role-assignment>
<security-role-assignment>
<role-name>UserRole</role-name>
<principal-name>Users</principal-name>
</security-role-assignment>but as i mentioned... the error remains the same
Edited by sqlworktask at 10/24/2007 11:52 PM -
How to connect to Oracle 11g using thin driver with service name & SID
Hi Experts,
Wish to know whether there is a common way to connect to Oracle 11g server using SID or service name.
Earlier I used jdbc:oracle:thin:@<<server>:<<port>>:<<SID>> for connecting to individual Oracle server instances.
Now I need to connect to Oracle RAC which provides service names. So I need to use jdbc:oracle:thin:@<<server>:<<port>>/<<service name>>.
This connection string is internally constructed by a program and user inputs <<server>>, <<port>> and <<SID>> or <<Service Name>>. Now this requires two different connection strings based on the input whether its SID or service name.
Is there a common connection string for these two? Based on some articles like this, I understood that we can generically use jdbc:oracle:thin:@<<server>:<<port>>/<<service>>, whether for SID and service.
When I tried this format with SID, I am getting the below error. What I tried is jdbc:oracle:thin:@myoracleserver:1521/ORCL, where ORCL is the SID
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Request your help in solving this. What I want is a single connection string whether its SID or service. Any help is of great value.
Regards
SunilWish to know whether there is a common way to connect to Oracle 11g server using SID or service name.
Earlier I used jdbc:oracle:thin:@<<server>:<<port>>:<<SID>> for connecting to individual Oracle server instances.
Now I need to connect to Oracle RAC which provides service names. So I need to use jdbc:oracle:thin:@<<server>:<<port>>/<<service name>>.
This connection string is internally constructed by a program and user inputs <<server>>, <<port>> and <<SID>> or <<Service Name>>. Now this requires two different connection strings based on the input whether its SID or service name.
Is there a common connection string for these two? Based on some articles like this, I understood that we can generically use jdbc:oracle:thin:@<<server>:<<port>>/<<service>>, whether for SID and service.
When I tried this format with SID, I am getting the below error. What I tried is jdbc:oracle:thin:@myoracleserver:1521/ORCL, where ORCL is the SID
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Request your help in solving this. What I want is a single connection string whether its SID or service. Any help is of great value.
Oracle has an entire book for JDBC: The JDBC Developer Guide.
There are chapters that provide ALL of the connection properties and the rules for creating connection urls.
http://docs.oracle.com/cd/E11882_01/java.112/e16548/urls.htm#BEIDBFDF
See table 8-3 in that doc -
Hi
thanks for any advice.I've just install Lync 2013 Standard as the steps in Technet,When I publish the topology,meet the error as listed.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.XdsDatabase'****
Initializing DbSetupBase
Parsing parameters...
Found Parameter: SqlServer Value lync2012ek.ek2012.net\rtc.
Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
Found Parameter: Publisheracct Value EK2012\RTCUniversalServerAdmins.
Found Parameter: Replicatoracct Value EK2012\RTCUniversalConfigReplicator.
Found Parameter: Consumeracct EK2012\RTCUniversalReadOnlyAdmins.
Found Parameter: Role Value master.
Trying to connect to Sql Server lync2012ek.ek2012.net\rtc. using windows authentication...
Exception Stack:
Type: System.InvalidOperationException, Message: Cannot open Service Control Manager on computer 'lync2012ek.ek2012.net'. This operation might require other privileges.
Type: System.ComponentModel.Win32Exception, Message: Access is denied.
best regards,
George
George Guoplease verify your computer name while you creating FQDN pool FQDN of Server name
example
computer name
is server1
domain name is abc.ae
so,
your FQDN pool name will be server1.abc.ae
problem solved :) -
SCAN listener supports no services
Hi all,
Our's DB: 11.2.0.1.0. Its 2 node cluster.
$srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node1
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node1
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node2
@node1$ps -ef | grep tnslsnr
oracle xxxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
oracle xxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr LISTENER -inherit
oracle xxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr listener_scan2 -inherit
@node2$ps -ef | grep tnslsnr
oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
oracle xxxx ..... /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
oracle xxxxxxx ..... /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr listener -inherit
@node1$lsnrctl status listener_scan2
Listener Parameter File //u01/app/11.2.0/grid/network/admin/listener.ora
Listening Endpoints Summary..
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
The listener supports no services
The command completed successfully
??? Though Listener_scan2 is running on node1,why it shows on ps -ef on node 2 ?
Why listener_scan2 processes from ORACLE_HOME instead of CRS_HOME?
ThanksI assume SCAN name:1521 is in fact a proper IP address or hostname with the port number?
The Oracle instance will attempt to connect to that IP and port to register its services.
If it is a hostname and not IP, then make sure it resolves correctly to an IP address on that server. If name resolution fails, then without an IP for that name, the Oracle instance cannot register its services.
Once you have made sure that hostname resolution works, the next step is to check whether there is in fact a network service on that IP address, listening on that port.
Two methods can be used. The netstat command (run on that server that owns that IP) will show all tcp listener end points. Use the -n switch to display numerics (and not hostnames). The netstat output should contain and entry "+ip_address:1521+ or +*:1521+ - this will confirm that there is a network service on that port for that IP address.
The more detailed method is using the +lsof+ (list of files) command on the SCAN listener process (find the +pid+ and specify it via the +-p+ command line switch). This command will show all open file handles for the specified process - including socket handles. One of these should be on that IP address for port 1521.
If you have confirmed that both the Oracle instance has the correct SCAN details and that the SCAN listener is actually listening on that tcp port and IP, and registration still does not work - then it could be a connectivity problem.
From the +oracle+ o/s account on the db server, test connectivity to that port and IP using +telnet+. -
Wrt54gs no service name available for pppoe
my isp requires that i put a service name. i had a dlink router that worked fine with my connection, but now i cannot find the service name field in the linksys router for my connection to work.
can anyone help me solve the problem. maybe a firmware is available that adds the service name field.
i have the wrt54gs v5.1 firmware version 1.50.9I guess the Service Name provided by the ISP has to be type in the Host Name box under Setup Page.
-
Net Service Names \ ODBC connection in 8i Pers
Hi,
I am new to Oracle and have 8i Personal
installed. I am trying to get an ODBC connection established to the sample database that was installed but it is not working. I have not been able to get the right combination of net service \ listener \ ODBC parameters. I have tried to do Test Database in the Net8 Assistant even on the
EXT_PROCCONNECTION_DAT service name that shipped but always get a ORA12560:Protocol Adaptor error. Should my protocol be IPC or TCP\IP - I am running local and the sample database is local, too. Does anyone know what parameters to use to get a connection or where I can find more about ODBC connections?
Thanks,
Mike ThrappProblem solved by running ODBC administrator from orahome instead of control panel.
Maybe you are looking for
-
How to check multiple special characters in this query.
When the master_title has no comma in it, I am getting an empty master_title. This is because INSTR(master_title,',',1,1) is returning 0. In addition, I want to be able to specify other characters besides the comma. Example: ":" "/" "-". Can we fit t
-
Hi, I have the Mac mini mid 2011 wth the Intel HD 3000 card and it is hooked up via HDMI to my receiver then from my receiver to my Samsung TV. I have one nagging issue when switching sources, whenever I go back to the Mac mini the screen flickers li
-
Aperture 3 with Library on a network Disk
Please, someone who have buy the full version, could tell me if Aperture 3 works with a library on the network disk. Because with the trial version it's impossible. Thanks for our reply.
-
Please help. Whether I delete emails from my mailbox one-at-a-time or select them all and delete them, the phone shows them being deleted but they still remain there afterwards. Is this a bug or am I doing something wrong? Thanks.
-
A communication error has occurred:An XML element was malformed(call to SP)
Hello experts, Visual Composer tells me in a pop up, that: "A communication error has occurred:An XML element was malformed" when it tries to call a Stored Procedure (SP). This is s.th. that happens only sporadically, i.e. I can trigger the SP many t