problem SOLVED
I have seen another post, where user say that last csv compilation do not apply the password in the installation process.
I have check my configdb.properties in my /opt/open-exchange/etc/groupware/configdb.properties i update it and replace password secret with my db password, and now OPEN Exchange rocks !
Thanks guy!
Announcement
Collapse
No announcement yet.
Unable to Compose Email Loading....
Collapse
X
-
Guest replied
-
Guest repliedI just finish to install open xchange with wiki but...
I just finish to install open xchange (on ubuntu 7.10) with wiki but i've the same problem (on OX webinterface - 503 service temporarily unavailable), i try to modify the line like michael or Mike and i've the same error.
When i try to start open-xchange-groupware and make "ps ax | grep open-xchange" i've :
Code:root@ubuntuServer:/home/eric# /etc/init.d/open-xchange-groupware restart Restarting Open-Xchange Groupware: start-stop-daemon: warning: failed to kill 8332: No such process 1 pids were not killed No process in pidfile `/var/run/open-xchange-groupware.pid' found running; none killed. open-xchange-groupware. root@ubuntuServer:/home/eric# ps ax | grep open-xchange 8612 ? Sl 0:02 /usr/bin/java -Xms50m -Xmx512m -Djava.awt.headless=true -Dopenexchange.propfile=/opt/open-xchange/etc/groupware/system.properties -Djava.util.logging.config.file=/opt/open-xchange/etc/groupware/file-logging.properties -classpath /opt/open-xchange/lib/activation.jar:/opt/open-xchange/lib/commons-cli-1.0.jar:/opt/open-xchange/lib/commons-codec-1.3.jar:/opt/open-xchange/lib/commons-fileupload.jar:/opt/open-xchange/lib/commons-httpclient-2.0.2.jar:/opt/open-xchange/lib/commons-io.jar:/opt/open-xchange/lib/commons-logging.jar:/opt/open-xchange/lib/concurrent.jar:/opt/open-xchange/lib/jakarta-slide-webdavlib-2.1.jar:/opt/open-xchange/lib/jaxen-jdom.jar:/opt/open-xchange/lib/jcharset-1.3.jar:/opt/open-xchange/lib/jcs-1.2.7.9.2.jar:/opt/open-xchange/lib/jdom.jar:/opt/open-xchange/lib/json.jar:/opt/open-xchange/lib/junit-4.1.jar:/opt/open-xchange/lib/mail.jar:/opt/open-xchange/lib/mysql-connector-java-3.1.13-bin.jar:/opt/open-xchange/lib/org.eclipse.osgi_3.2.2.ox.jar:/opt/open-xchange/lib/ox_admin_console_ee.jar:/opt/open-xchange/lib/ox_admindaemon.jar:/opt/open-xchange/lib/ox_admin_plugin_backup.jar:/opt/open-xchange/lib/ox_admin_plugin_ca_mgmt_simple.jar:/opt/open-xchange/lib/ox_admin_plugin_context_light.jar:/opt/open-xchange/lib/ox_admin_plugin_imap.jar:/opt/open-xchange/lib/ox_admin_plugin_mailfilter.jar:/opt/open-xchange/lib/ox_admin_plugin_mail.jar:/opt/open-xchange/lib/ox_admin_plugin_osconfig.jar:/opt/open-xchange/lib/ox_admin_plugin_services.jar:/opt/open-xchange/lib/ox_admin_plugin_sw-update.jar:/opt/open-xchange/lib/ox_languages.jar:/opt/open-xchange/lib/ox_server.jar:/opt/open-xchange/lib/saxon8.jar:/opt/open-xchange/lib/servlet-api-2.4.jar:/opt/open-xchange/lib/spring-beans_1.2.7.jar:/opt/open-xchange/lib/spring-core_1.2.7.jar:/opt/open-xchange/lib/tnef.jar: ComfireServer 8646 pts/0 R+ 0:00 grep open-xchange
Code:8599 pts/0 R+ 0:00 grep open-xchange
When i try the url http://localhost/ajax/ i've Service Temporarily Unavailable too.
Best regards,
Eric
Leave a comment:
-
Guest repliedHello Mike
Seems that's my mistake
I changed directly the Line
test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
to
test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-Xms50m -Xmx512m"
After I add your seperate line
JAVA_XTRAOPTS="-Xms50M -Xmx512M
The Groupware Server starts :-))
Now Iam lokking for the next Problem:
I cant loggin with oxadmin
Please check you username and password...
Thank's Mike and Daniel
Michael
Leave a comment:
-
Guest repliedIf I change the script /opt/open-xchange/etc/groupware/ox-scriptconf.sh, the problem remains.
if I change the script /opt/open-xchange/sbin/open-xchange-groupware the problem is solved.
Note the placement of the fix in open-xchange-groupware:
test -f $OXCONFIG && . $OXCONFIG
ox_set_JAVA_BIN
test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
JAVA_XTRAOPTS="-Xms50M -Xmx512M"
JAVA_OPTS="${JAVA_XTRAOPTS} \ <-- before this line
-Djava.awt.headless=true \
-Dopenexchange.propfile=$SYSTEMPROPERTIES \
-Djava.util.logging.config.file=$LOGGINGPROPERTIES"
I am setting the value JAVA_XTRAOPTS just before it is referenced in the next line by JAVA_OPTS="${JAVA_XTRAOPTS}\
It looks as if Michael placed the needed line AFTER the reference.
>test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
>JAVA_OPTS="${JAVA_XTRAOPTS} \
>-Djava.awt.headless=true \
>-Dopenexchange.propfile=$SYSTEMPROPERTIES \
>-Djava.util.logging.config.file=$LOGGINGPROPERTIES"
>JAVA_XTRAOPTS="-Xms50M -Xmx512M <-- placed AFTER the line
Mike
Leave a comment:
-
Guest repliedHello Daniel
In opt/open-xchange/etc/ox-scriptconf.sh
Java_XTRAOPTS="-Xms50M -Xms512M -XX:+AggressiveHeap"
NRFILES="8192"
Whats changed in cvs between 20 and 21 Juli ?
I checked the changelog but dont found changes that makes this problems ?
Is there a possibility to debug ?
Thanks
Michael
Leave a comment:
-
Guest repliedHello Daniel
I changed the same then mjfleck2000
>In /opt/open-xchange/sbin the file open-xchange-groupware contains the >lines:
>test -f $OXCONFIG && . $OXCONFIG
>ox_set_JAVA_BIN
>test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
>JAVA_OPTS="${JAVA_XTRAOPTS} \
>-Djava.awt.headless=true \
>-Dopenexchange.propfile=$SYSTEMPROPERTIES \
>-Djava.util.logging.config.file=$LOGGINGPROPERTIES"
>JAVA_XTRAOPTS="-Xms50M -Xmx512M
But always the message:
Too small initial heap for new size specified and groupware not running
Michael
Leave a comment:
-
Hi Michael,
did you already tried the same things as Mike to fix it?
Greetings
Leave a comment:
-
Guest repliedHello
I have exactly the same Problems then mjfleck2000 on "Neos" VMware Image.
There are 2 -3 updates vom cvs without Problems , last from 17. Juli.
cvs from 20 > the problem with new E-Mail Windows
cvs vom 21 > Error occurred during initialization of VM
exact the same logs , messages then mjfleck2000
Michael
Leave a comment:
-
Ok, nice to know you got it working
The default parameter of 50m memory worked so far on any installation i've done but it is very much too low for productive usage. Depending on the system configuration this may even lead to non-functional software (like in your case). I'll add a note to the wiki as a work-around for this problems. Many thanks for the experiment!
Leave a comment:
-
Guest repliedIn /opt/open-xchange/sbin the file open-xchange-groupware contains the lines:
test -f $OXCONFIG && . $OXCONFIG
ox_set_JAVA_BIN
test -z "$JAVA_XTRAOPTS" && JAVA_XTRAOPTS="-ms50m -mx50m"
JAVA_OPTS="${JAVA_XTRAOPTS} \
-Djava.awt.headless=true \
-Dopenexchange.propfile=$SYSTEMPROPERTIES \
-Djava.util.logging.config.file=$LOGGINGPROPERTIES"
As an experiment, I added
JAVA_XTRAOPTS="-Xms50M -Xmx512M" just below the test -z line...
and Groupware now runs!
I then commented out the line I added... stopped and restarted OX and got the same failure...uncommented the line... OX works.
Mike
Leave a comment:
-
Well. i suppose you've got a problem with the groupware, not with the admindaemon. These error messages are about caching, but if the groupware does not start you have more serious problems than caching
If i were you, i'd try to get the groupware process up and running, this causes the 503 errors on the webinterface. If you try to login, the login data is pulled to a servlet of the groupware daemon, this is nothing the admindaemon does.
Leave a comment:
-
Guest repliedOriginally posted by Martin Braun View PostTry to set the JVM Memory cap to a higher value, currently it is 50megs_
/opt/open-xchange/etc/groupware/ox-scriptconf.sh
JAVA_XTRAOPTS="-Xms50M -Xmx512M"
SYSTEMPROPERTIES=/opt/open-xchange/etc/groupware/system.properties
LOGGINGPROPERTIES=/opt/open-xchange/etc/groupware/file-logging.properties
JAVA_XTRAOPTS="-Xms50M -Xmx512M -XX:+AggressiveHeap"
NRFILES="8192"
I noticed that the "AggressiveHeap" was not in the last build that I did. As an experiment ,I tried removing it... but it did not help.
Here is more info from open-xchange-admin.log.0
Jul 21, 2007 7:36:16 PM com.openexchange.admin.daemons.Activator start INFO: Starting Admindaemon... Jul 21, 2007 7:36:16 PM com.openexchange.admin.tools.AdminCache initOXProccess INFO: OX init starting... Jul 21, 2007 7:36:16 PM org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPService <init> SEVERE: Could not create sender to [127.0.0.1:57462] -- Socket is null, cannot connect to 127.0.0.1:57462 Jul 21, 2007 7:36:16 PM org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPCacheManager <init> SEVERE: Failure, lateral instance will use zombie service java.io.IOException: Socket is null, cannot connect to 127.0.0.1:57462 at org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPSender.init(LateralTCPSender.java:141) at org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPSender.<init>(LateralTCPSender.java:111) at org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPService.<init>(LateralTCPService.java:72) at org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPCacheManager.<init>(LateralTCPCacheManager.jav a:167)
at org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPCacheManager.getInstance(LateralTCPCacheManage r.java:108)
at org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTCPCacheFactory.createCache(LateralTCPCacheFactor y.java:84)
at org.apache.jcs.engine.control.CompositeCacheConfig urator.parseAuxiliary(CompositeCacheConfigurator.j ava:554)
at org.apache.jcs.engine.control.CompositeCacheConfig urator.parseRegion(CompositeCacheConfigurator.java :346)
at org.apache.jcs.engine.control.CompositeCacheConfig urator.parseRegion(CompositeCacheConfigurator.java :267)
at org.apache.jcs.engine.control.CompositeCacheConfig urator.parseRegions(CompositeCacheConfigurator.jav a:244)
at org.apache.jcs.engine.control.CompositeCacheConfig urator.doConfigure(CompositeCacheConfigurator.java :139)
at org.apache.jcs.engine.control.CompositeCacheManage r.configure(CompositeCacheManager.java:314)
at org.apache.jcs.engine.control.CompositeCacheManage r.configure(CompositeCacheManager.java:258)
at com.openexchange.cache.Configuration.configure(Con figuration.java:122)
at com.openexchange.cache.Configuration.load(Configur ation.java:99)
at com.openexchange.admin.tools.OXRunner.init(OXRunne r.java:92)
at com.openexchange.admin.tools.AdminCache.initOXProc cess(AdminCache.java:467)
at com.openexchange.admin.tools.AdminCache.initCache( AdminCache.java:140)
at com.openexchange.admin.daemons.AdminDaemon.initCac he(AdminDaemon.java:139)
at com.openexchange.admin.daemons.Activator.start(Act ivator.java:89) at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$2.run(B
undleContextImpl.java:991) at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:985 )
at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:966)
at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:317)
at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:256)
at org.eclipse.core.runtime.adaptor.EclipseStarter.st artBundles(EclipseStarter.java:1094)
at org.eclipse.core.runtime.adaptor.EclipseStarter.lo adBasicBundles(EclipseStarter.java:657)
at org.eclipse.core.runtime.adaptor.EclipseStarter.st artup(EclipseStarter.java:305)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:173)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ma in(EclipseStarter.java:150)
Jul 21, 2007 7:36:17 PM com.openexchange.admin.tools.AdminCache initOXProccess
INFO: ...OX init done!
Jul 21, 2007 7:36:17 PM com.openexchange.admin.tools.AdminCache initCache
INFO: Init Cache
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.AdminDaemon initCache
INFO: Cache and Pools initialized!
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.AdminDaemon$LocalSe rverFactory createServerSocket
INFO: Admindaemon will listen on localhost!
Jul 21, 2007 7:36:17 PM com.openexchange.admin.rmi.impl.OXUser <init>
INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser
Jul 21, 2007 7:36:17 PM com.openexchange.admin.rmi.impl.OXGroup <init>
INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup
Jul 21, 2007 7:36:17 PM com.openexchange.admin.rmi.impl.OXResource <init>
INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource
Jul 21, 2007 7:36:17 PM com.openexchange.admin.rmi.impl.OXLogin <init>
INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.Activator start
INFO: Version: 6.3.0
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.Activator start
INFO: Name: open-xchange-admin
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.Activator start
INFO: Build: 0
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.Activator start
INFO: Admindaemon successfully started.
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
INFO: open_xchange_admin changed to 2
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
INFO: open_xchange_admin_plugin_ca_mgmt_simple changed to 2
Jul 21, 2007 7:36:17 PM com.openexchange.admin.tools.AdminCache initOXProccess
INFO: OX init starting...
Jul 21, 2007 7:36:17 PM com.openexchange.admin.tools.AdminCache initOXProccess
INFO: ...OX init done!
Jul 21, 2007 7:36:17 PM com.openexchange.admin.tools.AdminCache initCache
INFO: Init Cache
Jul 21, 2007 7:36:17 PM com.openexchange.admin.PluginStarter initCache
INFO: Cache and Pools initialized!
Jul 21, 2007 7:36:17 PM com.openexchange.admin.PluginStarter start
INFO: Context-Light started!
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
INFO: open_xchange_admin_plugin_context_light changed to 2
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.Activator$2 serviceChanged
INFO: Service: open_xchange_admin_plugin_imap, 1
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.Activator$2 serviceChanged
INFO: open_xchange_admin_plugin_imap registered service
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
INFO: open_xchange_admin_plugin_imap changed to 2
Jul 21, 2007 7:36:17 PM com.openexchange.admin.tools.AdminCache initOXProccess
INFO: OX init starting...
Jul 21, 2007 7:36:17 PM com.openexchange.admin.tools.AdminCache initOXProccess
INFO: ...OX init done!
Jul 21, 2007 7:36:17 PM com.openexchange.admin.tools.AdminCache initCache
INFO: Init Cache
Jul 21, 2007 7:36:17 PM com.openexchange.admin.PluginStarter initCache
INFO: Cache and Pools initialized!
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.Activator$2 serviceChanged
INFO: Service: open_xchange_admin_plugin_mailfilter, 1
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.Activator$2 serviceCha
nged
INFO: open_xchange_admin_plugin_mailfilter registered service
Jul 21, 2007 7:36:17 PM com.openexchange.admin.daemons.AdminDaemon$1 bundleCh
anged
INFO: open_xchange_admin_plugin_mailfilter changed to 2
Jul 21, 2007 7:36:36 PM org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTC
PService <init>
SEVERE: Could not create sender to [127.0.0.1:57462] -- Socket is null, canno
t connect to 127.0.0.1:57462
Jul 21, 2007 7:36:36 PM org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTC
PCacheManager fixService
SEVERE: Can't fix Socket is null, cannot connect to 127.0.0.1:57462
Jul 21, 2007 7:36:36 PM org.apache.jcs.auxiliary.lateral.LateralCacheResto re
canFix
SEVERE: Can't fix Can't fix Socket is null, cannot connect to 127.0.0.1:57462
Jul 21, 2007 7:36:36 PM org.apache.jcs.auxiliary.lateral.socket.tcp.Latera lTC
PService <init>
Leave a comment:
-
Try to set the JVM Memory cap to a higher value, currently it is 50megs_
/opt/open-xchange/etc/groupware/ox-scriptconf.sh
JAVA_XTRAOPTS="-Xms50M -Xmx512M"
Leave a comment:
-
Guest repliedOriginally posted by Martin Braun View PostHi Mike,
would you be so kind and post the java command which is running for the groupware? (ps aux | grep java) It seems that (for whatever case) the startup parameters for memory usage are set wrong
8591 ? Ssl 0:03 /usr/bin/java -ms50m -mx50m -Dopenexchange.propfile=/opt/open-xchange/etc/admindaemon/system.properties -Dconfigdir=/opt/open-xchange/etc/admindaemon -Djava.util.logging.config.file=/opt/open-xchange/etc/admindaemon/file-logging.properties -Duser.timezone=GMT -Dlibdir=/opt/open-xchange/lib -jar /opt/open-xchange/lib/org.eclipse.osgi_3.2.2.ox.jar -configuration file:/opt/open-xchange/etc/admindaemon/osgi/
12469 pts/1 R+ 0:00 grep java
Leave a comment:
Leave a comment: