Hello,
we have successfully inistalled Ciphermail on Odroid XU3, following the documentation.
The only exception was the java wrapper for ARM, which we downloaded from http://wrapper.tanukisoftware.com/download/3.5.26/wrapper-linux-armhf-32-3.…
The current system/status is a s follows:
-Odroid XU3 mit Lubuntu
-Ubuntu 14.04.1 LTS (GNU/Linux 3.10.63 armv7l)
-java version "1.8.0_06"
-Java(TM) SE Runtime Environment (build 1.8.0_06-b23)
-Java HotSpot(TM) Client VM (build 25.6-b23, mixed mode)
The webinterface is running but it shows the message, that the backend isn't running.
/etc/init.d/djigzo restart
returns:
* DJIGZO_HOME=/usr/local/djigzo
* DJIGZO_HOME=/usr/local/djigzo
* Stopping Ciphermail
No /usr/local/djigzo/wrapper/wrapper-djigzo
found running; none killed.
[ OK ]
* DJIGZO_HOME=/usr/local/djigzo
* Starting Ciphermail
* Total memory: MB
* JVM max memory: MB
[ OK ]
In the djigzo.log we find a couple of error messages:
19 Jan 2015 06:51:29 | INFO closing (org.hibernate.impl.SessionFactoryImpl) [Phoenix-Monitor]
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component named "djigzo" failed to pass through the Parameterizing stage. (Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'globalPreferencesManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalPreferencesManager' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'userPreferencesCategoryManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userPreferencesCategoryManager' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve ref
erence to bean 'keyAndCertStore' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyAndCertStore' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'keyStoreProvider' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStoreProvider' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static mitm.common.security.keystore.KeyStoreProvider mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager) throws java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.cert.Certifi
cateException,java.io.IOException] threw exception; nested exception is java.security.KeyStoreException: DatabaseKeyStore not found).
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
at org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
at org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'globalPreferencesManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalPreferencesManager' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'userPreferencesCategoryManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userPreferencesCategoryManager' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'keyAndCertStore' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationExcept
ion: Error creating bean with name 'keyAndCertStore' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'keyStoreProvider' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStoreProvider' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static mitm.common.security.keystore.KeyStoreProvider mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager) throws java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.cert.CertificateException,java.io.IOException] threw exception; nested exception is java.security.KeyStoreException: DatabaseKeyStore not found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:651)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1075)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:979)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:657)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94)
at mitm.application.djigzo.service.SpringServiceRegistry.<init>(SpringServiceRegistry.java:54)
at mitm.application.djigzo.service.DjigzoServiceRegistry.initializeSpringIOC(DjigzoServiceRegistry.java:46)
at mitm.application.djigzo.service.DjigzoServiceRegistry.initialize(DjigzoServiceRegistry.java:58)
at mitm.application.djigzo.DjigzoConfigurator.initializeRegistry(DjigzoConfigurator.java:156)
at mitm.application.djigzo.DjigzoConfigurator.configure(DjigzoConfigurator.java:226)
at mitm.application.djigzo.james.service.DjigzoServiceImpl.configure(DjigzoServiceImpl.java:141)
at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:182)
... 15 more
There was an uncaught exception:
---------------------------------------------------------
--- Message ---
Failed to start application james.
--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: Failed to start application james.
at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:379)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.avalon.framework.CascadingException: Failed to start application james.
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:313)
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
... 7 more
Caused by: org.apache.avalon.phoenix.interfaces.ApplicationException: Component named "djigzo" failed to pass through the Parameterizing stage. (Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'globalPreferencesManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalPreferencesManager' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'userPreferencesCategoryManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userPreferencesCategoryManager' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve re
ference to bean 'keyAndCertStore' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyAndCertStore' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'keyStoreProvider' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStoreProvider' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static mitm.common.security.keystore.KeyStoreProvider mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager) throws java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.cert.Certif
icateException,java.io.IOException] threw exception; nested exception is java.security.KeyStoreException: DatabaseKeyStore not found).
at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:186)
at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
... 9 more
Caused by: org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component named "djigzo" failed to pass through the Parameterizing stage. (Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'globalPreferencesManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalPreferencesManager' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'userPreferencesCategoryManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userPreferencesCategoryManager' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot
resolve reference to bean 'keyAndCertStore' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyAndCertStore' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference to bean 'keyStoreProvider' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'keyStoreProvider' defined in file [/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static mitm.common.security.keystore.KeyStoreProvider mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager) throws java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.c
ert.CertificateException,java.io.IOException] threw exception; nested exception is java.security.KeyStoreException: DatabaseKeyStore not found).
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
at org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
at org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
Can anyone tell us what causes the errors and whether it is possible to fix it?
Thanks for any suggestions or hints,
Stefan
Hi Djigzo community,
I was wondering if there is a faster way to create Users in my Ciphermail.
Is there a Interface to include many users from an database or to use a
active directory like LDAP. Or is someone knowing what database Ciphermail
is using and how I can access it from the Server on which Ciphermail is
running? Where do I find my created users and where can I find the keys and
certificates.
Thx in advantage
Hi Andreas,
I still had my old tar installation, the following lines
User_Alias DJIGZO_USERS = djigzo
Cmnd_Alias DJIGZO_COMMANDS = /usr/local/djigzo/scripts/do-execute-script.sh
DJIGZO_USERS ALL=(ALL) NOPASSWD: DJIGZO_COMMANDS
Now it works as intended :)
Thanks for your help
Mit freundlichen Grüßen / Best Regards
-----Ursprüngliche Nachricht-----
Von: lst_hoe02(a)kwsoft.de <lst_hoe02(a)kwsoft.de>
Gesendet: Mit 21 Januar 2015 10:11
An: users(a)lists.djigzo.com
Betreff: Re: [Djigzo users] Problem Queue View
Zitat von "Unger, Michael" <m.unger(a)no-timeout.de>:
> Dear Ciphermail Community,
>
> I get since reinstalling today WebIF following error message:
>
> There was an error while talking to the spool manager. Message:
> WebServiceCheckedException: ProcessException: Error running
> [/usr/share/djigzo/scripts/execute-script.sh,postfix,postqueue,-p].
> exit value: 1 (1), Class: class mitm.common.util.ProcessException
>
>
>
> Here was asked for a similar problem manually run the command
> https://lists.djigzo.com/pipermail/users/2014-July/001101.html
>
> I get the following error message displayed
>
> root@mailgw:˜# sudo -u djigzo
> /usr/share/djigzo/scripts/execute-script.sh postfix postqueue -p
> [sudo] password for djigzo:
> Sorry, user djigzo is not allowed to execute
> '/usr/share/djigzo/scripts/do-execute-script.sh postfix postqueue
> -p' as root on mailgw.nachtfalke.biz.
> root@mailgw:˜#
>
You are missing the required entries in /etc/sudoers. Here we have
User_Alias DJIGZO_USERS = djigzo
Cmnd_Alias DJIGZO_COMMANDS = /usr/share/djigzo/scripts/do-execute-script.sh
DJIGZO_USERS ALL=(ALL) NOPASSWD: DJIGZO_COMMANDS
Which should allow the user djigzo to excute the script with root
privileges needed to manage the Postfix queue.
Regards
Andreas
_______________________________________________
Users mailing list
Users(a)lists.djigzo.com
https://lists.djigzo.com/lists/listinfo/users
Dear Ciphermail Community,
I get since reinstalling today WebIF following error message:
There was an error while talking to the spool manager. Message: WebServiceCheckedException: ProcessException: Error running [/usr/share/djigzo/scripts/execute-script.sh,postfix,postqueue,-p]. exit value: 1 (1), Class: class mitm.common.util.ProcessException
Here was asked for a similar problem manually run the command https://lists.djigzo.com/pipermail/users/2014-July/001101.html
I get the following error message displayed
root@mailgw:~# sudo -u djigzo /usr/share/djigzo/scripts/execute-script.sh postfix postqueue -p
[sudo] password for djigzo:
Sorry, user djigzo is not allowed to execute '/usr/share/djigzo/scripts/do-execute-script.sh postfix postqueue -p' as root on mailgw.nachtfalke.biz.
root@mailgw:~#
Mit freundlichen Grüßen / Best Regards
Hello,
we have running a virtual appliance with djigzo 2.5.0-4.
Yesterday i made an update from Menu -> Other -> Update -> upgrade (not
dist-upgrade).
Everything updated without errors. After that i rebooted the VM.
After reboot djigzo hisself seems to work but the webinterface doesn´t
respond anymore.
I checked the logs but couldn´t find any problems.
I restarted tomcat .. after that i got some weird symbols in browser
when i checked the webinterface but nothing else.
Could anybody help me to get the webinterface working again?
I would also change the virtual-appliance but how do i get an backup
without the webinterface? Anyway i would perfer to get the "old" vm
working again.
plz help!
thx moe
Hello all,
im using the last Virtual Appliance and have some problems with special characters in generated PDF files.
Example:
Mit freundlichen Gr??en / Best regards
It should be "ü" and "ß", i found some log entries but i don't know if it´s connected. I there the possibility to chance the engcoding for the PDF generation?
Logentry:
WARNING: UnsupportedCharsetException. Message: java.nio.charset.UnsupportedCharsetException: ISO8859-10
Jan 07, 2015 6:37:06 AM mitm.common.charset.FallbackCharsetProvider charsetForName
WARNING: Falback to default charset: US-ASCII
Mit freundlichen Grüßen / Best regards
i. A. Jan Hartmann
IT Administrator Groupware
phone: +49 2371 820 298
fax: +49 2371 211 443
e-mail: j.hartmann(a)kirchhoff-gruppe.de
KIRCHHOFF Witte GmbH
c/o KIRCHHOFF Automotive GmbH
Stefanstrasse 2
58638 Iserlohn
Germany
________________________________
KIRCHHOFF Witte GmbH | HRB 6370 Amtsgericht Iserlohn | Sitz der Gesellschaft: 58640 Iserlohn | Geschäftsführer: Dipl.-Ing. Jürgen Wolfgang Kirchhoff, Andreas Haase, Dipl.-Ing. Stefan Leitzgen | http://www.kirchhoff-group.com<http://www.kirchhoff-group.com/>
________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This email may contain confidential and/or privileged information.If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.