OS Error 665(failed to retrieve text for this error. Reason: 15105) while performing backup
Hi everyone,
I am performing a backup of sharepoint 2010 content database on my sql 2008 std edition which has file stream enabled and I experience the following problem.
When the backup reaches 40% (both when I do it via SSMS or via Maintenance plan) I get the following error:
BackupIoRequest::ReportIoError: write failure on backup device 'K:\SQL Backup\SP_Content2010.bak'. Operating system error 665(failed to retrieve text for this error. Reason: 15105).
Error: 18210, Severity: 16, State: 1.
I also tried backup the database on a different disk to make sure the problem is not there, but the same error appeared when the backup reached 40 %. I also executed DBCC CHECKDB against the database but it run successfully.
I could not find any other relevant source what the problem might be.
Any help will be very much appreciated.
Thanks
Hello,
Honestly it's going to come down to testing and root cause analysis. I don't have a single shot answer for you unfortunately.
I would start by doing the hotfix on that KB since you had OS Error 665 (again, you can run net helpmsg 665 to see the os error message). The SQL Server error 3041 (select * from sys.messages where message_id = 3041 and language_id = 1033) is "BACKUP failed
to complete the command %.*ls. Check the backup application log for detailed messages." Error 18210 is "%s: %s failure on backup device '%s'. Operating system error %s.". This points me back to the filesystem or storage.
Could you P->V the server during a maintenance window so you can test? The biggest thing here is that you don't have any valid backups so you're running the risk of losing data.
While not a method I use, you could stop SQL Server and filesystem copy the database and filestream share in the interim.
-Sean
Sean Gallardy | Blog |
Twitter
Similar Messages
-
Hello
When I try to start the SQl server service i get the following error:
Event id 17058
Could not open error log file ''. Operating system error = 5(failed to retrieve text for this error. Reason: 15105).
As a test I have made sure the errorlog file ,and the entire drive it is, has everyone full control permissions, but to no avail. Does anyone have any ideas to resolve this issue?
Thank youHi,
Try running:
SELECT SERVERPROPERTY('ErrorLogFileName')
Then verify that the account being used to run the SQL Server service account has access to the path output above. If possible, you could try logging onto the server with the same account used to run SQL Server then navigate to the errorlog folder.
Thanks,
Andrew Bainbridge
SQL Server DBA
Please click "Propose As Answer" if a post solves your problem, or "Vote As Helpful" if a post has been useful to you -
Hello everybody,
I have a huge database over windows 2003 server and sql server 2008 r2, all of them with all update, no firewall, no antivirus, no any server feature/role installed.
Over the last 2 months I suddently start getting the following error:
The operating system returned error 21(failed to retrieve text for this error. Reason: 15105) to SQL Server during a read at offset 0x000000000da000 in file 'S:\TempDB\tempdb.mdf'. Additional
messages in the SQL Server error log and system event log may provide more detail. This is a severe system-level error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB).
This error can be caused by many factors; for more information, see SQL Server Books Online.
I have the TEMP database split over 5 partitions on 5 different SAN disk. beggining size of each partition fix to 20 GB with autogrow 10%. Single Instance, around 15 DB.
The space on each hard disk does not reach 60%.
I got the above error when all temp files reach 27 GB approx.
I already ran a check disk, checkDB and everything says no error found, but I still got same error.
Does anyone know what could cause something like this?
note, when getting the above error, the only way to fix it, because I cannot do any select on any DB is to restart the service, so each temp file start again at 20 GB and everythign seems to be fine until reach the size again.
Gilberto H.The operating system returned error 21(failed to retrieve text for this error. Reason: 15105
Hello Gilberto,
See System Error Codes (0-499) for error code 21:
ERROR_NOT_READY
21 (0x15)
The device is not ready.
Could be an issue with your storage system
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Unable to install SQL Server Express 2008 R2 - Errors "Failed to retrieve data for this request"
As domain admin I am attempting to install "SQL Server 2008 R2 with SP2" but it keeps failing with "Failed to retrieve data for this request".
The installation never actually starts, it errors before then.
It displays the same error even if I run the System Configuration Checker.
The summary.txt for the install displays the following text:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -1554760125
Exit facility code: 852
Exit error code: 15939
Exit message: Failed to retrieve data for this request.
Start time: 2014-08-15 16:49:52
End time: 2014-08-15 16:50:06
Requested action: RunRules
Machine Properties:
Machine name: servername
Machine processor count: 8
OS version: Windows Server 2008 R2
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: Yes
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 1
Installation location: c:\84122ef5b6d9cdcd3b2ac48cec\x64\setup\
Installation edition: EXPRESS
User Input Settings:
ACTION: RunRules
CONFIGURATIONFILE:
ENU: True
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FEATURES:
HELP: False
INDICATEPROGRESS: False
INSTANCENAME: <empty>
PASSPHRASE: *****
QUIET: False
QUIETSIMPLE: False
RULES: GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
UIMODE: AutoAdvance
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140815_164944\ConfigurationFile.ini
Detailed results:
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: The rule result report file is not available.
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
Message:
Failed to retrieve data for this request.
Data:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476
DisableWatson = true
Stack:
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
Message:
The network path was not found.
Data:
WatsonData = [email protected]rror
Stack:
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.CreateBaseKey(ServiceContainer ctx, String machineName, IntPtr hKey, String keyName, RegistryAccess access, RegistryView
view)
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocalMachine(ServiceContainer ctx, String machineName, RegistryAccess access, RegistryView view)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
Message:
The network path was not found.
Data:
WatsonData = [email protected]rror
Above message says that your registry is not consistent and some of the parameters are missing from registry.Or
Account installing SQL server does not have permission to access this. I think case can be here that account with which you logged into your system to install SQL Server might not have certain privileges. Can you take help
of domain admin account add it as a local administrator in this machine always right click on setup file and select run as administrator. Before this make sure you remove all SQL Server components from add remove program
I strongly recommend you to have a good look at below thread
http://support.microsoft.com/kb/2000257/en-us
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
Hi all,
Has anyone come across SQL Server 2012 SP1 CU8/9 failing to install with a “Failed to retrieve data for this request.” error.
The error is too generic for a useful search on web, for me at least anyway.
Had no problems patching a whole bunch of other servers in the same environment.
I’m no good at reading these error logs. For some reason the primary replica is referenced in the detailed log???
The CU8/9 patch has been run by both Domain Admins and local Admin with no luck.
We are trying to patch a secondary failover replica. (SharePoint 2013 is installed on this server.)
This is from the summary log:
Overall summary:
Final result: The patch installer has failed to update the shared features. To determine the reason for failure,
review the log files.
Exit code (Decimal): -2146233088
Exit facility code: 19
Exit error code: 5376
Exit message: Failed to retrieve data for this request.
Start time: 2014-04-10 11:51:11
End time: 2014-04-10 11:51:49
Requested action: Patch
Exception help link:
http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3412.0&EvtType=0xB2652E58%400xDC80C325&EvtType=0xB2652E58%400xDC80C325
Machine Properties:
Machine name: VMSPDB2
Machine processor count: 4
OS version: Future Windows Version
OS service pack:
OS region: Australia
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: Yes
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered Configured
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Database
Engine Services 1033 Enterprise Edition
11.1.3000.0 No Yes
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER SQL Server
Replication 1033 Enterprise
Edition 11.1.3000.0 No Yes
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Full-Text
and Semantic Extractions for Search 1033 Enterprise Edition 11.1.3000.0 No
Yes
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Data
Quality Services 1033
Enterprise Edition 11.1.3000.0 No Yes
SQL Server 2012
Management Tools - Basic 1033
Enterprise Edition 11.1.3000.0 No Yes
SQL Server 2012
Management Tools - Complete 1033 Enterprise Edition
11.1.3000.0 No Yes
SQL Server 2012
Client Tools Connectivity 1033 Enterprise Edition
11.1.3000.0 No Yes
SQL Server 2012
SQL Server Data Tools 1033
Enterprise Edition 11.1.3000.0 No Yes
SQL Server 2012
Integration Services 1033
Enterprise Edition 11.1.3000.0 No Yes
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 1
KBArticle: KB2931078
KBArticleHyperlink:
http://support.microsoft.com/?kbid=2931078
PatchType: QFE
AssociatedHotfixBuild: 0
Platform: x64
PatchLevel: 11.1.3412.0
ProductVersion: 11.1.3000.0
GDRReservedRange: 10.0.1000.0:10.0.1099.0;10.0.3000.0:10.0.3099.0
PackageName: SQLServer2012-KB2931078-x64.exe
Installation location: e:\90a192411a98d1f6dc\x64\setup\
User Input Settings:
ACTION: Patch
ALLINSTANCES: false
CLUSTERPASSIVE: false
CONFIGURATIONFILE:
ENU: false
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTANCEID: <empty>
INSTANCENAME: <empty>
QUIET: false
QUIETSIMPLE: false
SQMREPORTING: false
UIMODE: Normal
X86: false
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: The rule result report file is not available.
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
Message:
Failed to retrieve data for this request.
HResult : 0x80131500
Data:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.BaseHelpUrl =
http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476
HelpLink.EvtType =
0xB2652E58@0xDC80C325
DisableWatson = true
Stack:
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
Inner exception type: System.ComponentModel.Win32Exception
Message:
Not all privileges or groups referenced are assigned to the caller.
HResult : 0x80004005
Error : 1300
Stack:
at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean enable)
at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer ctx, String machineName, SqlRegistryKey
key)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx, String machineName, SqlRegistryKey
machineKey, String registryPath, RegistryView regView, String regPath, RegistryAccess registryAccess, Boolean& alreadyCached)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView,
String regPath, RegistryAccess registryAccess)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
And the tail of the detailed log:
(01) 2014-04-10 11:51:29 Slp: Completed Action: InitializeMsiExtension, returned True
(01) 2014-04-10 11:51:30 Slp: ----------------------------------------------------------------------
(01) 2014-04-10 11:51:30 Slp: Running Action: AddPackageModifierSourcesAction
(01) 2014-04-10 11:51:30 Slp: Completed Action: AddPackageModifierSourcesAction, returned True
(01) 2014-04-10 11:51:30 Slp: ----------------------------------------------------------------------
(01) 2014-04-10 11:51:30 Slp: Running Action: InitializeConfigAction
(01) 2014-04-10 11:51:30 Slp: Completed Action: InitializeConfigAction, returned True
(01) 2014-04-10 11:51:30 Slp: ----------------------------------------------------------------------
(01) 2014-04-10 11:51:30 Slp: Running Action: RunRemoteDiscoveryAction
(01) 2014-04-10 11:51:31 Slp: Running discovery on local machine
(01) 2014-04-10 11:51:33 Slp: Discovery on local machine is complete
(01) 2014-04-10 11:51:33 Slp: Running discovery on remote machine: VMSPDB1
(01) 2014-04-10 11:51:35 Slp: Discovery on VMSPDB1 failed due to exception
(01) 2014-04-10 11:51:36 Slp: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to retrieve data for this request. ---> System.ComponentModel.Win32Exception: Not all privileges or groups referenced are
assigned to the caller.
at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean enable)
at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer ctx, String machineName, SqlRegistryKey key)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx, String machineName, SqlRegistryKey machineKey, String registryPath, RegistryView regView, String regPath, RegistryAccess
registryAccess, Boolean& alreadyCached)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
(01) 2014-04-10 11:51:36 Slp: Error: Action "Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction" threw an exception during execution.
(01) 2014-04-10 11:51:36 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Failed to retrieve data for this request. ---> Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to
retrieve data for this request. ---> System.ComponentModel.Win32Exception: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean enable)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer ctx, String machineName, SqlRegistryKey key)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx, String machineName, SqlRegistryKey machineKey, String registryPath, RegistryView
regView, String regPath, RegistryAccess registryAccess, Boolean& alreadyCached)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:36 Slp: --- End of inner exception stack trace ---
(01) 2014-04-10 11:51:39 Slp: Received request to add the following file to Watson reporting: C:\Users\HS2\AppData\Local\Temp\tmp6614.tmp
(01) 2014-04-10 11:51:39 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2014-04-10 11:51:39 Slp: Inner exceptions are being indented
(01) 2014-04-10 11:51:39 Slp:
(01) 2014-04-10 11:51:39 Slp: Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
(01) 2014-04-10 11:51:39 Slp: Message:
(01) 2014-04-10 11:51:39 Slp: Failed to retrieve data for this request.
(01) 2014-04-10 11:51:39 Slp: HResult : 0x80131500
(01) 2014-04-10 11:51:39 Slp: Data:
(01) 2014-04-10 11:51:39 Slp: HelpLink.ProdName = Microsoft SQL Server
(01) 2014-04-10 11:51:39 Slp: HelpLink.BaseHelpUrl =
http://go.microsoft.com/fwlink
(01) 2014-04-10 11:51:39 Slp: HelpLink.LinkId = 20476
(01) 2014-04-10 11:51:39 Slp: Stack:
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath,
String clusterDiscoveryDocRootPath)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer
context)
(01) 2014-04-10 11:51:39 Slp: Inner exception type: System.ComponentModel.Win32Exception
(01) 2014-04-10 11:51:39 Slp: Message:
(01) 2014-04-10 11:51:39 Slp: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:39 Slp:
(01) 2014-04-10 11:51:39 Slp: HResult : 0x80004005
(01) 2014-04-10 11:51:39 Slp: Error : 1300
(01) 2014-04-10 11:51:39 Slp: Stack:
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean
enable)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer
ctx, String machineName, SqlRegistryKey key)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx,
String machineName, SqlRegistryKey machineKey, String registryPath, RegistryView regView, String regPath, RegistryAccess registryAccess, Boolean& alreadyCached)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer
ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String
machineName, RegistryView regView)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:44 Slp: Watson Bucket 2
Original Parameter Values
(01) 2014-04-10 11:51:44 Slp: Parameter 0 : SQL Server
2012@RTM@KB2931078
(01) 2014-04-10 11:51:44 Slp: Parameter 1 : Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process
(01) 2014-04-10 11:51:44 Slp: Parameter 2 : Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege
(01) 2014-04-10 11:51:44 Slp: Parameter 3 :
Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException@-2146233088
(01) 2014-04-10 11:51:44 Slp: Parameter 4 :
System.ComponentModel.Win32Exception@-2147467259
(01) 2014-04-10 11:51:44 Slp: Parameter 5 : RunRemoteDiscoveryAction
(01) 2014-04-10 11:51:44 Slp: Parameter 8 : 1300
(01) 2014-04-10 11:51:44 Slp:
Final Parameter Values
(01) 2014-04-10 11:51:44 Slp: Parameter 0 : SQL Server
2012@RTM@KB2931078
(01) 2014-04-10 11:51:44 Slp: Parameter 1 : 0x6785B09D
(01) 2014-04-10 11:51:44 Slp: Parameter 2 : 0xB2652E58
(01) 2014-04-10 11:51:44 Slp: Parameter 3 : 0x74E34741
(01) 2014-04-10 11:51:44 Slp: Parameter 4 : 0xDC80C325
(01) 2014-04-10 11:51:44 Slp: Parameter 5 : RunRemoteDiscoveryAction
(01) 2014-04-10 11:51:44 Slp: Parameter 8 : 0xA05EFA62
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_Microsoft SQL
Server.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key Uninstall to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft
SQL Server.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key Uninstall to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:46 Slp: Failed to retrieve data for this request.
(01) 2014-04-10 11:51:46 Slp: Watson bucket for exception based failure has been created
(01) 2014-04-10 11:51:46 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2014-04-10 11:51:46 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\110
(01) 2014-04-10 11:51:46 Slp: Sco: Attempting to get registry value EnableErrorReporting
(01) 2014-04-10 11:51:46 Slp: WER: Successfully read app consent from registry Software\Microsoft\Microsoft SQL Server\110\EnableErrorReporting=0.
(01) 2014-04-10 11:51:46 Slp: WER: Application level consent value '0' was mapped to consent status 'WerConsentDenied'
(01) 2014-04-10 11:51:46 Slp: WER: Result of the submission:: 'WerDisabled'
(01) 2014-04-10 11:51:46 Slp: WER: Submitted 1 of 1 failures to the Watson data repository
(01) 2014-04-10 11:51:46 Slp: Sco: File 'C:\Windows\system32\Cluster.exe' does not exist
(01) 2014-04-10 11:51:46 Slp: Failed to collect cluster logs, cannot find Cluster.exe under system directory.
(01) 2014-04-10 11:51:46 Slp: Dumping final cluster state.
(01) 2014-04-10 11:51:49 Slp: Completed dumping final cluster state.
(01) 2014-04-10 11:51:51 Slp:
(01) 2014-04-10 11:51:51 Slp: ----------------------------------------------------------------------
(01) 2014-04-10 11:51:51 Slp:
(01) 2014-04-10 11:51:51 Slp: Error result: -2146233088
(01) 2014-04-10 11:51:51 Slp: Result facility code: 19
(01) 2014-04-10 11:51:51 Slp: Result error code: 5376
(01) 2014-04-10 11:51:51 Slp: SQM Service: Sqm does not have active session.Hello SQL Ranger,
Thanks for posting the detailed log. I dont have exact solution for this but I can give you some hint what could be reason patch has failed below message points to fact that there is some issue with account which is used to install CU patch.Have alook at
below log.It says that when patch was trying to get details from other node in cluster it was not able to.
01) 2014-04-10 11:51:33 Slp: Discovery on local machine is complete
(01) 2014-04-10 11:51:33 Slp: Running discovery on remote machine: VMSPDB1
(01) 2014-04-10 11:51:35 Slp: Discovery on VMSPDB1 failed due to exception
(01) 2014-04-10 11:51:36 Slp: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to retrieve data for this request. ---> System.ComponentModel.Win32Exception: Not all privileges or groups referenced are assigned to the caller.
IMO I strongly feel it is issue with the account. Microsoft has also documented about this for SQL Server 2008 .Have a look at following links
http://support.microsoft.com/default.aspx?scid=kb;en-US;2000257
Please also assign privilege mentioned in below link
http://www.bradg.co.za/?p=12
Hope this helps
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
"Failed to retrieve data for this request" occurred when I tried to access a database.
Hi,
I installed the sql server 2008 Client on my pc, so that I can connect to a remote sql server 2008 Enterprise cluster. Here is what happened:
0. Added myself as a db_owner on the two databases in the sql server cluster.
1. On my windows xp pro, I typed the server name and log in.
2. After I logged in, I clicked on the Databases to expand the node. However, an error prompt says,
"Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
The server principal "DomainName\MyName" is not able to access the database "DevicelockDB" under the current security context. (.Net SqlClient Data Provider)"
I only need to connect to two databases that I created on the sql cluster. I don't know why the DevicelockDB is needed before I can access two databases. What does DevicelockDB do? Do I need it for connecting to a database? Let me know, thanks in advance.I had the same problem , this one resolved the problem , thank you deshmukhsdineshd
Best
Regards
Tony de Leon -
Failed to retrieve data for this request.
Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) \CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'D:\SAP\MDF_LDF\BatchMasterLicenseManager.mdf'.
(MTITLE: Microsoft SQL Server Management Studio
Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'D:\SAP\MDF_LDF\BatchMasterLicenseManager.mdf'. (Microsoft SQL Server, Error: 5123)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=5123&LinkId=20476
BUTTONS:
OKYes, that is the solution now for attaching a database.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Reserved error (-7732); there is no message for this error.
I have been trying for months to link an Oracle 10g database to my Access 2010 database. I have successfully added the appropriate Oracle ODBC connection. However, when I try to import a table from the database, I get the error "Reserved error (-7732);
there is no message for this error." Really useful, isn't it? I've tried searching both the Microsoft and Oracle forums but no solution that I've seen on this error has been able to fix this. I have a Windows 7 64-bit machine, I'm running 64-bit Office
and cannot change to the 32-bit version. I have the 64-bit Oracle ODBC driver installed properly as well. Does anyone have any other information on this error? It boggles my mind why someone would come up with this error and not have any further information
on it but still bother to put "there is no message for this error." Anyway, someone please help me out. Thanks.Hi,
As far as I know, this is known to occur with 64 bit versions of Access 2010 and Oracle Instant Client tools when the Oracle Instant Client/Data Access Components are lower than version 11.2.0.3.0.
Please try to update the Oracle data access components to version 11.2.0.3.0 or newer.
Here is the link to download the latest data access components from Oracle
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
More reference:
Installation instructions
http://www.oracle.com/technetwork/topics/dotnet/downloads/install112030-1440546.html
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Regards,
George Zhao
TechNet Community Support -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-24
Hi All,
Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
Thanks in anticipation.
Cheers,
Tapas
Environment
OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
Oracle � 8.1.6
Delaying 10 seconds before making a beuatpool pool connection.
Pool 1 (Type �3 )
weblogic.jdbc.connectionPool.beuatpool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=10,\
initialCapacity=10,\
maxCapacity=20,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=10,\
refreshMinutes=10,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxxx
Pool 2(Type �4)
weblogic.jdbc.connectionPool.thinPool=\
url=jdbc:oracle:thin:@xxx:1521:xxx,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=15,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxx:1521:xxx
allow=everyone
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:149)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
---------- LOGIN ERROR CODE: 24327
---------- LOGIN ERROR CODE: 24327
Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
ool "beuatpool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:172)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:182)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:125)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)Hi,
I guess you can try some of these:
- Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
- Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
- Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
- Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
- Try to access the DB user through some other client (for instance, SQLPlus*).
Hope this is of some help,
Freddy. -
Error while trying to retrieve text for error ORA-03113"
We face an error saying "Error while trying to retrieve text for error ORA-03113" in our Mail trigger application.
This error happens randomly
This is the below error i am getting
I see from the logs
DBD::Oracle::st execute failed: Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute) [for State ment " insert into matrix_tbl (created_tm, tran_id, matrix_id, client_id, mailing_id, block_id, slist_id, profile_blob, profil e_id, plist_id, profile_key, email_addr, mail_pref, mail_pref_mask, alt_email_addr, num_ftd, pct_id ) SELECT sysdate, 0 , 619
70818 , 7180280 , 39868792 , ?, 0 , substr( 'MT' || chr(1) || '' || chr(1) || 'PAPER_USAGE' || chr(1) || s.C26 || chr(1) |
| 'GARDEN' || chr(1) || s.C17 || chr(1) || 'TAG' || chr(1) || s.C34 ||
| chr(1) || 'PASS_MAILING' || chr(1) || s.C27 || chr(1) | 'MS' || chr(1) || s.C24 || chr(1) || 'OPTIN_SOURCE' || chr(1) || s.C25 || chr(1) || 'DAILY' || chr(1) || s.C7 || chr(1) || '
PROFILE_LIST' || chr(1) || s.C28 || chr(1) || 'HI' || chr(1) || s.C20 || chr(1) || 'EXIST_MAILING' || chr(1) || s.C11 || chr(1
) || 'RPASS2' || chr(1) || s.C30 || chr(1) || 'FORWARD_MAILING' || chr(1) || s.C15 || chr(1) || 'ACCESS' || chr(1) || s.C1 ||
chr(1) || 'TRAVCON' || chr(1) || s.C35 || chr(1) || 'RPASS1' || chr(1) || s.C29 || chr(1) || 'FINANCE' || chr(1) || s.C12 || c
hr(1) || 'CONFIRM_MAILING' || chr(1) || s.C5 || chr(1) || 'VENT' || chr(1) || s.C38 || chr(1) || 'SRC' || chr(1) || s.C32 || c
hr(1) || 'DELIVERY' || chr(1) || s.C8 || chr(1) || 'SALUTATION' || chr(1) || s.C31 || chr(1) || 'UNTITLEDY' || chr(1) || s.C37 || chr(1) || 'CU18' || chr(1) || s.C6 || chr(1) || 'BIRTH_DATE' || chr(1) || s.C3 || chr(1) || 'BIRTH_YEAR' || chr(1) || s.C4 || chr(1) || 'DOWNLOAD' || chr(1) || s.C9 || chr(1) || 'LN' || chr(1) || s.C22 || chr(1) || 'VIRAL_LIST' || chr(1) || s.C39 |
| chr(1) || 'GENDER' || chr(1) || s.C18 || chr(1) || 'WEEKLY' || chr(1)
| || s.C40 || chr(1) || 'UNTITLEDX' || chr(1) || s.C36 |
| chr(1) || 'ENTERTAINMENT' || chr(1) || s.C10 || chr(1) || 'HEALTH' ||
| chr(1) || s.C19 || chr(1) || 'INCOME' || chr(1) || s.C
21 || chr(1) || 'FN' || chr(1) || s.C13 || chr(1) || 'ZIP' || chr(1) || s.C41 || chr(1) || 'AGE' || chr(1) || s.C2 || chr(1) |
| 'FOOD' || chr(1) || s.C14 || chr(1) || 'SUPPRESS' || chr(1) || s.C33
| || chr(1) || 'FTD_REVAL_DATE' || chr(1) || s.C16 || chr
(1) || 'MOVIE' || chr(1) || s.C23 , 0,3999) , s.profile_id, s.plist_id, s.profile_key, s.email_addr , s.mail_pref, s.mail_pref _mask, s.alt_email_addr, srt.num_ftd, s.block_id FROM subscriber_tbl s, sub_report_tbl srt WHERE s.plist_id = ?
and s.block_id
= ? and srt.plist_id = ? and srt.block_id = ? and s.profile_id = srt.profile_id
and nvl(srt.num_optout, 0) = 0 and nvl(srt.num_ftd, 0) <= 3 and srt.optin_mask like '%N01%'"
with ParamValues: :p5='1941860', :p3='1941860', :p1=1, :p4='28895423', :p2='28895423'] at hcommon.pm line 1277.
AJC MAILTRIGGER STH Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute)An ORA-03113 error would mean that the connection to the database no longer exists so any attempt to get the error message from the the database would result in an error. I think the real issue might be why was the session interrupted.
03113, 00000, "end-of-file on communication channel"
Depending on the front-end tool a pointer error or failure to properly terminate a string could result in corrupting the message to Oracle.
There have been numerous bugs over the years that have resulted in this error message being returned. I notice that the Oracle version, platform, edition, and client tool set are not mentioned in the post. All this would potentially be important information for someone to recognize what might be the problem.
I would look very closely at the code " at hcommon.pm line 1277 "
HTH -- Mark D Powell -- -
Error while trying to retrieve text for error ORA-12154
Hello,
I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
I've declare many environnement variables :
- NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
- TNS_ADMIN : E:\...\oracle\instantclient_10_1
- ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
oci8
OCI8 Support enabled
Revision $Revision: 1.269.2.8 $
Active Persistent Connections 0
Active Connections 0
Temporary Lob support enabled
Collections support enabled
Do you have any idea ? Thanks a lotThe web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
These may help:
http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
http://blogs.oracle.com/opal/2006/05/01 -
Error while trying to retrieve text for error ORA-12705
I am getting the message "Error while trying to retrieve text for error ORA-12705" when trying to connect to a remote oracle database on the network.
I can access this database using:
sqlplus username/password@database
from a dos prompt.
For some reason I can't connect when using PHP (through my local Apache2 server on Windows XP).
'phpinfo' says oracle in enabled (installed as per: http://www.oracle.com/technology/pub/notes/technote_php_instant.html), so I'm pretty sure the problem isn't with php itself.
My guess is it's something with Apache, and maybe environment variables or user permissions or instantclient (10).
All the folders, from instantclient to the Apache server have full permissions set for "Everyone" which I would assume includes this mysterious "nobody" user I've read about.
As for instantclient, I have placed that "tnsnames.ora" file from the oracle server there, and that hasn't changed much.
I've tried setting, unsetting, editing (environment variables):
LD_LIBRARY_PATH
ORACLE_HOME
ORACLE_SID
TNS_ADMIN
NLS_LANG
ORA_NLS33
in both the system environment, and even with PHP's "putenv" function. (Note: and restarting each time I changed a system var.)
In PHP i'm using:
$c = oci_connect("username","pasword", "database")
I've tried OCILogon instead of oci_connect
For "database" I've tried:
- using the path to the oracle db: //Oracle1/e/oracle/ora81
- mapping the path to x: drive and using: x:/oracle/ora81
- using the name of the database by itself
- using the name of the database underscored with the database name
- using "(ADDRESS=(PROTOCOL=TCP)(HOST = host)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=database)))"
I have tried everything I can find from:
the Oracle installation page: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
the Oracle troubleshooting page: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#connect
and these forumswith no results, just the same error.
I have also spent about 16 hours Googling for help, and nothing.
Can someone please tell me, what exactly does a user using:
Windows XP
Apache 2
PHP
intantclient10
Oracle 8i (on a remote server)
need to do to connect to Oracle before jumping off a bridge?Turns out Oracle was previously installed on this company laptop :(
I deleted any 'Oracle' mention in the registry with 'regedit' (from the command line) using the Find option. Not sure if it's always a good idea to do that, but I backed up the important stuff first anyway.
I uninstalled and reinstalled everything using the same guide mentioned above, and then it worked.
Now I can be friends with Oracle again.
Would be nice if the "Deinstall" removed the registry entries that caused this issue... -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
Hi,
I am getting the following error when i tried to connect to Oracle database from
a servlet. This exception is coming at the time of getting connection. And the
same code is working when i used in the standalone java program.
Oracle 8i database and WLS 6.0 are on the same UNIX machine.
---------attempting to connect ------
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Can any one help me out.
DurgaThe problem is solved after exprting the parameter ORACLE_SID=<database_name>
in Weblogic startup script.
thank u for the suggestions.
Durga
Joseph Weinstein <[email protected]> wrote:
>
>
Durga wrote:
Hi Joe,
I have checked the ORACLE_HOME parameter. There was a differnce. Ichanged to
/oracle/app/product/8.1.7
Now i am getting different exception. But still the standalone codeis working.
any clues why I am getting this exception. I will send the code andthe weblogic
properties file for reference if u need.Good. No, I don't need it. Now make sure the library path that the OS
uses to find
Oracle libraries, and our driver libraries etc., is in the same order
for the
server as for the shell that is successful on it's own. Make sure your
Oracle
client stuff is ahead of any weblogic libraries.
Joe
java.sql.SQLException: ORA-12547: TNS:lost contact
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java,Compiled
C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, CompiledCode)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
piled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
C
ode)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java,Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java,Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.getRuntimeName(ServletStubI
mpl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode)
Joseph Weinstein <[email protected]> wrote:
The environment for the server probably doesn't have the same ORACLE_HOME
setting as your shell when you succeed in a standalone.
Also, you should be using our connection pools, and you should avoid
making DriverManager calls in any multithreaded app such as WebLogic.
Joe
Durga wrote:
Hi,
I am getting the following error when i tried to connect to Oracledatabase from
a servlet. This exception is coming at the time of getting connection.And the
same code is working when i used in the standalone java program.
Oracle 8i database and WLS 6.0 are on the same UNIX machine.
---------attempting to connect ------
java.sql.SQLException: Error while trying to retrieve text for errorORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,
Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, CompiledC
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled
Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, CompiledC
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, CompiledCode
at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, CompiledCo
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Can any one help me out.
Durga -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-12
Hi,
I am getting the following error when i tried to connect to Oracle database from a servlet on HP-UX. I am using wls 6.0. And the same code is working when i used in the standalone java program.
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Can any one help me out.
DurgaThis is the text for ORA-12545, there is a problem in your NET8 somewhere.
http://technet.oracle.com/doc/network.815/a67440/ch11.htm#440586 -
Error while trying to retrieve text for error ORA-12162
I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
It says check privileges, but when I try
GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
Password:
ERROR: Did not recognize parameter argument.
Don't work this way, not the other way mentioned below
GGSCI (XXXXXX) 2> dblogin userid sys
Password:
ERROR: Unable to connect to database using user sys. Please check privileges.
Error while trying to retrieve text for error ORA-12162.
I can do a normal Login using SQLPLUS but Not through GGate :(
Please guide meLother wrote:
I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
It says check privileges, but when I try
GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
Password:
ERROR: Did not recognize parameter argument.
Don't work this way, not the other way mentioned below
GGSCI (XXXXXX) 2> dblogin userid sys
Password:
ERROR: Unable to connect to database using user sys. Please check privileges.
Error while trying to retrieve text for error ORA-12162.
I can do a normal Login using SQLPLUS but Not through GGate :(
Please guide mei wouldnt use SYS in the first place and rather create a new user to work with GG, but try this one:
dblogin userid sys, password <password> sysdba
Maybe you are looking for
-
AiO iPad app + HP LaserJet Pro 200 color MFP M276nw
Hi. I'm trying to let the AiO iPad app recognize my M276nw printer. AirPrint printing works flawlessy, so the HP Supply app does (it recognizes the printer and let me check for toner levels). There's no way to let the printer appear in the AiO Remote
-
Creation of 'Transport Request' for an lsmw program.
Hi all, I have created an LSMW program, and created a 'Transport Request'(throuh the option : Extras -> Generate Change Request). But, the Transport Request did not create any Subtask for the 'LSMW program'; Instead The TR has created a listing o
-
What is Premiere's Preview Codec? (CS4)
Is there a way to convert your source video to Premiere's preview file format/s, so that it never has to be preview-rendered? (until you add effects) Thanks. Update: by the way, I just read an article on Ars Technica (tech website), that said this: "
-
What do you do when the computer won't recognize the ipod attached by the USB cord?
when I attach the USB cord to the computer it says that the device is not recognized. How do you fix that?
-
I have 2 days till the wedding and I have been working on this project for months and it keeps completely shutting down the program and sending an error message......open or reopen and send it to apple....but i cannot share and get this thing to expo