unable to start openolat server

120 views
Skip to first unread message

Leo Birkner

unread,
Apr 19, 2022, 2:04:06 PM4/19/22
to OpenOlat
Hello,

i used the guide https://docs.openolat.org//manual_admin/installation/installGuide/ to setup an openolat server on a virtual server (Ubuntu 20.04 LTS)

This is the first Error from the olat.log:
2022-04-19 19:21:34.774 [main] WARN   XmlWebApplicationContext ^%^ I-J64 ^%^ org.springframework.web.context.support.XmlWebApplicationContext ^%^  ^%^  ^%^  ^%^  ^%^ Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'membersExportManager': Unsatisfied dependency expressed through field 'repositoryManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'repositoryManager': Unsatisfied dependency expressed through field 'autoAccessManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autoAccessManagerImpl': Unsatisfied dependency expressed through field 'identifierHandler'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'identifierHandler': Unsatisfied dependency expressed through field 'loadedHandlers'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'externalIdHandler': Unsatisfied dependency expressed through field 'repositoryService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'repositoryService': Unsatisfied dependency expressed through field 'assessmentModeCoordinationService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'assessmentModeCoordinationServiceImpl': Unsatisfied dependency expressed through field 'taskExecutor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskExecutorManager' defined in class path resource [org/olat/core/commons/services/taskexecutor/_spring/taskExecutorCorecontext.xml]: Cannot resolve reference to bean 'schedulerFactoryBean' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [org/olat/core/commons/services/scheduler/_spring/schedulerContext.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached

Thanks for the help in advance ! :)
catalina.out
olat.log

Florian Gnaegi

unread,
Apr 19, 2022, 2:20:08 PM4/19/22
to open...@googlegroups.com
Hi 

Line 4 and line 12 of your log do not match. In one place the path to your context root says OpenOlat 15.3.5, however the system then loads as OpenOlat 16.2.1. So, which code are your trying to run? BTW: please use Version 16.2.2 and not 16.2.1, the update contains important fixes. 

Later on you also have out-of-memory exceptions, but I think this is due to the previous error. You might want to check this as well. 

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOlat".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/40b48dbd-bb86-40a7-8a5b-dfd66f66795cn%40googlegroups.com.
<catalina.out><olat.log>

--------------------------------------------------------------------
professional services for the e-learning system OpenOlat
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Okenstrasse 6
CH-8037 Zürich, Switzerland


Find me on twitter linkedin 
--------------------------------------------------------------------

Online Seminare: OOteach

--------------------------------------------------------------------





Leo Birkner

unread,
Apr 19, 2022, 6:13:44 PM4/19/22
to OpenOlat
Hi Florian ,

thanks for the quick response.
I used the guide and did not changed the name of the directory. I have changed that and am now using the version 16.2.2. Still no luck.
olat.log
catalina.out

Florian Gnaegi

unread,
Apr 21, 2022, 9:34:30 AM4/21/22
to open...@googlegroups.com
Hi Leo

How much memory did you assign tomcat?

On some systems there are very strange limits on how many files are allowed to be opened by a single process. Maybe your system has such limitations. Check your ulimit. If you have it set to something like 1024 increase it for the tomcat user, this is way too low for an application like  OpenOlat. 

Cheers
Florian


To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/18766ced-68ea-40a0-abc6-f0f34f6dc102n%40googlegroups.com.
<olat.log><catalina.out>

Leo Birkner

unread,
May 3, 2022, 12:40:45 AM5/3/22
to OpenOlat
Hi Florian, i have tried out the exact values from the doku you linked and also tried to double the values but no luck.

here is the result of ulimit -a. May be you can see something suspicious.

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 4125388
max locked memory       (kbytes, -l) 65536
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65535
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 62987
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

catalina.out
olat.log

Florian Gnägi

unread,
May 23, 2022, 2:41:03 AM5/23/22
to open...@googlegroups.com
Hi Leo

