Page 1 of 1

sendmail problems with fedora 8 and openemm 5.3.2

Posted: Sat Jan 26, 2008 5:44 pm
by marton
hi,

i just was installing fedora 8, openemm 5.3.2 and then my mysql dump from my former openemm installation. i´ve got problems with sendmail.
the logs:

==> /var/log/messages <==
Jan 26 08:30:33 fc835172 kernel: audit(1201365033.835:27): avc: denied { connectto } for pid=3907 comm="sendmail" path="/home/openemm/var/run/bav.sock" scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:system_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket

==> /var/log/maillog <==
Jan 26 08:30:33 fc835172 sendmail[3907]: m0QGUXeK003907: Milter (bav): error connecting to filter: Permission denied
Jan 26 08:30:33 fc835172 sendmail[3907]: m0QGUXeK003907: Milter (bav): to error state
Jan 26 08:30:33 fc835172 sendmail[3907]: m0QGUXeK003907: Milter: initialization failed, temp failing commands


when i try to send emails (with openemm) i get this message:
==> /var/log/messages <==
Jan 26 15:10:43 fc835172 kernel: xmlback[7150]: segfault at 00000000 eip 00839ab3 esp bfc01ab8 error 4

the only interesting i could found was this java exception:

==> /home/openemm/var/log/redirection_stderr.log <==
triggerMailing: java.lang.Exception: Execution of /home/openemm/bin/xmlback -vql -E /tmp/error15067.tmp -o generate:temporary=true;syslog=false;account-logfile=/home/openemm/var/spool/log/account.log;media=email;path=/home/openemm/var/spool/ADMIN /home/openemm/var/spool/META/AgnMail=D20080126152028=1=61=00001=liaMngA.xml failed: java.lang.Exception: command returns 139
org.agnitas.backend.MailWriterMeta.startXMLBack(MailWriterMeta.java:233)
org.agnitas.backend.MailWriterMeta.done(MailWriterMeta.java:280)
org.agnitas.backend.MailgunImpl.doExecute(MailgunImpl.java:641)
org.agnitas.backend.MailgunImpl.executeMailgun(MailgunImpl.java:119)
org.agnitas.beans.impl.MailingImpl.triggerMailing(MailingImpl.java:738)
org.agnitas.web.MailingSendAction.sendMailing(MailingSendAction.java:460)
org.agnitas.web.MailingSendAction.execute(MailingSendAction.java:193)
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:115)
javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)


you guys have and idea?

thanks in advance, marton
==================
openemm 5.3.2.2
java 6.4
mysql 14.12 distrib 5.0.45
fedora 8

replace xmlback

Posted: Sun Jan 27, 2008 2:33 pm
by marton
replacing the xmlback file from the gunzip package seems to work... i am just testing it. i´ve got no more error messages in my logs and sendmail works fine. the rpm package seems to be corrupt?
@ http://www.openemm.org/forums/ftopic605.html

cheerio, marton

Posted: Tue Jan 29, 2008 12:18 pm
by maschoff
Yes, we know. But are working on it but have not found the cause yet. :-(

Posted: Tue Jan 29, 2008 6:15 pm
by marton
until you haven´t a solution for this you could write on "http://sourceforge.net/project/showfile ... _id=168937"
something like this: the rpm package is corrupt, please download the tarball etc.
this would be a useful advice for people who want to download the rpm package.

maybe i can help you to find a solution for this problem (this weekend).

cheerio, marton

Posted: Tue Jan 29, 2008 8:20 pm
by maschoff
You are right, I had the same idea, tried to upload a version of xmlback into the bugtracker several times (lots of timeouts) and finally got the message that attached files have to be smaller than 256,000 bytes ... grrr!

Anyway, I posted just the bug report and referenced to the download area (which allows bigger uploads). Any insights are welcome! One fact so far: the RPM works fine with CentOS 4, but the VMX version (which was build with the RPM file) does not seem to work with CentOS 5. Weird!

Posted: Wed Jan 30, 2008 3:23 pm
by maschoff
The problem is fixed now with the new RPM file OpenEMM-5.3.2-3.i386.rpm (http://sourceforge.net/project/showfile ... _id=168937). A new VMX version will follow soon.