Upgraded but now missing?

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

Moderator: moderator

jim_frey
Posts: 132
Joined: Wed Nov 29, 2006 11:32 pm
Location: Middle Caicos, Turks and Caicos Islands
Contact:

Upgraded but now missing?

Post by jim_frey »

I just upgraded by clicking the button in the admin panel, but now I can't connect at all to OpenEMM. I assume I've got some ports not lined up right anymore? I need everything to run at a normal domain level because adding on port numbers to the end of the domain name in the URL triggers a bunch of spam warnings in most email systems (yahoo, etc)

Here is what the upgrade said --
Update process starting up
Trying to determinate current running version
Found "2013" as current active version
Looking for new version on remote server (this may take some time)
Found version 2013_R2 on server
Current version is 2013, new version 2013_R2, starting update now
Trying to fetch the new version from one of these URLs:
http://switch.dl.sourceforge.net/projec ... bin.tar.gz
http://ufpr.dl.sourceforge.net/project/ ... bin.tar.gz
http://surfnet.dl.sourceforge.net/proje ... bin.tar.gz
http://nchc.dl.sourceforge.net/project/ ... bin.tar.gz
http://jaist.dl.sourceforge.net/project ... bin.tar.gz
http://dfn.dl.sourceforge.net/project/o ... bin.tar.gz
http://puzzle.dl.sourceforge.net/projec ... bin.tar.gz
http://kent.dl.sourceforge.net/project/ ... bin.tar.gz
http://garr.dl.sourceforge.net/project/ ... bin.tar.gz
http://heanet.dl.sourceforge.net/projec ... bin.tar.gz
Be patient, this may take several minutes ...
Trying to download file http://switch.dl.sourceforge.net/projec ... bin.tar.gz
Downloading 78.428 kByte
Download of http://switch.dl.sourceforge.net/projec ... bin.tar.gz successful
Trying to store the new version to /tmp/OpenEMM-2013_R2-bin.tar.gz
Stopping running instance
Shutting down Tomcat ......
Waiting for shutdown of Tomcat:..........Terminating Tomcat the hard way with kill -9 18480
.
Stop scripts/slrtscn.py program .. done.
Stop /home/openemm/bin/qctrl program with signal 15 .. done.
Stop all sendmail processes: Shutting down sm-client: [FAILED]
Shutting down sendmail: [ OK ]
-15:18389 -15:18395 -15:18402 -15:18409 -15:18416 -15:18423 -15:18430 -15:27980 -15:28000 -15:28013 -15:28021 -15:28022 -15:28030 -15:28031 -15:28040 -15:28050 -15:28059 -15:28060 -15:28069 -15:28070 -15:28078 -15:28079 -15:28090 -15:28091 -15:28099 -15:28100 -15:28112 -15:28113 -15:28123 -15:28124 -15:28137 -15:28138 -15:28147 -15:28148 -15:28157 -15:28158 -15:28172 -15:28173 -15:28179 -15:28180 -15:28189 -15:28190 -15:28202 -15:28203 -15:28213 -15:28214 -15:28222 -15:28223 -15:28237 -15:28238 -15:28247 -15:28248 -15:28257 -15:28258 -15:28268 -15:28269 -15:28279 -15:28280 -15:28288 -15:28289 -15:28297 -15:28298 -15:28307 -15:28308 -15:28317 -15:28318 -15:28334 -15:28335 -15:28345 -15:28346 -15:28355 -15:28356 -15:28364 -15:28365 -15:28375 -15:28376 -15:28385 -15:28386 -15:28395 -15:28396 -15:28401 -15:28405 -15:28406 -15:28415 -15:28416 -15:28427 -15:28428 -15:28432 -15:28467 -15:28468Shutting down sendmail: [FAILED]
Starting sendmail: WARNING: Xbav: local socket name /home/openemm/var/run/bav.sock missing
[ OK ]
Starting sm-client: [ OK ]
done.
Stop scripts/pickdist program .. done.
Stop scripts/update.py program .. done.
Stop scripts/bavd program .. done.
Stop scripts/bav-trigger program with signal 15 .. done.
Stop scripts/bav-update program with signal 15 .. done.
Renaming current version to keep as archive
Unpacking new version
New version unpacked
Searching for database updates from 2013 to 2013_R2
Syncing property files
Starting post process script
Starting new instance
Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start python /home/openemm/bin/scripts/recovery.py .. done.
Start /home/openemm/bin/scripts/update.py account bounce .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes: -15:28746 -15:28754 -15:28755 -15:28810 -9:28755 done.
Starting sendmails: listener Starting sendmail: [ OK ]
mail queues ADMIN QUEUE MIDQUEUE SLOWQUEUE done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Starting up Tomcat ......
Check Java installation :OK
Check Tomcat installation :OK
New instance is running
Install document files
Documents for 2013_R2 installed
New version should be ready now

==========================

I've been editing the iptables, emm.properties, cms.properties -- but I haven't figured this out yet, any help would be appreciated.
OpenEMM Moderator
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Upgraded but now missing?

Post by maschoff »

The update protocol looks fine except for the missing file /home/openemm/var/run/bav.sock, but this is included in the new version, too.

Have you tried to restart OpenEMM? Anything in the logs (catalina.out)?
OpenEMM Maintainer
jim_frey
Posts: 132
Joined: Wed Nov 29, 2006 11:32 pm
Location: Middle Caicos, Turks and Caicos Islands
Contact:

Re: Upgraded but now missing?

Post by jim_frey »

I've stopped and started it a couple times. Here's the log from the last try. It seems to start, I just don't know where it is...
========================================

Oct 3, 2013 1:20:28 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/openemm.org/software/jdk1.6.0_27/jre/lib/i386/server:/opt/openemm.org/software/jdk1.6.0_27/jre/lib/i386:/opt/openemm.org/software/jdk1.6.0_27/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Oct 3, 2013 1:20:29 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 3, 2013 1:20:29 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 648 ms
Oct 3, 2013 1:20:29 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 3, 2013 1:20:29 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
Oct 3, 2013 1:20:29 PM org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//openemm/,J2EEApplication=none,J2EEServer=none
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.UnsupportedClassVersionError: org/agnitas/emm/extension/listener/ExtensionSystemInitializationContextListener : Unsupported major.minor version 51.0 (unable to load class org.agnitas.emm.extension.listener.ExtensionSystemInitializationContextListener)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2822)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1078)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4612)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
... 6 more
OpenEMM Moderator
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Upgraded but now missing?

Post by maschoff »

You need Java 7 to run OpenEMM 2013 R2.
OpenEMM Maintainer
jim_frey
Posts: 132
Joined: Wed Nov 29, 2006 11:32 pm
Location: Middle Caicos, Turks and Caicos Islands
Contact:

Re: Upgraded but now missing?

Post by jim_frey »

Ah! Thank you so much for the quick reply. Upgrading Java to 7 worked!
OpenEMM Moderator
Post Reply