[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083746#comment-17083746
 ] 

Maxim Solodovnik commented on OPENMEETINGS-2259:
------------------------------------------------

{{tomcat3}} line 32
{code}
$CATALINA_HOME/bin/startup.sh -u nobody -Dcatalina.base$CATALINA_BASE
{code}

# {{$CATALINA_BASE}} is not defined in the script, (and AFAIK it should be 
passed via ENV variable)
# {{-u nobody}} is useless as a parameter

So please change it to be
{code}
sudo -u nobody ${CATALINA_HOME}/bin/startup.sh
{code}

In this case you will have 
KMS started as user {{kurento}} 
and OM started as user {{nobody}}

you need to use the same user
i.e. change {{DAEMON_USER}} in {{/etc/default/kurento-media-server}} OR change 
user in {{tomcat3}} script

BTW why the script name is tomcat*3* ? :))
BTW2 on Ubuntu you can use this script 
https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service
 to set up OM as service ...

> Can't run OM-5 M4 build #3122
> -----------------------------
>
>                 Key: OPENMEETINGS-2259
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2259
>             Project: Openmeetings
>          Issue Type: Test
>    Affects Versions: 5.0.0-M4
>         Environment: Ubuntu 18.04
> OM-5 M4 build #3122
>            Reporter: Alvaro
>            Assignee: Maxim Solodovnik
>            Priority: Major
>         Attachments: logs OM-4--3122.zip, logs OM-5-4 3122 Debian 9.zip, logs 
> OM-5-M4 3123 various.zip, logs OM-5-M4 3123.zip, recording 
> kurent-kurento.txt, recordings root-root.txt
>
>
> When try run OM-5 M4 build #3122 don't get it.
> cd /opt/open504/bin
> ./catalina.sh run
> ...or
> cd /opt/open504/bin
> ./startup.sh
> Attached logs



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to