Could not perform unpadding: invalid pad byte.
Hello All
In my config file I have 2 references to connection pool files.. In the files I have the following tag.
<password-encrypted>{3DES}I8OqBHafh35fn6iVd6YXxw==</password-encrypted>
When I try to run my connection pools are not getting initalized and the following error is displayed
Could not perform unpadding: invalid pad byte.
From my limitied knowledge I would just liek to change this to clear text or reencrypt the password. Can anyone help or send a link to an article that would help?
I am running weblogic 9.2
Thanks
You can use the encrypt utility to reencrypt the password.
http://edocs.bea.com/wls/docs90/admin_ref/utils.html#1209592
D Walt wrote:
Hello All
In my config file I have 2 references to connection pool files.. In the files I have the following tag.
<password-encrypted>{3DES}I8OqBHafh35fn6iVd6YXxw==</password-encrypted>
When I try to run my connection pools are not getting initalized and the following error is displayed
Could not perform unpadding: invalid pad byte.
From my limitied knowledge I would just liek to change this to clear text or reencrypt the password. Can anyone help or send a link to an article that would help?
I am running weblogic 9.2
Thanks
Similar Messages
-
Weblogic upgrade 9.2 - 10.2: Could not perform unpadding: invalid pad byte
While upgrading a domain from 9.2 to 10.2, I get the following error on running upgrade.sh:
-bash-3.00$ ./upgrade.sh
Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
Calling Wizard framework for upgrade: args2: [-mode=gui, -file=wcf/plugin_gui_wizard.xml, -log=/app/bea/bea_10.2/user_projects/upgrade_logs/domain_04292008_152323_1, -p:plugin:plugin.executionPlan.file=resources/portal-upgrade.xml, -p:plugin:I18N_PLUGIN=weblogic/upgrade/i18n_upgrade, -p:plugin:TARGET_VERSION=10.0.1.0]
weblogic.upgrade.domain.directoryselection.DomainDirectorySelectionPlugIn.validatePlatformDomain: Property set to skip platform domain validation. Skipping...
<apr 29, 2008 3:23:56 PM CEST> <INFO> <Upgrade> <BEA-800000> <If not present, set the source WebLogic Configuration to:9.0>
<apr 29, 2008 3:23:56 PM CEST> <INFO> <Upgrade> <BEA-800000> <If not present, set the source WebLogic Configuration to:9.0>
<apr 29, 2008 3:23:56 PM CEST> <INFO> <Upgrade> <BEA-800000> <Domain directory selected: /app/bea_domains/portal>
<apr 29, 2008 3:23:56 PM CEST> <INFO> <Upgrade> <BEA-800000> <Domain directory selected: /app/bea_domains/portal>
<apr 29, 2008 3:24:16 PM CEST> <FATAL> <Upgrade> <BEA-800000> <Execute Exception ... weblogic.descriptor.DescriptorException: Unmarshaller failed>
com.bea.plateng.plugin.PlugInException: Execute Exception ... weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.upgrade.domain.directoryselection.DomainDirectorySelectionPlugIn.execute(DomainDirectorySelectionPlugIn.java:261)
at com.bea.plateng.wizard.plugin.silent.tasks.ExecutePlugInTask.execute(ExecutePlugInTask.java:76)
at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:595)
Caused by: weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
at weblogic.management.provider.internal.DescriptorManagerHelper.loadDescriptor(DescriptorManagerHelper.java:58)
at weblogic.upgrade.domain.directoryselection.DomainDirectorySelectionPlugIn.parseNewStyleConfig(DomainDirectorySelectionPlugIn.java:416)
at weblogic.upgrade.domain.directoryselection.DomainDirectorySelectionPlugIn.execute(DomainDirectorySelectionPlugIn.java:226)
... 3 more
Caused by: com.bea.xml.XmlException: weblogic.management.ManagementRuntimeException: weblogic.descriptor.DescriptorException: Unmarshaller failed: com.bea.xml.XmlException: java.lang.AssertionError: java.lang.reflect.InvocationTargetException
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
Caused by: weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:78)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:94)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:87)
... 55 more
Caused by: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.JA_PKCS5Padding.a(Unknown Source)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:68)
... 57 more
Before running upgrade.sh, all applications were undeployed from the domain and I've verified that config.xml is valid with no refs to previously installed apps.
I've also removed refs to custom security providers in config.xml, but stil the same.
Can anyone please help?
Edited by mirzaei at 04/29/2008 7:18 AMFixed.
The xml-file for one of the jdbc-resources defined in config.xml was missing from DOMAIN_HOME/conf/jdbc. Adding the file fixed the problem.
Edited by mirzaei at 04/29/2008 11:07 AM -
Hi,
I am trying to setup cluster environment with weblogic7.0. I have two managed
servers in my cluster. The first one I am able start without any problem(The first
server and admin is on the same UNIX m/c). When I am trying to start the second
server from different m/c(this is another UNIX m/c) it is giving the following
error. I am not using default security realm.
If anybody come across this error before,please reply me.
Thanks
Venkat
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad
byte.
at com.rsa.jsafe.JA_PKCS5Padding.performUnpadding(JA_PKCS5Padding.java:111)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal(JG_BlockCipher.java:1092)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:67)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:53)
at weblogic.management.commo.CommoModelMBean.getAttribute(CommoModelMBean.java:319)
at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:844)
at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:330)
at $Proxy42.getCredential(Unknown Source)
at weblogic.security.providers.authentication.LDAPAtnDelegate.<init>(LDAPAtnDelegate.java:452)
at weblogic.security.providers.authentication.LDAPAuthenticationProviderImpl.initialize(LDAPAuthenticationProviderImpl.java:67)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:1820)
at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:151)
at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.security.internal.encryption.EncryptionServiceException - with nested
exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad
byte.]
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:77)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:53)
at weblogic.management.commo.CommoModelMBean.getAttribute(CommoModelMBean.java:319)
at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:844)
at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:330)
at $Proxy42.getCredential(Unknown Source)
at weblogic.security.providers.authentication.LDAPAtnDelegate.<init>(LDAPAtnDelegate.java:452)
at weblogic.security.providers.authentication.LDAPAuthenticationProviderImpl.initialize(LDAPAuthenticationProviderImpl.java:67)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:1820)
at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:151)
at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
javax.management.RuntimeOperationsException: RuntimeException thrown by the getAttribute
method of the DynamicMBean for the attribute Credential
at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1185)
at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:844)
at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:330)
at $Proxy42.getCredential(Unknown Source)
at weblogic.security.providers.authentication.LDAPAtnDelegate.<init>(LDAPAtnDelegate.java:452)
at weblogic.security.providers.authentication.LDAPAuthenticationProviderImpl.initialize(LDAPAuthenticationProviderImpl.java:67)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:1820)
at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:151)
at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
<Dec 7, 2002 8:57:33 PM EST> <Critical> <WebLogicServer> <000364> <Server failed
during initialization. Exception:weblogic.security.service.SecurityServiceRuntimeException:
Problem instantiating Authentication Providerjavax.management.RuntimeOperationsException:
RuntimeException thrown by the getAttribute method of the DynamicMBean for the
attribute Credential
weblogic.security.service.SecurityServiceRuntimeException: Problem instantiating
Authentication Providerjavax.management.RuntimeOperationsException: RuntimeException
thrown by the getAttribute method of the DynamicMBean for the attribute Credential
at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:198)
at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
>
<Dec 7, 2002 8:57:33 PM EST> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initialization exception
Throwable: weblogic.security.service.SecurityServiceRuntimeException: Problem
instantiating Authentication Providerjavax.management.RuntimeOperationsException:
RuntimeException thrown by the getAttribute method of the DynamicMBean for the
attribute Credential
weblogic.security.service.SecurityServiceRuntimeException: Problem instantiating
Authentication Providerjavax.management.RuntimeOperationsException: RuntimeException
thrown by the getAttribute method of the DynamicMBean for the attribute Credential
at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:198)
at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
>
The WebLogic Server did not start up properly.
Exception raised:
weblogic.security.service.SecurityServiceRuntimeException: Problem instantiating
Authentication Providerjavax.management.RuntimeOperationsException: RuntimeException
thrown by the getAttribute method of the DynamicMBean for the attribute Credential
at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:198)
at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: weblogic.security.service.SecurityServiceRuntimeException: Problem
instantiating Authentication Providerjavax.management.RuntimeOperationsException:
RuntimeException thrown by the getAttribute method of the DynamicMBean for the
attribute Credential
weblogic.security.service.SecurityServiceRuntimeException: Problem instantiating
Authentication Providerjavax.management.RuntimeOperationsException: RuntimeException
thrown by the getAttribute method of the DynamicMBean for the attribute Credential
at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:198)
at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
at weblogic.Server.main(Server.java:32)
Venkat,
I assume you are using symmetric ciphers. If soo make sure you
generate the key for the admin server and copy that to all the managed
servers in the cluster before you start each of the managed servers. I
think you are generating keys for each server seperately (which might
be the reason for the errors you got).
Hope this helps.
-Kiran
"Venkat" <[email protected]> wrote in message news:<[email protected]>...
> Hi,
>
> I am trying to setup cluster environment with weblogic7.0. I have two managed
> servers in my cluster. The first one I am able start without any problem(The first
> server and admin is on the same UNIX m/c). When I am trying to start the second
> server from different m/c(this is another UNIX m/c) it is giving the following
> error. I am not using default security realm.
> If anybody come across this error before,please reply me.
>
> Thanks
> Venkat
>
> com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad
> byte.
> at com.rsa.jsafe.JA_PKCS5Padding.performUnpadding(JA_PKCS5Padding.java:111)
> at com.rsa.jsafe.JG_BlockCipher.decryptFinal(JG_BlockCipher.java:1092)
> at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:67)
> at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
> at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:53)
> at weblogic.management.commo.CommoModelMBean.getAttribute(CommoModelMBean.java:319)
> at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
> at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
> at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:844)
> at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:330)
> at $Proxy42.getCredential(Unknown Source)
> at weblogic.security.providers.authentication.LDAPAtnDelegate.<init>(LDAPAtnDelegate.java:452)
> at weblogic.security.providers.authentication.LDAPAuthenticationProviderImpl.initialize(LDAPAuthenticationProviderImpl.java:67)
> at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:1820)
> at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:151)
> at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
> at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
> at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
> at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
> at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
> at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
> at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
> at weblogic.Server.main(Server.java:32)
> --------------- nested within: ------------------
> weblogic.security.internal.encryption.EncryptionServiceException - with nested
> exception:
> [com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad
> byte.]
> at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:77)
> at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
> at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:53)
> at weblogic.management.commo.CommoModelMBean.getAttribute(CommoModelMBean.java:319)
> at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
> at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
> at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:844)
> at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:330)
> at $Proxy42.getCredential(Unknown Source)
> at weblogic.security.providers.authentication.LDAPAtnDelegate.<init>(LDAPAtnDelegate.java:452)
> at weblogic.security.providers.authentication.LDAPAuthenticationProviderImpl.initialize(LDAPAuthenticationProviderImpl.java:67)
> at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:1820)
> at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:151)
> at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
> at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
> at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
> at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
> at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
> at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
> at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
> at weblogic.Server.main(Server.java:32)
> --------------- nested within: ------------------
> javax.management.RuntimeOperationsException: RuntimeException thrown by the getAttribute
> method of the DynamicMBean for the attribute Credential
> at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1185)
> at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
> at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:844)
> at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:330)
> at $Proxy42.getCredential(Unknown Source)
> at weblogic.security.providers.authentication.LDAPAtnDelegate.<init>(LDAPAtnDelegate.java:452)
> at weblogic.security.providers.authentication.LDAPAuthenticationProviderImpl.initialize(LDAPAuthenticationProviderImpl.java:67)
> at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:1820)
> at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:151)
> at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
> at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
> at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
> at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
> at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
> at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
> at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
> at weblogic.Server.main(Server.java:32)
> <Dec 7, 2002 8:57:33 PM EST> <Critical> <WebLogicServer> <000364> <Server failed
> during initialization. Exception:weblogic.security.service.SecurityServiceRuntimeException:
> Problem instantiating Authentication Providerjavax.management.RuntimeOperationsException:
> RuntimeException thrown by the getAttribute method of the DynamicMBean for the
> attribute Credential
> weblogic.security.service.SecurityServiceRuntimeException: Problem instantiating
> Authentication Providerjavax.management.RuntimeOperationsException: RuntimeException
> thrown by the getAttribute method of the DynamicMBean for the attribute Credential
> at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:198)
> at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
> at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
> at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
> at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
> at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
> at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
> at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
> at weblogic.Server.main(Server.java:32)
> >
> <Dec 7, 2002 8:57:33 PM EST> <Emergency> <WebLogicServer> <000342> <Unable to
> initialize the server: Fatal initialization exception
> Throwable: weblogic.security.service.SecurityServiceRuntimeException: Problem
> instantiating Authentication Providerjavax.management.RuntimeOperationsException:
> RuntimeException thrown by the getAttribute method of the DynamicMBean for the
> attribute Credential
> weblogic.security.service.SecurityServiceRuntimeException: Problem instantiating
> Authentication Providerjavax.management.RuntimeOperationsException: RuntimeException
> thrown by the getAttribute method of the DynamicMBean for the attribute Credential
> at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:198)
> at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
> at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
> at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
> at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
> at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
> at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
> at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
> at weblogic.Server.main(Server.java:32)
> >
> ***************************************************************************
> The WebLogic Server did not start up properly.
> Exception raised:
> weblogic.security.service.SecurityServiceRuntimeException: Problem instantiating
> Authentication Providerjavax.management.RuntimeOperationsException: RuntimeException
> thrown by the getAttribute method of the DynamicMBean for the attribute Credential
> at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:198)
> at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
> at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
> at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
> at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
> at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
> at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
> at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
> at weblogic.Server.main(Server.java:32)
> Reason: Fatal initialization exception
> Throwable: weblogic.security.service.SecurityServiceRuntimeException: Problem
> instantiating Authentication Providerjavax.management.RuntimeOperationsException:
> RuntimeException thrown by the getAttribute method of the DynamicMBean for the
> attribute Credential
> weblogic.security.service.SecurityServiceRuntimeException: Problem instantiating
> Authentication Providerjavax.management.RuntimeOperationsException: RuntimeException
> thrown by the getAttribute method of the DynamicMBean for the attribute Credential
> at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:198)
> at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:248)
> at weblogic.security.service.SecurityServiceManager.doATN(SecurityServiceManager.java:1574)
> at weblogic.security.service.SecurityServiceManager.initializeRealm(SecurityServiceManager.java:1376)
> at weblogic.security.service.SecurityServiceManager.loadRealm(SecurityServiceManager.java:1315)
> at weblogic.security.service.SecurityServiceManager.initializeRealms(SecurityServiceManager.java:1432)
> at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:1157)
> at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:697)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)
> at weblogic.Server.main(Server.java:32)
-
Hi all,
While running(deploying to default server) ADF application in defalt server I am getting error.
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.c.a(Unknown Source)
at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:124)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:184)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
Truncated. see log file for complete stacktrace
Caused By: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.c.a(Unknown Source)
at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:124)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:184)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
could anyone pls suggest me the solution.?
thanks
santoshSanthosh,
did you try Google for com.rsa.jsafe.jsafe_paddingexception weblogic ? Why not? I typed it in and found a bunch of hits, including this one
http://weblogic-wonders.com/weblogic/2010/11/04/com-rsa-jsafe-jsafe_paddingexception-could-not-perform-unpadding-invalid-pad-byte/
Frank -
Could not perform unpadding: invalid input Exception
I have Encrypted some data using JSafe RSA Algorithm and while decrypting i get the following exception.
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid input
at com.rsa.jsafe.JA_PKCS1Block02Pad.performUnpadding(JA_PKCS1Block02Pad.
java:147)
at com.rsa.jsafe.JG_AsymmetricCipher.doDecryptFinal(JG_AsymmetricCipher.
java:843)
at com.rsa.jsafe.JSAFE_AsymmetricCipher.decryptFinal(JSAFE_AsymmetricCip
her.java:1712)
at Authenticateion.getRSAValue(Authenticateion.java:96)
at Authenticateion.Auth(Authenticateion.java:82)
at Authenticateion.main(Authenticateion.java:24)
This is the code snippet that i am using :
public byte[] getRSAValue(byte[] recovervalue){
cipherText = recovervalue;//getBytesArr(recovervalue); //String value passed to convert to byte array
try {
JSAFE_AsymmetricCipher decryptor = JSAFE_AsymmetricCipher.getInstance( "RSA/PKCS1Block02Pad", "Java" );
decryptor.decryptInit(PrivateKey);
recoveredText = new byte[cipherText.length ];
System.out.println("recoveredText Len:"+recoveredText.length);
int partOutLen = decryptor.decryptUpdate(cipherText,0,cipherText.length,recoveredText,0);
System.out.println("oulne:"+partOutLen);
int finalOutLen = decryptor.decryptFinal(recoveredText, 48 );
int totalOutLen = partOutLen + finalOutLen;
decryptor.clearSensitiveData();
} catch (Exception e) {e.printStackTrace();}
return recoveredText;
-- Thanx.This is usually the result of an invalid decrypt. If you give a ciphertext to a cipher which decrypts it and the result is not the original plaintext, due to using the wrong IV or wrong key as an example, then the cipher will be unable to unpad the result and the error you see will be thrown.
Other reasons why a cipher text was unable to decrypt properly besides key and IV are typically associated with byte to string conversion. Ciphertext should never be converted to a String using character encoding. It should only be done using something like a BASE64 encoder. Now within Java itself you may not see this issue but as soon as you store/retrieve from a database or transmit/receive from the network you will see the data gets corrupted. This is only typical because so many Java programmers are String programmers and don't realize the difference between a binary dataset and character dataset. -
Hi expert,
i am getting below error in goldengate due to mount point full and i released the space and still the same error for all gg processes. i can see the *cpe cpr file become 0 bytes. so i deleted and re added the extract and repliacat and while adding the replcat i used add replicat checkpoint table because of that multiple entries of same replicat came in checkpoint table . my checkpoint details also present in ./GLOBALS. now my doubt is if add replicate with mentioning checkpoint table name will duplicate entry will be created or what is the work around for this.
MANAGER RUNNING
Invalid checkpoint for EXTRACT qqqq (error 105, Could not read full block (2048 bytes) from checkpoint file XXXXXXXXX)
Invalid checkpoint for EXTRACT qqq(error 105, Could not read full block (2048 bytes) from checkpoint file XXXXXXXXXX)
Invalid checkpoint for REPLICAT qqq (error 105, Could not read full block (2048 bytes) from checkpoint file XXXXXXXXXXX)Hi Kariyath
Increase the page size of your windows machine.Check for the recommanded page size.Remember that the recommanded page size should be the lower limit.If you have any issue feel free to ask.Your prob will be solved
Award suitable points -
VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error
Hello
I'm trying to communicate with a device which have to be tested with my application. So I send it a command to initiate the device to send me back some values. This values are sended continously with a baud rate of 57600.
I create a VI to test this communication but I always get the error:
VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error
I have googled for this thread, but all the described solutions didn't solve my problem (ex. Set Buffer Size to 48, Various Byte Count Values for the VISA Read function, etc.).
Note: the VI works properly in the LabView 6.1! I have tested. I also tried to receive the Data with a Termial programm (works fine). But another COM Port (on an USB Serial converter) shows me the same Error.
I just updated to Visa 3.4.1, but no success
LabView 8.0.1Yeah it works
of course buffer to 4096 and mask to 48
I added a Flush I/O buffer (mask 16) before reading from Visa (problem was to read data).
And suddenly it works fine.
I can't reproduce where the error exactly was. Could it be possible that the RX buffer was already full
at the time I would to read from Visa or at the time the COM port received data? There are some questions to find out:
how does LV handle the buffers? will the buffers be cleared if LV starts? when does LV flushes the
buffers?
thx -
Lsitener Issue -- TNS-01114: LSNRCTL could not perform local OS
Hi All,
When I am trying to check status of listener with lsnrctl command, its getting errored out:
bash-3.00$ lsnrctl status clonenew
LSNRCTL for Solaris: Version 11.1.0.7.0 - Production on 19-JUN-2010 14:21:04
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCtest))
TNS-01114: LSNRCTL could not perform local OS authentication with the listener
TNS-01115: OS error 28 creating shared memory segment of 129 bytes with key 510551698
bash-3.00$
I am not even able to stop this listener. All database connection are working fine.
As per the tech note: *TNS-01114 and TNS-01115: Unable To Stop/Status An Oracle10g TNS Listener On Sun Solaris [ID 337056.1]* i verified all kernel parameters already set to a proper value.
project.max-shm-ids
privileged 256 - deny -
system 16.8M max deny -
RDBMS Version - 11.1.0.7
Platform - Sun Solaris sparc 5.10
Any inputs in this issue is appreciated.
Thanks in advance.01115, 00000, "OS error %s creating shared memory segment of %s bytes with key %s"
// *Cause: The shared memory segment could not be created as requested. For
// example, a segment with the provided key may already exist, or the size may
// be outside of system allowed range.
// *Action: Use the error code to determine the exact cause of the problem. In
// certain cases the problem may be resolved by adjusting the system-imposed
// limits such as the maximum number of allowed shared memory segments, or
// their maximum and minimum sizes. In other cases, resources need to be freed
// up first for the operation to succeed.
Problem is OS lack of available resource.
Does more than 1 Oracle instance reside on this system? -
MSI DR8-A: "Could not perform end of Disc-at-Once"
I'm using Nero Burning ROM 6; writing a data DVD to Memorex 4x DVD+R Media.
I receive the following errors at the end of the burn process:
Invalid Field in Command
Could not perform end of Disc-at-Once
Nero doesn't seem to allow me to change the write method to something other than Disc-at-Once.
Device Manager shows: "ATAPI DVD RW 8XMax"
Had no trouble using HD-BURN with my Memorex CD-R's
Any suggestions?the link you provided lists the DR8-A as a "supported" drive... it's the 4th one from the top... DVD+/-R/RW8XMAX
and i've had no problem burning CD-R's with my MSI drive... i've come to the theory that i'm having issues burning to DVD+Rs because I'm using Memorex DVD+Rs... which are not on MSI's list of supported media for the DR8-A... I've got some Ritek discs on order, and will report back my findings when they arrive.
I'm also going to download the most recent updates for Nero 6 for shits and giggles.
My current version of Nero is 6.0.0.0, and the most recent update is version 6.3.1.6
also, in my first post, i said that i had no problems burning to Memorex CD-Rs... but they are actually Maxell CD-Rs... -
I am running Windows 8.1 Pro.
I have been experiencing problems that lead me to believe the my component store is corrupted.
When I run sfc /scannow sfc immediately comes back with "Windows Resource Protection could not perform the required operation.
Here are the entries in the CBS file
TI: --- Initializing Trusted Installer ---
2014-01-21 10:45:59, Info CBS TI: Last boot time: 2014-01-21 10:28:05.492
2014-01-21 10:45:59, Info CBS Starting TrustedInstaller initialization.
2014-01-21 10:45:59, Info CBS Ending TrustedInstaller initialization.
2014-01-21 10:45:59, Info CBS Starting the TrustedInstaller main loop.
2014-01-21 10:45:59, Info CBS TrustedInstaller service starts successfully.
2014-01-21 10:45:59, Info CBS No startup processing required, TrustedInstaller service was not set as autostart
2014-01-21 10:45:59, Info CBS Startup processing thread terminated normally
2014-01-21 10:45:59, Info CBS Starting TiWorker initialization.
2014-01-21 10:45:59, Info CBS Ending TiWorker initialization.
2014-01-21 10:45:59, Info CBS Starting the TiWorker main loop.
2014-01-21 10:45:59, Info CBS TiWorker starts successfully.
2014-01-21 10:45:59, Info CBS TiWorker: Client requests SFP repair object.
2014-01-21 10:45:59, Info CBS Universal Time is: 2014-01-21 16:45:59.014
2014-01-21 10:45:59, Info CBS Open of SC_BOOT_SERVICING_DONE event failed 2
2014-01-21 10:45:59, Info CBS Loaded Servicing Stack v6.3.9600.16470 with Core: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.16470_none_fa2491fd9b3cfcb2\cbscore.dll
2014-01-21 10:45:59, Info CSI
00000001@2014/1/21:16:45:59.016 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffa54fd5929 @0x7ffa55266bda @0x7ffa55269a06 @0x7ff74300d25f @0x7ff74300dc17 @0x7ffa800d2385)
2014-01-21 10:45:59, Info CBS SQM: Initializing online with Windows opt-in: False
2014-01-21 10:45:59, Info CBS SQM: Cleaning up report files older than 10 days.
2014-01-21 10:45:59, Info CBS SQM: Requesting upload of all unsent reports.
2014-01-21 10:45:59, Info CBS SQM: Failed to start upload with file pattern: C:\WINDOWS\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005
- E_FAIL]
2014-01-21 10:45:59, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
2014-01-21 10:45:59, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\WINDOWS\servicing\sqm\*_all.sqm, flags: 0x6
2014-01-21 10:45:59, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
2014-01-21 10:45:59, Info CBS NonStart: Set pending store consistency check.
2014-01-21 10:45:59, Info CSI
00000002@2014/1/21:16:45:59.020 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffa54fd5929 @0x7ffa652e7fc0 @0x7ffa652e80f2 @0x7ff74300c9a5 @0x7ff74300dc2e @0x7ffa800d2385)
2014-01-21 10:45:59, Info CSI 00000003 No store version format found; DLL store format 0.0.0.6
2014-01-21 10:45:59, Error CSI
00000004@2014/1/21:16:45:59.027 (F) base\wcp\componentstore\storelayout.cpp(3854): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression:
(null)
[gle=0x80004005]
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20140121102547.cab to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20140114224141.cab to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20140104132548.cab to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20131220204514.cab to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20131215075547.cab to WER report.
2014-01-21 10:45:59, Info CBS Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2014-01-21 10:45:59, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-01-21 10:45:59, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-01-21 10:45:59, Info CBS Failed to get CSI system store [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2014-01-21 10:45:59, Info CBS CSI store consistency check fails. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2014-01-21 10:45:59, Info CBS Failed to load component store [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2014-01-21 10:45:59, Info CSI 00000005 No store version format found; DLL store format 0.0.0.6
2014-01-21 10:45:59, Error CSI
00000006@2014/1/21:16:45:59.051 (F) base\wcp\componentstore\storelayout.cpp(3854): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression:
(null)
[gle=0x80004005]
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20140121102547.cab to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20140114224141.cab to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20140104132548.cab to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20131220204514.cab to WER report.
2014-01-21 10:45:59, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20131215075547.cab to WER report.
2014-01-21 10:45:59, Info CBS Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2014-01-21 10:45:59, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-01-21 10:45:59, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-01-21 10:47:59, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2014-01-21 10:47:59, Info CBS TiWorker signaled for shutdown, going to exit.
2014-01-21 10:47:59, Info CBS Ending the TiWorker main loop.
2014-01-21 10:47:59, Info CBS Ending the TrustedInstaller main loop.
2014-01-21 10:47:59, Info CBS Starting TiWorker finalization.
2014-01-21 10:47:59, Info CBS Starting TrustedInstaller finalization.
2014-01-21 10:47:59, Info CBS Ending TrustedInstaller finalization.
2014-01-21 10:47:59, Info CBS Ending TiWorker finalization.
Is there a way to rebuild the component store?
Thanks,
GlenHey Glen,
This log shows the exact same error that is mentioned in the comments of
this blog post, and the response is:
joscon [Microsoft]
joscon [Microsoft]
Thanks. Unfortunately, this isn't good news. The CanonicalData key is missing.
2013-08-05 11:08:32, Error CSI 00000004@2013/8/5:09:08:32.471 (F) base\wcp\componentstore\storelayout.cpp(3617): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey
expression: (null)
[gle=0x80004005]
Unfortunately, its a small, but unrecreatable subset of data. If this is missing, servicing is broken on the machine and the system will need to be restored from backup or PBR.
So you will need to try a refresh or a re-install of Windows, unfortunately.
Hope this helps,
David
Windows Outreach Team - IT Pro
The Springboard Series on TechNet -
DM Package error-Could not perform write (Not_Transactional)
Hi!
Has anyone received the error message "Could not perform write (Not_Transactional), when trying to load a basic import transaction data manager package? I have checked the Infocube status and it's set to u201CReal-Time Data Target Can BE Loaded With Data; Planning Not Allowedu201D. Any help would be appreciated. Thanks.Hi Dzmitry,
Thanks for your suggestion. I tried to change the status and I received the following error message which would not allow me to change the status. Any other thoughts?
"Request APO_RD6ZZQMEQGBIUB8QFGSS0YZ4KP(000000002: is yellow or red in Infocube /CPMB/H61H5TU; cannot switch to planning"
Thanks for your help.
Nakisha -
Windows Resource Protection could not perform the requested operation.
A close friend's machine was blue screening on boot so he had me take a look at it. The error in the BSOD indicated Windows was having trouble reading from the drive. Although the drive wasn't clicking, based on what I was seeing, it seemed pretty
clear the drive was on its way out. I ran chkdsk, several times, and it found plenty of bad sectors but wasn't able to really fix anything. Fortunately I was able to
clone the drive using gparted
run chkdsk
fix the master boot record, boot sector and boot configuration data store
run chkdsk again
Now all is well
Upon booting I noticed the system was dreadfully out of date: Firefox, Java, Reader, Flash - the works - so I updated all that. I also noticed it was missing something like 50-70 Windows updates so I had to straight that right away. It
managed to install 15-20 before failing with 80070057. This to me isn't too uncommon so I rebooted thinking it wouldn't choke next time. Much to my chagrin, any subsequent attempts fail with error 80070057. I even tried installing just a few updates
at a time, even just 1, and the error persists. My assumption is that one or more files are maybe damaged and need to be fixed.
I ran sfc /scannow and it gets to about 27%, then fails with "Windows Resource Protection could not perform the requested operation." I did the following:
backed up the existing CBS log
ran sfc /scannow again
watched the log in powershell via Get-Content C:\Windows\Logs\CBS\CBS.log -Wait
It started out strong
PS C:\Windows\Logs\CBS> Get-Content C:\Windows\Logs\CBS\CBS.log -Wait
2014-03-06 18:48:33, Info CBS Loaded Servicing Stack v6.0.6002.18005 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6
002.18005_none_676975d87cc9b6e6\cbscore.dll
2014-03-06 18:48:33, Info CSI 00000001@2014/3/6:23:48:33.027 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7fef0cf8c85 @0x7feff3f53ae @0x7feff3c3ed1
@0xffa949a8 @0xffa930c9 @0xffa93578)
2014-03-06 18:48:33, Info CSI 00000002@2014/3/6:23:48:33.045 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7fef0cf8c85 @0x7feff4386cf @0x7feff4125d9
@0x7feff3c3feb @0xffa949a8 @0xffa930c9)
2014-03-06 18:48:33, Info CSI 00000003@2014/3/6:23:48:33.048 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7fef0cf8c85 @0x7feff21838d @0x7feff2184ba
@0xffa94207 @0xffa93125 @0xffa93578)
2014-03-06 18:48:33, Info CBS NonStart: Checking to ensure startup processing was not required.
2014-03-06 18:48:33, Info CSI 00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDispo
sition = @0xb8fad0
2014-03-06 18:48:33, Info CBS NonStart: Success, startup processing not required as expected.
2014-03-06 18:48:33, Info CSI 00000005 CSI Store 4751600 (0x00000000004880f0) initialized
2014-03-06 18:48:38, Info CSI 00000006 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:38, Info CSI 00000007 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:39, Info CSI 00000008 Repair results created:
POQ 0 starts:
POQ 0 ends.
2014-03-06 18:48:39, Info CSI 00000009 [SR] Verify complete
2014-03-06 18:48:39, Info CSI 0000000a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:39, Info CSI 0000000b [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:40, Info CSI 0000000c Repair results created:
POQ 1 starts:
POQ 1 ends.
2014-03-06 18:48:40, Info CSI 0000000d [SR] Verify complete
2014-03-06 18:48:40, Info CSI 0000000e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:40, Info CSI 0000000f [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:41, Info CSI 00000010 Repair results created:
POQ 2 starts:
POQ 2 ends.
2014-03-06 18:48:41, Info CSI 00000011 [SR] Verify complete
2014-03-06 18:48:41, Info CSI 00000012 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:41, Info CSI 00000013 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:41, Info CSI 00000014 Repair results created:
POQ 3 starts:..... and so on
Until it hit a problem
POQ 34 ends.
2014-03-06 18:49:08, Info CSI 00000091 [SR] Verify complete
2014-03-06 18:49:08, Info CSI 00000092 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:08, Info CSI 00000093 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:09, Info CSI 00000094 Repair results created:
POQ 35 starts:
POQ 35 ends.
2014-03-06 18:49:09, Info CSI 00000095 [SR] Verify complete
2014-03-06 18:49:09, Info CSI 00000096 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:09, Info CSI 00000097 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:10, Info CSI 00000098 Repair results created:
POQ 36 starts:
POQ 36 ends.
2014-03-06 18:49:10, Info CSI 00000099 [SR] Verify complete
2014-03-06 18:49:11, Info CSI 0000009a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:11, Info CSI 0000009b [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:12, Error CSI 0000009c@2014/3/6:23:49:12.802 (F) d:\longhorn\base\wcp\primitiveinstallers\filehierarchy.cpp(1939): Error STATUS_INVALID_PARAMETER originated in fun
ction FileInstaller::CFileInstallerHierarchy::PortFileInformationBetweenCdfs expression: TmpBlob.Length == sizeof(LUACDF_FILE_ENTRY)
[gle=0x80004005]
2014-03-06 18:49:16, Error CSI 0000009d (F) STATUS_INVALID_PARAMETER #2119209# from CFileInstaller::CommitChanges(...)[gle=0xd000000d]
2014-03-06 18:49:16, Error CSI 0000009e (F) STATUS_INVALID_PARAMETER #2119208# from PrimitiveInstaller::CCoordinator::FinalizeChanges(...)[gle=0xd000000d]
2014-03-06 18:58:33, Info CBS Scavenge: Package store indicates there is no component to scavenge, skipping.
I searched for "[SR]" but I didn't see anything of great interest
C:\Windows\system32>findstr /c:"[SR]" %windir%\logs\cbs\cbs.log
2014-03-06 18:48:38, Info CSI 00000006 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:38, Info CSI 00000007 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:39, Info CSI 00000009 [SR] Verify complete
2014-03-06 18:48:39, Info CSI 0000000a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:39, Info CSI 0000000b [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:40, Info CSI 0000000d [SR] Verify complete
2014-03-06 18:48:40, Info CSI 0000000e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:40, Info CSI 0000000f [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:41, Info CSI 00000011 [SR] Verify complete
2014-03-06 18:48:41, Info CSI 00000012 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:41, Info CSI 00000013 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:41, Info CSI 00000015 [SR] Verify complete
2014-03-06 18:48:42, Info CSI 00000016 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:42, Info CSI 00000017 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:42, Info CSI 00000019 [SR] Verify complete
2014-03-06 18:48:42, Info CSI 0000001a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:42, Info CSI 0000001b [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:44, Info CSI 0000001d [SR] Verify complete
2014-03-06 18:48:44, Info CSI 0000001e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:44, Info CSI 0000001f [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:45, Info CSI 00000021 [SR] Verify complete
2014-03-06 18:48:45, Info CSI 00000022 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:45, Info CSI 00000023 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:45, Info CSI 00000025 [SR] Verify complete
2014-03-06 18:48:46, Info CSI 00000026 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:46, Info CSI 00000027 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:46, Info CSI 00000029 [SR] Verify complete
2014-03-06 18:48:47, Info CSI 0000002a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:47, Info CSI 0000002b [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:47, Info CSI 0000002d [SR] Verify complete
2014-03-06 18:48:48, Info CSI 0000002e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:48, Info CSI 0000002f [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:48, Info CSI 00000031 [SR] Verify complete
2014-03-06 18:48:48, Info CSI 00000032 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:48, Info CSI 00000033 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:49, Info CSI 00000035 [SR] Verify complete
2014-03-06 18:48:49, Info CSI 00000036 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:49, Info CSI 00000037 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:50, Info CSI 00000039 [SR] Verify complete
2014-03-06 18:48:50, Info CSI 0000003a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:50, Info CSI 0000003b [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:50, Info CSI 0000003d [SR] Verify complete
2014-03-06 18:48:51, Info CSI 0000003e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:51, Info CSI 0000003f [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:51, Info CSI 00000041 [SR] Verify complete
2014-03-06 18:48:51, Info CSI 00000042 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:51, Info CSI 00000043 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:52, Info CSI 00000045 [SR] Verify complete
2014-03-06 18:48:52, Info CSI 00000046 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:52, Info CSI 00000047 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:52, Info CSI 00000049 [SR] Verify complete
2014-03-06 18:48:53, Info CSI 0000004a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:53, Info CSI 0000004b [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:53, Info CSI 0000004d [SR] Verify complete
2014-03-06 18:48:54, Info CSI 0000004e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:54, Info CSI 0000004f [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:54, Info CSI 00000051 [SR] Verify complete
2014-03-06 18:48:54, Info CSI 00000052 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:54, Info CSI 00000053 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:55, Info CSI 00000055 [SR] Verify complete
2014-03-06 18:48:55, Info CSI 00000056 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:55, Info CSI 00000057 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:55, Info CSI 00000059 [SR] Verify complete
2014-03-06 18:48:56, Info CSI 0000005a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:56, Info CSI 0000005b [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:56, Info CSI 0000005d [SR] Verify complete
2014-03-06 18:48:56, Info CSI 0000005e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:56, Info CSI 0000005f [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:57, Info CSI 00000061 [SR] Verify complete
2014-03-06 18:48:57, Info CSI 00000062 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:57, Info CSI 00000063 [SR] Beginning Verify and Repair transaction
2014-03-06 18:48:58, Info CSI 00000065 [SR] Verify complete
2014-03-06 18:48:58, Info CSI 00000066 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:48:58, Info CSI 00000067 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:00, Info CSI 00000069 [SR] Verify complete
2014-03-06 18:49:00, Info CSI 0000006a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:00, Info CSI 0000006b [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:00, Info CSI 0000006d [SR] Verify complete
2014-03-06 18:49:01, Info CSI 0000006e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:01, Info CSI 0000006f [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:01, Info CSI 00000071 [SR] Verify complete
2014-03-06 18:49:02, Info CSI 00000072 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:02, Info CSI 00000073 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:02, Info CSI 00000075 [SR] Verify complete
2014-03-06 18:49:02, Info CSI 00000076 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:02, Info CSI 00000077 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:03, Info CSI 00000079 [SR] Verify complete
2014-03-06 18:49:03, Info CSI 0000007a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:03, Info CSI 0000007b [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:04, Info CSI 0000007d [SR] Verify complete
2014-03-06 18:49:04, Info CSI 0000007e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:04, Info CSI 0000007f [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:05, Info CSI 00000081 [SR] Verify complete
2014-03-06 18:49:05, Info CSI 00000082 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:05, Info CSI 00000083 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:06, Info CSI 00000085 [SR] Verify complete
2014-03-06 18:49:06, Info CSI 00000086 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:06, Info CSI 00000087 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:06, Info CSI 00000089 [SR] Verify complete
2014-03-06 18:49:07, Info CSI 0000008a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:07, Info CSI 0000008b [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:07, Info CSI 0000008d [SR] Verify complete
2014-03-06 18:49:08, Info CSI 0000008e [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:08, Info CSI 0000008f [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:08, Info CSI 00000091 [SR] Verify complete
2014-03-06 18:49:08, Info CSI 00000092 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:08, Info CSI 00000093 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:09, Info CSI 00000095 [SR] Verify complete
2014-03-06 18:49:09, Info CSI 00000096 [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:09, Info CSI 00000097 [SR] Beginning Verify and Repair transaction
2014-03-06 18:49:10, Info CSI 00000099 [SR] Verify complete
2014-03-06 18:49:11, Info CSI 0000009a [SR] Verifying 100 (0x0000000000000064) components
2014-03-06 18:49:11, Info CSI 0000009b [SR] Beginning Verify and Repair transaction
C:\Windows\system32>
I've run into sfc issues in the past, and in one instance, booting the OS install DVD, and running sfc /scannow /offbootdir=c:\ /offwindir=c:\windows did fix the issue. But I have to ask
Is there no way to do that while in Windows? Can't I mount some WIM and do it that way instead of booting the DVD?
Is that the right course of action, or is/are there some other options I should explore?
Thanks for your time & guidance.Hi,
In my opinion, if you want SFC to use a sourcepath to repair your system, you can just use in-place upgrade to do this:
How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
http://support.microsoft.com/kb/2255099
If you have any feedback on our support, please click
here
Alex Zhao
TechNet Community Support
Thanks for taking the time to reply and for this suggestion.
The in-place upgrade is a wonderful potential solution, but the process requires the source media. Most systems these days don't include the OS or recovery CD's because the manufacturers want you to pay for them. And most consumers aren't spending
the $50-$70 dollars to get the media, which complicates things in situations like this. So while they've purchased a machine and have a valid Microsoft COA sticker on the box, they can't do anything.
Also, to make matters worse, I posted this in the wrong forum as this is a Vista Home Premium PC. [My sincere apologies for that. Mods please feel free to move/reclassify] I do have a Vista Home Premium DVD, but its the 32-bit version, not 64-bit,
which is what this system is. So unless I can locate a Visa Home Premium 64-bit DVD, or they upgrade to Windows 7 or 8 (which they probably should do anyway), we're sunk. -
After long job I get
/usr/bin/ld: libvo/vo_xv.o: undefined reference to symbol 'XGetWindowAttributes'
/usr/bin/ld: note: 'XGetWindowAttributes' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
==> ERROR: A failure occurred in build().
Aborting...
if it's useful, the PKGBUILD is
# $Id: PKGBUILD 144946 2011-12-11 15:27:00Z ibiru $
# Maintainer : Ionut Biru <[email protected]>
# Contributor: Hugo Doria <[email protected]>
pkgbase=mplayer
pkgname=('mplayer' 'mencoder')
pkgver=34426
pkgrel=1
arch=('i686' 'x86_64')
makedepends=('lame' 'libtheora' 'xvidcore' 'x264' 'faac' 'faad2' 'opencore-amr' 'a52dec' 'libpulse' 'unzip' 'git' 'fontconfig' 'yasm')
license=('GPL')
url="http://www.mplayerhq.hu/"
options=(!buildflags !emptydirs)
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz mplayer.desktop)
md5sums=('ff81117293e76b59e54debc439d8e612'
'c0d6ef795cf6de48e3b87ff7c23f0319')
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--enable-runtime-cpudetection \
--disable-gui \
--language=en_US \
--confdir=/etc/mplayer \
--disable-mencoder \
--disable-termcap \
--disable-termios \
--disable-lirc \
--disable-lircc \
--disable-apple-remote \
--disable-apple-ir \
--disable-radio-v4l2 \
--disable-radio-bsdbt848 \
--disable-tv \
--disable-tv-v4l1 \
--disable-tv-v4l2 \
--disable-tv-bsdbt848 \
--disable-pvr \
--disable-rtc \
--disable-winsock2_h \
--disable-smb \
--disable-live \
--disable-nemesi \
--disable-librtmp \
--disable-bluray \
--disable-menu \
--disable-sortsub \
--disable-fribidi \
--disable-enca \
--disable-maemo \
--disable-macosx-finder \
--disable-macosx-bundle \
--disable-vstream \
--disable-w32threads \
--disable-ass-internal \
--disable-ass \
--disable-rpath \
--disable-gif \
--disable-png \
--disable-mng \
--disable-jpeg \
--disable-libcdio \
--disable-liblzo \
--disable-win32dll \
--disable-qtx \
--disable-xanim \
--disable-real \
--disable-libdirac-lavc \
--disable-libschroedinger-lavc \
--disable-libnut \
--disable-vf-lavfi \
--disable-tremor-internal \
--disable-tremor-low \
--disable-tremor \
--disable-speex \
--disable-libgsm \
--disable-ladspa \
--disable-libbs2b \
--disable-libdv \
--disable-mpg123 \
--disable-mad \
--disable-libdca \
--disable-mp3lib \
--disable-musepack \
--disable-vidix \
--disable-vidix-pcidb \
--disable-dhahelper \
--disable-svgalib_helper \
--disable-matrixview \
--disable-dga2 \
--disable-dga1 \
--disable-vesa \
--disable-svga \
--disable-sdl \
--disable-kva \
--disable-aa \
--disable-caca \
--disable-ggi \
--disable-ggiwmh \
--disable-direct3d \
--disable-directx \
--disable-dxr2 \
--disable-dxr3 \
--disable-ivtv \
--disable-v4l2 \
--disable-dvb \
--disable-mga \
--disable-xmga \
--enable-xv \
--enable-xvmc \
--disable-vdpau \
--disable-vm \
--disable-xinerama \
--disable-x11 \
--disable-xshape \
--disable-fbdev \
--disable-mlib \
--disable-3dfx \
--disable-tdfxfb \
--disable-s3fb \
--disable-wii \
--disable-directfb \
--disable-zr \
--disable-bl \
--disable-tdfxvid \
--disable-xvr100 \
--disable-tga \
--disable-pnm \
--disable-md5sum \
--disable-yuv4mpeg \
--disable-corevideo \
--disable-quartz \
--disable-ossaudio \
--disable-arts \
--disable-esd \
--disable-jack \
--disable-openal \
--disable-nas \
--disable-sgiaudio \
--disable-sunaudio \
--disable-kai \
--disable-dart \
--disable-win32waveout \
--disable-coreaudio \
--disable-select \
--charset=UTF-8
[ "$CARCH" = "i686" ] && sed 's|-march=i486|-march=i686|g' -i config.mak
make
package_mplayer() {
pkgdesc="A movie player for linux"
install=mplayer.install
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
depends=('desktop-file-utils' 'ttf-dejavu' 'enca' 'libxss' 'a52dec' 'libvpx' 'lirc-utils' 'x264' 'libmng' 'libdca' 'aalib' 'lame' 'fontconfig' 'libgl'
'libxinerama' 'libvdpau' 'libpulse' 'smbclient' 'xvidcore' 'opencore-amr' 'jack' 'cdparanoia' 'libmad' 'sdl' 'libtheora' 'libcaca' 'libxxf86dga' 'fribidi'
'libjpeg' 'faac' 'faad2' 'libxvmc' 'schroedinger' 'mpg123' 'libass' 'libxxf86vm' 'libbluray')
cd ${srcdir}/${pkgbase}
make DESTDIR=${pkgdir} install-mplayer install-mplayer-man
install -Dm644 etc/{codecs.conf,input.conf,example.conf} ${pkgdir}/etc/mplayer/
install -dm755 ${pkgdir}/usr/share/mplayer/
ln -s /usr/share/fonts/TTF/DejaVuSans.ttf ${pkgdir}/usr/share/mplayer/subfont.ttf
rm -rf ${pkgdir}/usr/share/mplayer/font
#desktop file FS#14770
install -Dm644 ${srcdir}/mplayer.desktop ${pkgdir}/usr/share/applications/mplayer.desktop
install -Dm644 etc/mplayer.png ${pkgdir}/usr/share/pixmaps/mplayer.png
#oops, forgot to remove this, but it does not seem to be a problem
package_mencoder() {
pkgdesc="Free command line video decoding, encoding and filtering tool"
depends=('enca' 'a52dec' 'libvpx' 'x264' 'libmng' 'libdca' 'bzip2' 'lame' 'alsa-lib' 'fontconfig' 'giflib' 'libpng' 'smbclient' 'xvidcore' 'opencore-amr' 'cdparanoia'
'libmad' 'libtheora' 'fribidi' 'libjpeg' 'faac' 'faad2' 'schroedinger' 'mpg123' 'libass' 'libbluray')
cd ${srcdir}/${pkgbase}
make DESTDIR=${pkgdir} install-mencoder install-mencoder-man
find $pkgdir/usr/share/man -name 'mplayer.1' -exec bash -c 'mv "$1" "${1/mplayer/mencoder}"' _ {} \;
Last edited by Doctor Drive (2011-12-20 16:32:10)May be related to this: https://fedoraproject.org/wiki/Understa … LinkChange
-
Lib/libz.so: could not read symbols: Invalid operation
Hi,
I am facing the following issue while compiling my code which is using gdcm lib in QT. The same source works fine in ubuntu but not here....
lQt5PrintSupport -lQt5OpenGL -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
/usr/bin/ld: /usr/local/lib/libgdcmDSED.a(gdcmReader.cxx.o): undefined reference to symbol 'inflateInit2_'
/usr/bin/ld: note: 'inflateInit2_' is defined in DSO /usr/lib/libz.so.1 so try adding it to the linker command line
/usr/lib/libz.so.1: could not read symbols: Invalid operation
Makefile:181: recipe for target 'imageviewer' failed
collect2: error: ld returned 1 exit status
make: *** [imageviewer] Error 1
19:41:26: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project imageviewer (kit: Desktop)
if I add -lz in the project .pro file.. I get the following error..
usr/bin/ld: /usr/local/lib/libgdcmDSED.a(gdcmReader.cxx.o): undefined reference to symbol 'inflateInit2_'
Makefile:181: recipe for target 'imageviewer' failed
/usr/bin/ld: note: 'inflateInit2_' is defined in DSO /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libz.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libz.so: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [imageviewer] Error 1
19:02:58: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project imageviewer (kit: Desktop)
When executing step 'Make'
Don't know whats wrong and how it will be solved?
BilalHi Connor,
I solved the issue, it seems like the library path was pointing to /usr/local/lib rather than /usr/lib. Now the code is working fine.
I assume that ubuntu and arch places gdcm libraries at different locations, it was working code moved from ubuntu to arch and i got that error.
Bilal -
I have a pdf file, which was OCRed by some other software, I am not satisfied with its accuracy, and would like to run adobe acrobat to OCR it again.
But Adobe says "Acrobat could not perform recognition (OCR) on this page because this page contains renderable text" for each page of the file.
How can I do to re-OCR the file? Thanks!CtDave,
I am having a similar problem and tried your suggestion but I still get the same message. Any other thoughts or fixes? The difference in my file is I used to be able to edit the text in the PDF file. For the last few months I am no longer able to edit this file.
Maybe you are looking for
-
Iphotos not showing up in iMovie project
I am dragging my photos from iphoto into iMovie to add to a new project. Then when I play the project, they are not showing up. What is going wrong?
-
If statement on a while loop condition
Hello, I was just wondering whether it was possible to have an if statement on a while loop. Basically, I have a while loop that has the following terminating condition do{ //...loop code here while (netError > acceptableError && learningCycle < 1000
-
Merging of cost centre, how to post to the single cost centre?
Hi: I am a bit confused with the below line.Please help me with it. If two cost centers are merged into one and one of the cost centers is deleted, then how do we make the posting to be made into the only cost centers even if the entry is made to the
-
Is there a way to retrieve email from a few months ago. Where are all the emails stored? MacBook 2.0, iMac 17FP 1Ghz, iBook 500 Mac OS X (10.4.7)
-
Hello, My organization is in the process of migrating mailboxes from Exchange 2003 to 2010. In addition to migrating we are also changing the login's in users AD objects. These users also have smart phones that are configured via activesync. I've com