Sorry, just saw that your message is unanswered. Unfortunately I can not help you. I don’t know what your problem is I can just tell you that it must be a problem specific to you setup. We operate many OpenOlat instances without such problems.

If you need commercial help with en-depth analysis of your setup, logfiles etc. you can contact me privately. You might also consider our fully managed hosting solutions where you don’t have to fiddle around with technical stuff at all so you can concentrate on your didactical work. 

Cheers
Florian

To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/6db23205-2b6a-47a3-bda3-c22cd878b5cfn%40googlegroups.com.
<catalina.out><olat.log>

Florian Gnaegi

unread,
May 24, 2022, 8:54:23 AM5/24/22
to open...@googlegroups.com
Hi Leo

You might want to check the content of your setenv.sh script again: 

Make sure you properly refresh the page to not load a cached one. We modified the setenv.sh a little bit, maybe you system did not load with enough memory after all. 

Change: 

 

CATALINA_OPTS="-Xmx1024m -Xms512m -XX:MaxMetaspaceSize=512m \

to 
CATALINA_OPTS=" \
-Xmx1024m -Xms512m -XX:MaxMetaspaceSize=512m \

Cheers
Florian

Leo Birkner

unread,
May 24, 2022, 5:06:05 PM5/24/22
to open...@googlegroups.com
Hi Florian,

Thanks for your support. I have tried this change but no luck so far. Maybe this virtual server is just not up to it.

Cheers
Leo
You received this message because you are subscribed to a topic in the Google Groups "OpenOlat" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openolat/mnqhRNMP7Ew/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/7C096EA5-F464-4FE4-99D5-B5073FBE4C1A%40frentix.com.

Oliver Kant

unread,
May 25, 2022, 2:31:30 AM5/25/22
to open...@googlegroups.com
Hi Leo,

you've been talking about a virtual server. May I ask how much RAM/vCPUs
it has, what else is running on that server?

Cheers,
Oliver


