Python problem

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

mykp
Posts: 21
Joined: Fri Aug 28, 2020 6:05 pm
Contact:

Python problem

Post by mykp » Sat Feb 06, 2021 6:09 pm

Hello,
when we try to send a mail I get this error in the log file:

"Caused by: java.io.IOException: Cannot run program "python": error=2, No such file or director"

Does anybody know what we have misconfigured or what the problem migh be?

Java Version 11.0.9.1 (Red Hat, Inc.)
EMM Version 20.10.000.088

Kind regards
Klaus

maschoff
Site Admin
Posts: 2493
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Python problem

Post by maschoff » Thu Feb 11, 2021 12:06 pm

Which log file do you mean?

if you use menu 1 (show status) of OMT, what is the output like?
OpenEMM Maintainer

mykp
Posts: 21
Joined: Fri Aug 28, 2020 6:05 pm
Contact:

Re: Python problem

Post by mykp » Sat Feb 20, 2021 11:32 am

Hello,
so, today I logged in. Log-File (Verwaltung->Systemstatus->Emm-Logdatei anzeigen) is empty.

System-Status is ok:
"Name Status
Overall Status OK
Jobqueue Status OK
Import Status OK
DB Status OK
DB Connection Status OK
Report Status OK"

Database Status is ok:
"Datenbank
Version Status
20.07.284 OK
20.07.381 OK
20.07.383 OK
20.07.489 OK
20.07.492 OK
20.10.006 OK
20.10.014 OK
20.10.026 OK
20.10.027 OK
20.10.036 OK"

I tried to send out a prepared email via "Mailing-Versand" -> "Testlauf".
I'll get the immediate feedback that the job has been queued.
Within "Verwaltung"->"Aktivitätsprotokoll" I get this line
"20.02.2021 11:24 emm-master server status send test email to XXXXX@XXXXX.com"

But nothing happens. No new line in the log file, nothing.

OK, so I tried to send out a testmail directyl from within "Verwaltung"->"Systemstatus"->"Testmail senden"

This results in no email, but the immediate Error Feedback "Email to XXX@XXX.com wasn't successfully sent with "from"-address: YYY@YYY.com" and the following Logfile lines (the strange emailSubect is show correctly here):

2021-02-20 11:24:24,224: ERROR [http-nio-8080-exec-5] com.agnitas.emm.core.JavaMailServiceImpl - Error sending email via localhost: 454 4.3.0 Try again later

emailSubject: Test mail subject: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ������ܵ!?�@?$%&/\<>(){}[]'"�`^����*#.,;:=+-~_|���
emailContent: Test text mail content: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ������ܵ!?�@?$%&/\<>(){}[]'"�`^����*#.,;:=+-~_|���
javax.mail.MessagingException: 454 4.3.0 Try again later

at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:2340)
at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:2132)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:734)
at javax.mail.Service.connect(Service.java:342)
at javax.mail.Service.connect(Service.java:222)
at javax.mail.Service.connect(Service.java:171)
at com.agnitas.emm.core.JavaMailServiceImpl.sendEmail(JavaMailServiceImpl.java:316)
at com.agnitas.emm.core.JavaMailServiceImpl.sendEmail(JavaMailServiceImpl.java:134)
at com.agnitas.emm.core.serverstatus.service.impl.ServerStatusServiceImplBasic.sendTestMail(ServerStatusServiceImplBasic.java:263)
at com.agnitas.emm.core.serverstatus.web.ServerStatusControllerBasic.sendTestEmail(ServerStatusControllerBasic.java:222)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:854)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:765)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.agnitas.emm.core.commons.filter.OriginUriFilter.doFilter(OriginUriFilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.agnitas.emm.core.commons.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:80)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.agnitas.emm.core.sessionhijacking.web.GroupingSessionHijackingPreventionFilter.doFilter(GroupingSessionHijackingPreventionFilter.java:105)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.agnitas.web.filter.HttpSecurityHeaderFilter.doFilter(HttpSecurityHeaderFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.agnitas.emm.core.commons.filter.LoadBalancerFilter.doFilter(LoadBalancerFilter.java:153)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:666)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1594)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)

mykp
Posts: 21
Joined: Fri Aug 28, 2020 6:05 pm
Contact:

Re: Python problem

Post by mykp » Wed Feb 24, 2021 4:46 pm

Hi,
is there anybody who could help us for money to set up openEMM?
We're in Germany, but English help is welcome also.

Best regards
Klaus-Peter

Post Reply