XCreateIC fails intermittently on Solaris utf-8 locale
Hi,
I'm using motif 2.1 and Xlib of Solaris 8 (i.e. /usr/openwin/lib/libX11.so). In my application I'm using Drawing Area widget for text editing. I'm trying to create a input context for Root-Window input style. The following XCreateIC() call fails intermittently on utf-8 locale, while the same problem is not happening on non-utf-8 locale e.g. ja_JP.eucJP.
ic = XCreateIC (im, XNInputStyle, XIMPreeditNothing | XIMStatusNothing, XNClientWindow, xim_win, NULL)) == NULL)
printf("\nXCreateIC failed.\n");
return (0);
I'm not able to identify what is going wrong. Please help.
Thanks in advance.
Issue resolved. I reinstalled XManager.
Now it works fine.
Kind regards,
Daniel
Similar Messages
-
Error 1030723 Unable to get UTF-8 locale when using Essbase API 11.1.1
Now I got a question about how to connect to an Essbase Server by using essbase client API (11.1.1). I encountered an error “Unable to get UTF-8 locale” when I tried to EssInit((pInitStruct, phInstance) API.
However, I had no problem to call the API if I uses essbase previous client APIs (7.1 or 9.3).
I passed the “ESS_API_UTF8” to usApiType field in the ESS_INIT_T struct. When I openned the “essapi.h” header file, I found these are some new fields (highlighted in red color below) added in the essbase client API (11.1.1)
ESS_TSA_API_typedef_struct(ess_init_t)
ESS_TSA_ELEMENT(ESS_ULONG_T, Version); /* This should be set to ESS_API_VERSION */
ESS_TSA_ELEMENT(ESS_PVOID_T, UserContext); /* void pointer to user's message context */
ESS_TSA_ELEMENT(ESS_USHORT_T, MaxHandles); /* max number of context handles required */
ESS_TSA_ELEMENT(ESS_SIZE_T, MaxBuffer); /* max size of buffer that can be allocated */
ESS_TSA_ELEMENT(ESS_STR_T, LocalPath); /* local path to use for file operations */
ESS_TSA_ELEMENT(ESS_STR_T, MessageFile); /* full path name of message database file */
ESS_TSA_ELEMENT(ESS_PFUNC_T, AllocFunc); /* user-defined memory allocation function */
ESS_TSA_ELEMENT(ESS_PFUNC_T, ReallocFunc); /* user-defined memory reallocation function */
ESS_TSA_ELEMENT(ESS_PFUNC_T, FreeFunc); /* user-defined memory free function */
ESS_TSA_ELEMENT(ESS_PFUNC_T, MessageFunc); /* user-defined message callback function */
ESS_TSA_ELEMENT(ESS_STR_T, HelpFile); /* user-defined help file path */
ESS_TSA_ELEMENT(ESS_PVOID_T, Ess_System); /* reserved for internal use */
ESS_TSA_ELEMENT(ESS_USHORT_T, usApiType);
ESS_TSA_ELEMENT(ESS_PCATCHFUNC_T, CatchFunc); /* user-defined kill-own-request signal callback function */
ESS_TSA_ELEMENT(ESS_PCATCH_INIT_FUNC_T, CatchInitFunc); /* user-defined kill-own-request signal initialization callback function */
ESS_TSA_ELEMENT(ESS_PCATCH_TERM_FUNC_T, CatchTermFunc); /* user-defined kill-own-request signal termination callback function */
ESS_TSA_ELEMENT(ESS_PCOOKIE_CREATE_FUNC_T, CookieCreateFunc); /* user-defined cookie creation function */
ESS_TSA_ELEMENT(ESS_PCOOKIE_DELETE_FUNC_T, CookieDeleteFunc); /* user-defined cookie creation function */
} ESS_TSA_END(ESS_INIT_T);
I could not find any document to introduce the API (11.1.1. And what does the error “Unable to get UTF-8 locale” mean? How can work around it. Any environment parameters or paths need to be set?
Please advise.Hi,
The API documentation for V11 is available from :- http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_apiref/frameset.htm?launch.htm
Hopefully it might point you in the right direction.
Cheers
John
http://john-goodwin.blogspot.com/ -
Publications fail intermittently on XI 3.1
Hello,
We have publications that fail intermittently with the error:
An exception was caught while scheduling the publication. (FBE60203) or
Unable to find the infostore service. Is your CMS running and configured properly? (FBE60002)
com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Unable to reconnect to the CMS xxx.ny2.xxx.net:6400. The session has been logged off or has expired. (FWM 01002)
cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$LogonFailover: Unable to reconnect to the CMS xxx.ny2.xxx.net:6400. The session has been logged off or has expired. (FWM 01002)
The publication log also invarably contains Unable to reconnect to the CMS xxx.ny2.xxx.net:6400. The session has been logged off or has expired. (FWM 01002).
The publications are scheduled as follows:
1. A program object is scheduled to kick off the publication. This program object passes values to the prompts in the publication at run time.
2. The publications are scheduled as MHTML files to an FTP server.
3. The publications are based on different tabs in Webi report
Our environment consists of a full stack on a single server.
Environment details:
BO XI 3.1 Premium CPU on RHEL 4 (64 bit) (2.6.9-67.0.15.ELsmp)
Oracle 64 bit
Tomcat 5.5
We schedule a lot of reports using a similar process flow. It is only the publications that fail.
We have a case open too. I was hoping someone had seen something like this before.
The entire publication log from the last time one of the publications failed is below:
2009-01-26 18:45:27,761 INFO [pool-4-thread-7] BusinessObjects_PublicationAdminLog_Instance_126761 - [Publication ID # 126761] - Running publication instance.
2009-01-26 18:45:27,805 INFO [pool-4-thread-7] BusinessObjects_PublicationAdminLog_Instance_126761 - [Publication ID # 126761] - The global delivery rule for this publication was met; publication processing will now begin.
2009-01-26 18:45:28,015 ERROR [PublishingService:HandlerPool-39] BusinessObjects_PublicationAdminLog_Instance_126761 - [Publication ID # 126761] - An exception was caught while scheduling the publication. (FBE60203)
com.crystaldecisions.enterprise.ocaframework.IManagedService$ManagedLogoffException: Unable to reconnect to the CMS xxx.ny2.xxx.net:6400. The session has been logged off or has expired. (FWM 01002)
at com.crystaldecisions.enterprise.ocaframework.ManagedService.invoke(ManagedService.java:604)
at com.crystaldecisions.sdk.occa.infostore.internal._InfoStoreEx4Proxy.queryEx3(_InfoStoreEx4Proxy.java:364)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:708)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:566)
at com.crystaldecisions.sdk.occa.infostore.internal.QuerySettings.executeQuery(QuerySettings.java:94)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObject.getParent(InfoObject.java:1377)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObject.getParent(InfoObject.java:1363)
at com.businessobjects.publisher.processing.AuditDetailHelper.buildPublicationPath(AuditDetailHelper.java:108)
at com.businessobjects.publisher.processing.AuditDetailHelper.setupAuditDetails(AuditDetailHelper.java:72)
at com.businessobjects.publisher.scheduling.SchedulingHelper.scheduleScopeBatch(SchedulingHelper.java:304)
at com.businessobjects.publisher.processing.ScopeBatchHandler.run(ScopeBatchHandler.java:101)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
2009-01-26 18:45:28,028 INFO [pool-4-thread-7] BusinessObjects_PublicationAdminLog_Instance_126761 - [Publication ID # 126761] - Publication scheduling complete.
Once a publication fails, the only method to ensure success is to:
1. Restart the CMS, Publication Job Server and Webi Processing Server
2. Recreate the publication (remove the source, add it again)
As an aside, I've had cases open twice before for the same issue. I closed them both because I can't replicate on demand (we were on XI3.0 RTM at that point).
I'd appreciate any help.
Thanks.
SrinivasMike,
I still have the case open with support on this. While I am (still) unsure as to which session has logged off, support suggested that I do the following:
Add
-requesttimeout 3600000 on following servers.
1.CMS
2.Webi Processing Server.
3.Adaptive job Server.
4.Publication Job server.
5.Input Server.
This seems to have done the job, at least for now. I am still testing though.
If your publication does fail with such an error, restarting the SIA could be a temporary solution.
Let me know if you need anything else.
Best,
Srinivas -
Failed to get IP address for Local Host (2) , OPMNCTL: opmn start failed
HI,
Hi, I have installed on Oracle 10g on Redhat Enterprise Linux V.2.1 . I was able to start OEM without any issues. Recently I had changed the static IP address and I couldn't able to start OPMNCTL and getting the following error while starting opmnctl start. error message is as follows.
Failed to get IP address for local host(2).....
Failed to get IP address for local host(2).....
Failed to get IP address for local host(2).....
my current configuration in /etc/hosts file is as follows.
127.0.0.1 localhost.localdomain servername
After going through some of threads available in Oracle, I have added the static IP address in the /etc/hosts but still I am getting the same error.
my new hosts file is as follows.
127.0.0.1 localhost.localdomain servername
10.21.253.102 localhost.localdomain servername
I don't know why this is looking for localhost (2). I did not set up any local host (2) and I could not see anything in my network confiuration also.
could you please help me in this issue? I appreciate your help in this regard.
Thanks
venkatHi, i think that the application server part is looking for a /etc/hosts entry
in this format:
127.0.0.1 localhost
As i noticed, this is used for internal communication.
Try this entry as is, without a domain... -
Event ID 1085 on DC - Failed to Apply the Group Policy Local Users and Groups Settings
I have a domain with 2 DCs. The primary DC is running Server 2012 and is raising Event ID 1085 every 10 minutes and 20 seconds.
Windows failed to apply the Group Policy Local Users and Groups settings. Group Policy Local Users and Groups settings might have its own log file. Please click on the "More information" link.
System
- Provider
[ Name] Microsoft-Windows-GroupPolicy
[ Guid] {AEA1B4FA-97D1-45F2-A64C-4D69FFFD92C9}
EventID 1085
Version 0
Level 3
Task 0
Opcode 1
Keywords 0x8000000000000000
- TimeCreated
[ SystemTime] 2014-10-20T20:09:03.706992400Z
EventRecordID 130087
- Correlation
[ ActivityID] {FDDFB8C5-9ECF-41B9-B2B4-3AD0B345A37A}
- Execution
[ ProcessID] 1000
[ ThreadID] 3280
Channel System
Computer SERVER.DOMAIN.NAME
- Security
[ UserID] S-1-5-18
- EventData
SupportInfo1 1
SupportInfo2 4404
ProcessingMode 0
ProcessingTimeInMilliseconds 10343
ErrorCode 183
ErrorDescription Cannot create a file when that file already exists.
DCName \\SERVER.DOMAIN.name
ExtensionName Group Policy Local Users and Groups
ExtensionId {17D89FEC-5C44-4972-B12D-241CAEF74509}
Everything I look up for Event ID 1085 seems to be about a different cause.
Any ideas?I enabled tracing on a domain gpo and I still get the error when running gpupdate /force .
I'm also still getting Event 1085. Here's the trace file. I've anonymized the site/domain and the GUIDs.
2014-10-21 11:16:54.003 [pid=0x3e8,tid=0xcd0] Entering ProcessGroupPolicyExLocUsAndGroups()
2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] SOFTWARE\Policies\Microsoft\Windows\Group Policy\{GUID-1}
2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] BackgroundPriorityLevel ( 0 )
2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] DisableRSoP ( 0 )
2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] LogLevel ( 2 )
2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] Command subsystem initialized. [SUCCEEDED(S_FALSE)]
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] Background priority set to 0 (Idle).
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ----- Parameters
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] CSE GUID : {GUID-1}
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] Flags : ( X ) GPO_INFO_FLAG_MACHINE - Apply machine policy rather than user policy
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( X ) GPO_INFO_FLAG_BACKGROUND - Background refresh of policy (ok to do slow stuff)
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_SLOWLINK - Policy is being applied across a slow link
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_VERBOSE - Verbose output to the eventlog
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_NOCHANGES - No changes were detected to the Group Policy Objects
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_LINKTRANSITION - A change in link speed was detected between previous policy application and current policy application
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_LOGRSOP_TRANSITION - A change in RSoP logging was detected between the application of the previous policy and the application of the current policy.
2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( X ) GPO_INFO_FLAG_FORCED_REFRESH - Forced Refresh is being applied. redo policies.
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_SAFEMODE_BOOT - windows safe mode boot flag
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_ASYNC_FOREGROUND - Asynchronous foreground refresh of policy
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Token (computer or user SID): S-1-5-18
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Abort Flag : Yes (0x313be090)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] HKey Root : Yes (0x80000002)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Deleted GPO List : No
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Changed GPO List : Yes
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Asynchronous Processing : Yes
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Status Callback : No (0x00000000)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] WMI namespace : Yes (0x32273740)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] RSoP Status : Yes (0x320cc7f4)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Planning Mode Site : (none)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Computer Target : No (0x00000000)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] User Target : No (0x00000000)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Calculated list relevance. [SUCCEEDED(S_FALSE)]
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ----- Changed - 0
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Options : ( ) GPO_FLAG_DISABLE - This GPO is disabled.
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Options (raw) : 0x00000000
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Version : 19267878 (0x01260126)
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPC : LDAP://CN=Machine,CN={GUID-2},CN=Policies,CN=System,DC=SITE,DC=DOMAIN
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPT : \\SITE.DOMAIN\sysvol\SITE.DOMAIN\Policies\{GUID-2}\Machine
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPO Display Name : Default Domain Policy
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPO Name : {GUID-2}
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPO Link : ( ) GPLinkUnknown - No link information is available.
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPLinkMachine - The GPO is linked to a computer (local or remote).
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPLinkSite - The GPO is linked to a site.
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( X ) GPLinkDomain - The GPO is linked to a domain.
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GP Link Error
2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] lParam : 0x00000000
2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Prev GPO : No
2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Next GPO : Yes
2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Extensions : [{00000000-0000-0000-0000-000000000000}{GUID-3}][{GUID-1}{GUID-3}][{GUID-4}{GUID-5}{GUID-6}{GUID-7}{GUID-8}][{GUID-9}{GUID-10}][{GUID-11}{GUID-5}{GUID-6}]
2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] lParam2 : 0x3146f978
2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Link : LDAP://DC=SITE,DC=DOMAIN
2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Purge GPH : C:\ProgramData\Microsoft\Group Policy\History\{GUID-2}\Machine\Preferences\Groups\Groups.xml
2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Read GPE XML data file (592 bytes total).
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ----- Changed - 1
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Options : ( ) GPO_FLAG_DISABLE - This GPO is disabled.
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Options (raw) : 0x00000000
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Version : 1245203 (0x00130013)
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPC : LDAP://CN=Machine,CN={GUID-12},CN=Policies,CN=System,DC=SITE,DC=DOMAIN
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPT : \\SITE.DOMAIN\sysvol\SITE.DOMAIN\Policies\{GUID-12}\Machine
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPO Display Name : Default Domain Controllers Policy
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPO Name : {GUID-12}
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPO Link : ( ) GPLinkUnknown - No link information is available.
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GPLinkMachine - The GPO is linked to a computer (local or remote).
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GPLinkSite - The GPO is linked to a site.
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GPLinkDomain - The GPO is linked to a domain.
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( X ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GP Link Error
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] lParam : 0x00000000
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Prev GPO : Yes
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Next GPO : No
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Extensions : [{00000000-0000-0000-0000-000000000000}{GUID-3}][{GUID-1}{GUID-3}][{GUID-9}{GUID-10}]
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] lParam2 : 0x324e8198
2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Link : LDAP://OU=Domain Controllers,DC=SITE,DC=DOMAIN
2014-10-21 11:16:54.127 [pid=0x3e8,tid=0xcd0] Purge GPH : C:\ProgramData\Microsoft\Group Policy\History\{GUID-12}\Machine\Preferences\Groups\Groups.xml
2014-10-21 11:16:54.127 [pid=0x3e8,tid=0xcd0] Read GPE XML data file (592 bytes total).
2014-10-21 11:16:54.143 [pid=0x3e8,tid=0xcd0] Completed get next GPO. [SUCCEEDED(S_FALSE)]
2014-10-21 11:16:54.143 [pid=0x3e8,tid=0xcd0] WQL : SELECT * FROM RSOP_PolmkrSetting WHERE polmkrBaseCseGuid = "{GUID-1}"
2014-10-21 11:16:54.143 [pid=0x3e8,tid=0xcd0] Purged 2 old RSoP entries.
2014-10-21 11:16:54.143 [pid=0x3e8,tid=0xcd0] Logging 2 new RSoP entries.
2014-10-21 11:16:54.159 [pid=0x3e8,tid=0xcd0] RSoP Entry 0
2014-10-21 11:16:54.174 [pid=0x3e8,tid=0xcd0] RSoP Entry 1
2014-10-21 11:16:54.174 [pid=0x3e8,tid=0xcd0] Completed get GPO list. [SUCCEEDED(S_FALSE)]
2014-10-21 11:16:54.174 [pid=0x3e8,tid=0xcd0] IsRsopPlanningMode() [SUCCEEDED(S_FALSE)]
2014-10-21 11:17:04.252 [pid=0x3e8,tid=0xcd0] Completed settings update (csePostProcess). [ hr = 0x800700b7 "Cannot create a file when that file already exists." ]
2014-10-21 11:17:04.252 [pid=0x3e8,tid=0xcd0] Completed CSE post-processing. [ hr = 0x800700b7 "Cannot create a file when that file already exists." ]
2014-10-21 11:17:04.267 [pid=0x3e8,tid=0xcd0] Leaving ProcessGroupPolicyExLocUsAndGroups() returned 0x000000b7 -
ORA-00245: control file backup failed; target is likely on a local file sys
Hello,
our RAC (Linux, 11.2.0.3.0) is rather new and we are still on gaining experiences with that system...
When starting the backup with RMAN we are getting the following error:
Starting Control File and SPFILE Autobackup at 04-JUL-12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 07/04/2012 16:41:48
ORA-00245: control file backup failed; target is likely on a local file system
The reason for the error is clear ORA-00245 - in a RAC environment the location of the Snapshot Controlfile must be on a shared location.
When executing the RMAN command "show all" on each node, we are getting
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD021.f'; # default
for node #1
and
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD022.f'; # default
for node #2
When using a shared location for the Snapshot Controlfile do we still need to setup 2 different names for that file?
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/<shared location>/snapcf_PROD021.f'; # default
for node #1 and
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/<shared location>/snapcf_PROD022.f'; # default
for node #2
Or should we configure just one Snapshot Controlfile?
The RMAN setup for "CONFIGURE SNAPSHOT CONTROLFILE NAME TO..." must be changed on both nodes - correct?
Hopefully my question is clear enough - any help will be appreciated.
Rgds
JH
Edited by: VivaLaVida on 05.07.2012 11:41No, it must be configured on a shared storage:Not really required, i've RAC setup and snapshot is configured on local storage.
Configuring the RMAN Snapshot Control File Location
The snapshot control file is a copy of a database control file created in an operating system-specific location by Recovery Manager. RMAN creates the snapshot control file so that it has a consistent version of a control file to use when either resynchronizing the recovery catalog or backing up the control file. In Oracle RAC, the snapshot control file is only needed on the nodes on which RMAN performs backups; the snapshot control file does not need to be globally available to all instances in an Oracle RAC environment.
See below from doc.
http://docs.oracle.com/cd/B28359_01/rac.111/b28254/rman.htm#i455026 -
[SOLVED] error when tried to run Anki "requires a UTF-8 locale"
Traceback (most recent call last):
File "/usr/bin/anki", line 5, in <module>
import aqt
File "/usr/share/anki/aqt/__init__.py", line 12, in <module>
from aqt.qt import *
File "/usr/share/anki/aqt/qt.py", line 10, in <module>
from anki.utils import isWin, isMac
File "/usr/share/anki/anki/__init__.py", line 14, in <module>
raise Exception("Anki requires a UTF-8 locale.")
Exception: Anki requires a UTF-8 locale.
Not sure what this means or how to trouble shoot, any help would be appreciated. Still a little bit of a noob. Thanks!
Last edited by charli3 (2015-06-10 01:01:13)Ok, this is wierd...
From the traceback you posted an exception is raised in /usr/share/anki/anki/__init__.py at line 14. Now looking at that file we can see that the exception is raised whenever the function sys.getfilesystemencoding().lower() returns the string ascii or ansi_x3.4-1968:
/usr/share/anki/anki/__init__.py lines 9:14 wrote:if sys.version_info[0] > 2:
raise Exception("Anki should be run with Python 2")
elif sys.version_info[1] < 6:
raise Exception("Anki requires Python 2.6+")
elif sys.getfilesystemencoding().lower() in ("ascii", "ansi_x3.4-1968"):
raise Exception("Anki requires a UTF-8 locale.")
However this output
charli3 wrote:$ python2 -c "import sys; print sys.getfilesystemencoding()"
UTF-8
shows that the function sys.getfilesystemencoding() returns UTF-8 and thus the exception shouldn't occur
Did you execute anki in a terminal different from the one in wich you executed the command I posted? Can you please try again to run this commands
python2 -c "import sys; print sys.getfilesystemencoding()" && anki
and see what happen?
PS:
charli3 wrote:(Is that Spock piped through Sherlock with Holmes args?)
I think you're right -
When starting Anki, I get this output:
Traceback (most recent call last):
File "/usr/bin/anki", line 5, in <module>
import aqt
File "/usr/share/anki/aqt/__init__.py", line 7, in <module>
import anki.lang
File "/usr/share/anki/anki/__init__.py", line 12, in <module>
raise Exception("Anki requires a UTF-8 locale.")
Exception: Anki requires a UTF-8 locale.
I have en_US.UTF-8 UTF-8 and en_US ISO-8859-1 uncommented in my locale.gen file, and have run "#locale-gen", but the out put of "$ locale" is still
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
Last edited by adeligen (2013-01-09 15:53:24)Found the answer on the systemd wiki page. I guess I need to run "# localectl set-locale LANG="en_US.utf8"" to get it to configure /etc/locale.conf.
All is working now. -
Group Policy failing intermittently on one of my servers
Have you checked the event logs to see if a specific thing is triggering it?
CMOS battery been changed (if the date/time is being reset this can be the cause)?
Or GPResult to check that what should be applied is being applied?I have a server-2008 R2 box where Group Policy fails intermittently. The result is the server looses it's domain trust connection, exact error message is: Remote Desktop cannot verify the ID of the remote computer because there is a time or date difference....
I can reboot the server and it's fixed, but a month later it will have the same issue.
What can I look for to troubleshoot resolve, and what can I monitor to fix this? GP service? If the service is running & the interface, port, or bad cable, I will not be alerted. Can I configure some type of alert that tells me when GP replication with the domain controller has succeeded/failed?
This topic first appeared in the Spiceworks Community -
[Solved] UTF-8 locale-gen not working
$ cat /etc/locale.conf
Lang=en_CA.UTF-8
$ locale -a
C
POSIX
en_CA.utf8
$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
$ cat /etc/profile.d/locale.sh
#!/bin/sh
unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES \
LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT"LC_IDENTIFICATION
if [ -n "$XDG_CONFIG_HOME" ] && [ -r "XDG_CONFIG_HOME/locale.conf" ]; then
. "$XDG_CONFIG_HOME/locale.conf"
elif [ -n $HOME ] && [ -r $HOME/.config/locale.conf ]; then
. "$HOME/.config/locale.conf"
elif [ -r /etc/locale.conf ]; then
. /etc/locale.conf
elif [ -r /etc/rc.conf ]; then
LANG=$(. /etc/rc.conf 2>/dev/null; echo "$LOCALE")
fi
export LANG="${LANG:-C}"
[ -n "$LC_CTYPE" ] $$ export LC_CTYPE
[ -n "$LC_NUMERIC" ] $$ export LC_NUMERIC
[ -n "$LC_TIME" ] $$ export LC_TIME
[ -n "$LC_COLLATE" ] $$ export LC_COLLATE
[ -n "$LC_MONETARY" ] $$ export LC_MONETARY
[ -n "$LC_MESSAGES" ] $$ export LC_MESSAGES
[ -n "$LC_PAPER" ] $$ export LC_PAPER
[ -n "$LC_NAME" ] $$ export LC_NAME
[ -n "$LC_ADDRESS" ] $$ export LC_ADDRESS
[ -n "$LC_TELEPHONE" ] $$ export LC_TELEPHONE
[ -n "$LC_MEASUREMENT" ] $$ export LC_MEASUREMENT
[ -n "$LC_IDENTIFICATION" ] $$ export LC_IDENTIFICATION
So how to get en_CA.UTF-8 in effect? And why isn't in effect automatically? I installed recently and followed the locale-gen procedure. Only graphical stuff installed is i3, qupzilla & smplayer, no gnome or anything. I guess it's not related, but Dvorak layout is working as per vconsole.conf. Thanks
Last edited by stozi (2013-09-30 14:33:29)stozi wrote:thanks I have read it, didn't find anything that would help. still want to know how my /etc/locale.conf could have the wrong formating when it's never been manually edited.
Asked and answered. You need to edit that file - this is described in the Beginners guide and installation guide (edit: and several times on the locale page).
Last edited by Trilby (2013-09-30 14:29:04) -
CS5: Magic Wand fails intermittently; cannot use Channel Mixer on selection
Hello,
Using CS5 / Photoshop on Mac OS 10.6.4. 4GB RAM.
The Magic Wand tool fails intermittently. Quitting PS and rebooting seems to re-enable use of the Magic Wand.
However, even when the Magic Wand tool does "work", for some reason I can no longer use any of the items in Image -> Adjustments, such as the Channel Mixer. This functionality was working just 20 minutes ago, and now even with multiple reboots I cannot seem to get it working again.
Googling came up with no relevant articles on this errant behavior.
Any help is greatly appreciated.Could you post a screenshot?
-
CodedUI Tests Fails Intermittently With Initialization Errors
I would like to re-ask the question asked in this thread:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/855c561b-2100-4494-bf65-c5b9ec83e4af/inconsistent-coded-ui-test-behavior-depending-on-lab-size?forum=vsmantest
There was no answer given and no more replies coming in to that thread.
We are exactly in the same situation. We have large number of CodedUI test cases (500+) which runs daily. Some of the tests fails intermittently with the initialization failures. The details are:
ERROR MESSAGE
Error calling Initialization method for test class TEST_CLASS_NAME: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
ERROR STACK TRACE
Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IRPFPlayback.SetSkipStepEventName(String skipStepEventName)
Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.InitPlayback()
Microsoft.VisualStudio.TestTools.UITesting.Playback.Initialize()
Could someone please let us know what could be the issue of these intermittent failures?Hi digitali,
According to your description, I would like to know the details:
How many agent machines in the lab environment?
What’s the details of these machines? (e.g. memory, system)
What’s the version of TFS, MTM, test controller and test agent?
Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi Folks,
We are facing some wierd error..
Inbound IDocs (to ECC) are failing intermittently...and when reprocessed getting processed successfully..
We are using DELVRY07 IDOC and error we receive during failure is
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
<SAP:P1>Obligatory node 'E1EDL20' missing in the structure DELVRY07.Z...</SAP:P1>
We have checked at mapping level and seen that all attributes and segments are mapped with values...
Also in our mapping we have changed the signature of the idoc from 1 to 0..unbounded (instead of importing as dtd..)
your suggestions/pointers on this will be appreciated..
Note : we are on PI 7.1 Ehp1..
Regards
RajeshThis is a weird problem. One of the possible ways is that your ECC might be not responding temporarily due to limited resources and so mesgs are not flowing from PI to ECC. Check with Basis team. This is my assumption. If some cron job or process or report takes more resources in ECC for a particular short span time, this could slow down or not accepting idocs and that moment it fails acceptin your idoc.
-
T430 Sound failing intermittently
The sound is failing intermittently on my T430.
Closing then opening the lid to enter and return from hibernation sometimes restores sound. When this does not work restarting the machine usually restores sound. But the sound fails again after an indeterminate period.
Opening Ubuntu Linux in Virtualbox now displays the message "Some audio devices (PCM_in, PCM-mic) could not be opened".
I'd appreciate any advice.
Rob
Lenovo ThinkPad T430
2344-DAG
Intel Core i5 3230M CPU 2.60GHz
8GB RAM
Windows 8
Solved!
Go to Solution.Since this problem appeared out of the blue I suspect a Windows update.
Googling "windows 8 update loss of audio" highlights a recent update
KB2962407. Uninstalling this update solves the problem.
Of course I now wait to see what other problems this unistallation
causes :-) -
GetThumbnailAsync failing intermittently
Hi,
As I can't get the associated application for a filetype, see:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/225d7822-a429-4816-b4d5-408daf3db5ac/get-icon-of-associated-application?forum=winappswithnativecode
I'm using getThumbnailAsync(ThumbnailMode::SingleItem, 100) but this fails intermittently on different files with a HRESULT of E_PENDING. Is there any way I can avoid this? If not what are my options, reissuing the call etc.
Thanks for the helpHi,
What's meaning about fails intermittently on different files with a HRESULT of E_PENDING? Do you meand when you use getThumbnailAsync(ThumbnailMode::SingleItem, 100) on the same type of files, the thumbnails are different. If so, there is no wany to handle
that. For music file, if the file has album art, the thumbnail is the album art and uses the original aspect ratio of the file. Otherwise, the thumbnail is just an icon. You can see the link to get more information:
https://msdn.microsoft.com/en-us/library/windows/apps/hh465350.aspx
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.
Maybe you are looking for
-
ICloud ical e-mail notifications
My wife and I both have separate iCloud accounts. Then she subscribed to my calendar, so she can see my schedule. This works in both Lion and iOS properly, and has been working for a few months now, ever since we made the iCloud transition. Two days
-
Can ExtendScript call a function in CS SDK?
I suppose this could be done through BridgeTalk - but is there an easier way to have an ExtendScript function call a method in the new CS SDK? (Flash Builder)? This might simplify porting a large amount of code that's js. Also, it seems unless you
-
How to set cureent date as input field in alv
Hi Experts I have created an Alv report.In that report i have an input field Created Date. how to set the current date default in the alv input.Plz guide
-
Envelopes on C6380 - Paper miss match
Hi, I am trying to print an envelope from Microsoft word with the Photosmart C6380. I load the envelope into the main paper try and start printing... once the printer has pulled the envelope half way in an error message shows up on the screen saying
-
Which flash plugin versions are supported on Firefox 7.0.1?
I recently upgraded to Firefox 7.0.1 running on Solaris 10 (SPARC) and my flash plug-in is no longer working. It is not listed in the Tools/Add-ons page and if I follow the "Check to see if your plugins are up to date" link, I get the following messa