Am 24.05.22 um 22:39 schrieb Leo Birkner:
>>>> gna...@frentix.com <http://frentix.com/> schrieb am Donnerstag, 21.
>>>> April 2022 um 15:34:30 UTC+2:
>>>>
>>>> Hi Leo
>>>>
>>>> How much memory did you assign tomcat?
>>>> See https://docs.openolat.org/manual_admin/installation/installGuide/#setenvsh
>>>>
>>>> On some systems there are very strange limits on how many files
>>>> are allowed to be opened by a single process. Maybe your system
>>>> has such limitations. Check your ulimit. If you have it set to
>>>> something like 1024 increase it for the tomcat user, this is way
>>>> too low for an application like  OpenOlat. 
>>>>
>>>> Cheers
>>>> Florian
>>>>
>>>>
>>>>> Am 19.04.2022 um 22:41 schrieb Leo Birkner <goo...@leo-birkner.de>:
>>>>>
>>>>> Hi Florian ,
>>>>>
>>>>> thanks for the quick response.
>>>>> I used the guide and did not changed the name of the directory.
>>>>> I have changed that and am now using the version 16.2.2. Still
>>>>> no luck.
>>>>>
>>>>>
>>>>> gna...@frentix.com <http://frentix.com/> schrieb am Dienstag,
>>>>>> <https://groups.google.com/d/msgid/openolat/40b48dbd-bb86-40a7-8a5b-dfd66f66795cn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>>>> <catalina.out><olat.log>
>>>>>
>>>>> --------------------------------------------------------------------
>>>>> professional services for the e-learning system OpenOlat
>>>>> hosting - operating - support - development - mobile -
>>>>> consulting
>>>>> --------------------------------------------------------------------
>>>>> www.frentix.com
>>>>> <http://www.frentix.com/> | www.openolat.com
>>>>> <http://www.openolat.com/
>>>>>
>>>>> frentix  GmbH
>>>>> Florian Gnägi, Geschäftsführer
>>>>> Okenstrasse 6
>>>>> CH-8037 Zürich, Switzerland
>>>>>
>>>>> tel://+41-43-544-9000
>>>>> dir://+41-43-544-9001
>>>>> fax://+41-43-544-9009
>>>>>
>>>>> Find me on twitter <http://twitter.com/gnaegi> linkedin
>>>>> <https://ch.linkedin.com/in/florian-gnaegi-4026231
>>>>> --------------------------------------------------------------------
>>>>>
>>>>> Online Seminare: OOteach <https://www.openolat.com/ooteach/>
>>>>>
>>>>> --------------------------------------------------------------------
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
>>>>> Groups-Gruppe "OpenOlat".
>>>>> Für das Erstellen von Beiträgen in dieser Gruppe senden Sie
>>>>> eine E-Mail
>>>>> an open...@googlegroups.com
>>>>> Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
>>>>> openolat+u...@googlegroups.com
>>>>> Weitere Optionen finden Sie in dieser Gruppe unter
>>>>> http://groups.google.com/group/openolat?hl=de
>>>>> -------------------------------------------------------------------------------------------------------------------
>>>>> OpenOlat - infinite learning - http://www.openolat.org
>>>>> ---
>>>>> You received this message because you are subscribed to the
>>>>> Google Groups "OpenOlat" group.
>>>>> To unsubscribe from this group and stop receiving emails from
>>>>> it, send an email to openolat+u...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/openolat/18766ced-68ea-40a0-abc6-f0f34f6dc102n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/openolat/18766ced-68ea-40a0-abc6-f0f34f6dc102n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>>> <olat.log><catalina.out>
>>>>
>>>> --------------------------------------------------------------------
>>>> professional services for the e-learning system OpenOlat
>>>> hosting - operating - support - development - mobile - consulting
>>>> --------------------------------------------------------------------
>>>> www.frentix.com <http://www.frentix.com/> | www.openolat.com
>>>> <http://www.openolat.com/
>>>>
>>>> frentix  GmbH
>>>> Florian Gnägi, Geschäftsführer
>>>> Okenstrasse 6
>>>> CH-8037 Zürich, Switzerland
>>>>
>>>> tel://+41-43-544-9000
>>>> dir://+41-43-544-9001
>>>> fax://+41-43-544-9009
>>>>
>>>> Find me on twitter <http://twitter.com/gnaegi> linkedin
>>>> <https://ch.linkedin.com/in/florian-gnaegi-4026231
>>>> --------------------------------------------------------------------
>>>>
>>>> Online Seminare: OOteach <https://www.openolat.com/ooteach/>
>>>>
>>>> --------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
>>>> Groups-Gruppe "OpenOlat".
>>>> Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
>>>> an open...@googlegroups.com
>>>> Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
>>>> openolat+u...@googlegroups.com
>>>> Weitere Optionen finden Sie in dieser Gruppe unter
>>>> http://groups.google.com/group/openolat?hl=de
>>>> -------------------------------------------------------------------------------------------------------------------
>>>> OpenOlat - infinite learning - http://www.openolat.org
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "OpenOlat" group.
>>>> To unsubscribe from this group and stop receiving emails from it,
>>>> send an email to openolat+u...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/openolat/6db23205-2b6a-47a3-bda3-c22cd878b5cfn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/openolat/6db23205-2b6a-47a3-bda3-c22cd878b5cfn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>> <catalina.out><olat.log>
>>>
>>> --------------------------------------------------------------------
>>> professional services for the e-learning system OpenOlat
>>> hosting - operating - support - development - mobile - consulting
>>> --------------------------------------------------------------------
>>> www.frentix.com <http://www.frentix.com/> | www.openolat.com
>>> <http://www.openolat.com/
>>>
>>> frentix  GmbH
>>> Florian Gnägi, Geschäftsführer
>>> Okenstrasse 6
>>> CH-8037 Zürich, Switzerland
>>>
>>> tel://+41-43-544-9000
>>> dir://+41-43-544-9001
>>> fax://+41-43-544-9009
>>>
>>> Find me on twitter <http://twitter.com/gnaegi> linkedin
>>> <https://ch.linkedin.com/in/florian-gnaegi-4026231
>>> --------------------------------------------------------------------
>>>
>>> Online Seminare: OOteach <https://www.openolat.com/ooteach/>
>>>
>>> --------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
>>> Groups-Gruppe "OpenOlat".
>>> Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
>>> an open...@googlegroups.com
>>> Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
>>> openolat+u...@googlegroups.com
>>> Weitere Optionen finden Sie in dieser Gruppe unter
>>> http://groups.google.com/group/openolat?hl=de
>>> -------------------------------------------------------------------------------------------------------------------
>>> OpenOlat - infinite learning - http://www.openolat.org
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "OpenOlat" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to openolat+u...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/openolat/D583ADA2-9671-4A96-A526-9D815A6B6630%40frentix.com
>>> <https://groups.google.com/d/msgid/openolat/D583ADA2-9671-4A96-A526-9D815A6B6630%40frentix.com?utm_medium=email&utm_source=footer>.
>>
>> --------------------------------------------------------------------
>> professional services for the e-learning system OpenOlat
>> hosting - operating - support - development - mobile - consulting
>> --------------------------------------------------------------------
>> www.frentix.com <http://www.frentix.com/> | www.openolat.com
>> <http://www.openolat.com/
>>
>> frentix  GmbH
>> Florian Gnägi, Geschäftsführer
>> Okenstrasse 6
>> CH-8037 Zürich, Switzerland
>>
>> tel://+41-43-544-9000
>> dir://+41-43-544-9001
>> fax://+41-43-544-9009
>>
>> Find me on twitter <http://twitter.com/gnaegi> linkedin
>> <https://ch.linkedin.com/in/florian-gnaegi-4026231
>> --------------------------------------------------------------------
>>
>> Online Seminare: OOteach <https://www.openolat.com/ooteach/>
>>
>> --------------------------------------------------------------------
>>
>>
>>
>>
>>
>> --
>> --
>> Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
>> Groups-Gruppe "OpenOlat".
>> Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
>> an open...@googlegroups.com
>> Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
>> openolat+u...@googlegroups.com
>> Weitere Optionen finden Sie in dieser Gruppe unter
>> http://groups.google.com/group/openolat?hl=de
>> -------------------------------------------------------------------------------------------------------------------
>> OpenOlat - infinite learning - http://www.openolat.org
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "OpenOlat" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/openolat/mnqhRNMP7Ew/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> openolat+u...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/openolat/7C096EA5-F464-4FE4-99D5-B5073FBE4C1A%40frentix.com
>> <https://groups.google.com/d/msgid/openolat/7C096EA5-F464-4FE4-99D5-B5073FBE4C1A%40frentix.com?utm_medium=email&utm_source=footer>.
>
> --
> --
> Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
> Groups-Gruppe "OpenOlat".
> Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
> an open...@googlegroups.com
> Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
> openolat+u...@googlegroups.com
> Weitere Optionen finden Sie in dieser Gruppe unter
> http://groups.google.com/group/openolat?hl=de
> <http://groups.google.com/group/openolat?hl=de>
> -------------------------------------------------------------------------------------------------------------------
> OpenOlat - infinite learning - http://www.openolat.org
> <http://www.openolat.org>
> ---
> You received this message because you are subscribed to the Google
> Groups "OpenOlat" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to openolat+u...@googlegroups.com
> <mailto:openolat+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/openolat/742b1722-5dcc-ace0-eb9c-c807c5685c8b%40leo-birkner.de
> <https://groups.google.com/d/msgid/openolat/742b1722-5dcc-ace0-eb9c-c807c5685c8b%40leo-birkner.de?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages