Page 1 of 1

Link to libmilter.so in debian jessie

PostPosted: Fri Nov 04, 2016 7:18 am
by vjrj
Hi there:

I've installed openemm 2015-R3 in debian jessie.

I found that he file bav.sock was not created because libmilter.so was not found. After creating a link like:

Code: Select all
ln -s /usr/lib/x86_64-linux-gnu/libmilter.so.1.0.1 /lib/x86_64-linux-gnu/libmilter.so.1.0


Now:
Code: Select all
ldd /home/openemm/bin/bav
        linux-vdso.so.1 (0x00007ffc55549000)
        libmilter.so.1.0 => /lib/x86_64-linux-gnu/libmilter.so.1.0 (0x00007f75a4ee7000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f75a4cca000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f75a491f000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f75a50f8000)


And the bav.sock file is created and other binaries that depends on libmilter.so (like scan_and_unsubscribe and filter_or_forward) now also work.

Maybe this workaround helps others (or can be documented).

Re: Link to libmilter.so in debian jessie

PostPosted: Sun Nov 06, 2016 11:29 am
by maschoff
Thanks for sharing!

Re: Link to libmilter.so in debian jessie

PostPosted: Thu Aug 31, 2017 11:44 pm
by agrochaman
Hi!! Thank you for that i had the same problem, now sending emails Ok!
But now i have another problem. Openemm seems not to be parsing correctly links and images from contents.
When i load content on the contents tab, save and then go to links or images tab, there is nothing. No links and no images parsed. So no click tracking possible.
My system:
Debian 8
Openemm 2015 R3
Tomcat 8.0.46
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

I was able to identify some suspicious errors in /home/openemm/logs/openemm/openemm.log

Code: Select all
2017-08-31 18:29:15,092: ERROR [http-nio-8080-exec-10] org.agnitas.web.MailingContentAction - Error building dependencies
java.lang.RuntimeException: Found invalid number of items: 2
   at org.agnitas.dao.impl.BaseDaoImpl.selectObjectDefaultNull(BaseDaoImpl.java:303)
   at org.agnitas.dao.impl.TagDaoImpl.getTag(TagDaoImpl.java:47)
   at org.agnitas.util.AgnTagUtils.processTag(AgnTagUtils.java:71)
   at org.agnitas.beans.impl.MailingImpl.scanForLinks(MailingImpl.java:635)
   at org.agnitas.beans.impl.MailingImpl.scanForLinks(MailingImpl.java:349)
   at org.agnitas.beans.impl.MailingImpl.buildDependencies(MailingImpl.java:1608)
   at org.agnitas.beans.impl.MailingImpl.buildDependencies(MailingImpl.java:1578)
   at org.agnitas.web.MailingContentAction.saveContent(MailingContentAction.java:497)
   at org.agnitas.web.MailingContentAction.execute(MailingContentAction.java:245)
   at org.agnitas.cms.web.CmsMailingContentAction.execute(CmsMailingContentAction.java:104)
   at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:110)
   at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
   at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
   at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
   at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
   at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
   at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
   at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
   at org.agnitas.web.filter.Struts1SecurityFilter.doFilter(Struts1SecurityFilter.java:106)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
   at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
   at org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:46)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
   at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:232)
   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
   at org.agnitas.web.filter.SerializeRequestFilter.doFilter(SerializeRequestFilter.java:49)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
   at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
   at org.agnitas.web.filter.SessionHijackingPreventionFilter.doFilter(SessionHijackingPreventionFilter.java:137)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
   at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
   at java.lang.Thread.run(Thread.java:748)


I'm not a java expert so... i'm lost.... Any ideas?

Thanks! and sorry about my english.