GetPrinter() call fails with error code 124
Hi all,
I am researching whether I can use the Winspool API to print to a printer using the printer's IP address. So far, I have not had any luck.
Hopefully, someone can help me understand why I am receiving a 124 error code, or, let me know if what I want to do is possible.
Any help is appreciated.
Thanks!
This is the error I get from GetLastError() after calling GetPrinter() to get the size needed to declare the PRINTER_INFO_2 structure:
An unexpected error occurred when executing the test.
Error Code = 124.
Error Message = The system call level is not correct.
This is the test code I am using in my research. OpenPrinter() always succeeds, but, GetPrinter() always fails.
// Header File
#include "stdafx.h"
#include <WinSpool.h>
void GetPrinterInfoTest(CString printerName);
void GetFormattedSystemErrorMessage(DWORD errorCode, CString& errorMessage);
// CPP File
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
UNREFERENCED_PARAMETER(argc);
UNREFERENCED_PARAMETER(argv);
GetPrinterInfoTest("\\\\xx.xxx.xx.xx"); // Note: please replace the formatted string with the printer IP address
return 0;
void GetPrinterInfoTest(CString printerName)
HANDLE hPrinter = NULL;
int length = printerName.GetLength();
LPTSTR printerNameBuffer = printerName.GetBuffer(length);
::OpenPrinter(printerNameBuffer, &hPrinter, NULL);
DWORD cbNeeded = 0;
if (!::GetPrinter(hPrinter, 2, NULL, 0, &cbNeeded))
CString errorMessage;
GetFormattedSystemErrorMessage(::GetLastError(), errorMessage);
CString testResultMessage;
testResultMessage.Format("An unexpected error occurred when executing the test. \n%s", errorMessage);
cout << testResultMessage;
void GetFormattedSystemErrorMessage(DWORD errorCode, CString& errorMessage)
// Get system error and convert to message
LPVOID lpMsgBuf = NULL;
::FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
errorCode,
MAKELANGID( LANG_NEUTRAL, SUBLANG_DEFAULT ), // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL );
// Copy to CString to avoid memory leak
CString formattedMessage( (LPTSTR)lpMsgBuf );
::LocalFree( lpMsgBuf );
errorMessage.Format("Error Code = %lu. \nError Message = %s",
errorCode,
formattedMessage);
Hi Rupesh, Shu,
Thank you for taking the time to help me with my questions. :-)
Rupesh: Regarding my call to GetPrinter():
DWORD cbNeeded = 0;
if (!::GetPrinter(hPrinter, 2, NULL, 0, &cbNeeded))
As I stated before in my first post:
This is the error I get from GetLastError() after calling GetPrinter() to get the size needed to declare the PRINTER_INFO_2 structure:
An unexpected error occurred when executing the test.
Error Code = 124.
Error Message = The system call level is not correct.
So, this call I am making to GetPrinter() is not retrieving information about the printer yet. It is only performed to get the buffer size needed for my subsequent call to GetPrinter().
Shu: the reason why I pass in NULL into GetPrinter() is because I haven't declared the PRINTER_2_INFO buffer yet. Once I get the required buffer size from GetPrinter(), I will declare the PRINTER_INFO_2 buffer, and then pass that into
a second call to GetPrinter() to get detailed information about my printer.
Similar Messages
-
hi This event is logged in SharePoint 2010 logs often please help trace the issue also it precedes with Project server WCF code execution which alos is quite slow in execution, means PWA site runing slow. why does status read
provisioning while i am not running anything.
please help!!!
10/03/2011 14:39:23.46 w3wp.exe (0x306C)
0x2FC4
SharePoint Foundation Topology
e5mc Medium
WcfSendRequest: RemoteAddress: 'http://moss:32843/a667a0a96d314e5e9e6c8fe4866c5db4/PSI/PWA.svc' Channel: 'Microsoft.Office.Project.Server.Interfaces.IPWA' Action: 'http://schemas.microsoft.com/office/project/server/webservices/PWA/AdminReadSiteMapTyped'
MessageId: 'urn:uuid:0751dbdd-76c0-4410-ac73-2f1782e1513b'
91b87b3b-e9ad-43b9-9e8c-e553ba7e2f6c
10/03/2011 14:39:23.46 w3wp.exe (0x1B58)
0x1BA0
SharePoint Foundation Topology
e5mb Medium
WcfReceiveRequest: LocalAddress: 'http://moss.ccl.local:32843/a247f7273c09486999c9f111798cab59/ProfilePropertyService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetProfileProperties'
MessageId: 'urn:uuid:772a5c58-c0e4-4b0f-9142-f634fee413a9'
3cd5bfa5-2e40-458e-9718-788887b44dbe
10/03/2011 14:39:23.46 w3wp.exe (0x1B58)
0x1BA0
SharePoint Foundation Monitoring
nasq Medium
Entering monitored scope (ExecuteWcfServerOperation)
3cd5bfa5-2e40-458e-9718-788887b44dbe
10/03/2011 14:39:23.64 w3wp.exe (0x1B58)
0x1BA0
SharePoint Foundation Monitoring
b4ly Medium
Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=179.589584709789
3cd5bfa5-2e40-458e-9718-788887b44dbe
10/03/2011 14:39:23.64 w3wp.exe (0x306C)
0x3170
SharePoint Foundation Monitoring
b4ly High
Leaving Monitored Scope (ExecuteWcfOperation:http://Microsoft.Office.Server.UserProfiles/GetProfileProperties). Execution Time=205.109867315539
10/03/2011 14:39:23.64 w3wp.exe (0x306C)
0x3170
SharePoint Foundation Monitoring
b4ly High
Leaving Monitored Scope (ExecuteOnChannel:GetProfileProperties). Execution Time=206.500546857212
10/03/2011 14:39:23.74 Microsoft.Office.Project.Server (0x0DAC)
0x0FA8 Project Server
Provisioning
8zdn Medium
[SERVICE] ProjectQueueService14: Getting list of Sites for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
10/03/2011 14:39:23.74 Microsoft.Office.Project.Server (0x0DAC)
0x0FA8 Project Server
Provisioning
128v Medium
[SERVICE] ProjectQueueService14: Adding Site: ef3acaf4-3e7a-4819-80e0-8e7a85ca417b to sitelist for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
10/03/2011 14:39:23.77 Microsoft.Office.Project.Server (0x0CD4)
0x0FA4 Project Server
Provisioning
8zdn Medium
[SERVICE] ProjectEventService14: Getting list of Sites for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
10/03/2011 14:39:23.77 Microsoft.Office.Project.Server (0x0CD4)
0x0FA4 Project Server
Provisioning
128v Medium
[SERVICE] ProjectEventService14: Adding Site: ef3acaf4-3e7a-4819-80e0-8e7a85ca417b to sitelist for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)
0x300C SharePoint Foundation
General
84yj Medium
Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)
0x300C SharePoint Foundation
Sandboxed Code Service
ei0p Monitorable
- Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc) at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError) at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32
retry, Int32 retryInterval) at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading perf counters for process "SPUCWorkerProcess".
10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)
0x300C SharePoint Foundation
General
84yj Medium
Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)
0x300C SharePoint Foundation
Sandboxed Code Service
ei0p Monitorable
- Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc) at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError) at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32
retry, Int32 retryInterval) at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading perf counters for process "SPUCWorkerProcess".
10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)
0x300C SharePoint Foundation
General
84yj Medium
Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.Hi there,
A quick search showed the result on fourm thread:
It's related to SHarePoint foundation error & this issue occurs when the account under which SPUserCodeService is configured to run does not have the necessary permissions to access the performance counters on the server.
http://social.technet.microsoft.com/Forums/eu/sharepoint2010setup/thread/9fbcf2a3-1b1f-4fd8-a9b4-dc63ed753973
To read in support article.
http://support.microsoft.com/kb/983081Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82 -
The AcquireConnection method call failed with error code 0xC0202009.
I've seen the previous threads on this (although maybe not all of them). However, i don't think I'm getting the error for the same reason. The full error I'm getting is:
- Pre-execute (Error)
Messages
Error 0xc0202009: {F1B3B35C-FAE3-48F6-A169-4E4D8D99F9B6}: An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80004005 Description: "Unspecified error".
(SQL Server Import and Export Wizard)
Error 0xc020801c: Data Flow Task: The AcquireConnection method call to the connection manager "DestinationConnectionExcel" failed with error code 0xC0202009.
(SQL Server Import and Export Wizard)
Error 0xc004701a: Data Flow Task: component "Destination 64 - production_effectivities" (7042) failed the pre-execute phase and returned error code 0xC020801C.
(SQL Server Import and Export Wizard)
The entire package is running on one machine. The data source is SQL Server 2005 and the destination (this happens with both of them) is Excel or Access. Either way I cannot get the package which the wizard generated to run at all. This error occurs after the first table is exported. I'm running on WinXP SP2 with 2005 Developer and ALL components installed except analysis services.
Anyone else have this problem or know the solution?
JeffI am getting the same error. My Destination and source both are on SQL Server 2005 on the same box.
I am using SQL- Code for Source and and table as destination. When the package runnes under Transaction- TransactionOption-Supported then the packages excuted fine but it fails when i change the Transaction- TransactionOption to Required.
It fails with following error code.
[OLE DB Destination [22]] Error: The AcquireConnection method call to the connection manager "FMFCLSQADB01.DWH_Rakesh" failed with error code 0xC0202009.
[DTS.Pipeline] Error: component "OLE DB Destination" (22) failed the pre-execute phase and returned error code 0xC020801C.
[Connection manager "FMFCLSQADB01.DWH_Rakesh"] Error: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction.".
[Connection manager "FMFCLSQADB01.DWH_Rakesh"] Error: An OLE DB error has occurred. Error code: 0x8004D00A.
When i change the source SQL query to Table or View then it works fine.
Thanks for any suggestion.
Regards
Rakesh
Now, my issues related to “SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction."…..”. are fixed.
This is one of the very common errors that comes up in SSIS (SQL Server Integration service)
I have faced this issue for at-least two occasions. Both of them have one common setting: “TransactionOption” was set to “Required”.
In first case, I had multiple dataflow tasks but there were no sequence given. There were no error if I ran the package with TransactionOption=Supported. But when I ran the package in TransactionOption= Required, it got failed.
To fix the issue I have changed my package and put the entire dataflow task one after another (connected thru Constraint).
In another case, where I was doing data transfer from one server to another, I had to configure the MSDTC. -
I am experiencing this error with one of our cluster environment. Can anyone help me in this issue.
The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.
Thanks,
Venu S.
Venugopal S ----------------------------------------------------------- Please click the Mark as Answer button if a post solves your problem!Hi Venu S,
Based on my research, you might encounter a known issue, please try the hotfix in this KB:
http://support.microsoft.com/kb/928385
Meanwhile since there is less information about this issue, before further investigation, please provide us the following information:
The version of Windows Server you are using
The result of SELECT @@VERSION
The scenario when you get this error
If anything is unclear, please let me know.
Regards,
Tom Li -
Error
[Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There
may be error message
I am using BIDS Microsoft Visual Studio 2008 and running the package to load the data from excel .
My machine has 32 bit excel hence have set property to RUN64BITRUNTIME AS FALSE.
But the error still occurs .
I checked on Google and many have used Delay validation property at Data flow task level to true but even using it at both excel connection manager and DFT level it doesnt work
MudassarThats my connection string
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\SrcData\Feeds\Utilization.xlsx;Extended Properties="Excel 12.0;HDR=NO";
Excel 2010 installed and its 32 bit edition
Are you referring to install this component -AccessDatabaseEngine_x64.exe?
http://www.microsoft.com/en-us/download/details.aspx?id=13255
Mudassar
You can try an OLEDB provider in that case
see
http://dataintegrity.wordpress.com/2009/10/16/xlsx/
you might need to download and install ms access redistributable
http://www.microsoft.com/en-in/download/details.aspx?id=13255
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
I have a SSIS project that I am newly running on the SQL server (2005) . It was previously run on my PC. I am importing data from a DB2 server to the SQL server.
I am in the SA group on the server
My connection to DB2 works
When open the package and run it in preview mode, I can retrieve the data.
When I execute the package I get the below errors:
[MIDAS OLE DB Source [1]] Error: The AcquireConnection method call to the connection manager "NGMDSPA.alharris" failed with error code 0xC0202009.
[DTS.Pipeline] Error: component "MIDAS OLE DB Source" (1) failed validation and returned error code 0xC020801C.
What I have already done that has not worked:
The original Protection level was set to EncryptSensitiveWithPassword.
I have reset the Package Password.
I have set the protection level to DontSaveSensitive
I saved the package on the server and set a Package Password.
I created a new package, set the Protection level to DontSaveSensitive, set a package password in a configuration file using the Package Configuration Wizard.
Error continuesYes. The Drivers are installed and I have a successfull connection. I am trouble shooting the issue on the server in BIDS. I can connect to the DB2 server via the Connectionmanager. I can also preview the data in the OLE
DB source connection. Therefore I know that I have a proper connection
If you're setting option as DontSaveSensitive then you need to pass the connection information from configuration file/ config table. Otherwise it wont be able to use it for connecting to your source/destination servers. This is the recommended way as it
will enable you to change connection info at runtime.
If you want connection info to persist you need to use protection level as EncryptSensitiveUsingUserKey or EncryptSensitiveUsingPassword and set a password.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Hello, I have a sql 2005 server, and I am a developer, with the database on my own machine. It alwayws works for me but after some minutes the other developer cant work in the application
He got this error
Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 192.168.1.140]
and When I see the log event after that error, it comes with another error.
SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 192.168.1.140]
He has IIS5 and me too.
I created a user on the domain called ASPSYS with password, then in the IIS on anonymous authentication I put that user with that password, and it works, on both machines.
and in the connection string I have.
<add key="sqlconn" value="Data Source=ESTACION15;Initial Catalog=GescomDefinitiva;Integrated Security=SSPI; Trusted_Connection=true"/>
I go to the profiler, and I see that when he browses a page, the database is accesed with user ASPSYS, but when I browse a page, the database is accesed with user SE\levalencia.
Thats strange.
The only way that the other developer can work again on the project is to restart the whole machine. He has windows xp profession, I have windows 2000.
If you want me to send logs please tellmeWell here's my problem, maybe you can help. Intermittenly I get a login failed when connecting to a db engine through Server Management Studio using Windows authentication. When this happens the following entries are generated on the server's application event log:
Event Type: Error
Event Source: MSSQLSERVER
Event Category: (4)
Event ID: 17806
Date: 1/14/2009
Time: 10:41:31 AM
User: N/A
Computer: <server name>
Description:
SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: <ip address>]
Event Type: Failure Audit
Event Source: MSSQLSERVER
Event Category: (4)
Event ID: 18452
Date: 1/14/2009
Time: 10:41:31 AM
User: N/A
Computer: <server name>
Description:
Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: <ip address>]
I've already ensured that the server is set to mixed authentication mode. Oddly enough, the workaround that I've found is that if I remote desktop into the server, log in and then log back out, Management Studio is suddenly able to connect again. No idea why it works.
As I said before, it is intermitten. Some days it errors on login, other days it doesn't and there are no configuration changes between them. Also, both client and server are in the same domain and same site so there is no VPN or anything in between. I'm really quite stumped. Any help would be great, or if you can point me in the right direction of where to look. Thank you in advance! -
Hi,
This is kind of weird issue that I am experiencing with excel connection manager in SSIS 2012. This issue occurs sometimes but when I close and re-open SSDT (SQL Server Data Tools - newer BIDS) then this issues goes off temporarily.
Just FYI, through SSDT environment I executed the package successfully with both settings Run64bit runtime setting to Yes and No when error does not occur.
So far I have installed
http://www.microsoft.com/en-us/download/details.aspx?id=13255 (Microsoft Access Database Engine 2010 Redistributable).
I still remember for older versions of SQL Server (2005 & 2008) that I have executed Excel connection SSIS packages with Run64bit runtime = false i.e. in 32-bit mode. As far as I know I think Excel 64-bit issue has been resolved with SQL Server
2012 release.
Here is the detail of error message:
TITLE: Package Validation Error
Package Validation Error
ADDITIONAL INFORMATION:
Error at Data Flow Task [Excel Source [2]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection
Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
Error at Data Flow Task [SSIS.Pipeline]: Excel Source failed validation and returned error code 0xC020801C.
Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.
Error at Data Flow Task: There were errors during task validation.
Error at Package [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Unspecified error".
(Microsoft.DataTransformationServices.VsIntegration)
Here are my environment details:
SQL Server 2012 {Microsoft SQL Server 2012 (SP1) - 11.0.3368.0 (X64) } , Excel 2010 (32-bit). I am developing SSIS code on Virtual desktops with Windows 7 32-bit OS.
Also it occurred to me that since Virtual Desktops are on Shared Infrastructure, the source files and SSIS packages (code) can be on Shared drives for e.g. \\<Corpnet>\userdata\<Corp_Users_Grp>\<Username>\Visual Studio 2010\Projects\Integration
Services Project2\Integration Services Project2\Package.dtsx.
Does this kind of Shared drives have any impact to give this issue?
Thanks in advance!
Ketan
P.S.: I had look at this forum question -->
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/903bbe1d-e070-4c43-9d3b-0a5193550029/64bit-error-in-excel-connection-manager-in-ssisHi Arthur,
Thanks for your response.
Yes, it looks like SSIS still has bunch of issues with Excel files like as follows:
1) Some times excel source files cannot be parsed by excel source connection manager.
2) For derive column conversion, we can't replace the existing column. rather, we have to add the derived column as " add as new column" which is tough to manage while destination mapping.
3) If an column in excel contains a data which is not of the data type assigned for the column in excel, the excel source reads that data as "null". For the same, we can't validate the data and redirect the erroneous data in reject file. <-- For
this we tried IMEX setting also
4) In multi-tab/sheet excel file, excel source is unable to detect a tab and identify the metadata of the excel.
I am also checking Microsoft connect for Excel issues with SSIS 2012(https://connect.microsoft.com/SQLServer/SearchResults.aspx?SearchQuery=excel#&&PageIndex=22
As worst case scenario, I am thinking of converting Excel to CSV file or Flat text file. (http://www.mssqltips.com/sqlservertip/2772/importing-data-from-excel-using-ssis--part-2/).
Do you think it is advisable to convert Excel into CSV or Flat file.
Thanks,
Ketan -
I have an App which subscribes to Windows events and if it is matching the filter criteria, it reports it.
I have observed a strange problem on non-English windows 2008 OS.
If the Windows event is of source = EventLog (e.g. Event ID 1102: Security log was cleared), then EvtFormatMessage fails with error code 15033. But if the event is of any other source (e.g. Microsoft Security Auditing), then it works absolutely fine.
While calling EvtOpenPublisherMetadata, I have created locale ID as MAKELCID(MAKELANGID(0x09,0x01) i.e. Primary language = LANG_ENGLISH and Sub Language = SUBLANG_DEFAULT.
I want events details in English only and hence primary language is put as English. If I change this macro to have primary language as LANG_CHINESE and sub language as SUBLANG_CHINESE_SIMPLIFIED, then it works fine but gives back event details in native
OS language (Chinese in this case). That's not a desirable output for me.
Following is the way I'm calling EvtFormatMessage
EvtFormatMessage(hMetaData, hEvent[0], -1, 0, NULL,
1 /* EvtFormatMessageEvent */,
m_pTextBufferSize/sizeof(WCHAR),
m_pTextBuffer, &dwBuffUsed);
A work-around for this is to install a MUI pack for English language. If the MUI pack is installed then it works fine. But I cannot enforce users to have this pack installed on all their systems.
My question is why this API is working for some set of Events whereas failing for some specific Events? Am I doing something wrong?
Any help would be appreciated.
TIA,
Regards,
Yogesh
Was on vacation and hence the delay in replying.
As mentioned earlier, while calling EvtOpenPublisherMetadata, I have created locale ID as MAKELCID(MAKELANGID(0x09,0x01)
i.e. Primary language = LANG_ENGLISH and Sub Language = SUBLANG_DEFAULT. If I change this macro
to have primary language as LANG_CHINESE and sub language as SUBLANG_CHINESE_SIMPLIFIED, then it works fine but gives back event details in native OS language (Chinese in this case).
This is not an option for me as I want event details in English language only.
Regards,
Yogesh
Regards, Yogesh -
OPatch failed with error code 73
Friends,
We are getting below error message while firing $ORACLE_HOME/OPatch/opatch lsinventory.Please suggest me whether what could be the reason for this.Appricate your help.
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Locker::release()
OUISessionManager::unRegister()
Un-Registering the caller : OPatch
LsInventory::getInstance() returns
LsInventorySession failed: Unable to create patchObject
Cleaning up the directory : "/oracle/rdbms/10.2.0.4/.patch_storage/patch_unzip"...
OPatch failed with error code 73
Regards,
VinayFollowing these instructions solved the problem for me, maybe they will help you.
Issue 3: On Linux AMD x86-64 on RHEL4 systems, if you run OPatch in -report mode, it detects the incorrect platform and then terminates with errors similar to the following:
Apply Session failed: ApplySession failed to prepare the system.
OPatch failed with error code 73
Workaround: Set the OPATCH_PLATFORM_ID environment variable to point to the AMD64 Linux platform, whose ID is 226. For example:
export OPATCH_PLATFORM_ID=226
Then re-run OPatch in -report mode, for example:
opatch apply -report
Or
opatch rollback -report -
Installation failed with error code 1603
Hi all,
while installing the configuration manager clients on a system manually, we came across this ERROR:
installation failed with error code 1603
Do anyone has any idea how can this be resolved. Several posts suggest its a problem related to client push installation method, but since I am installing the configuration manager clients manually, so I mush not be affected by anything related to Client Push Installation. However, be noted that client push installation is well configured on the server, there are certain computers where the client is not getting installed so we are installing the clients MANUALLY to those systems,
Any help and suggestions would be higly appreciated.
Regards,
NaveedI have encountered the Error 1603/1602 while installing the HCKInstall\Client\Setup.exe on several machines. It appears to be generic at first, but it's not. The error code is being passed from the Service back to the MSI. It means that a service failed
to start. The key is that it happens at the very end of the installation and then does the rollback. The solution is to figure out which service failed and then remove it and the directories.
Here is what I did.
I created batch to kick off before I install the client now. It basically checks for installed HCK products and if there uninstalls them. Then checks for the state of each service and if running stops the service before attempting to remove the HCK/WLK leftovers.
Then it removes the sticky directory.
@ECHO OFF
:: Defaults...
:: Default:_HCK_Services_="DTMService,FtsSvc,WLKSvc,WTTNotification,WTTResultsRelayAgent" services.
SET _HCK_Services_=
:: Default:_Directories_="C:^\Program Files ^(x86^)^\Microsoft Driver Test Manager"
SET _Directories_=
:: Default:_DEBUG_=off, use debug_on to change
SET _DEBUG_=
:: Examples: Comma delimited lists param1=Services param2=directory param3=debug_on
:: ^<command.bat^> "DTMService,FtsSvc","C^:^\Program Files ^(x86^)^\Microsoft Driver Test Manager",c^:^\test, "debug_on"
::SetVars:
SET _HCK_Services_=%1
IF /I "%2" NEQ "" SET _Directories_=%2
:: SetDefaults:
IF /I "%3" GEQ "debug_on" SET _DEBUG_=True
IF NOT DEFINED _HCK_Services_ (
SET _HCK_Services_=DTMService,FtsSvc,WLKSvc,WTTNotification,WTTResultsRelayAgent
IF NOT DEFINED _Directories_ SET _Directories_=C:\Program Files (x86)\Microsoft Driver Test Manager
:: Clear Parans on directories
set _Directories_=%_Directories_:(x86)=replace_x86%
:: CallMainFunctions:
CALL:UninstallHCK
CALL:CheckVersion
CALL:Main "%_HCK_Services_%"
:Main
FOR %%A IN (%~1) DO (
REM Checking for Active Services ant attempting
IF DEFINED _DEBUG_ (
ECHO Checking %%A...
FOR /F "tokens=3 delims=: " %%H IN ('sc query "%%A" ^| findstr "STATE"') DO (
IF DEFINED _DEBUG_ (
ECHO Service:"%%A" Status:"%%H"
IF /I "%%H" NEQ "" (
IF DEFINED _DEBUG_ (
ECHO Service "%%A" is installed but not %%H.
) ELSE IF /I "%%H" GEQ "RUNNING" (
IF DEFINED _DEBUG_ (
ECHO. %%A %%H
ECHO Attempting to Stop %%A
SC STOP "%%A" >NUL
) ELSE IF /I "%%H" GEQ "START_PENDING" (
IF DEFINED _DEBUG_ (
ECHO. %%A %%H
REM Need to wait for it to fail before we can stop the service.
IF DEFINED _DEBUG_ (
ECHO Attempting to Stop %%A in 60 seconds...
PING.EXE 1.1.1.1 -n 1 -w 60000 >NUL
SC STOP "%%A" >NUL
) ELSE (
CALL:print Service, "%%A", Error, "Unexpected Results"
FOR /F "tokens=3 delims=: " %%H IN ('sc query "%%A" ^| findstr "STATE"') DO (
IF /I "%%H" NEQ "STOPPED" (
CALL:print Service, %%A, Failure_To_STOP, %%H
) ELSE (
CALL:print Service, %%A, State, %%H
CALL:delete_Service %%A
FOR /F "tokens=* delims=: " %%H IN ('sc query "%%A" ^| findstr "FAILED"') DO (
IF DEFINED _DEBUG_ (
ECHO Service:"%%A" is not installed.
ECHO. State:%%H
CALL:print Service, %%A, FinalState, "Not Installed"
CALL:RemoveDirectories "%_Directories_%"
GOTO:EOF
:UninstallHCK
CALL:CheckInstallation "{3BEE5E5E-8BEE-F691-4349-7B2B41FF3A59}", UninstallString
IF DEFINED _REGKEYFOUND_ MsiExec.exe /X{3BEE5E5E-8BEE-F691-4349-7B2B41FF3A59} /qb+
CALL:CheckInstallation "{6F8333B4-7DB1-E6D3-52ED-5641F8F38B76}", UninstallString
IF DEFINED _REGKEYFOUND_ MsiExec.exe /X{6F8333B4-7DB1-E6D3-52ED-5641F8F38B76} /qb+
CALL:CheckInstallation "{A329307E-3CCD-57BF-47EF-1B857D1AF08E}", UninstallString
IF DEFINED _REGKEYFOUND_ MsiExec.exe /X{A329307E-3CCD-57BF-47EF-1B857D1AF08E} /qb+
CALL:CheckInstallation "{F1213F53-D794-2021-E14E-F4BEED1BBF3B}", UninstallString
IF DEFINED _REGKEYFOUND_ MsiExec.exe /X{F1213F53-D794-2021-E14E-F4BEED1BBF3B} /qb+
GOTO:EOF
:RemoveDirectories
SET _RemoveDirectories_1_=%~1
SET _RemoveDirectories_1_=%_RemoveDirectories_1_:"=%
SET _RemoveDirectories_1_=%_RemoveDirectories_1_:'=%
FOR /f "tokens=1-8 delims=," %%A IN ("%_RemoveDirectories_1_%") DO (
IF "%%A" GEQ ":" (
CALL:RMDIR "%%A"
IF "%%B" GEQ ":" (
CALL:RMDIR "%%B"
IF "%%C" GEQ ":" (
CALL:RMDIR "%%C"
IF "%%D" GEQ ":" (
CALL:RMDIR "%%D"
IF "%%E" GEQ ":" (
CALL:RMDIR "%%F"
IF "%%G" GEQ ":" (
CALL:RMDIR "%%H"
IF "%%I" GEQ ":" (
CALL:RMDIR "%%I"
IF "%%J" GEQ ":" (
CALL:RMDIR "%%J"
exit /b 0
FOR %%A IN ('%_RemoveDirectories_1_%') DO (
ECHO.Dir=%%A
REM CALL:RMDIR '%%A'
GOTO:EOF
:RMDIR
:: GET Parans back
SET _THEDIR_=%~1
SET _DirStatus_=
set _THEDIR_=%_THEDIR_:replace_x86=(x86)%
set _THEDIR_=%_THEDIR_:"=%
set _THEDIR_=%_THEDIR_:'=%
IF NOT EXIST "%_THEDIR_%" goto endof
RMDIR "%_THEDIR_%" /S /Q
IF NOT EXIST "%_THEDIR_%" (
SET _DirStatus_=Removed
) ELSE (
SET _DirStatus_=Failed To Remove Directory
CALL:print RemoveDirectory, "%_THEDIR_%", Results, "%_DirStatus_%"
:endof
GOTO:EOF
:print
SET var_3=%~3
IF DEFINED var_3 (
ECHO ^{^[^'%~1^'^]='%~2', ^[^'%~3^'^]='%~4'^}
) ELSE (
ECHO ^{^[^'%~1^'^]='%~2'^}
GOTO:EOF
:delete_Service
sc.exe delete "%~1" >Nul
IF %ERRORLEVEL% NEQ 0 (
CALL:print Service, %~1, FinalState, "Failed To Uninstall"
) ELSE (
CALL:print Service, %~1, Current_State, Uninstalled
GOTO:EOF
:TestStr
SET _ORIGINAL_=%~2
SET STR2=%~2
SET STR3=%~3
SET STR4=%~4
REM ECHO.Str2="!STR2!"
SET STR2=!STR2:%~1=!
REM echo.STR2="!STR2!"
IF /I NOT "!STR2!" EQU "!_ORIGINAL_!" (
SET %STR3%=%STR4%
GOTO:EOF
:CheckVersion
REM Check Windows Version and sets variable for _Version_ and _OSType_
REM Enhancement will be to install dependencies required for HCK
SET _VERSION_=
SET _OSType_=
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
FOR /F "usebackq delims=" %%i IN (`VER`) DO (
SET _VERSION_=%%i
SET _VERSION_=!_VERSION_:[=!
SET _VERSION_=!_VERSION_:]=!
REM CALL:TestStr "6.1", "!_VERSION_!", _OSType_, Windows_7_2008R2
CALL:TestStr "5.0", "!_VERSION_!", _OSType_, Windows_2000
CALL:TestStr "5.1", "!_VERSION_!", _OSType_, Windows_XP
CALL:TestStr "5.2", "!_VERSION_!", _OSType_, Windows_2003
CALL:TestStr "6.0", "!_VERSION_!", _OSType_, Windows_Vista_2008R1
CALL:TestStr "6.1", "!_VERSION_!", _OSType_, Windows_7_2008R2
CALL:TestStr "6.2", "!_VERSION_!", _OSType_, Windows_2012
CALL:print OSType, !_OSType_!
CALL:print !_Version_!
ENDLOCAL && SET _OSType_=%_OSType_% && SET _VERSION_=%_VERSION_%
GOTO:EOF
:CheckInstallation
SET _REGKEYFOUND_=
SET KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%~1"
SET VALUE_NAME=%~2
FOR /F "usebackq skip=4 tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) DO (
SET ValueName=%%A
SET ValueType=%%B
SET ValueValue=%%C
IF DEFINED ValueName (
SET _REGKEYFOUND_=True
CALL:print "REGKEY", "%~2", Name, "%ValueName%"
CALL:print "REGKEY", "%~2", Value_Type, "%ValueType%"
CALL:print "REGKEY", "%~2", Value_Value, "%ValueValue%"
) else (
CALL:print "REGKEY", "%~2", "%KEY_NAME%\%VALUE_NAME%", "not found."
GOTO:EOF
:Done -
OPatch failed with error code 72
Hi,
i am trying to apply database patches, when ever i am trying to use opatch i am getting below error.
[oragold@apps OPatch]$ opatch lsinventory
Invoking OPatch 10.2.0.2.0
Oracle interim Patch Installer version 10.2.0.2.0
Copyright (c) 2005, Oracle Corporation. All rights reserved..
Oracle Home : /u02/oracle/PROD/db/tech_st/10.2.0
Central Inventory : /home/oragold/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.2.0
OUI version : 10.2.0.2.0
OUI location : /u02/oracle/PROD/db/tech_st/10.2.0/oui
Log file location : /u02/oracle/PROD/db/tech_st/10.2.0/cfgtoollogs/opatch/opatch-2009_Mar_30_16-28-49-EST_Mon.log
List of Homes on this system:
Home name= OraDb10g_home1, Location= "/u02/oracle/PROD/db/tech_st/10.2.0/db/inventory/prereqs"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventory Session failed: OracleHomeInventory::load() gets null oracleHomeInfo
OPatch failed with error code 72Sawwan,
i followed the metalink note which you given above, but i am getting same error
-r-xr-xr-x 1 oragold dba 27068515 Mar 30 17:57 p6880880_102000_LINUX_OPatchsoftware. zip
[oragold@apps 10.2.0]$ cd OPatch
[oragold@apps OPatch]$ ls
docs jlib opatch opatch.ini opatchprereqs
emdpatch.pl ocm opatch.bat opatch.pl README.txt
[oragold@apps OPatch]$ opatch lsinventory
_osArch is i386
/u02/oracle/PROD/db/tech_st/10.2.0/jdk/bin/java -cp ./ocm/lib/emocmutl.jar:/u02/oracle /PROD/db/tech_st/10.2.0/oui/jlib/OraInstaller.jar:/u02/oracle/PROD/db/tech_st/10.2.0/o ui/jlib/xmlparserv2.jar:/u02/oracle/PROD/db/tech_st/10.2.0/oui/jlib/share.jar:/u02/ora cle/PROD/db/tech_st/10.2.0/oui/jlib/srvm.jar:./jlib/opatch.jar:./jlib/opatchutil.jar:. /jlib/opatchprereq.jar:./jlib/opatchactions.jar -DOPatch.ORACLE_HOME=/u02/oracle/PROD/ db/tech_st/10.2.0 -DOPatch.DEBUG=true -DOPatch.RUNNING_DIR=. oracle/opatch/OPatch ls inventory
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
CmdLineParser::initRuntimeOptions()
Checking on class oracle.opatch.opatchutil.CmdLineOptions$StringArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$Strin gArguments
There are 7 fields defined in this class.
adding option "fp"
adding option "dp"
adding option "fr"
adding option "dr"
adding option "mp"
adding option "phbasedir"
adding option "phbasefile"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$BooleanArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$Boole anArguments
There are 2 fields defined in this class.
adding option "delay_link"
adding option "cmd_end"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$IntegerArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$Integ erArguments
There are 2 fields defined in this class.
adding option "integerarg1"
adding option "integerarg2"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$StringtegerArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$Strin gtegerArguments
There are 5 fields defined in this class.
adding option "stringtegerarg1"
adding option "stringtegerarg2"
adding option "ps"
adding option "mp"
adding option "xmlinput"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$DoubleArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$Doubl eArguments
There are 2 fields defined in this class.
adding option "doublearg1"
adding option "doublearg2"
Checking on class oracle.opatch.opatchutil.CmdLineOptions$RawStringArguments
Get list of fields defined in the class oracle.opatch.opatchutil.CmdLineOptions$RawSt ringArguments
There are 1 fields defined in this class.
adding option "cmd"
CmdLineHelper::loadRuntimeOption() for Class "oracle.opatch.opatchutil.OUSession"
initializing String option 0, fp
initializing String option 1, dp
initializing String option 2, fr
initializing String option 3, dr
initializing String option 4, mp
initializing String option 5, phbasedir
initializing String option 6, phbasefile
done init. String arg.
initializing Boolean option 0, delay_link
initializing Boolean option 1, cmd_end
done init. Boolean arg.
initializing Integer option 0, integerarg1
initializing Integer option 1, integerarg2
done init. Integer arg.
initializing StringTeger option 0, stringtegerarg1
initializing StringTeger option 1, stringtegerarg2
initializing StringTeger option 2, ps
initializing StringTeger option 3, mp
initializing StringTeger option 4, xmlinput
done init. SringTeger arg.
initializing Double option 0, doublearg1
initializing Double option 1, doublearg2
done init. Double arg.
initializing RawString option 0, cmd
done init. RawString arg.
CmdLineHelper::loadRuntimeOption() for Class "oracle.opatch.opatchutil.OUSession", don e.
CmdLineParser::initRuntimeOptions()
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$StringArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$Str ingArguments
There are 3 fields defined in this class.
adding option "phbasedir"
adding option "patchids"
adding option "phbasefile"
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$BooleanArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$Boo leanArguments
There are 2 fields defined in this class.
adding option "booleanarg1"
adding option "booleanarg2"
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$IntegerArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$Int egerArguments
There are 2 fields defined in this class.
adding option "integerarg1"
adding option "integerarg2"
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$StringtegerArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$Str ingtegerArguments
There are 2 fields defined in this class.
adding option "stringtegerarg1"
adding option "stringtegerarg2"
Checking on class oracle.opatch.opatchprereq.CmdLineOptions$DoubleArguments
Get list of fields defined in the class oracle.opatch.opatchprereq.CmdLineOptions$Dou bleArguments
There are 2 fields defined in this class.
adding option "doublearg1"
adding option "doublearg2"
CmdLineHelper::loadRuntimeOption() for Class "oracle.opatch.opatchprereq.PQSession"
initializing String option 0, phbasedir
initializing String option 1, patchids
initializing String option 2, phbasefile
done init. String arg.
initializing Boolean option 0, booleanarg1
initializing Boolean option 1, booleanarg2
done init. Boolean arg.
initializing Integer option 0, integerarg1
initializing Integer option 1, integerarg2
done init. Integer arg.
initializing StringTeger option 0, stringtegerarg1
initializing StringTeger option 1, stringtegerarg2
done init. SringTeger arg.
initializing Double option 0, doublearg1
initializing Double option 1, doublearg2
done init. Double arg.
CmdLineHelper::loadRuntimeOption() for Class "oracle.opatch.opatchprereq.PQSession", d one.
reqVer For using getEnv() = 10.2.0.4.0
curVer = 10.2.0.2.0
Current Ver later than required? :false
Current Ver equals required? :false
Checking EMDROOT using OUI's API...
CmdLineParser.processOPatchProperties() begins
CmdLineParser.processOPatchProperties() ends
OUIReplacer::runEnvScript() called
SystemCall:RuntimeExec(cmds, runDir): GOING to start thread to read Input Stream
SystemCall:RuntimeExec(cmds, runDir): Started thread to read Input Stream
SystemCall:RuntimeExec(cmds, runDir): GOING to start thread to read Error Stream
SystemCall:RuntimeExec(cmds, runDir): Started thread to read Error Stream
SystemCall:RuntimeExec(cmds, runDir): GOING into process.waitFor()
ReaderThread::run(): Stream ErrorStream about to be read
ReaderThread::run(): Stream InputStream about to be read
ReaderThread::run(): Stream InputStream reading completed
ReaderThread::run(): Stream ErrorStream reading completed
SystemCall:RuntimeExec(cmds, runDir): process.waitFor() is OVER
SystemCall:RuntimeExec(cmds, runDir): Error stream thread joined successfully
SystemCall:RuntimeExec(cmds, runDir): Input stream thread joined successfully
OUIReplacer::setKeyValue() called
OPatchSession::main()
Environment:
OPatch.ORACLE_HOME=/u02/oracle/PROD/db/tech_st/10.2.0
oracle.installer.invPtrLoc=/etc/oraInst.loc
oracle.installer.oui_loc=/u02/oracle/PROD/db/tech_st/10.2.0/oui
oracle.installer.library_loc=/u02/oracle/PROD/db/tech_st/10.2.0/oui/lib/linux
oracle.installer.startup_location=/u02/oracle/PROD/db/tech_st/10.2.0/oui
OPatch.PLATFORM_ID=
os.name=Linux
OPatch.NO_FUSER=
OPatch.SKIP_VERIFYnull
oracle.installer.clusterEnabled=false
TRACING.ENABLED=TRUE
TRACING.LEVEL=2
OPatch.DEBUG=true
OPATCH_VERSION=10.2.0.4.6
Bundled OPatch Property File=properties
Minimum OUI version: 10.2
OPatch.PATH=/u02/oracle/PROD/db/tech_st/10.2.0/perl/bin:/u02/oracle/PROD/db/tech_st /10.2.0/bin:/usr/bin:/usr/sbin:/u02/oracle/PROD/db/tech_st/10.2.0/appsutil/jre/bin:/us r/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/ bin:/usr/X11R6/bin:/home/oragold/bin:.
Stand-Alone home : false
Environment:
OPatch.ORACLE_HOME=/u02/oracle/PROD/db/tech_st/10.2.0
oracle.installer.invPtrLoc=/etc/oraInst.loc
oracle.installer.oui_loc=/u02/oracle/PROD/db/tech_st/10.2.0/oui
oracle.installer.library_loc=/u02/oracle/PROD/db/tech_st/10.2.0/oui/lib/linux
oracle.installer.startup_location=/u02/oracle/PROD/db/tech_st/10.2.0/oui
OPatch.PLATFORM_ID=
os.name=Linux
OPatch.NO_FUSER=
OPatch.SKIP_VERIFYnull
oracle.installer.clusterEnabled=false
TRACING.ENABLED=TRUE
TRACING.LEVEL=2
OPatch.DEBUG=true
OPATCH_VERSION=10.2.0.4.6
Bundled OPatch Property File=properties
Minimum OUI version: 10.2
OPatch.PATH=/u02/oracle/PROD/db/tech_st/10.2.0/perl/bin:/u02/oracle/PROD/db/tech_st /10.2.0/bin:/usr/bin:/usr/sbin:/u02/oracle/PROD/db/tech_st/10.2.0/appsutil/jre/bin:/us r/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/ bin:/usr/X11R6/bin:/home/oragold/bin:.
Stand-Alone home : false
Oracle Home : /u02/oracle/PROD/db/tech_st/10.2.0
Central Inventory : /home/oragold/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.6
OUI version : 10.2.0.2.0
OUI location : /u02/oracle/PROD/db/tech_st/10.2.0/oui
Log file location : /u02/oracle/PROD/db/tech_st/10.2.0/cfgtoollogs/opatch/opatch2009-0 3-30_16-59-59PM.log
Patch history file: /u02/oracle/PROD/db/tech_st/10.2.0/cfgtoollogs/opatch/opatch_histo ry.txt
OUISessionManager::instantiate()
lockCentralInventory(): OUISessionManager::lockCentralInventory() will retry 0 times w ith 120-second interval to get an Inventory lock.
OUISessionManager::lockCentralInventory() try round # 1
OUISessionManager::setupSession()
OUISessionManager::setupSession() instantiates a OUIInventorySession obj.
OUISessionManager::setupSession() init. the session
OUISessionManager::setupSession() sets up READ-ONLY session
OUISessionManager::setupSession() done
OUISessionManager::lockCentralInventory() set up session OK
reqVer = 10.2
curVer = 10.2.0.2.0
Current Ver later than required? :true
Current Ver equals required? :false
OracleHomeInventory::createInventoryObj()
OracleHomeInventory::createInventoryObj() gets OUIInventorySession object
Locker::lock()
calling lockCentralInventory()
OUISessionManager::getInventorySession()
Caller Details:
Caller Name : OPatch Caller Version : 10.2.0.4.6 Requested Read-only ac cess : true Oracle Home : /u02/oracle/PROD/db/tech_st/10.2.0
OUISessionManager::register()
Registering the caller : OPatch
OracleHomeInventory::createInventoryObj() gets OUIInstallAreaControl object
OracleHomeInventory::createInventoryObj() gets OUIInstallInventory object
OracleHomeInventory::createInventoryObj() gets OUIOracleHomeInfo object
OracleHomeInfo::lock() fails, and there is no retry supported.
OracleHomeInventory::createInventoryObj() gets a null OUIOracleHomeInfo object
OracleHomeInventory::createInventoryObj() tries to print a list of Oracle Homes on thi s system
OracleHomeInventory::createInventoryObj() Your Oracle Home path: "/u02/oracle/PROD/db/ tech_st/10.2.0"mes on this system:
Home name= OraDb10g_home1, Location= "/u02/oracle/PROD/db/tech_st/10.2.0/db/inventor y/prereqs"
OracleHomeInventory::createInventoryObj() construction doneInventory::loadAndPrintInventory()
Retrieving inventory from Oracle Home...
OracleHomeInventory::load()
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
Locker::release()
OUISessionManager::unRegister()
Un-Registering the caller : OPatch
LsInventory::getInstance() returns
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
Cleaning up the directory : "/u02/oracle/PROD/db/tech_st/10.2.0/.patch_storage/patch_u nzip"...
OPatch failed with error code 73
[oragold@apps OPatch]$ -
I need help installing update 13.1.2 for Photoshop creative cloud, installation fails with error code: U44M1P7. Could someone please help?
Sorry to bother you.
I could find the answer after searching previous posts about this language problem.
Had to change my language in AAM profile and then download PS CS6 again ( english version ).
Then open the actual Photoshop and in preferences > interface you can besides the Dutch also option for English.
restart application and Voila.
Greetz, Jeroen -
Hi Board,
i´ve search across the board, technet and symantec sites but did not found a hint about my problem.
we drive a 2 node DAG (Location1-Ex1-mb1
Location2-exc1-mb1), on SP2 RU4 patchlevel with 40 Databases.
Since some time the backup of one - and only one DB - is failing with these events, logged on the Mailboxserver on which the passive DB is hosted.
Log Name: Application
Source: MSExchangeRepl
Date: 28.09.2012 00:37:17
Event ID: 2112
Task Category: Exchange VSS Writer
Level: Error
Keywords: Classic
User: N/A
Computer: Location1-Exc1-MB1
Description: The Microsoft Exchange Replication service VSS Writer instance 1ab7d204-609a-4aea-b0a7-70afb0db38de failed with error code 80070020 when preparing for a backup of database 'DB012'.
Followed by
Log Name: Application
Source: MSExchangeRepl
Date:
01.10.2012 03:33:06
Event ID: 2024
Task Category: Exchange VSS Writer
Level: Error
Keywords: Classic
User:
N/A
Computer: Location1-Exc1-MB1
Description:
The Microsoft Exchange Replication service VSS Writer (Instance 42916d80-36c1-4f73-86d0-596d30226349) failed with error 80070020 when preparing for a backup.
The backup Application - Symantec Backup Exec 2010 R3 – states, this error
Snapshot provider error (0xE000FED1): A failure occurred querying the Writer status.
Check the Windows Event Viewer for details.
Writer Name: Exchange Server, Writer ID: {76FE1AC4-15F7-4BCD-987E-8E1ACB462FB7}, Last error: The VSS Writer failed, but the operation can be retried (0x800423f3), State: Stable (1).
Symatec suggests within http://www.symantec.com/business/support/index?page=content&id=TECH184095
to restart the MS Exchange Replication Service – BUT the mentioned eventID
8229 isn´t present on any of the both Mailboxservers.
The affected Database is active on Location2-Exc1-Mb1 Server and in an overall healthy state. I found during my research, that below Location2-Exc1-Mb1 Server, there are not removed shadow copies present!
This confuses me, since all Backups are normally taken from the passive copy of a Database.
So my questions to the board are:
* Does anyone is facing similar issues?
* Can someone explain why snapshots are present on the Mailboxserver hosting the Active Database, whilst the errors are logged on the passive one?
- * Does someone know the conditions, why shadows copies remain and
aren´t removed in a proper manner?
What can cause the circumstance, that only 1 DB is facing such issues?
Any suggestion is welcome!
BR
MarkusHi Lenora,
I´ve encreases VSS / Exchange Backup Log levels to expert, before starting
those things i´ve all tried now:
- Backup from passive DB (forced within Symantec Backup Exec)
- Backup from active DB (forced within Symantec Backup Exec)
- Backup from passive DB without GRT enabled (forced within Symantec Backup Exec)
- Backup from active DB without GRT enabled(forced within Symantec Backup Exec)
All those attempts failed.
But brought some more details - the backup against the active DB states, that there is still a backup in progress and therefore this backup is cancelled by VSS.
The Solution was, that i´ve needed to restart the Exchange Replication Service on the Mailbox Server hosting the passive DB.
Backups are working again on all DBs!
THX for your replys.
Best regards
Markus -
CcmSetup failed with error code 0x80004005 - windows 8.1
using sccm 2012 r2, trying to push to a windows 8.1 client i get:
<![LOG[==========[ ccmsetup started in process 7416 ]==========]LOG]!><time="16:05:28.041+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="ccmsetup.cpp:9437">
<![LOG[Running on platform X64]LOG]!><time="16:05:28.042+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="util.cpp:1837">
<![LOG[Updated security on object C:\WINDOWS\ccmsetup\cache\.]LOG]!><time="16:05:28.042+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9272" file="ccmsetup.cpp:9281">
<![LOG[Launch from folder C:\WINDOWS\ccmsetup\]LOG]!><time="16:05:28.042+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="ccmsetup.cpp:721">
<![LOG[CcmSetup version: 5.0.7958.1000]LOG]!><time="16:05:28.042+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="ccmsetup.cpp:727">
<![LOG[In ServiceMain]LOG]!><time="16:05:28.044+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9468" file="ccmsetup.cpp:3365">
<![LOG[Running on 'Microsoft Windows 8.1 Pro' (6.3.9600). Service Pack (0.0). SuiteMask = 272. Product Type = 18]LOG]!><time="16:05:28.084+00" date="01-15-2014" component="ccmsetup" context="" type="1"
thread="9468" file="util.cpp:1919">
<![LOG[Ccmsetup command line: "C:\WINDOWS\ccmsetup\ccmsetup.exe" /runservice /config:MobileClient.tcf]LOG]!><time="16:05:28.084+00" date="01-15-2014" component="ccmsetup" context="" type="1"
thread="9468" file="ccmsetup.cpp:3590">
<![LOG[Command line parameters for ccmsetup have been specified. No registry lookup for command line parameters is required.]LOG]!><time="16:05:28.084+00" date="01-15-2014" component="ccmsetup" context=""
type="1" thread="9468" file="ccmsetup.cpp:3775">
<![LOG[Command line: "C:\WINDOWS\ccmsetup\ccmsetup.exe" /runservice /config:MobileClient.tcf]LOG]!><time="16:05:28.084+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468"
file="ccmsetup.cpp:3776">
<![LOG[SslState value: 224]LOG]!><time="16:05:28.085+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9468" file="ccmsetup.cpp:4425">
<![LOG[CCMHTTPPORT: 80]LOG]!><time="16:05:28.086+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8617">
<![LOG[CCMHTTPSPORT: 443]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8632">
<![LOG[CCMHTTPSSTATE: 224]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8650">
<![LOG[CCMHTTPSCERTNAME: ]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8668">
<![LOG[FSP: ]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8720">
<![LOG[CCMFIRSTCERT: 1]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8778">
<![LOG[Config file: C:\WINDOWS\ccmsetup\MobileClientUnicode.tcf]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468"
file="ccmsetup.cpp:4539">
<![LOG[Retry time: 10 minute(s)]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:4540">
<![LOG[MSI log file: C:\WINDOWS\ccmsetup\Logs\client.msi.log]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468"
file="ccmsetup.cpp:4541">
<![LOG[MSI properties: INSTALL="ALL" SMSSITECODE="consto" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="224" CCMFIRSTCERT="1"]LOG]!><time="16:05:28.088+00"
date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:4542">
<![LOG[Source List:]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:4550">
<![LOG[ \\TA-SRV-SC.constoplc.local\SMSClient]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup"
context="" type="1" thread="9468" file="ccmsetup.cpp:4557">
<![LOG[ \\TA-SRV-SC.constoPLC.LOCAL\SMSClient]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup"
context="" type="1" thread="9468" file="ccmsetup.cpp:4566">
<![LOG[MPs:]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:4569">
<![LOG[ TA-SRV-SC.constoplc.local]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context=""
type="1" thread="9468" file="ccmsetup.cpp:4584">
<![LOG[MapNLMCostDataToCCMCost() returning Cost 0x1]LOG]!><time="16:05:28.091+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmutillib.cpp:5479">
<![LOG[No version of the client is currently detected.]LOG]!><time="16:05:28.093+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:2748">
<![LOG[Folder 'Microsoft\Configuration Manager' not found. Task does not exist.]LOG]!><time="16:05:28.094+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9468" file="wintask.cpp:622">
<![LOG[Updated security on object C:\WINDOWS\ccmsetup\.]LOG]!><time="16:05:28.095+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9468" file="ccmsetup.cpp:9281">
<![LOG[A Fallback Status Point has not been specified. Message with STATEID='100' will not be sent.]LOG]!><time="16:05:28.095+00" date="01-15-2014" component="ccmsetup" context="" type="1"
thread="9468" file="ccmsetup.cpp:9763">
<![LOG[Running as user "SYSTEM"]LOG]!><time="16:05:28.118+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:1995">
<![LOG[A Fallback Status Point has not been specified. Message with STATEID='328' will not be sent.]LOG]!><time="16:05:28.118+00" date="01-15-2014" component="ccmsetup" context="" type="1"
thread="9468" file="ccmsetup.cpp:9763">
<![LOG[CcmSetup failed with error code 0x80004005]LOG]!><time="16:05:28.119+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="ccmsetup.cpp:10879">
any ideas why its failing?Hi,
I've seen the same error on a customer where we had Windows Intune Client (SCCM) installed previously. Did you try it on a newly deployed computer? If you had Intune or another CCM client on it previously make sure you clean it up. Here is a well formulated
instruction:
http://douwevanderuit.wordpress.com/2014/01/30/removing-windows-intune-client/
Usually when deploying to many clients we use a startup script, there is a great one that Jason Sandys made in the link below.
http://blog.configmgrftw.com/configmgr-client-startup-script/
There should be no problems deploying SCCM 2012 R2 clients on Windows 8.1 unless there is something wrong with either the setup or the client computer.
All the best, Jesper Hassing - MCTS SCCM 2012 - MCSA 2012 Server - MCP
Maybe you are looking for
-
Printer driver for HP LaserJet 4L with Windows 7
I cannot find the printer driver for my LaserJet 4L in Windows 7. I have a parallel to USB converter cable attached to my computer. I need the drivers. Thanks. This question was solved. View Solution.
-
Why is only half the page printing
i have a Deskjet f380 when i want to print a page, the preview shows only half the page. and it will only print half the page. i checked the setting and they seem to be fine, what gives?
-
Hi expert,Incorrect connection string for addon
hi expert I am getting error when connect my addon in client pc. my addon working fine in server at client side. but in client i m getting error "Incorrect connection string for addon".in my addon i am using crystal report and two sap b1 user form.
-
Adobe Photoshop Elements 13 full version bought January 2015,
Photomerge - Panorama is not working
-
Who stole the Oracle SQL Developer RPM for Linux Download Page!
Guys, Who stole the Oracle SQL Developer RPM for Linux download page, everytime i try download the rpm all i get is the page can not be found Error 404!!! Not happy :-(