1) extended memory limits were set for java due to lack of time to determine what is wrong (OutOfMemory after ~24h of work), you reduce the limits in red5*.sh scripts
2) I believe you should unpack to /usr/local/red5 (I usually use /opt/red5) due to we provide the whole server) 3) you should perform backup/restore on stopped OM (red5+OM app) to avoid possible data corruption 4) you need java7 for latest OM On 28 August 2014 02:49, Scott Woods I <[email protected]> wrote: > Greetings... > > RE: Upgrading OM from v2.0.2 to v3.0.3 on CentOS 5.10 X86_64 VPS with 4GB > RAM. > > Several things raise question with my attempt to install/upgrade. > > Two quick questions before all details: > > 1. Is it 'normal' for RAM usage to jump about 1 1/4 GB? Just with a > restart of Red5? > > 2. Curious, am I installing in the correct directory? I have extracted > and am running installation from this directory: > /usr/local/red5/webapps/openmeetings > Curious thing is that there is an openmeetings folder in the red5 folder > (above webapps), and there is a webapps folder within the extracted files > that I placed in the /red5/webapps/openmeetings folder. > > Latest functional version was OM 2.0.2, but was Incubating version and had > some other bugs especially with the screen sharing and recording. > Upgrading to OM 3.0.3. > > Following steps laid out at: https://openmeetings.apache.org/Upgrade.html > > > 1. There is a System Backup and Import tool. Login as Administrator and > Administration > Backup > 2. Stop Openmeetings > 3. (*) Backup folder with existing installation > 4. (*) Perform DB backup using tools available for your database > 5. Delete/move folder with existing installation of OM > 6. Drop existing OM database > 7. Create empty Database with same name and UTF-8 support > 8. Unzip new version of OM into the same folder > 9. (*) Modify DB settings > 10. Start Openmeetings > > Question: Meaning Restart of Red5? Not sure how else to 'start' > OpenMeetings. I did a restart of Red5 and it shows it's running. > > 11. go to http://localhost:5080/openmeetings > > Error here: All I get at this point is a "Directory Listing For /" which > shows all files in the /openmeetings directory, and it shows "Apache > Tomcat/6.0.32" at bottom of the page. Install goes no further...notes > below. > > 12. Install OM using Web installer > 13. Login as Administrator and Administration > Backup > 14. Perform system import > > Notes about installation attempt. > > 1. In SSH, navigated to /usr/local/red5/webapps/openmeetings directory and > typed "sh red5.sh" and the following results showed in the screen: > > -------------beginning of results > > root@giolserver [/usr/local/red5/webapps/openmeetings]# sh red5.sh > Running on Linux > Starting Red5 > Red5 root: /usr/local/red5/webapps/openmeetings > Configuation root: /usr/local/red5/webapps/openmeetings/conf > Red5 server jar was found > URL list: [file:/usr/local/red5/webapps/openmeetings/red5-server.jar] > Selected libraries: (58 items) > file:/usr/local/red5/webapps/openmeetings/red5-server.jar > file:/usr/local/red5/webapps/openmeetings/lib/httpcore-4.2.1.jar > file:/usr/local/red5/webapps/openmeetings/lib/quartz-2.1.7.jar > file:/usr/local/red5/webapps/openmeetings/lib/cglib-nodep-2.2.2.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-jdbc-jar-4.0.6.RELEASE.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-webmvc-jar-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/logback-classic-1.1.2.jar > file:/usr/local/red5/webapps/openmeetings/lib/jruby-1.6.8.jar > file:/usr/local/red5/webapps/openmeetings/lib/jcl-over-slf4j-1.7.7.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-orm-jar-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/aspectjrt-1.7.4.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-aspects-jar-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/ehcache-core-2.5.0.jar > file:/usr/local/red5/webapps/openmeetings/lib/groovy-2.0.4.jar > > file:/usr/local/red5/webapps/openmeetings/lib/commons-fileupload-jar-1.3.jar > > file:/usr/local/red5/webapps/openmeetings/lib/isoparser-1.0-RC-19-SNAPSHOT.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-context-support-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/jul-to-slf4j-1.7.7.jar > file:/usr/local/red5/webapps/openmeetings/lib/bcprov-jdk15on-1.50.jar > > file:/usr/local/red5/webapps/openmeetings/lib/geronimo-jpa_2.0_spec-bundle-1.1.jar > file:/usr/local/red5/webapps/openmeetings/lib/spring-aop-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/xercesImpl-2.9.1.jar > > file:/usr/local/red5/webapps/openmeetings/lib/mina-integration-jmx-2.0.7.jar > file:/usr/local/red5/webapps/openmeetings/lib/httpclient-4.2.1.jar > file:/usr/local/red5/webapps/openmeetings/lib/antlr-3.1.3.jar > file:/usr/local/red5/webapps/openmeetings/lib/red5-io-1.0.4-SNAPSHOT.jar > file:/usr/local/red5/webapps/openmeetings/lib/commons-lang3-3.1.jar > file:/usr/local/red5/webapps/openmeetings/lib/commons-pool-1.5.6.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-tx-jar-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/asm-jar-3.1.jar > file:/usr/local/red5/webapps/openmeetings/lib/jython-standalone-2.5.3.jar > file:/usr/local/red5/webapps/openmeetings/lib/logback-core-1.1.2.jar > file:/usr/local/red5/webapps/openmeetings/lib/spring-web-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/commons-codec-1.6.jar > file:/usr/local/red5/webapps/openmeetings/lib/commons-beanutils-1.8.3.jar > file:/usr/local/red5/webapps/openmeetings/lib/mina-core-2.0.7.jar > > file:/usr/local/red5/webapps/openmeetings/lib/commons-collections-20040616.jar > file:/usr/local/red5/webapps/openmeetings/lib/slf4j-api-1.7.7.jar > file:/usr/local/red5/webapps/openmeetings/lib/log4j-over-slf4j-1.7.7.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-beans-4.0.6.RELEASE.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-expression-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/commons-io-jar-2.4.jar > file:/usr/local/red5/webapps/openmeetings/lib/aopalliance-1.0.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-context-support-jar-4.0.6.RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/lib/spring-core-4.0.6.RELEASE.jar > > file:/usr/local/red5/webapps/openmeetings/lib/spring-context-4.0.6.RELEASE.jar > > file:/usr/local/red5/webapps/openmeetings/lib/mina-integration-beans-2.0.7.jar > file:/usr/local/red5/webapps/openmeetings/lib/spring-test-4.0.6.RELEASE.jar > > file:/usr/local/red5/webapps/openmeetings/lib/red5-client-jar-1.0.3-RELEASE.jar > file:/usr/local/red5/webapps/openmeetings/conf/ > file:/usr/local/red5/webapps/openmeetings/plugins/ > file:/usr/local/red5/webapps/openmeetings/plugins/websocket-1.0.jar > > file:/usr/local/red5/webapps/openmeetings/plugins/tomcat-embed-logging-log4j.jar > file:/usr/local/red5/webapps/openmeetings/plugins/ecj-4.4.jar > > file:/usr/local/red5/webapps/openmeetings/plugins/tomcat-embed-logging-juli.jar > file:/usr/local/red5/webapps/openmeetings/plugins/tomcat-embed-core.jar > file:/usr/local/red5/webapps/openmeetings/plugins/tomcat-embed-jasper.jar > file:/usr/local/red5/webapps/openmeetings/plugins/tomcatplugin-1.7.jar > > Bootstrap exception: org/red5/server/Launcher : Unsupported major.minor > version 51.0 > java.lang.UnsupportedClassVersionError: org/red5/server/Launcher : > Unsupported major.minor version 51.0 > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) > at java.lang.ClassLoader.defineClass(ClassLoader.java:615) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) > at java.net.URLClassLoader.access$000(URLClassLoader.java:58) > at java.net.URLClassLoader$1.run(URLClassLoader.java:197) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:247) > at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:121) > at org.red5.server.Bootstrap.main(Bootstrap.java:48) > Bootstrap exit > > -------------------------------end of results > > NOTES: Googling the "Unsupported major.minor version 51.0 > java.lang.UnsupportedClassVersionError: org/red5/server/Launcher : > Unsupported major.minor version 51.0" error it was suggested to upgrade the > installation of JRE on the server. I had the host firm do this, and the > reply was: > > "I have upgraded JDK and JRE to 1.8 latest version: > > root@giolserver [/etc]# java -version > java version "1.8.0_20" > Java(TM) SE Runtime Environment (build 1.8.0_20-b26) > Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode) > root@giolserver [/etc]# " > > So, I went to localhost:5080/openmeetings and saw the same Directory > Listing page result, Red5 was running. Then I tried to run red5.sh, and > received same list of errors noted above. > > ------------------- > > Logs > > ----The Access Log 0.0.0.0_access.2014-08-27.log.txt seems to show an > attempt to launch openmeetings/install, as: > > 115.118.115.109 - - [27/Aug/2014:01:46:14 -0500] "GET /openmeetings/ > HTTP/1.1" 200 6806 > 115.118.115.109 - - [27/Aug/2014:01:46:24 -0500] "GET > /openmeetings/install HTTP/1.1" 404 1015 > 115.118.115.109 - - [27/Aug/2014:01:46:28 -0500] "GET /openmeetings/ > HTTP/1.1" 200 6806 > 115.118.115.109 - - [27/Aug/2014:01:46:32 -0500] "GET > /openmeetings/webapps/ HTTP/1.1" 200 1878 > 115.118.115.109 - - [27/Aug/2014:01:46:34 -0500] "GET > /openmeetings/webapps/openmeetings/ HTTP/1.1" 200 4075 > 115.118.115.109 - - [27/Aug/2014:01:46:46 -0500] "GET /openmeetings > HTTP/1.1" 302 - > 115.118.115.109 - - [27/Aug/2014:01:46:46 -0500] "GET /openmeetings/ > HTTP/1.1" 200 6806 > 162.200.45.51 - - [27/Aug/2014:11:03:08 -0500] "GET /openmeetings/ > HTTP/1.1" 200 6806 > 162.200.45.51 - - [27/Aug/2014:11:05:33 -0500] "GET /openmeetings/ > HTTP/1.1" 200 6806 > 75.133.210.253 - - [27/Aug/2014:11:48:22 -0500] "GET /openmeetings/ > HTTP/1.1" 200 6806 > 75.133.210.253 - - [27/Aug/2014:11:48:22 -0500] "GET /favicon.ico > HTTP/1.1" 200 894 > > --------------End of Access Log > > I've attached the openmeetings.log.txt and the red5.log.txt files. > > Thank you for any assistance/advice provided. > > Scott > =============================================== > On 8/26/2014 10:46 AM, Maxim Solodovnik wrote: > > please write to this list if you need help :) > > > On 26 August 2014 21:44, Scott Woods I <[email protected]> wrote: > >> Thank you, Maxim... >> >> I will give this a try soon, and will feedback with findings and >> results. Unfortunately, I believe I am stuck with CentOS for now. >> >> BEST regards... >> >> Scott >> >> On 8/25/2014 10:43 PM, Maxim Solodovnik wrote: >> >> 1) I would recommend 3.0.3-SNAPSHOT (it is currently in pre-RC2 stage) >> 2) I would prefer Debian/Ubuntu :) Configuring on CentOS always leads to >> weird issues. CentOS 5 or 6 should be equal for OM. The only notes I keep >> in mind are: you need group+headless for OpenOffice and you need to compile >> latest ffmpeg https://trac.ffmpeg.org/wiki/CompilationGuide/Centos >> >> >> On 26 August 2014 01:41, Scott Woods I <[email protected]> wrote: >> >>> Hello, all... >>> >>> Please excuse if the answer to this is easy to find, but I have Googled >>> various strings, but can't seem to find: >>> >>> 1. Which OM version is latest stable release for CentOS 5.11? >>> >>> Bonus question: >>> 2. Is it critical that I upgrade CentOS to v6 rather than v5? >>> >>> Thank you! >>> >>> Scott >>> >>> >> >> >> -- >> WBR >> Maxim aka solomax >> >> >> -- >> Best regards... >> >> Scott Woods >> 989-424-5424 >> >> *** >> >> "Be Excellent to Each Other" >> -- Bill & Ted >> >> "All that is necessary for the triumph of evil is that good men do nothing." >> -- Edmund Burke >> >> "Never doubt that a small group of thoughtful committed people can change >> the world; indeed, it is the only thing that ever has." >> -- Margaret Mead, anthropologist >> >> "Can't stop the spirits when they need you, this life is more than just a >> read-though..." >> -- Red Hot Chili Peppers >> >> “I’m not in this world to live up to your expectations and you’re not in >> this world to live up to mine.” >> -- Bruce Lee >> >> =================================== >> >> > > > -- > WBR > Maxim aka solomax > > > -- > Best regards... > > Scott Woods > 989-424-5424 > > *** > > "Be Excellent to Each Other" > -- Bill & Ted > > "All that is necessary for the triumph of evil is that good men do nothing." > -- Edmund Burke > > "Never doubt that a small group of thoughtful committed people can change the > world; indeed, it is the only thing that ever has." > -- Margaret Mead, anthropologist > > "Can't stop the spirits when they need you, this life is more than just a > read-though..." > -- Red Hot Chili Peppers > > “I’m not in this world to live up to your expectations and you’re not in this > world to live up to mine.” > -- Bruce Lee > > =================================== > > -- WBR Maxim aka solomax
